POST api/list/stats/events

Request Information

URI Parameters

None.

Body Parameters

Collection of EventListFilterDataContract
NameDescriptionTypeAdditional information
CreatedBy

Collection of integer

None.

NegotiatorIds

Collection of integer

None.

OwningTeamIds

Collection of integer

None.

RoleIds

Collection of integer

None.

GroupId

integer

None.

From

date

None.

To

date

None.

CreatedFrom

date

None.

CreatedTo

date

None.

OfferStatuses

Collection of EnumDataContract

None.

EventCategories

Collection of EnumDataContract

None.

EventTypes

Collection of EnumDataContract

None.

EventStatuses

Collection of EnumDataContract

None.

IncludeDrafts

boolean

None.

ExcludedRevisedOffers

boolean

None.

ExcludedTypes

Collection of EnumDataContract

None.

RoleTypes

Collection of string

None.

RoleStatuses

Collection of string

None.

PropertyId

integer

None.

Descriptions

Dictionary of string [key] and string [value]

None.

FeedbackTaken

boolean

None.

FeedbackReported

boolean

None.

MethodsOfContact

Collection of EnumDataContract

None.

SortType

EventListSortType

None.

EventIds

Collection of integer

None.

AdditionalIds

Collection of integer

None.

ExcludedIds

Collection of integer

None.

Name

string

None.

CustomFilterConfig

string

None.

BranchId

integer

None.

BranchIds

Collection of integer

None.

EventBranchIds

Collection of integer

None.

Order

ListOrder

None.

SearchTerm

string

None.

FilterType

EnumDataContract

None.

ShowDeleted

boolean

None.

ShowCancelled

boolean

None.

OwningTeamId

integer

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CreatedBy": [
      1,
      2
    ],
    "NegotiatorIds": [
      1,
      1
    ],
    "OwningTeamIds": [
      1,
      1
    ],
    "RoleIds": [
      1,
      2
    ],
    "GroupId": 1,
    "From": "2018-12-12T01:03:44.1531685Z",
    "To": "2018-12-12T01:03:44.1531685Z",
    "CreatedFrom": "2018-12-12T01:03:44.1531685Z",
    "CreatedTo": "2018-12-12T01:03:44.1531685Z",
    "OfferStatuses": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "EventCategories": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "EventTypes": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "EventStatuses": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "IncludeDrafts": true,
    "ExcludedRevisedOffers": true,
    "ExcludedTypes": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "RoleTypes": [
      "sample string 1",
      "sample string 2"
    ],
    "RoleStatuses": [
      "sample string 1",
      "sample string 2"
    ],
    "PropertyId": 1,
    "Descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "FeedbackTaken": true,
    "FeedbackReported": true,
    "MethodsOfContact": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "SortType": 0,
    "EventIds": [
      1,
      2
    ],
    "AdditionalIds": [
      1,
      2
    ],
    "ExcludedIds": [
      1,
      2
    ],
    "Name": "sample string 3",
    "CustomFilterConfig": "sample string 4",
    "BranchId": 1,
    "BranchIds": [
      1,
      2
    ],
    "EventBranchIds": [
      1,
      2
    ],
    "Order": 0,
    "SearchTerm": "sample string 5",
    "FilterType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "ShowDeleted": true,
    "ShowCancelled": true,
    "OwningTeamId": 8,
    "Id": 9
  },
  {
    "CreatedBy": [
      1,
      2
    ],
    "NegotiatorIds": [
      1,
      1
    ],
    "OwningTeamIds": [
      1,
      1
    ],
    "RoleIds": [
      1,
      2
    ],
    "GroupId": 1,
    "From": "2018-12-12T01:03:44.1531685Z",
    "To": "2018-12-12T01:03:44.1531685Z",
    "CreatedFrom": "2018-12-12T01:03:44.1531685Z",
    "CreatedTo": "2018-12-12T01:03:44.1531685Z",
    "OfferStatuses": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "EventCategories": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "EventTypes": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "EventStatuses": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "IncludeDrafts": true,
    "ExcludedRevisedOffers": true,
    "ExcludedTypes": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "RoleTypes": [
      "sample string 1",
      "sample string 2"
    ],
    "RoleStatuses": [
      "sample string 1",
      "sample string 2"
    ],
    "PropertyId": 1,
    "Descriptions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "FeedbackTaken": true,
    "FeedbackReported": true,
    "MethodsOfContact": [
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      }
    ],
    "SortType": 0,
    "EventIds": [
      1,
      2
    ],
    "AdditionalIds": [
      1,
      2
    ],
    "ExcludedIds": [
      1,
      2
    ],
    "Name": "sample string 3",
    "CustomFilterConfig": "sample string 4",
    "BranchId": 1,
    "BranchIds": [
      1,
      2
    ],
    "EventBranchIds": [
      1,
      2
    ],
    "Order": 0,
    "SearchTerm": "sample string 5",
    "FilterType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "ShowDeleted": true,
    "ShowCancelled": true,
    "OwningTeamId": 8,
    "Id": 9
  }
]

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 'IList`1'.

Response Information

Resource Description

PagedCollectionDataContractOfListStatsDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of ListStatsDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "Name": "sample string 1",
      "Value": 2
    },
    {
      "Name": "sample string 1",
      "Value": 2
    }
  ]
}