POST AccountantEvent/GetEventsInDateRange

Gets a list of Accountant Events in the specified date range.

Request Information

This method supports OData queries.

URI Parameters

None.

Body Parameters

The request.

Accountant Event Request Model
NameTypeAdditional informationDescription
CompanyId nullable integer

None.

UserId integer

None.

FromDate date

None.

ToDate date

None.

ImpersonateUserId nullable integer

None.

ActiveConsoleCompanies bool

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "UserId": 1,
  "FromDate": "2021-10-20",
  "ToDate": "2021-10-20",
  "ImpersonateUserId": 1,
  "ActiveConsoleCompanies": true
}

Response Information

Resource Description

This collection is wrapped in a paging response object.

Paging response of Accountant Event
NameTypeAdditional informationDescription
TotalResults integer

None.

ReturnedResults integer

None.

Results Collection of Accountant Event

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalResults": 1,
  "ReturnedResults": 2,
  "Results": [
    {
      "CompanyId": 1,
      "TotalTasks": 2,
      "TotalNotes": 3,
      "EventDate": "2021-10-20",
      "ID": 5
    },
    {
      "CompanyId": 1,
      "TotalTasks": 2,
      "TotalNotes": 3,
      "EventDate": "2021-10-20",
      "ID": 5
    }
  ]
}