POST api/DataUpdate/AddOranInvoice
Request Information
URI Parameters
None.
Body Parameters
AddOranInvoice| Name | Description | Type | Additional information |
|---|---|---|---|
| Businessid | integer |
None. |
|
| Loinuserid | integer |
None. |
|
| CustomerCode | string |
None. |
|
| OrderID | integer |
None. |
|
| InvoiceCode | string |
None. |
|
| AgentCode | integer |
None. |
|
| Orion_OrderID | string |
None. |
|
| IsOrder_Orion | integer |
None. |
|
| Freeze | string |
None. |
|
| OrderType | Collection of OranOrderType |
None. |
Request Formats
application/json, text/json
Sample:
{
"Businessid": 1,
"Loinuserid": 2,
"CustomerCode": "sample string 3",
"OrderID": 4,
"InvoiceCode": "sample string 5",
"AgentCode": 6,
"Orion_OrderID": "sample string 7",
"IsOrder_Orion": 8,
"Freeze": "sample string 9",
"OrderType": [
{
"Skucode": "sample string 1",
"Unit": "sample string 2",
"Price": 3,
"UOM": "sample string 4"
},
{
"Skucode": "sample string 1",
"Unit": "sample string 2",
"Price": 3,
"UOM": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<AddOranInvoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
<AgentCode>6</AgentCode>
<Businessid>1</Businessid>
<CustomerCode>sample string 3</CustomerCode>
<Freeze>sample string 9</Freeze>
<InvoiceCode>sample string 5</InvoiceCode>
<IsOrder_Orion>8</IsOrder_Orion>
<Loinuserid>2</Loinuserid>
<OrderID>4</OrderID>
<OrderType>
<OranOrderType>
<Price>3</Price>
<Skucode>sample string 1</Skucode>
<UOM>sample string 4</UOM>
<Unit>sample string 2</Unit>
</OranOrderType>
<OranOrderType>
<Price>3</Price>
<Skucode>sample string 1</Skucode>
<UOM>sample string 4</UOM>
<Unit>sample string 2</Unit>
</OranOrderType>
</OrderType>
<Orion_OrderID>sample string 7</Orion_OrderID>
</AddOranInvoice>
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": "2025/11/03 15:58:35",
"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>