API Documentation



Get Purchase Order

This API is used to fetch Purchase Voucher Order from LOGIC

Authorization Detail

Name Detail
End Point http://demo.logicerp.com/api/GetPurchaseOrder
Request Type POST
Authorization Basic Auth
Username Demo
Password 1

Request

 
{
 "GlobalModifyCode": 0,
 "Doc_Codes": " 1",
 "DateFrom":  null,
 "DateTo":  null,
 "Branch_Codes_From": 2
}

             

Response


{
 "GetData": [
     {
         "Vouch_Code": 8,
         "Order_Prefix": "PO",
         "Order_Number": 6,
         "Order_Date": "12/06/2018",
         "Party_Name": "DEMO FOR API TESTING    -HOWRAH",
         "Party_User_Code": "1002",
         "Agent_Name": "NIL",
         "Branch_Name": "HO REDTAPE",
         "Branch_Short_Name": "430",
         "Exchange_Rate": 1.0,
         "Currency_Name": "Rupees",
         "Order_Amount": 920.0,
         "Total_Tax": 82.8,
         "Net_Order_Amount": 1085.6,
         "Supplier_Order_No": "",
         "Delivery_Date": "",
         "Quotation_No": "",
         "Transfer_Branch_Name": "",
         "Transfer_Branch_Code": -1,
         "Quotation_Date": "",
         "Action_Code": "M",
         "ListItems": [
             {
                 "Txn_Code": 30,
                 "Logic_UserCode": "B631658",
                 "Lot_Number": "",
                 "CF_Qty": 1.0,
                 "Total_Qty": 10.0,
                 "Rate": 42.0,
                 "Pending_Qty": 10.0,
                 "PO_MRP": 70.0 
             }
         ]
     }
 ],
 "Status": true,
 "Message": "",
 "LastGlobalModifyCode": 0 
}