Uploaded by Tailor Pad

Inventory management API

advertisement
Login
TYPE: POST
URL : ​http://cc.tailorpad.com/api/method/login
Request:
usr=Administrator&pwd=admin
Response:
{
"full_name": "Administrator",
"message": "Logged In"
}
Get User’s Branch
TYPE: GET
URL : ​http://cc.tailorpad.com//api/resource/User/​Administrator​?
Fieldname :- branch
Get Warehouse
TYPE: GET
URL : ​http://cc.tailorpad.com//api/resource/Branch/​Branch_name​ from_above api​?
Fieldname :- warehouse
Get Available Quantity by passing item code and warehouse
TYPE: GET
URL : ​http://cc.tailorpad.com//api/resource/Bin/?fields=["actual_qty"]&filters=[["Bin",
"item_code", "=", "FAB-00013"], ["Bin", "warehouse", "=", "Stores - CC"]]
Response
{"data":[{"actual_qty":10.0}]}
Download