| POST | /Warehousing/Prices/DeclaredPrices/CheckProdDeclaredPriceImportData |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | body | List<CheckDecPriceImportData> | No | |
| isRetail | body | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BCode | form | string | No | |
| Price | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Passed | form | List<CheckDecPricePassedData> | No | |
| Errors | form | List<CheckDecPriceImportDataErrors> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BCode | form | string | No | |
| Price | form | decimal | No | |
| Name | form | string | No | |
| ProdPPId | form | string | No | |
| PriceGr | form | decimal | No | |
| PriceGt | form | decimal | No | |
| MDRetail | form | decimal | No | |
| MDTrade | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| BCode | form | string | No | |
| Price | form | decimal | No | |
| Name | form | string | No | |
| ProdPPId | form | string | No | |
| Error | form | string | 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.
POST /Warehousing/Prices/DeclaredPrices/CheckProdDeclaredPriceImportData HTTP/1.1
Host: 10.10.0.107
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Data:
[
{
BCode: String,
Price: 0
}
],
isRetail: False
}
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
}
},
Passed:
[
{
BCode: String,
Price: 0,
Name: String,
ProdPPId: String,
PriceGr: 0,
PriceGt: 0,
MDRetail: 0,
MDTrade: 0
}
],
Errors:
[
{
BCode: String,
Price: 0,
Name: String,
ProdPPId: String,
Error: String
}
]
}