Cancel Weighment
Cancell particular transaction of weigment. If the weigment is used in transaction, cancallation not allow
URL
weighing/cancel_weighment
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 | BqsJZgSiaQKNIof6Yk1aKEQD3queGZqJ | Key obtained from authentiaction. |
| SerialNumber | Integer | M | 41 | Serial No of the wighment |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| SerialNumber | Integer | M | 41 | Requested serial number will return if success else 0 with error message |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"SerialNumber": "41"
}
Sample Success Response
{
"SerialNumber": "41",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 400,
"msg": "Bad Request."
}