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
TenantRoleId

integer

None.

DepositSchemeId

integer

None.

Allocations

Collection of InvoiceAllocationDataContract

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TenantRoleId": 1,
    "DepositSchemeId": 2,
    "Allocations": [
      {
        "Date": "2019-01-22T23:07:32.4627924Z",
        "Amount": 2.0,
        "InvoiceId": 3,
        "InvoiceDescription": "sample string 4",
        "Id": 5
      },
      {
        "Date": "2019-01-22T23:07:32.4627924Z",
        "Amount": 2.0,
        "InvoiceId": 3,
        "InvoiceDescription": "sample string 4",
        "Id": 5
      }
    ]
  },
  {
    "TenantRoleId": 1,
    "DepositSchemeId": 2,
    "Allocations": [
      {
        "Date": "2019-01-22T23:07:32.4627924Z",
        "Amount": 2.0,
        "InvoiceId": 3,
        "InvoiceDescription": "sample string 4",
        "Id": 5
      },
      {
        "Date": "2019-01-22T23:07:32.4627924Z",
        "Amount": 2.0,
        "InvoiceId": 3,
        "InvoiceDescription": "sample string 4",
        "Id": 5
      }
    ]
  }
]