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

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/GetItemList?Token=VomYEMiECFFyAQ3==&Search=besi&SkipCount=0



Response: 

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 73,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": [
        {
            "ItemCode": "BESI",
            "ItemName": "Besi"
        },
        {
            "ItemCode": "BESIBETON10X12M",
            "ItemName": "Besi Beton 10x12 m JSNI"
        },
        {
            "ItemCode": "BESIBETON12X12PASSNITP24",
            "ItemName": "BESI BETON 12X12 PAS SNI TP 24"
        },
        {
            "ItemCode": "BESIBETON16X12MSNIBJKU",
            "ItemName": "Besi Beton 16x12 m SNI BJKU"
        },
        {
            "ItemCode": "BESIBETON16X12US16SNITP",
            "ItemName": "Besi Beton 16x12 US 16 SNI TP 24"
        },
        {
            "ItemCode": "BESIBETON22X12SW22SNITS40",
            "ItemName": "Besi Beton 22x12 SW 22 SNI TS 40"
        },
        {
            "ItemCode": "BESIBETON6X12MPAS",
            "ItemName": "besi Beton 6x12 m PAS"
        },
        {
            "ItemCode": "BESIBETON8X12MPASSNITP24",
            "ItemName": "BESI BETON 8X12M PAS SNI TP 24"
        },
        {
            "ItemCode": "BESIBETON8X12MSNIBJKU",
            "ItemName": "Besi Beton 8x12m SNI BJKU"
        },
        {
            "ItemCode": "BESIBETONPOLOS",
            "ItemName": "Besi beton polos"
        },
        {
            "ItemCode": "BESIBETONPOLOS10SNIRS",
            "ItemName": "Besi Beton Polos 10 SNI RS"
        },
        {
            "ItemCode": "BESIBETONPOLOS10X12MOK",
            "ItemName": "Besi Beton Polos 10x12 m OK"
        },
        {
            "ItemCode": "BESIBETONPOLOS10X12MRS",
            "ItemName": "Besi Beton Polos 10x12 m RS"
        },
        {
            "ItemCode": "BESIBETONPOLOS10X12MSNISH",
            "ItemName": "BESI BETON POLOS 10X12M SNI SH"
        },
        {
            "ItemCode": "BESIBETONPOLOS10X12M",
            "ItemName": "Besi Beton Polos 10x12m TY SNI TP 24"
        },
        {
            "ItemCode": "BESIBETONPOLOS12MSNI",
            "ItemName": "Besi Beton Polos 12m SNI"
        },
        {
            "ItemCode": "BESIBETONPOLOS12MSNISH",
            "ItemName": "Besi Beton Polos 12m SNI SH"
        },
        {
            "ItemCode": "BESIBETONPOLOS12X12MKSJI",
            "ItemName": "Besi beton polos 12x12 m KSJI"
        },
        {
            "ItemCode": "BESIBETONPOLOS12X12MSH",
            "ItemName": "Besi Beton Polos 12x12 m SH"
        },
        {
            "ItemCode": "BESIBETONPOLOS12X12SNI",
            "ItemName": "Besi Beton Polos 12x12 SNI"
        }
    ]
}

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

  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