POST SavePurchaseOrder
Request Information
URI Parameters
None.
Body Parameters
ClassAPIRequest_Save_PO| Name | Description | Type | Additional information |
|---|---|---|---|
| DisplayError | string |
None. |
|
| Branch_Short_Name | string |
None. |
|
| Branch_Code | integer |
None. |
|
| Order_Prefix | string |
None. |
|
| Order_Date | string |
None. |
|
| Remarks | string |
None. |
|
| Tax_Region | string |
None. |
|
| Delivery_Date | string |
None. |
|
| Valid_Till_Date | string |
None. |
|
| Delivery_Add_1 | string |
None. |
|
| Delivery_Add_2 | string |
None. |
|
| Delivery_Add_3 | string |
None. |
|
| Delivery_At | string |
None. |
|
| Quotation_No | string |
None. |
|
| Quotation_Date | string |
None. |
|
| Supplier_Order_No | string |
None. |
|
| Party_User_code | string |
None. |
|
| Total_Other_Val_1 | decimal number |
None. |
|
| Total_Other_Val_2 | decimal number |
None. |
|
| Total_Other_Val_3 | decimal number |
None. |
|
| Total_Other_Val_4 | decimal number |
None. |
|
| Total_Other_Val_5 | decimal number |
None. |
|
| Total_Other_Val_6 | decimal number |
None. |
|
| Total_Other_Val_7 | decimal number |
None. |
|
| Agent_Name | string |
None. |
|
| Company_Name | string |
None. |
|
| Transport_Name | string |
None. |
|
| ListItems | Collection of ClassItemDetails_PO |
None. |
Request Formats
application/json, text/json
Sample:
{
"DisplayError": "sample string 1",
"Branch_Short_Name": "sample string 2",
"Branch_Code": 3,
"Order_Prefix": "sample string 4",
"Order_Date": "sample string 5",
"Remarks": "sample string 6",
"Tax_Region": "sample string 7",
"Delivery_Date": "sample string 8",
"Valid_Till_Date": "sample string 9",
"Delivery_Add_1": "sample string 10",
"Delivery_Add_2": "sample string 11",
"Delivery_Add_3": "sample string 12",
"Delivery_At": "sample string 13",
"Quotation_No": "sample string 14",
"Quotation_Date": "sample string 15",
"Supplier_Order_No": "sample string 16",
"Party_User_code": "sample string 17",
"Total_Other_Val_1": 18.1,
"Total_Other_Val_2": 19.1,
"Total_Other_Val_3": 20.1,
"Total_Other_Val_4": 21.1,
"Total_Other_Val_5": 22.1,
"Total_Other_Val_6": 23.1,
"Total_Other_Val_7": 24.1,
"Agent_Name": "sample string 25",
"Company_Name": "sample string 26",
"Transport_Name": "sample string 27",
"ListItems": [
{
"LogicUser_Code": "sample string 1",
"AddlItemCode": "sample string 2",
"Order_Qty": 3.0,
"Rate": 4.1,
"SPCD_P": 5.1,
"Tax_Amount": 6.1,
"Remarks": "sample string 7"
},
{
"LogicUser_Code": "sample string 1",
"AddlItemCode": "sample string 2",
"Order_Qty": 3.0,
"Rate": 4.1,
"SPCD_P": 5.1,
"Tax_Amount": 6.1,
"Remarks": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<ClassAPIRequest_Save_PO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Logic.NET.API.Base">
<Agent_Name>sample string 25</Agent_Name>
<Branch_Code>3</Branch_Code>
<Branch_Short_Name>sample string 2</Branch_Short_Name>
<Company_Name>sample string 26</Company_Name>
<Delivery_Add_1>sample string 10</Delivery_Add_1>
<Delivery_Add_2>sample string 11</Delivery_Add_2>
<Delivery_Add_3>sample string 12</Delivery_Add_3>
<Delivery_At>sample string 13</Delivery_At>
<Delivery_Date>sample string 8</Delivery_Date>
<DisplayError>sample string 1</DisplayError>
<ListItems>
<ClassItemDetails_PO>
<AddlItemCode>sample string 2</AddlItemCode>
<LogicUser_Code>sample string 1</LogicUser_Code>
<Order_Qty>3</Order_Qty>
<Rate>4.1</Rate>
<Remarks>sample string 7</Remarks>
<SPCD_P>5.1</SPCD_P>
<Tax_Amount>6.1</Tax_Amount>
</ClassItemDetails_PO>
<ClassItemDetails_PO>
<AddlItemCode>sample string 2</AddlItemCode>
<LogicUser_Code>sample string 1</LogicUser_Code>
<Order_Qty>3</Order_Qty>
<Rate>4.1</Rate>
<Remarks>sample string 7</Remarks>
<SPCD_P>5.1</SPCD_P>
<Tax_Amount>6.1</Tax_Amount>
</ClassItemDetails_PO>
</ListItems>
<Order_Date>sample string 5</Order_Date>
<Order_Prefix>sample string 4</Order_Prefix>
<Party_User_code>sample string 17</Party_User_code>
<Quotation_Date>sample string 15</Quotation_Date>
<Quotation_No>sample string 14</Quotation_No>
<Remarks>sample string 6</Remarks>
<Supplier_Order_No>sample string 16</Supplier_Order_No>
<Tax_Region>sample string 7</Tax_Region>
<Total_Other_Val_1>18.1</Total_Other_Val_1>
<Total_Other_Val_2>19.1</Total_Other_Val_2>
<Total_Other_Val_3>20.1</Total_Other_Val_3>
<Total_Other_Val_4>21.1</Total_Other_Val_4>
<Total_Other_Val_5>22.1</Total_Other_Val_5>
<Total_Other_Val_6>23.1</Total_Other_Val_6>
<Total_Other_Val_7>24.1</Total_Other_Val_7>
<Transport_Name>sample string 27</Transport_Name>
<Valid_Till_Date>sample string 9</Valid_Till_Date>
</ClassAPIRequest_Save_PO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |