PUT api/v1/batch/{batchCombo}
Updates a batch in Provision
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| batchCombo |
Batch Code and date of batch that needs to be updated in the format of [BatchCode]|[YYYY][MM][DD] ie 123|20180601 |
string |
Required |
Body Parameters
batch object that needs to be updated in ProVision
Batch| Name | Description | Type | Additional information |
|---|---|---|---|
| BatchCode | string |
Required |
|
| TransactionDate | date |
Required |
|
| Status | string |
None. |
|
| Part | string |
None. |
|
| PaymentType | string |
None. |
|
| Method | string |
None. |
|
| Group | string |
None. |
|
| Currency | string |
None. |
|
| ConversionRate | decimal number |
None. |
|
| Operator | string |
None. |
|
| DepositCode | string |
None. |
|
| Description | string |
None. |
|
| Deposited | date |
None. |
|
| Posted | date |
None. |
|
| LastUpdated | date |
None. |
|
| LastUpdatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BatchCode": "sample string 1",
"TransactionDate": "2026-02-04T01:56:31.990",
"Status": "sample string 3",
"Part": "sample string 4",
"PaymentType": "sample string 5",
"Method": "sample string 6",
"Group": "sample string 7",
"Currency": "sample string 8",
"ConversionRate": 9.0,
"Operator": "sample string 10",
"DepositCode": "sample string 11",
"Description": "sample string 12",
"Deposited": "2026-02-04T01:56:31.990",
"Posted": "2026-02-04T01:56:31.990",
"LastUpdated": "2026-02-04T01:56:31.990",
"LastUpdatedBy": "sample string 13"
}
application/xml, text/xml
Sample:
<Batch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DPCSWS.Models"> <BatchCode>sample string 1</BatchCode> <ConversionRate>9</ConversionRate> <Currency>sample string 8</Currency> <DepositCode>sample string 11</DepositCode> <Deposited>2026-02-04T01:56:31.9908108+00:00</Deposited> <Description>sample string 12</Description> <Group>sample string 7</Group> <LastUpdated>2026-02-04T01:56:31.9908108+00:00</LastUpdated> <LastUpdatedBy>sample string 13</LastUpdatedBy> <Method>sample string 6</Method> <Operator>sample string 10</Operator> <Part>sample string 4</Part> <PaymentType>sample string 5</PaymentType> <Posted>2026-02-04T01:56:31.9908108+00:00</Posted> <Status>sample string 3</Status> <TransactionDate>2026-02-04T01:56:31.9908108+00:00</TransactionDate> </Batch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.