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 | integer |
None. |
|
| sold | integer |
None. |
|
| cashCollection | integer |
None. |
|
| cashCredit | integer |
None. |
|
| bankTransferCredit | integer |
None. |
|
| bankTransferCollection | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"businessId": 1,
"customerId": 2,
"agentId": 3,
"transactionType": "sample string 4",
"orderIds": "sample string 5",
"debit": 6,
"sold": 7,
"cashCollection": 8,
"cashCredit": 9,
"bankTransferCredit": 10,
"bankTransferCollection": 11
}
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/01/11 22:21:36",
"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>