Get Item
The below API is used to get Item.
Request: GET
Signature: /api/mobile/GetItem?Token={Login_Token}&ItemCode={Item_Code}
Sample: /api/mobile/GetItem?Token=VomYEMiECFFyAQ3==&ItemCode=FERT
Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 0,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"Type": "Field",
"Name": "Code",
"Value": "FERT",
"Active": true,
"IsEditable": false,
"Code": "ITEMCODE",
"DataType": "Text",
"Remarks": null,
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Field",
"Name": "Name",
"Value": "Organic Soil 1",
"Active": true,
"IsEditable": false,
"Code": "NAME",
"DataType": "Text",
"Remarks": null,
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Field",
"Name": "Unit",
"Value": "Bags",
"Active": true,
"IsEditable": false,
"Code": "UNIT",
"DataType": "Text",
"Remarks": null,
"MultiSelect": null,
"ListValues": "Pieces;Kilograms;Pounds;Tons;Litres;Gallons;Rolls;Tins;Cans;Bags;Sets;Pallets;Boxes;Packs;Bottles;Bundles;Pairs"
},
{
"Type": "Field",
"Name": "Weight",
"Value": "33331.000",
"Active": true,
"IsEditable": false,
"Code": "WEIGHT",
"DataType": "Number",
"Remarks": null,
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Field",
"Name": "Volume",
"Value": "888.000",
"Active": true,
"IsEditable": false,
"Code": "VOLUME",
"DataType": "Number",
"Remarks": null,
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Field",
"Name": "HS Code",
"Value": "jkjkj",
"Active": true,
"IsEditable": false,
"Code": "HSCODE",
"DataType": "Text",
"Remarks": null,
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Field",
"Name": "GTIN",
"Value": "iuiuiouo",
"Active": true,
"IsEditable": false,
"Code": "GTIN",
"DataType": "Text",
"Remarks": null,
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Field",
"Name": "Shelf Life",
"Value": "30",
"Active": true,
"IsEditable": false,
"Code": "SHELFLIFE",
"DataType": "Number",
"Remarks": null,
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Field",
"Name": "Description",
"Value": "xads",
"Active": true,
"IsEditable": false,
"Code": "DESCRIPTION",
"DataType": "Text",
"Remarks": null,
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Data",
"Name": "PIN",
"Value": "568,567,978.00",
"Active": true,
"IsEditable": true,
"Code": "PIN",
"DataType": "Number",
"Remarks": "",
"MultiSelect": null,
"ListValues": "5,657,567.00;568,567,978.00;967.00;456.00;3,456,234,647.00;586,798,769.00"
},
{
"Type": "Data",
"Name": "Item Expiry Date",
"Value": "13:15, 03 Apr 2019",
"Active": true,
"IsEditable": true,
"Code": "IEDATE",
"DataType": "Date",
"Remarks": "",
"MultiSelect": null,
"ListValues": null
},
{
"Type": "Data",
"Name": "Brands",
"Value": "H & M\nHUSH PUPPIES",
"Active": true,
"IsEditable": true,
"Code": "BRAND",
"DataType": "Text",
"Remarks": "",
"MultiSelect": "3",
"ListValues": "Mark & Spencer;H & M;PE;MAX;HUSH PUPPIES;456546"
},
{
"Type": "Data",
"Name": "34444444445",
"Value": "",
"Active": true,
"IsEditable": true,
"Code": "3444444445",
"DataType": "Number",
"Remarks": "",
"MultiSelect": null,
"ListValues": "345,345.000"
}
]
}
Things to know about this API:
- Token - You can use Login API to get token displayed under Info
- ItemCode - You can use Get Item List API to get ItemCode
- Definition of each attribute for Field:
- Definition of each attribute for Data: