POST | /Common/Dictionary/Goods/Import/Document |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Goods | body | List<GoodsImportDocument> | No | |
Status | body | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
bcode | form | string | No | |
bbcode | form | string | No | |
incode | form | string | No | |
products_nu | form | string | No | |
products_ne | form | string | No | |
pricegr | form | decimal? | No | |
pricegt | form | decimal? | No | |
mdretail | form | decimal? | No | |
mdtrade | form | decimal? | No | |
producer_nu | form | string | No | |
country_nu | form | string | No | |
category_nu | form | string | No | |
ppcat_nu | form | string | No | |
unitnu | form | string | No | |
packcount | form | short? | No | |
ppackcount | form | decimal? | No | |
byweight | form | byte? | No | |
vattype | form | int? | No | |
netto | form | decimal? | No | |
brutto | form | decimal? | No | |
pcat_nu | form | string | No | |
intcode_nu | form | string | No | |
brandnameu | form | string | No | |
pdose | form | string | No | |
packtypenu | form | string | No | |
regn | form | string | No | |
description | form | string | No | |
cbcode | form | string | No | |
packccount | form | int? | No | |
supdays | form | int? | No | |
mincountretail | form | int? | No | |
mincounttrade | form | int? | No | |
regds | form | DateTime? | No | |
regde | form | DateTime? | No | |
lifedate | form | int? | No | |
destnumber | form | string | No | |
size_name | form | string | No | |
color_name | form | string | No | |
gender_name | form | string | No | |
garant_days | form | int? | No | |
annotation | form | string | No | |
annotationen | form | string | No | |
annotationhtml | form | string | No | |
annotationhtmlen | form | string | No | |
quality_name | form | string | No | |
good_status_name | form | string | No | |
exciseid | form | int? | No | |
excise | form | decimal? | No | |
excisec | form | decimal? | No | |
imported | form | bool? | No | |
prstatus | form | bool? | No | |
specific | form | bool? | No | |
recalc | form | bool? | No | |
lnotinprice | form | bool? | No | |
spendr | form | bool? | No | |
spend | form | bool? | No | |
detailed_warehousing | form | bool? | No | |
track_and_trace | form | bool? | No | |
x | form | decimal? | No | |
y | form | decimal? | No | |
z | form | decimal? | No | |
fast_food | form | bool? | No | |
has_error | form | bool | No | |
error_text | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | bool | 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 /Common/Dictionary/Goods/Import/Document HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Goods:
[
{
bcode: String,
bbcode: String,
incode: String,
products_nu: String,
products_ne: String,
pricegr: 0,
pricegt: 0,
mdretail: 0,
mdtrade: 0,
producer_nu: String,
country_nu: String,
category_nu: String,
ppcat_nu: String,
unitnu: String,
packcount: 0,
ppackcount: 0,
byweight: 0,
vattype: 0,
netto: 0,
brutto: 0,
pcat_nu: String,
intcode_nu: String,
brandnameu: String,
pdose: String,
packtypenu: String,
regn: String,
description: String,
cbcode: String,
packccount: 0,
supdays: 0,
mincountretail: 0,
mincounttrade: 0,
regds: 0001-01-01,
regde: 0001-01-01,
lifedate: 0,
destnumber: String,
size_name: String,
color_name: String,
gender_name: String,
garant_days: 0,
annotation: String,
annotationen: String,
annotationhtml: String,
annotationhtmlen: String,
quality_name: String,
good_status_name: String,
exciseid: 0,
excise: 0,
excisec: 0,
imported: False,
prstatus: False,
specific: False,
recalc: False,
lnotinprice: False,
spendr: False,
spend: False,
detailed_warehousing: False,
track_and_trace: False,
x: 0,
y: 0,
z: 0,
fast_food: False,
has_error: False,
error_text: String
}
],
Status: 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 } }, Result: False }