Materials
List of Materials
URL
masters/materials
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | 92Aot5liNE5wX6FgPMY3uvS0aylTIN6a | Key obtained from authentiaction. |
| startsyncid | Integer | M | 1 | Syncid to start fetch | ||
| endsyncid | Integer | M | 10 | Fetch till this syncid |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| materials | Array | M | List of materials | |||
| materialname | String | M | CRI 1HP 32X25MM MONO VIRAT | Name of Material | ||
| materialcode | Integer | M | 10 | Code of material | ||
| partno | String | M | 1HP32X25 | Part No of material | ||
| centralcode | String | M | Central Code | Central Code of Material | ||
| uom | String | M | No | Unit of Measurement | ||
| location | String | M | MAIN STORE | Location of Material |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"startsyncid": "1",
"endsyncid": "10"
}
Sample Success Response
{
"materials": [
{
"materialname": "CRI 1HP 32X25MM MONO VIRAT",
"materialcode": "10",
"partno": "1HP32X25",
"centralcode": "Central Code",
"uom": "No",
"location": "MAIN STORE"
}
],
"e": 200,
"msg": "Success"
}