PUT | /POS/UM/SaveBookProp |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BookProp | body | POSBookProp | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
pos_id | form | int | No | |
branch_id | form | int | No | |
warehouse_acc | form | string | No | |
sup_warehouse_acc | form | string | No | |
cash_acc | form | string | No | |
cashm_acc | form | string | No | |
cash_oper_id | form | string | No | |
retail_sale_oper_id | form | string | No | |
wholesale_sale_oper_id | form | string | No | |
retail_non_resident_sale_oper_id | form | string | No | |
wholesale_non_resident_sale_oper_id | form | string | No | |
retail_sale_by_points_oper_id | form | string | No | |
retail_non_resident_sale_by_points_oper_id | form | string | No | |
return_sold_oper_id | form | string | No | |
return_cash_oper_id | form | string | No | |
return_sold_by_points_oper_id | form | string | No | |
produce_oper_id | form | string | No | |
produce_material_acc | form | string | No | |
produce_tranzit_oper_id | form | string | No | |
produce_acc | form | string | No | |
voucher_sale_oper_id | form | string | No | |
voucher_wholesale_oper_id | form | string | No | |
retail_served_oper_id | form | string | No | |
wholesale_served_oper_id | form | string | No | |
retail_non_resident_served_oper_id | form | string | No | |
wholesale_non_resident_served_oper_id | form | string | No | |
bonus_points_accrual_oper_id | form | string | No | |
bonus_points_spend_oper_id | form | string | No | |
bonus_points_accrual_acc | form | string | No | |
bonus_points_accrual_liability_acc | form | string | No | |
bonus_points_spend_exp_acc | form | string | No | |
return_bonus_points_spend_oper_id | form | string | No | |
bonus_points_spend_liability_acc | form | string | No | |
move_oper_id | form | string | No | |
cofunding_oper_id | form | string | No | |
retail_prod_gift_oper_id | form | string | No | |
return_prod_gift_oper_id | form | string | No | |
voucher_gift_sale_oper_id | form | string | No | |
voucher_gift_wholesale_oper_id | form | string | No | |
company_branch_id | form | int? | 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/SaveBookProp HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
BookProp:
{
pos_id: 0,
branch_id: 0,
warehouse_acc: String,
sup_warehouse_acc: String,
cash_acc: String,
cashm_acc: String,
cash_oper_id: String,
retail_sale_oper_id: String,
wholesale_sale_oper_id: String,
retail_non_resident_sale_oper_id: String,
wholesale_non_resident_sale_oper_id: String,
retail_sale_by_points_oper_id: String,
retail_non_resident_sale_by_points_oper_id: String,
return_sold_oper_id: String,
return_cash_oper_id: String,
return_sold_by_points_oper_id: String,
produce_oper_id: String,
produce_material_acc: String,
produce_tranzit_oper_id: String,
produce_acc: String,
voucher_sale_oper_id: String,
voucher_wholesale_oper_id: String,
retail_served_oper_id: String,
wholesale_served_oper_id: String,
retail_non_resident_served_oper_id: String,
wholesale_non_resident_served_oper_id: String,
bonus_points_accrual_oper_id: String,
bonus_points_spend_oper_id: String,
bonus_points_accrual_acc: String,
bonus_points_accrual_liability_acc: String,
bonus_points_spend_exp_acc: String,
return_bonus_points_spend_oper_id: String,
bonus_points_spend_liability_acc: String,
move_oper_id: String,
cofunding_oper_id: String,
retail_prod_gift_oper_id: String,
return_prod_gift_oper_id: String,
voucher_gift_sale_oper_id: String,
voucher_gift_wholesale_oper_id: String,
company_branch_id: 0
}
}
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 }