The below API is used to get shipment.
Request: GET
Signature: /api/mobile/GetShipmentsV3?Token={Login_Token}&SkipCount={Skip_count}&Search={Filter_text}&Closed={Boolean_Value}
CASE 1 : Searching with the WorkOrderID
Sample : /api/mobile/GetShipmentsV3?Token=P7pT6RgczvKwGldzxvD1BYCQ==&SkipCount=0&Search=18454&Closed=false
Response :
{
"Code": 1,
"Info": "",
"RowsAffected": 1,
"Scalar": 18454,
"Identity": 0,
"RetInfo": [
{
"WorkOrderID": 18454,
"BOLNum": "DJA0451290"
}
]
}
CASE 2 : Searching with the BOLNum
Sample : /api/mobile/GetShipmentsV3?Token=P7pT6RgczvKwGldzxvD1BYCQ==&SkipCount=0&Search=DJA044&Closed=false
Response :
{
"Code": 1,
"Info": "",
"RowsAffected": 2,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"RowNum": 1,
"BOLID": 9729,
"BOLNum": "DJA0449773",
"MinWO": 18394,
"Data": "18394<br/>\nASIANAGRO AGUNGJAYA<br/>\n<small>Asianagro Agung Jaya",
"WOCount": 3
},
{
"RowNum": 2,
"BOLID": 9578,
"BOLNum": "DJA0447718",
"MinWO": 18200,
"Data": "18200<br/>\nASIANAGRO AGUNGJAYA<br/>\n<small>Asianagro Agung Jaya",
"WOCount": 3
}
]
}
Things to know about this API: