POST api/v1/batch

Add a new batch

Request Information

URI Parameters

None.

Body Parameters

Batch object that needs to be added

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:05:24.964",
  "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:05:24.964",
  "Posted": "2025-09-04T15:05:24.964",
  "LastUpdated": "2025-09-04T15:05:24.964",
  "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:05:24.9641131+00:00</Deposited>
  <Description>sample string 12</Description>
  <Group>sample string 7</Group>
  <LastUpdated>2025-09-04T15:05:24.9641131+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:05:24.9641131+00:00</Posted>
  <Status>sample string 3</Status>
  <TransactionDate>2025-09-04T15:05:24.9641131+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.