POST api/Store/UpdateDistributorTransaction
Request Information
URI Parameters
None.
Body Parameters
UpdateDistributorTransaction| Name | Description | Type | Additional information |
|---|---|---|---|
| businessId | integer |
None. |
|
| customerId | integer |
None. |
|
| agentId | integer |
None. |
|
| transactionType | string |
None. |
|
| orderIds | string |
None. |
|
| debit | decimal number |
None. |
|
| sold | decimal number |
None. |
|
| cashCollection | decimal number |
None. |
|
| cashCredit | decimal number |
None. |
|
| bankTransferCredit | decimal number |
None. |
|
| bankTransferCollection | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"businessId": 1,
"customerId": 2,
"agentId": 3,
"transactionType": "sample string 4",
"orderIds": "sample string 5",
"debit": 6.0,
"sold": 7.0,
"cashCollection": 8.0,
"cashCredit": 9.0,
"bankTransferCredit": 10.0,
"bankTransferCollection": 11.0
}
application/xml, text/xml
Sample:
<UpdateDistributorTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <agentId>3</agentId> <bankTransferCollection>11</bankTransferCollection> <bankTransferCredit>10</bankTransferCredit> <businessId>1</businessId> <cashCollection>8</cashCollection> <cashCredit>9</cashCredit> <customerId>2</customerId> <debit>6</debit> <orderIds>sample string 5</orderIds> <sold>7</sold> <transactionType>sample string 4</transactionType> </UpdateDistributorTransaction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional 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": "2026/02/08 23:52:02",
"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>