GET api/list/pm/events?pageSize={pageSize}&pageNumber={pageNumber}&accountIds[0]={accountIds[0]}&accountIds[1]={accountIds[1]}

Returns a list of Events in PM

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageSize

integer

Default value is 20

pageNumber

integer

Default value is 1

accountIds

Collection of integer

None.

Body Parameters

None.

Response Information

Resource Description

PagedCollectionDataContractOfAccountingEventDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of AccountingEventDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "AccountId": 3,
      "Description": "sample string 4",
      "CreatedDate": "2022-07-06T10:14:04.0470514Z",
      "EventType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "CreatedById": 6
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "AccountId": 3,
      "Description": "sample string 4",
      "CreatedDate": "2022-07-06T10:14:04.0470514Z",
      "EventType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "CreatedById": 6
    }
  ]
}