Get Item Units
The below API is used to get Item Units list.
Request: GET
Signature: /api/mobile/GetItemUnits?Token={Login_Token}
Sample: /GetItemUnits?Token=VomYEMiECFFyAQ3==
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 0,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"Key": 0,
"Value": "Pieces"
},
{
"Key": 1,
"Value": "Kilograms"
},
{
"Key": 2,
"Value": "Pounds"
},
{
"Key": 3,
"Value": "Tons"
},
{
"Key": 4,
"Value": "Litres"
},
{
"Key": 5,
"Value": "Gallons"
},
{
"Key": 6,
"Value": "Rolls"
},
{
"Key": 7,
"Value": "Tins"
},
{
"Key": 8,
"Value": "Cans"
},
{
"Key": 9,
"Value": "Bags"
},
{
"Key": 10,
"Value": "Sets"
},
{
"Key": 11,
"Value": "Pallets"
},
{
"Key": 12,
"Value": "Boxes"
},
{
"Key": 13,
"Value": "Packs"
},
{
"Key": 14,
"Value": "Bottles"
},
{
"Key": 15,
"Value": "Bundles"
},
{
"Key": 16,
"Value": "Pairs"
},
{
"Key": 17,
"Value": "Drums"
}
]
}
Things to know about this API:
- Token - You can use Login API to get token displayed under Info