POST api/negotiator/intervaleventcounts

Return interval based event counts for negotiators.

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.Negotiators.Query.AppointmentSummary.NegotiatorEventCountDataContract
NameDescriptionTypeAdditional information
Interval

Dezrez.Core.DataContracts.External.Api.Negotiators.Query.AppointmentSummary.DateInterval

None.

NegotiatorIds

Collection of integer

None.

StartDate

date

None.

EndDate

date

None.

EventCategory

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

EventType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

RoleType

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

BranchId

integer

None.

IncludeDrafts

boolean

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NegotiatorEventCountDataContract'.

application/json, text/json

Sample:
{
  "Interval": 0,
  "NegotiatorIds": [
    1,
    2
  ],
  "StartDate": "2024-03-28T14:27:43.2975099Z",
  "EndDate": "2024-03-28T14:27:43.2975099Z",
  "EventCategory": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "EventType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "RoleType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "BranchId": 1,
  "IncludeDrafts": true
}

Response Information

Resource Description

PagedCollectionDataContractOfDezrez.Core.DataContracts.External.Api.Negotiators.Query.AppointmentSummary.NegotiatorEventCountResultDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of Dezrez.Core.DataContracts.External.Api.Negotiators.Query.AppointmentSummary.NegotiatorEventCountResultDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "DateTime": "2024-03-28T14:27:43.2975099Z",
      "Count": 2
    },
    {
      "DateTime": "2024-03-28T14:27:43.2975099Z",
      "Count": 2
    }
  ]
}