POST api/negotiator/intervaleventcounts

Request Information

URI Parameters

None.

Body Parameters

NegotiatorEventCountDataContract
NameDescriptionTypeAdditional information
Interval

DateInterval

None.

NegotiatorIds

Collection of integer

None.

StartDate

date

None.

EndDate

date

None.

EventCategory

EnumDataContract

None.

EventType

EnumDataContract

None.

RoleType

EnumDataContract

None.

BranchId

integer

None.

IncludeDrafts

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Interval": 0,
  "NegotiatorIds": [
    1,
    2
  ],
  "StartDate": "2018-11-17T03:39:47.9043668Z",
  "EndDate": "2018-11-17T03:39:47.9043668Z",
  "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
}

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'.

Response Information

Resource Description

PagedCollectionDataContractOfNegotiatorEventCountResultDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of NegotiatorEventCountResultDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "DateTime": "2018-11-17T03:39:47.9356155Z",
      "Count": 2
    },
    {
      "DateTime": "2018-11-17T03:39:47.9356155Z",
      "Count": 2
    }
  ]
}