POST api/list/stats/tenancy

Request Information

URI Parameters

None.

Body Parameters

Collection of TenancyListFilterDataContract
NameDescriptionTypeAdditional information
OwningTeamIds

Collection of integer

None.

TenancyType

string

None.

TenancyRoleStatus

Collection of string

None.

DepositStatus

string

None.

AcceptedPrice

decimal number

None.

IssueNoticeDate

date

None.

StartDate

date

None.

EndDate

date

None.

ExpiringStartDate

date

None.

ExpiringEndDate

date

None.

Sort

TenancyListSort

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:
[
  {
    "OwningTeamIds": [
      1,
      2
    ],
    "TenancyType": "sample string 1",
    "TenancyRoleStatus": [
      "sample string 1",
      "sample string 2"
    ],
    "DepositStatus": "sample string 2",
    "AcceptedPrice": 1.1,
    "IssueNoticeDate": "2018-11-14T16:37:57.6020838Z",
    "StartDate": "2018-11-14T16:37:57.6020838Z",
    "EndDate": "2018-11-14T16:37:57.6020838Z",
    "ExpiringStartDate": "2018-11-14T16:37:57.6020838Z",
    "ExpiringEndDate": "2018-11-14T16:37:57.6020838Z",
    "Sort": 0,
    "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
  },
  {
    "OwningTeamIds": [
      1,
      2
    ],
    "TenancyType": "sample string 1",
    "TenancyRoleStatus": [
      "sample string 1",
      "sample string 2"
    ],
    "DepositStatus": "sample string 2",
    "AcceptedPrice": 1.1,
    "IssueNoticeDate": "2018-11-14T16:37:57.6020838Z",
    "StartDate": "2018-11-14T16:37:57.6020838Z",
    "EndDate": "2018-11-14T16:37:57.6020838Z",
    "ExpiringStartDate": "2018-11-14T16:37:57.6020838Z",
    "ExpiringEndDate": "2018-11-14T16:37:57.6020838Z",
    "Sort": 0,
    "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
    }
  ]
}