POST api/BatchManagement/AddDeposit

Request Information

URI Parameters

None.

Body Parameters

Collection of BatchForDepositModel
NameDescriptionTypeAdditional information
BatchId

integer

None.

NoOfItems

integer

None.

BatchAmount

decimal number

None.

BatchDate

date

None.

Selected

boolean

None.

BatchType

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "batchId": 1,
    "noOfItems": 2,
    "batchAmount": 3.0,
    "batchDate": "2023-02-05T03:56:49.6640359+00:00",
    "selected": true,
    "batchType": "sample string 6"
  },
  {
    "batchId": 1,
    "noOfItems": 2,
    "batchAmount": 3.0,
    "batchDate": "2023-02-05T03:56:49.6640359+00:00",
    "selected": true,
    "batchType": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBatchForDepositModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <BatchForDepositModel>
    <BatchAmount>3</BatchAmount>
    <BatchDate>2023-02-05T03:56:49.6640359+00:00</BatchDate>
    <BatchId>1</BatchId>
    <BatchType>sample string 6</BatchType>
    <NoOfItems>2</NoOfItems>
    <Selected>true</Selected>
  </BatchForDepositModel>
  <BatchForDepositModel>
    <BatchAmount>3</BatchAmount>
    <BatchDate>2023-02-05T03:56:49.6640359+00:00</BatchDate>
    <BatchId>1</BatchId>
    <BatchType>sample string 6</BatchType>
    <NoOfItems>2</NoOfItems>
    <Selected>true</Selected>
  </BatchForDepositModel>
</ArrayOfBatchForDepositModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.