POST api/deposit/schemes/{id}/groupings/search

Returns a searchable, sortable, paged list of deposit groupings held for a scheme. Processes this deposit API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique identifier of the requested resource.

integer

Required

Body Parameters

The deposit grouping list filter data contract supplied with the request.

DepositGroupingListFilterDataContract
NameDescriptionTypeAdditional information
PageSize

The page size value.

integer

None.

PageNumber

The page number value.

integer

None.

Term

The term value.

string

None.

OrderByDescending

Indicates whether order by descending is true.

boolean

None.

Sort

The sort classification.

DepositGroupingSortField

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

application/json, text/json

Sample:
{
  "PageSize": 1,
  "PageNumber": 1,
  "Term": "sample string 1",
  "OrderByDescending": true,
  "Sort": 0
}

Response Information

Resource Description

The response returned after the operation completes.

PagedCollectionDataContractOfDepositGroupingDataContract
NameDescriptionTypeAdditional information
TotalCount

The total count value.

integer

None.

CurrentCount

The current count value.

integer

None.

PageSize

The page size value.

integer

None.

PageNumber

The page number value.

integer

None.

Collection

The collection of collection.

Collection of DepositGroupingDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "DateProtected": "2026-08-07T17:06:20.9505379Z",
      "Amount": 2.0,
      "PrimaryTenant": "sample string 3",
      "Address": "sample string 4",
      "NumberOfDepositsProtected": 5,
      "TenancyEndDate": "2026-08-07T17:06:20.9505379Z",
      "TenantRoleId": 7,
      "TenantGroupId": 8,
      "LettingRoleId": 9,
      "Id": 10
    },
    {
      "DateProtected": "2026-08-07T17:06:20.9505379Z",
      "Amount": 2.0,
      "PrimaryTenant": "sample string 3",
      "Address": "sample string 4",
      "NumberOfDepositsProtected": 5,
      "TenancyEndDate": "2026-08-07T17:06:20.9505379Z",
      "TenantRoleId": 7,
      "TenantGroupId": 8,
      "LettingRoleId": 9,
      "Id": 10
    }
  ]
}