Uoms
List of Unit of Measurements
URL
masters/uoms
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 | AUg0Z3R8x7YQuqt2wELkt8r8tjk7voK8 | Key obtained from authentiaction. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| uoms | Array | M | List of Unit of Measurements | |||
| unitdescription | String | M | unitdescription | Unit Description | ||
| unit | String | M | unit | Unit | ||
| unitid | Integer | M | 0 | Unit ID | ||
| baseunit | Integer | M | 0 | Base Unit | ||
| unitconversionformula | String | M | unitconversionformula | Unit Conversion Formula | ||
| gstunit | String | M | gstunit | GST Unit |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq"
}
Sample Success Response
{
"uoms": [
{
"unitdescription": "unitdescription",
"unit": "unit",
"unitid": "0",
"baseunit": "0",
"unitconversionformula": "unitconversionformula",
"gstunit": "gstunit"
}
],
"e": 200,
"msg": "Success"
}