POST api/deposit/collections

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

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

Response Information

Resource Description

Collection of DepositCollectionDataContract
NameDescriptionTypeAdditional information
Id

integer

None.

TenantRoleId

integer

None.

DepositSchemeId

integer

None.

CreatedDate

date

None.

Allocations

Collection of InvoiceAllocationDataContract

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "TenantRoleId": 2,
    "DepositSchemeId": 3,
    "CreatedDate": "2019-06-25T14:00:28.4328742Z",
    "Allocations": [
      {
        "Date": "2019-06-25T14:00:28.4328742Z",
        "Amount": 2.0,
        "InvoiceId": 3,
        "InvoiceDescription": "sample string 4",
        "Protected": true,
        "ProtectedDate": "2019-06-25T14:00:28.4328742Z",
        "Id": 7
      },
      {
        "Date": "2019-06-25T14:00:28.4328742Z",
        "Amount": 2.0,
        "InvoiceId": 3,
        "InvoiceDescription": "sample string 4",
        "Protected": true,
        "ProtectedDate": "2019-06-25T14:00:28.4328742Z",
        "Id": 7
      }
    ]
  },
  {
    "Id": 1,
    "TenantRoleId": 2,
    "DepositSchemeId": 3,
    "CreatedDate": "2019-06-25T14:00:28.4328742Z",
    "Allocations": [
      {
        "Date": "2019-06-25T14:00:28.4328742Z",
        "Amount": 2.0,
        "InvoiceId": 3,
        "InvoiceDescription": "sample string 4",
        "Protected": true,
        "ProtectedDate": "2019-06-25T14:00:28.4328742Z",
        "Id": 7
      },
      {
        "Date": "2019-06-25T14:00:28.4328742Z",
        "Amount": 2.0,
        "InvoiceId": 3,
        "InvoiceDescription": "sample string 4",
        "Protected": true,
        "ProtectedDate": "2019-06-25T14:00:28.4328742Z",
        "Id": 7
      }
    ]
  }
]