12. TrakIT API‎ > ‎Item Master‎ > ‎

Get Item WO

The below API is used to get Item Work Order.


Request: GET

Signature: /api/mobile/GetItemWO?Token={Login_Token}&ItemCode={Item_Code}&SkipCount={Skip_count}


Sample: /api/mobile/GetItemWO?Token=VomYEMiECFFyAQ3==&ItemCode=NBO00&SkipCount=0

Response:

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 1,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": [
        {
            "WONum": 62061,
            "WOStatus": 0,
            "Data": "62061<br/>\n<small>To Be Advised</small>"
        }
    ]
}


Things to know about this API:
  • Token - You can use Login API to get token displayed under Info

  • ItemCode- You can use Get Item List API to get ItemCode

  • 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:

  • Attribute  Description
    WONum Work Order ID
    WOStatus Work Order Status. Below are the possible values:

    • 0 - Active
    • 1 - Abandoned
    • 2 - Cancelled
    • 3 and 4 - Closed
    Data It display Work Order ID and Container Number.
Comments