Get Asset WO
The below API is used to get Asset Work Order.
Request: GET
Signature: /api/mobile/GetAssetWO?Token={Login_Token}&AssetID={Asset_ID}&SkipCount={Skip_count}
Sample: /api/mobile/GetAssetWO?Token=P7pT6gzvdPWzxvmYCQ==&AssetID=11&SkipCount=0
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 3,
"Scalar": null,
"Identity": 0,
"RetInfo":
[
{
"WONum": 18180,
"WOStatus": 1,
"Data": "18180<br/>\n<small>GLDU46834184</small>"
},
{
"WONum": 17690,
"WOStatus": 1,
"Data": "17690<br/>\n<small>CAIU6368215</small>"
},
{
"WONum": 17688,
"WOStatus": 1,
"Data": "1788<br/>\n<small>SUDU1368666</small>"
}
]
}
Things to know about this API:
- Token - You can use Login API to get token displayed under Info
- AssetID - You can use Get Asset List API to get AssetID
- SkipCount (It is an integer which decides the number of rows returned. For example: If you send 0, then it will display 0 to 20 rows. If you send 13, then it will display 13 to 33 rows.)
- Definition of each attribute for RetInfo: