POST api/Store/AddReconciliationOrder

Request Information

URI Parameters

None.

Body Parameters

ReconciliationOrder
NameDescriptionTypeAdditional information
BusinessId

integer

None.

LoginUserId

integer

None.

DistributorCustomerId

integer

None.

PaymentData

Collection of PaymentData

None.

StockData

Collection of StockInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "LoginUserId": 2,
  "DistributorCustomerId": 3,
  "PaymentData": [
    {
      "OrderId": 1,
      "CashReconciled": 2.0,
      "BankTransferReconciled": 3.0,
      "WalletReconciled": 4.0
    },
    {
      "OrderId": 1,
      "CashReconciled": 2.0,
      "BankTransferReconciled": 3.0,
      "WalletReconciled": 4.0
    }
  ],
  "StockData": [
    {
      "ItemID": 1,
      "RemainingStock": 2,
      "OrderIDs": "sample string 3"
    },
    {
      "ItemID": 1,
      "RemainingStock": 2,
      "OrderIDs": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<ReconciliationOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model.Payment">
  <BusinessId>1</BusinessId>
  <DistributorCustomerId>3</DistributorCustomerId>
  <LoginUserId>2</LoginUserId>
  <PaymentData>
    <PaymentData>
      <BankTransferReconciled>3</BankTransferReconciled>
      <CashReconciled>2</CashReconciled>
      <OrderId>1</OrderId>
      <WalletReconciled>4</WalletReconciled>
    </PaymentData>
    <PaymentData>
      <BankTransferReconciled>3</BankTransferReconciled>
      <CashReconciled>2</CashReconciled>
      <OrderId>1</OrderId>
      <WalletReconciled>4</WalletReconciled>
    </PaymentData>
  </PaymentData>
  <StockData>
    <StockInfo>
      <ItemID>1</ItemID>
      <OrderIDs>sample string 3</OrderIDs>
      <RemainingStock>2</RemainingStock>
    </StockInfo>
    <StockInfo>
      <ItemID>1</ItemID>
      <OrderIDs>sample string 3</OrderIDs>
      <RemainingStock>2</RemainingStock>
    </StockInfo>
  </StockData>
</ReconciliationOrder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2025/06/22 11:35:44",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>