Get Entity WO
The below API is used to get Entity Work Order.
Request: GET
Signature: /api/mobile/GetEntWO?Token={Login_Token}&EntID={Ent_Integer}&SkipCount={Skip_count}
Sample: /api/mobile/GetEntWO?Token=VomYEMiECFFyAQ3==&EntID=1478&SkipCount=0
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 1,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"WONum": 11745,
"WOStatus": 3,
"Data": "11745<br/>\n<small>TAKU2345183</small>"
}
]
}
Things to know about this API:
- Token - You can use Login API to get token displayed under Info
- EntID - You can use Get Entity List API to get Entity ID displayed under EntID
- 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.
- RetInfo
- WONum (Work Order ID)
- WOStatus (0 = Active, 1 = Abandoned, 2 =Canceled, 3/4 = Closed)
- Data (It will display the data in this format WorkOrderID<br/>\n<small>Container Number</small>)