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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<SaveImportGoodDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Common">
  <Goods>
    <GoodsImportDocument>
      <bcode>String</bcode>
      <bbcode>String</bbcode>
      <incode>String</incode>
      <products_nu>String</products_nu>
      <products_ne>String</products_ne>
      <pricegr>0</pricegr>
      <pricegt>0</pricegt>
      <mdretail>0</mdretail>
      <mdtrade>0</mdtrade>
      <producer_nu>String</producer_nu>
      <country_nu>String</country_nu>
      <category_nu>String</category_nu>
      <ppcat_nu>String</ppcat_nu>
      <unitnu>String</unitnu>
      <packcount>0</packcount>
      <ppackcount>0</ppackcount>
      <byweight>0</byweight>
      <vattype>0</vattype>
      <netto>0</netto>
      <brutto>0</brutto>
      <pcat_nu>String</pcat_nu>
      <intcode_nu>String</intcode_nu>
      <brandnameu>String</brandnameu>
      <pdose>String</pdose>
      <packtypenu>String</packtypenu>
      <regn>String</regn>
      <description>String</description>
      <cbcode>String</cbcode>
      <packccount>0</packccount>
      <supdays>0</supdays>
      <mincountretail>0</mincountretail>
      <mincounttrade>0</mincounttrade>
      <regds>0001-01-01T00:00:00</regds>
      <regde>0001-01-01T00:00:00</regde>
      <lifedate>0</lifedate>
      <destnumber>String</destnumber>
      <size_name>String</size_name>
      <color_name>String</color_name>
      <gender_name>String</gender_name>
      <garant_days>0</garant_days>
      <annotation>String</annotation>
      <annotationen>String</annotationen>
      <annotationhtml>String</annotationhtml>
      <annotationhtmlen>String</annotationhtmlen>
      <quality_name>String</quality_name>
      <good_status_name>String</good_status_name>
      <exciseid>0</exciseid>
      <excise>0</excise>
      <excisec>0</excisec>
      <imported>false</imported>
      <prstatus>false</prstatus>
      <specific>false</specific>
      <recalc>false</recalc>
      <lnotinprice>false</lnotinprice>
      <spendr>false</spendr>
      <spend>false</spend>
      <detailed_warehousing>false</detailed_warehousing>
      <track_and_trace>false</track_and_trace>
      <x>0</x>
      <y>0</y>
      <z>0</z>
      <fast_food>false</fast_food>
      <has_error>false</has_error>
      <error_text>String</error_text>
    </GoodsImportDocument>
  </Goods>
  <Status>0</Status>
</SaveImportGoodDocument>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SaveImportGoodDocumentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Common">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Result>false</Result>
</SaveImportGoodDocumentResponse>