POST api/Batch/UpdateBatch
Request Information
URI Parameters
None.
Body Parameters
Batch| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerId | integer |
None. |
|
| SelectedPayrollId | integer |
None. |
|
| TotalAmount | decimal number |
None. |
|
| ExternalRefNumber | string |
None. |
|
| BankAccountId | integer |
None. |
|
| FeeId | integer |
None. |
|
| DdCode | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Timestamp | Collection of byte |
None. |
|
| Splits | Collection of BatchSplit |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerId": 2,
"SelectedPayrollId": 3,
"TotalAmount": 4.0,
"ExternalRefNumber": "sample string 5",
"BankAccountId": 1,
"FeeId": 1,
"DdCode": "sample string 6",
"StartDate": "2026-02-14T12:38:19.5488058+00:00",
"EndDate": "2026-02-14T12:38:19.5488058+00:00",
"Timestamp": "QEA=",
"Splits": [
{
"Id": 1,
"BatchId": 2,
"CuBatchSplitHeaderId": 3,
"CuAccountId": 4,
"AccountNumber": "sample string 5",
"CustomerId": 6,
"External": true,
"Priority": 8,
"Automatic": true,
"Amount": 10.0,
"Remainder": true,
"Source": true,
"Deleted": true,
"Timestamp": "QEA=",
"HdrTimestamp": "QEA="
},
{
"Id": 1,
"BatchId": 2,
"CuBatchSplitHeaderId": 3,
"CuAccountId": 4,
"AccountNumber": "sample string 5",
"CustomerId": 6,
"External": true,
"Priority": 8,
"Automatic": true,
"Amount": 10.0,
"Remainder": true,
"Source": true,
"Deleted": true,
"Timestamp": "QEA=",
"HdrTimestamp": "QEA="
}
]
}
application/xml, text/xml
Sample:
<Batch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abacus1._8_Api.Models">
<BankAccountId>1</BankAccountId>
<CustomerId>2</CustomerId>
<DdCode>sample string 6</DdCode>
<EndDate>2026-02-14T12:38:19.5488058+00:00</EndDate>
<ExternalRefNumber>sample string 5</ExternalRefNumber>
<FeeId>1</FeeId>
<Id>1</Id>
<SelectedPayrollId>3</SelectedPayrollId>
<Splits>
<BatchSplit>
<AccountNumber>sample string 5</AccountNumber>
<Amount>10</Amount>
<Automatic>true</Automatic>
<BatchId>2</BatchId>
<CuAccountId>4</CuAccountId>
<CuBatchSplitHeaderId>3</CuBatchSplitHeaderId>
<CustomerId>6</CustomerId>
<Deleted>true</Deleted>
<External>true</External>
<HdrTimestamp>QEA=</HdrTimestamp>
<Id>1</Id>
<Priority>8</Priority>
<Remainder>true</Remainder>
<Source>true</Source>
<Timestamp>QEA=</Timestamp>
</BatchSplit>
<BatchSplit>
<AccountNumber>sample string 5</AccountNumber>
<Amount>10</Amount>
<Automatic>true</Automatic>
<BatchId>2</BatchId>
<CuAccountId>4</CuAccountId>
<CuBatchSplitHeaderId>3</CuBatchSplitHeaderId>
<CustomerId>6</CustomerId>
<Deleted>true</Deleted>
<External>true</External>
<HdrTimestamp>QEA=</HdrTimestamp>
<Id>1</Id>
<Priority>8</Priority>
<Remainder>true</Remainder>
<Source>true</Source>
<Timestamp>QEA=</Timestamp>
</BatchSplit>
</Splits>
<StartDate>2026-02-14T12:38:19.5488058+00:00</StartDate>
<Timestamp>QEA=</Timestamp>
<TotalAmount>4</TotalAmount>
</Batch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |