TrakIT API‎ > ‎Pending API‎ > ‎

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": "181<br/>\n<small></small>"
        },
        {
            "WONum": 17690,
            "WOStatus": 1,
            "Data": "1790<br/>\n<small>CAIU6662515</small>"
        },
        {
            "WONum": 17688,
            "WOStatus": 1,
            "Data": "1788<br/>\n<small></small>"
        }
    ]
}

Things to know about this API:
  • Token (You can get the Login_Token using Login API)

  • 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.)
Comments