UOM
Unit of Measurement
URL
sales/uom
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 | Y6akOvYPJXFtPiiGfxi0ulhKxJHhRxCr | Key obtained from authentiaction. |
| unitsofm | Array | M | List of Unit of Measurement | |||
| uom | String | 10 | M | l | Unit of measurement for Litre = l | |
| uomdet | String | 50 | O | Litre | Unit of measurement description | |
| gstrepuom | String | 50 | M | LTR-LITERS | uom in GST | |
| clientid | String | 2 | 20 | M | ABC_01 | Client ID |
| tfirmid | Integer | M | 1 | Firmid from Tally | ||
| uomid | Integer | M | 1 | ID for UOM |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| status | String | M | OK | Updation Status |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"unitsofm": [
{
"uom": "l",
"uomdet": "Litre",
"gstrepuom": "LTR-LITERS",
"clientid": "ABC_01",
"tfirmid": "1",
"uomid": "1"
}
]
}
Sample Success Response
{
"status": "OK",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}
{
"e": 401,
"msg": "Invalid authentication credentials."
}