PUT | /POS/UM/SaveBookPropEX |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BookPropEx | body | POSBookPropEx | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
pos_id | form | int | No | |
payment_type | form | int | No | |
cashm_acc | form | string | No | |
cash_oper_id | form | string | No | |
payment_name | form | string | No | |
OperName | form | string | No | |
AccWithName | form | string | No | |
cash_ret_acc | form | string | No | |
cash_ret_oper_id | form | string | No | |
RetOperName | form | string | No | |
RetAccName | form | string | No | |
cashback_oper_id | form | string | No | |
cashback_db | form | string | No | |
cashback_cr | form | string | No | |
additional_acc | form | string | No | |
additional_oper_id | form | string | No | |
AddtAccName | form | string | No | |
AddtOperName | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /POS/UM/SaveBookPropEX HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
BookPropEx:
{
pos_id: 0,
payment_type: 0,
cashm_acc: String,
cash_oper_id: String,
payment_name: String,
OperName: String,
AccWithName: String,
cash_ret_acc: String,
cash_ret_oper_id: String,
RetOperName: String,
RetAccName: String,
cashback_oper_id: String,
cashback_db: String,
cashback_cr: String,
additional_acc: String,
additional_oper_id: String,
AddtAccName: String,
AddtOperName: String
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, Result: False }