The below API is used to get work order.
Request: POST
Signature: api/mobile/GetWOHeaderValues?Token={Login_Token}&Code=CR&Search={Search_Text}&SkipCount={Skip_Count}
Sample CASE 1: api/mobile/GetWOHeaderValues?Token=VomYEMiECFFyAQ3==&Code=CA&Search=2&SkipCount=0
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 1,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"EntID": 2292,
"EntCode": "CODE12",
"EntName": "Ent12",
"CountryCode": "ID"
}
]
}
Sample CASE 2:
api/mobile/GetWOHeaderValues?Token=VomYEMiECFFyAQ3==&Code=CT&Search=U&SkipCount=0
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 9,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"TypeCode": "22BU"
},
{
"TypeCode": "42BU"
},
{
"TypeCode": "22U1"
},
{
"TypeCode": "22U2"
},
{
"TypeCode": "42U1"
},
{
"TypeCode": "42U2"
},
{
"TypeCode": "L5BU"
},
{
"TypeCode": "L5U2"
},
{
"TypeCode": "L5UT"
}
]
}
Things to know about this API: