| GET | /api/pricebooks/sync |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| PricebookId | form | long | No | |
| ProductId | form | long | No | |
| Name | form | string | No | |
| AttributesName | form | string | No | |
| Code | form | string | No | |
| Cost | form | decimal | No | |
| MultiUnit | form | bool | No | |
| Price | form | decimal | No | |
| OriginalPrice | form | decimal | No | |
| OriginalPriceLargeUnit | form | decimal | No | |
| PriceLargeUnit | form | decimal | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/pricebooks/sync HTTP/1.1 Host: api.pos365.vn Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Id":0,"PricebookId":0,"ProductId":0,"Name":"String","AttributesName":"String","Code":"String","Cost":0,"MultiUnit":false,"Price":0,"OriginalPrice":0,"OriginalPriceLargeUnit":0,"PriceLargeUnit":0}