3.16 Remove row/item to operation
Connection URL
TEST URL | http://nap.dev.icash.bg/clientapi/v1/del-operation-sale-item |
( AL ) PRODUCTION URL | https://v1.icash.al/clientapi/v1/del-operation-sale-item |
( BG ) PRODUCTION URL | https://v5.icash.bg/clientapi/v1/del-operation-sale-item |
POST REQUEST
Param | Description | Field type | Required |
api_key | API Key | String | YES |
nonce | Nonce | Integer | YES |
signature | Signature | String | YES |
ses | Session indentificator | String | YES |
OperationSaleItemID | Sale item ID | Integer | YES |
JSON response on success
Param | Description | Field type | Required |
nonce | Nonce from request | Integer | YES |
status | Request status | Integer
1 – successful |
YES |
data | Result | result | YES |
Structure of type “result”
Param | Description | Field type | Required |
OperationSaleItemID | Sale Item ID | Integer | YES |
Example:
{ „nonce“: „1553076440“, „status“: 1, „data“: { „OperationSaleItemID“: 86663 } } |
JSON response on unsuccess
Param | Description | Field type | Required |
nonce | Nonce from request | Integer | YES |
status | Request status | Integer
0 – unsuccess request |
YES |
error_message | Error Description | String | YES |
Example:
{ „nonce“: „1553076439“, „status“: 0, „error_message“: „Wrong value for OperationSaleItemID“ } |