POST REST/Payments/Bulk/Update
Request Information
URI Parameters
None.
Body Parameters
BatchUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of BatchItemInputModel |
None. |
|
| BatchID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Items": [
{
"AccountNumber": "sample string 1",
"BankCode": "sample string 2",
"BeneficiaryName": "sample string 3",
"Narration": "sample string 4",
"Reference": "sample string 5",
"Amount": 6.0
},
{
"AccountNumber": "sample string 1",
"BankCode": "sample string 2",
"BeneficiaryName": "sample string 3",
"Narration": "sample string 4",
"Reference": "sample string 5",
"Amount": 6.0
}
],
"BatchID": 1
}
application/xml, text/xml
Sample:
<BatchUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bank3D.IBridge.Areas.REST.Bulk">
<BatchID>1</BatchID>
<Items>
<BatchItemInputModel>
<AccountNumber>sample string 1</AccountNumber>
<Amount>6</Amount>
<BankCode>sample string 2</BankCode>
<BeneficiaryName>sample string 3</BeneficiaryName>
<Narration>sample string 4</Narration>
<Reference>sample string 5</Reference>
</BatchItemInputModel>
<BatchItemInputModel>
<AccountNumber>sample string 1</AccountNumber>
<Amount>6</Amount>
<BankCode>sample string 2</BankCode>
<BeneficiaryName>sample string 3</BeneficiaryName>
<Narration>sample string 4</Narration>
<Reference>sample string 5</Reference>
</BatchItemInputModel>
</Items>
</BatchUpdateModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BatchInputResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Reference | string |
None. |
|
| BatchID | integer |
None. |
|
| Status | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Reference": "sample string 1",
"BatchID": 2,
"Status": "sample string 3",
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<BatchInputResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bank3D.IBridge.Areas.REST.Bulk"> <Message xmlns="http://schemas.datacontract.org/2004/07/Bank3D.IBridge.Areas.REST">sample string 4</Message> <Status xmlns="http://schemas.datacontract.org/2004/07/Bank3D.IBridge.Areas.REST">sample string 3</Status> <BatchID>2</BatchID> <Reference>sample string 1</Reference> </BatchInputResponse>