Cancel Order
Request to be POSTed to uri : /NorenWClientTP/Cancel Order
Request Details
Note: If order status is not (“status”: “OPEN” or “TRIGGER_PENDING”) user can’t modify/cancel the order.
| Parameter Name | Possible value | Description |
|---|---|---|
| jData* | Should send json object with fields in below list | |
| jKey* | Key Obtained on login success. |
| Json Fields | Possible value | Description |
|---|---|---|
| norenordno* | Noren order number, which needs to be modified | |
| uid* | User id of the logged in user |
Response Details
Response data will be in json format with below fields:
| Json Fields | Possible value | Description |
|---|---|---|
| stat | Ok or Not_Ok | Cancel order success or failure indication. |
| result | Noren Order number of the canceled order. | |
| request_time | Response received time. | |
| emsg | This will be present only if Order cancelation fails |
Sample Success Response
{ "request_time":"14:14:10 26-05-2020", "stat":"Ok", "result":"20052600000103"}Sample Failure Response
{ "request_time":"16:01:48 28-05-2020", "stat":"Not_Ok", "emsg":"Rejected : ORA:Order not found to Cancel"}