ApexERPHost

<back to all web services

SaveImportGoodDocument

Requires Authentication
The following routes are available for this service:
POST/Common/Dictionary/Goods/Import/Document
SaveImportGoodDocument Parameters:
NameParameterData TypeRequiredDescription
GoodsbodyList<GoodsImportDocument>No
Statusbodyint?No
GoodsImportDocument Parameters:
NameParameterData TypeRequiredDescription
bcodeformstringNo
bbcodeformstringNo
incodeformstringNo
products_nuformstringNo
products_neformstringNo
pricegrformdecimal?No
pricegtformdecimal?No
mdretailformdecimal?No
mdtradeformdecimal?No
producer_nuformstringNo
country_nuformstringNo
category_nuformstringNo
ppcat_nuformstringNo
unitnuformstringNo
packcountformshort?No
ppackcountformdecimal?No
byweightformbyte?No
vattypeformint?No
nettoformdecimal?No
bruttoformdecimal?No
pcat_nuformstringNo
intcode_nuformstringNo
brandnameuformstringNo
pdoseformstringNo
packtypenuformstringNo
regnformstringNo
descriptionformstringNo
cbcodeformstringNo
packccountformint?No
supdaysformint?No
mincountretailformint?No
mincounttradeformint?No
regdsformDateTime?No
regdeformDateTime?No
lifedateformint?No
destnumberformstringNo
size_nameformstringNo
color_nameformstringNo
gender_nameformstringNo
garant_daysformint?No
annotationformstringNo
annotationenformstringNo
annotationhtmlformstringNo
annotationhtmlenformstringNo
quality_nameformstringNo
good_status_nameformstringNo
exciseidformint?No
exciseformdecimal?No
excisecformdecimal?No
importedformbool?No
prstatusformbool?No
specificformbool?No
recalcformbool?No
lnotinpriceformbool?No
spendrformbool?No
spendformbool?No
detailed_warehousingformbool?No
track_and_traceformbool?No
xformdecimal?No
yformdecimal?No
zformdecimal?No
fast_foodformbool?No
has_errorformboolNo
error_textformstringNo
SaveImportGoodDocumentResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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":"\/Date(-62135596800000-0000)\/","regde":"\/Date(-62135596800000-0000)\/","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: application/json
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}