| GET | /Warehousing/Prices/SupplierPrices/LastPrices |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CompanyId | query | int? | No | |
| GoodCategoryId | query | string | No | |
| GoodTypeId | query | string | No | |
| ProducerId | query | string | No | |
| HCategoryId | query | int? | No | |
| BCode | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<LastSupplyPrice> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProdPPId | form | string | No | |
| PriceG | form | decimal? | No | |
| PriceT | form | decimal? | No | |
| ProductName | form | string | No | |
| ProducerName | form | string | No | |
| Unit | form | string | No | |
| BCode | form | string | No | |
| InCode | form | string | No | |
| Vat | form | bool | No | |
| LastSuppPrice | form | decimal? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Warehousing/Prices/SupplierPrices/LastPrices HTTP/1.1 Host: 10.10.0.107 Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"ProdPPId":"String","PriceG":0,"PriceT":0,"ProductName":"String","ProducerName":"String","Unit":"String","BCode":"String","InCode":"String","Vat":false,"LastSuppPrice":0}]}