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/Document/List/Check HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CheckGoodDocumentList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Common">
<Status>0</Status>
<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>
</CheckGoodDocumentList>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CheckGoodDocumentListResponse 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>
<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>
</Result>
</CheckGoodDocumentListResponse>