ApexERPHost

<back to all web services

SavePOSBookProp

Requires Authentication
The following routes are available for this service:
PUT/POS/UM/SaveBookProp
SavePOSBookProp Parameters:
NameParameterData TypeRequiredDescription
BookPropbodyPOSBookPropNo
POSBookProp Parameters:
NameParameterData TypeRequiredDescription
pos_idformintNo
branch_idformintNo
warehouse_accformstringNo
sup_warehouse_accformstringNo
cash_accformstringNo
cashm_accformstringNo
cash_oper_idformstringNo
retail_sale_oper_idformstringNo
wholesale_sale_oper_idformstringNo
retail_non_resident_sale_oper_idformstringNo
wholesale_non_resident_sale_oper_idformstringNo
retail_sale_by_points_oper_idformstringNo
retail_non_resident_sale_by_points_oper_idformstringNo
return_sold_oper_idformstringNo
return_cash_oper_idformstringNo
return_sold_by_points_oper_idformstringNo
produce_oper_idformstringNo
produce_material_accformstringNo
produce_tranzit_oper_idformstringNo
produce_accformstringNo
voucher_sale_oper_idformstringNo
voucher_wholesale_oper_idformstringNo
retail_served_oper_idformstringNo
wholesale_served_oper_idformstringNo
retail_non_resident_served_oper_idformstringNo
wholesale_non_resident_served_oper_idformstringNo
bonus_points_accrual_oper_idformstringNo
bonus_points_spend_oper_idformstringNo
bonus_points_accrual_accformstringNo
bonus_points_accrual_liability_accformstringNo
bonus_points_spend_exp_accformstringNo
return_bonus_points_spend_oper_idformstringNo
bonus_points_spend_liability_accformstringNo
move_oper_idformstringNo
cofunding_oper_idformstringNo
retail_prod_gift_oper_idformstringNo
return_prod_gift_oper_idformstringNo
voucher_gift_sale_oper_idformstringNo
voucher_gift_wholesale_oper_idformstringNo
company_branch_idformint?No
SavePOSBookPropResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
}