| 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 .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}