Add WO Item

The below API is used to add an asset in Asset Management.

Request: POST

Signature: /api/mobile/AddWOItem?Token={Login_Token}

Body:

{
"WONum":"WORK_ORDER_ID",
"ItemCode":"ITEM_CODE",
"Quantity":ITEM_QUANTITY
}

Sample: /api/mobile/AddWOItem?Token=VomYEMiECFFyAQ3==

Body:

{ 
"WONum":"1111", 
"ItemCode":"PIPAAIR11/2X6M", 
"Quantity":10
}  

Response:

{
    "Code": 1,
    "Info": "Item added successfully",
    "RowsAffected": 1,
    "Scalar": "KtFvL6JUY2ZGvG-hlg=",
    "Identity": 0,
    "RetInfo": null
}

Things to know about this API:

    1. Token - You can use Login API to get token displayed under Info
    2. Item_Code (You can get the Item Code using GetItemList API)
    3. Item_Quantity (This is a numeric field)
    4. Scalar (Display the Item ID which is attached)