Save Sale Order :- LOGIC API PUSH - SALE ORDER
This API is used to create Sale Order in LOGIC
Authorization Detail
Name | Detail | |
---|---|---|
End Point | http://demo.logicerp.com/api/SaveSaleOrder | |
Request Type | POST | |
Authorization | Basic Auth | |
Username | Demo | |
Password | 1 |
Request
{
"Branch_Short_Name": "",
"Branch_Code": 2,
"Order_Prefix": "SO",
"Order_Date": "21/06/2023",
"Party_User_code": "2721",
"Party_Order_No": "SOTESTAPI111",
"External_Order_ID": "",
"Remarks": "",
"Tax_Region": "",
"RCU_Mem_Prefix": "",
"RCU_Mem_Number": "",
"RCU_Mobile_No": "",
"RCU_Email": "",
"RCU_First_Name": "",
"RCU_Last_Name": "",
"RCU_State": "",
"RCU_PinCode": "",
"RCU_Country": "",
"RCU_City": "",
"Billing_FirstName": "",
"Billing_MiddleName": "",
"Billing_LastName": "",
"Billing_MobileNo": "",
"Billing_EmailID": "",
"Billing_Address1": "",
"Billing_Address2": "",
"Billing_Country": "",
"Billing_State": "",
"Billing_City": "",
"Billing_PinCode": "",
"Billing_ContactPerson": "",
"Billing_Location": "",
"Shipping_FirstName": "",
"Shipping_MiddleName": "",
"Shipping_LastName": "",
"Shipping_MobileNo": "",
"Shipping_EmailID": "",
"Shipping_Address1": "",
"Shipping_Address2": "",
"Shipping_Country": "",
"Shipping_State": "",
"Shipping_City": "",
"Shipping_PinCode": "",
"Shipping_ContactPerson": "",
"Shipping_Location": "",
"Payment_Method": "",
"Exfactory_Date": "",
"Delivery_Date": "",
"Delivery_Time": "",
"Total_Other_Val_1": 0.0,
"Total_Other_Val_2": 0.0,
"Total_Other_Val_3": 0.0,
"Total_Other_Val_4": 0.0,
"Total_Other_Val_5": 0.0,
"Total_Other_Val_6": 0.0,
"Total_Other_Val_7": 0.0,
"Indirect_Customer_User_Code": "",
"Agent_Name": "",
"Company_Name": "",
"Transport_Name": "",
"Indirect_Order_No": "",
"Indirect_Order_Date": "",
"Order_Type": "",
"Party_Order_Date": "",
"Doc_Through": "",
"Branch_Order_Date": "",
"Delv_Vessel_Fight_No": "",
"AdvanceEntry": {
"CashAmount": 350.0,
"CreditCardAmount": 0.0,
"CreditCardNo": null,
"ChequeAmount": 0.0,
"ChequeNo": null,
"ChequeDate": null,
"CreditNoteAmount": 0.0
},
"ListItems": [
{
"LogicUser_Code": "TESTITEM101",
"AddlItemCode": "",
"Order_Qty": 5.0,
"Rate": 1200.0,
"CD_P": 0.0,
"TD_P": 0.0,
"SPCD_P": 0.0,
"CD_Rs": 0.0,
"Scheme_Item": 0.0,
"Adjust_Item": 0.0,
"Tax_Amount": 0.0,
"Remarks": "",
"User_Column_1": "",
"User_Column_2": "",
"User_Column_3": "",
"User_Column_4": "",
"User_Column_5": "",
"Item_Order_ID": "",
"Exfactory_Date": "",
"Delivery_Date": "",
"ItemDetCode": "",
"Lot_Number": ""
}
]
}
Name | Type | Length | Mandatory |
---|---|---|---|
Branch_Code | num | yes | |
Order_Prefix | nvarchar | 15 | yes |
Order_Date | date/time | - | - |
Party_User_code | num | - | yes |
Party_Order_No | nvarchar | 100 | yes |
External_Order_ID | nvarchar | - | - |
Remarks | nvarchar | - | - |
RCU_Mem_Prefix | nvarchar | 8 | - |
RCU_Mem_Number | nvarchar | - | - |
RCU_Mobile_No | num | 10 | - |
RCU_Email | nvarchar | 50 | - |
RCU_First_Name | nvarchar | 50 | - |
RCU_Last_Name | nvarchar | 50 | - |
RCU_State | nvarchar | 50 | - |
RCU_PinCode | num | 10 | - |
RCU_Country | nvarchar | 50 | - |
RCU_City | nvarchar | 50 | - |
Billing_FirstName | nvarchar | 50 | - |
Billing_MiddleName | nvarchar | 50 | - |
Billing_LastName | nvarchar | 50 | - |
Billing_MobileNo | num | 10 | - |
Billing_EmailID | nvarchar | 50 | - |
Billing_Address1 | nvarchar | 200 | - |
Billing_Address2 | nvarchar | 200 | - |
Billing_Country | nvarchar | 60 | - |
Billing_State | nvarchar | 60 | - |
Billing_City | nvarchar | 60 | - |
Billing_PinCode | num | 60 | - |
Billing_ContactPerson | nvarchar | 80 | - |
Shipping_FirstName | nvarchar | 50 | - |
Shipping_MiddleName | nvarchar | 50 | - |
Shipping_LastName | nvarchar | 50 | - |
Shipping_MobileNo | num | 10 | - |
Shipping_EmailID | nvarchar | 50 | - |
Shipping_Address1 | nvarchar | 200 | - |
Shipping_Address2 | nvarchar | 200 | - |
Shipping_Country | nvarchar | 50 | - |
Shipping_State | nvarchar | 50 | - |
Shipping_City | nvarchar | 50 | - |
Shipping_PinCode | num | 60 | - |
Shipping_ContactPerson | nvarchar | 100 | - |
Payment_Method | num | - | - |
Exfactory_Date | date/time | - | - |
Delivery_Date | date/time | - | - |
Total_Other_Val_1 | money | - | - |
Total_Other_Val_2 | money | - | - |
Total_Other_Val_3 | money | - | - |
Total_Other_Val_4 | money | - | - |
Total_Other_Val_5 | money | - | - |
Total_Other_Val_6 | money | - | - |
Total_Other_Val_7 | money | - | - |
Transport_Name | nvarchar | - | - |
LogicUser_Code | AddlItemCode | nvarchar | - | Yes (Any one) |
Order_Qty | num | - | yes |
Response
{
"LastSavedDocNo": "SO-1456",
"Order_No": "SO-1456",
"PrintFile": null,
"Status": true,
"Message": "",
"LastSavedCode": 5022
}