TrakIT API‎ > ‎Pending API‎ > ‎

Get Item List

The below API is used to get list of Items from Item Master.


Request: GET

Signature:
 /api/mobile/GetItemList?Token={Login_Token}&Search={Search_Keywords}&SkipCount={Skip_Count}



Sample: /api/mobile/DeleteWOItem?Token=VomYEMiECFFyAQ3==&Search=Pipaa&SkipCount=0



Response: 

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 5,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": [
        {
            "ItemCode": "PIPAAIR11/2X6M",
            "ItemName": "Pipa Air 1 1/2x6m"
        },
        {
            "ItemCode": "PIPAAIR11/4X6M",
            "ItemName": "Pipa Air 1 1/4\"x6m"
        },
        {
            "ItemCode": "PIPAAIR1X6M",
            "ItemName": "Pipa Air 1\"x6m"
        },
        {
            "ItemCode": "PIPAAIR1/2X6M",
            "ItemName": "Pipa Air 1/2x6m"
        },
        {
            "ItemCode": "PIPAAIR1/2X6",
            "ItemName": "PIPA AIR 1/2X6x1.9 GL A I"
        }
    ]
}


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

  2. Search (You can search with Item Name and Item Code)

  3. Skip_Count - 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.

  4. RowsAffected - Displays the total number of Items found
Comments