POST api/list/stats/todos

Request Information

URI Parameters

None.

Body Parameters

Collection of TodoListFilterDataContract
NameDescriptionTypeAdditional information
FilterCategory

string

None.

IncludeGlobal

boolean

None.

OnlyGlobal

boolean

None.

OwningNegotiatorId

integer

None.

NegotiatorIds

Collection of integer

None.

Statuses

Collection of string

None.

ToDoTypes

Collection of string

None.

Schedules

Collection of string

None.

Priorities

Collection of string

None.

Intervals

Collection of string

None.

DateTo

date

None.

DateFrom

date

None.

Sort

TodoListSort

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:
[
  {
    "FilterCategory": "sample string 1",
    "IncludeGlobal": true,
    "OnlyGlobal": true,
    "OwningNegotiatorId": 1,
    "NegotiatorIds": [
      1,
      2
    ],
    "Statuses": [
      "sample string 1",
      "sample string 2"
    ],
    "ToDoTypes": [
      "sample string 1",
      "sample string 2"
    ],
    "Schedules": [
      "sample string 1",
      "sample string 2"
    ],
    "Priorities": [
      "sample string 1",
      "sample string 2"
    ],
    "Intervals": [
      "sample string 1",
      "sample string 2"
    ],
    "DateTo": "2018-12-10T15:34:56.6733738Z",
    "DateFrom": "2018-12-10T15:34:56.6733738Z",
    "Sort": 0,
    "AdditionalIds": [
      1,
      2
    ],
    "ExcludedIds": [
      1,
      2
    ],
    "Name": "sample string 4",
    "CustomFilterConfig": "sample string 5",
    "BranchId": 1,
    "BranchIds": [
      1,
      2
    ],
    "EventBranchIds": [
      1,
      2
    ],
    "Order": 0,
    "SearchTerm": "sample string 6",
    "FilterType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "ShowDeleted": true,
    "ShowCancelled": true,
    "OwningTeamId": 9,
    "Id": 10
  },
  {
    "FilterCategory": "sample string 1",
    "IncludeGlobal": true,
    "OnlyGlobal": true,
    "OwningNegotiatorId": 1,
    "NegotiatorIds": [
      1,
      2
    ],
    "Statuses": [
      "sample string 1",
      "sample string 2"
    ],
    "ToDoTypes": [
      "sample string 1",
      "sample string 2"
    ],
    "Schedules": [
      "sample string 1",
      "sample string 2"
    ],
    "Priorities": [
      "sample string 1",
      "sample string 2"
    ],
    "Intervals": [
      "sample string 1",
      "sample string 2"
    ],
    "DateTo": "2018-12-10T15:34:56.6733738Z",
    "DateFrom": "2018-12-10T15:34:56.6733738Z",
    "Sort": 0,
    "AdditionalIds": [
      1,
      2
    ],
    "ExcludedIds": [
      1,
      2
    ],
    "Name": "sample string 4",
    "CustomFilterConfig": "sample string 5",
    "BranchId": 1,
    "BranchIds": [
      1,
      2
    ],
    "EventBranchIds": [
      1,
      2
    ],
    "Order": 0,
    "SearchTerm": "sample string 6",
    "FilterType": {
      "Id": 1,
      "Name": "sample string 2",
      "SystemName": "sample string 3"
    },
    "ShowDeleted": true,
    "ShowCancelled": true,
    "OwningTeamId": 9,
    "Id": 10
  }
]

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
    }
  ]
}