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 .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/SupplierPrices/CheckProdSupPriceImportData HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Data:
[
{
BCode: String,
Price: 0,
Margine: 0,
Vat: False,
SplitMark: 0
}
]
}
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, 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 } ] }