PUT api/v1/batch/{batchCombo}

Updates a batch in Provision

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "2025-09-04T15:04:24.154",
  "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": "2025-09-04T15:04:24.154",
  "Posted": "2025-09-04T15:04:24.154",
  "LastUpdated": "2025-09-04T15:04:24.154",
  "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>2025-09-04T15:04:24.154963+00:00</Deposited>
  <Description>sample string 12</Description>
  <Group>sample string 7</Group>
  <LastUpdated>2025-09-04T15:04:24.154963+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>2025-09-04T15:04:24.154963+00:00</Posted>
  <Status>sample string 3</Status>
  <TransactionDate>2025-09-04T15:04:24.154963+00:00</TransactionDate>
</Batch>

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.