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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Businessid>1</Businessid>
  <Loinuserid>2</Loinuserid>
  <CustomerCode>sample string 3</CustomerCode>
  <OrderID>4</OrderID>
  <InvoiceCode>sample string 5</InvoiceCode>
  <AgentCode>6</AgentCode>
  <Orion_OrderID>sample string 7</Orion_OrderID>
  <IsOrder_Orion>8</IsOrder_Orion>
  <Freeze>sample string 9</Freeze>
  <OrderType>
    <OranOrderType>
      <Skucode>sample string 1</Skucode>
      <Unit>sample string 2</Unit>
      <Price>3</Price>
      <UOM>sample string 4</UOM>
    </OranOrderType>
    <OranOrderType>
      <Skucode>sample string 1</Skucode>
      <Unit>sample string 2</Unit>
      <Price>3</Price>
      <UOM>sample string 4</UOM>
    </OranOrderType>
  </OrderType>
</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/10/31 15:47:41",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>