The below API is used to create Depot.
Request: POST
Signature: /api/mobile/CreateDepot?Token={Login_Token}
Body:
{ "Code":"DEPOT_CODE", "Name":"DEPOT_NAME", "BelongsTo":"DEPOT_PARENT_CODE", "Latitude":DEPOT_LATITUDE,
"Longitude":DEPOT_LONGITUDE}Sample : /api/mobile/CreateDepot?Token=VomYEMiECFFyAQ3==
Body:
{ "Code":"NBO02", "Name":"Nairobi - ICD", "BelongsTo":"NBO", "Latitude":0.347600,
"Longitude":32.582516}Response:
{ "Code": 1, "Info": "Depot created successfully", "RowsAffected": 1, "Scalar": null, "Identity": 0, "RetInfo": null
}Things to know about this API: