| POST | /Warehousing/Prices/SupplierPrices/CheckProdSupPriceImportData |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | body | List<CheckProdSuppImportData> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BCode | form | string | No | |
| Price | form | decimal | No | |
| Margine | form | decimal | No | |
| Vat | form | bool | No | |
| SplitMark | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Passed | form | List<CheckProdSuppPassedData> | No | |
| Errors | form | List<CheckProdSuppImportDataErrors> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BCode | form | string | No | |
| Price | form | decimal | No | |
| Margine | form | decimal | No | |
| Vat | form | bool | No | |
| Name | form | string | No | |
| ProducerName | form | string | No | |
| ProdPPId | form | string | No | |
| PriceGr | form | decimal | No | |
| PriceGt | form | decimal | No | |
| ProductHasVat | form | bool | No | |
| SplitMark | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BCode | form | string | No | |
| Price | form | decimal | No | |
| Margine | form | decimal? | No | |
| Vat | form | bool | No | |
| Error | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .wire suffix or ?format=wire
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Warehousing/Prices/SupplierPrices/CheckProdSupPriceImportData HTTP/1.1
Host: 10.10.0.107
Accept: application/x-wire
Content-Type: application/x-wire
Content-Length: length
{"Data":[{"BCode":"String","Price":0,"Margine":0,"Vat":false,"SplitMark":0}]}
HTTP/1.1 200 OK
Content-Type: application/x-wire
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Passed":[{"BCode":"String","Price":0,"Margine":0,"Vat":false,"Name":"String","ProducerName":"String","ProdPPId":"String","PriceGr":0,"PriceGt":0,"ProductHasVat":false,"SplitMark":0}],"Errors":[{"BCode":"String","Price":0,"Margine":0,"Vat":false,"Error":"String"}]}