API for Item master with rate and stock details
List all Items
Purpose: Used to list all the items
Resource URL: http://localhost:8482/WebReporter/api/v1/items
Method: GET
Authentication: Set Header As
X-Auth-Token : <API - KEY>
Request:
GET: http://localhost:8482/WebReporter/api/v1/items
Response:
{
"items": [
{
"itemId": 1,
"itemName": "bat",
"locationId": 225,
"stock": [
{
"stock": 7,
"salePrice": 120,
"mrp": 130,
"itemReferenceCode": "",
"taxPercentage": 12
}
]
},
{
"itemId": 1,
"itemName": "bat",
"locationId": 334,
"stock": [
{
"stock": 0,
"salePrice": 120,
"mrp": 130,
"itemReferenceCode": "",
"taxPercentage": 12
}
]
}
]
}
|