The below API is used to get Depot List from Geography & Structure.
Request: GET
Signature: /api/mobile/GetDepotList?Token={Login_Token}&CountryCode={Country_Code}&Search={Search_Keywords}&SkipCount={Skip_Count}
Sample: /api/mobile/GetDepotList?Token=VomYEMiECFFyAQ3==&CountryCode=KE&Search=&SkipCount=0
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 4,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"DepotID": "IM788xN7jbUeBsNZr-I=",
"DepotCode": "MBA00",
"DepotName": "Mombasa - Direct Trucking"
},
{
"DepotID": "IM788xN7ERsfMMF-XD0=",
"DepotCode": "MBA02",
"DepotName": "Mombasa - Makupa CFS"
},
{
"DepotID": "IM788xN7CVL27ifg2AE=",
"DepotCode": "NBOICD",
"DepotName": "Nairobi - ICD"
},
{
"DepotID": "IM788xN7xSsstHnp60Y=",
"DepotCode": "NBO00",
"DepotName": "Nairobi - Direct Trucking"
}
]
}
Things to know about this API: