To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetWbProdMapping[] HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ArrayOfGetWbProdMapping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.RSProxy">
<GetWbProdMapping>
<SupplierSn>String</SupplierSn>
<UnicCode>String</UnicCode>
<WbProdCode>String</WbProdCode>
<WBProdName>String</WBProdName>
<WBProdUnit>String</WBProdUnit>
</GetWbProdMapping>
</ArrayOfGetWbProdMapping>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfGetWbProdMappingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.RSProxy"> <GetWbProdMappingResponse> <ResponseStatus xmlns:d3p1="http://schemas.servicestack.net/types"> <d3p1:ErrorCode>String</d3p1:ErrorCode> <d3p1:Message>String</d3p1:Message> <d3p1:StackTrace>String</d3p1:StackTrace> <d3p1:Errors> <d3p1:ResponseError> <d3p1:ErrorCode>String</d3p1:ErrorCode> <d3p1:FieldName>String</d3p1:FieldName> <d3p1:Message>String</d3p1:Message> <d3p1:Meta xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d6p1:KeyValueOfstringstring> <d6p1:Key>String</d6p1:Key> <d6p1:Value>String</d6p1:Value> </d6p1:KeyValueOfstringstring> </d3p1:Meta> </d3p1:ResponseError> </d3p1:Errors> <d3p1:Meta xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>String</d4p1:Key> <d4p1:Value>String</d4p1:Value> </d4p1:KeyValueOfstringstring> </d3p1:Meta> </ResponseStatus> <Result xmlns:d3p1="http://schemas.datacontract.org/2004/07/Apex.Services.Common"> <d3p1:ID>String</d3p1:ID> <d3p1:BCode>String</d3p1:BCode> <d3p1:BBCode>String</d3p1:BBCode> <d3p1:InCode>String</d3p1:InCode> <d3p1:Name>String</d3p1:Name> <d3p1:NameEn>String</d3p1:NameEn> <d3p1:PackBCount>0</d3p1:PackBCount> <d3p1:PackCount>0</d3p1:PackCount> <d3p1:Netto>0</d3p1:Netto> <d3p1:ByWeight>0</d3p1:ByWeight> <d3p1:CategoryID>String</d3p1:CategoryID> <d3p1:Category> <d3p1:CategoryID>String</d3p1:CategoryID> <d3p1:CategoryCode>String</d3p1:CategoryCode> <d3p1:CategoryName>String</d3p1:CategoryName> <d3p1:Spend>false</d3p1:Spend> </d3p1:Category> <d3p1:PPCatID>String</d3p1:PPCatID> <d3p1:PCatID>0</d3p1:PCatID> <d3p1:ProducerID>String</d3p1:ProducerID> <d3p1:Producer> <d3p1:ProducerID>String</d3p1:ProducerID> <d3p1:ProducerName>String</d3p1:ProducerName> <d3p1:CountryId>String</d3p1:CountryId> <d3p1:LOwn>false</d3p1:LOwn> <d3p1:Speend>false</d3p1:Speend> <d3p1:ProducerNameEnglish>String</d3p1:ProducerNameEnglish> <d3p1:Address>String</d3p1:Address> <d3p1:PostalCode>String</d3p1:PostalCode> <d3p1:Phone>String</d3p1:Phone> <d3p1:Fax>String</d3p1:Fax> <d3p1:Person>String</d3p1:Person> <d3p1:Email>String</d3p1:Email> <d3p1:Ldefault>false</d3p1:Ldefault> <d3p1:MrgId>0</d3p1:MrgId> <d3p1:Country> <d3p1:CountryId>String</d3p1:CountryId> <d3p1:CountryNe>String</d3p1:CountryNe> <d3p1:LDefault>false</d3p1:LDefault> <d3p1:Spend>false</d3p1:Spend> <d3p1:CountryNu>String</d3p1:CountryNu> </d3p1:Country> <d3p1:ProducerCountry>String</d3p1:ProducerCountry> </d3p1:Producer> <d3p1:Vat>0</d3p1:Vat> <d3p1:LifeDays>0</d3p1:LifeDays> <d3p1:Unit>String</d3p1:Unit> <d3p1:ParentID>String</d3p1:ParentID> <d3p1:MaxDiscount>0</d3p1:MaxDiscount> <d3p1:IsImported>false</d3p1:IsImported> <d3p1:Dimensions> <d3p1:X>0</d3p1:X> <d3p1:Y>0</d3p1:Y> <d3p1:Z>0</d3p1:Z> </d3p1:Dimensions> <d3p1:PackCCount>0</d3p1:PackCCount> <d3p1:PDose>String</d3p1:PDose> <d3p1:IntCodeID>String</d3p1:IntCodeID> <d3p1:IntCode> <d3p1:IntCodeID>String</d3p1:IntCodeID> <d3p1:Name>String</d3p1:Name> <d3p1:NameEn>String</d3p1:NameEn> <d3p1:Vat>0</d3p1:Vat> <d3p1:TaxMethod>0</d3p1:TaxMethod> <d3p1:Tax1>0</d3p1:Tax1> <d3p1:TaxK>0</d3p1:TaxK> </d3p1:IntCode> <d3p1:ExciseID>0</d3p1:ExciseID> <d3p1:Excise>0</d3p1:Excise> <d3p1:DestNumber>String</d3p1:DestNumber> <d3p1:PackTypeID>0</d3p1:PackTypeID> <d3p1:PriceGR>0</d3p1:PriceGR> <d3p1:PriceGT>0</d3p1:PriceGT> <d3p1:Spend>false</d3p1:Spend> <d3p1:VatType>0</d3p1:VatType> <d3p1:ExtendedInfo> <d3p1:ProdPPID>String</d3p1:ProdPPID> <d3p1:Description>String</d3p1:Description> <d3p1:Anotation>String</d3p1:Anotation> <d3p1:GarantDays>0</d3p1:GarantDays> <d3p1:IsFastFood>false</d3p1:IsFastFood> <d3p1:DetailedWarehousing>false</d3p1:DetailedWarehousing> <d3p1:TrackAndTrace>false</d3p1:TrackAndTrace> <d3p1:BrandID>0</d3p1:BrandID> <d3p1:Brand> <d3p1:BrandId>0</d3p1:BrandId> <d3p1:Abbreviation>String</d3p1:Abbreviation> <d3p1:Name>String</d3p1:Name> <d3p1:BrandNameE>String</d3p1:BrandNameE> <d3p1:Description>String</d3p1:Description> <d3p1:Logo>AA==</d3p1:Logo> </d3p1:Brand> <d3p1:RType>0</d3p1:RType> <d3p1:SizeId>0</d3p1:SizeId> <d3p1:ColorId>0</d3p1:ColorId> <d3p1:GenderId>0</d3p1:GenderId> <d3p1:Size> <d3p1:Id>0</d3p1:Id> <d3p1:Name>String</d3p1:Name> <d3p1:SizeType>0</d3p1:SizeType> </d3p1:Size> <d3p1:Color> <d3p1:codeid>0</d3p1:codeid> <d3p1:mgrid>00000000-0000-0000-0000-000000000000</d3p1:mgrid> <d3p1:hname>String</d3p1:hname> <d3p1:hnamee>String</d3p1:hnamee> <d3p1:hcode>String</d3p1:hcode> <d3p1:defval>false</d3p1:defval> <d3p1:vm>0</d3p1:vm> <d3p1:vp>0</d3p1:vp> <d3p1:vi>0</d3p1:vi> <d3p1:vd>0001-01-01T00:00:00</d3p1:vd> <d3p1:canceled>false</d3p1:canceled> <d3p1:crtime>0001-01-01T00:00:00</d3p1:crtime> <d3p1:unid>00000000-0000-0000-0000-000000000000</d3p1:unid> <d3p1:IUD>0</d3p1:IUD> </d3p1:Color> <d3p1:Gender> <d3p1:codeid>0</d3p1:codeid> <d3p1:mgrid>00000000-0000-0000-0000-000000000000</d3p1:mgrid> <d3p1:hname>String</d3p1:hname> <d3p1:hnamee>String</d3p1:hnamee> <d3p1:hcode>String</d3p1:hcode> <d3p1:defval>false</d3p1:defval> <d3p1:vm>0</d3p1:vm> <d3p1:vp>0</d3p1:vp> <d3p1:vi>0</d3p1:vi> <d3p1:vd>0001-01-01T00:00:00</d3p1:vd> <d3p1:canceled>false</d3p1:canceled> <d3p1:crtime>0001-01-01T00:00:00</d3p1:crtime> <d3p1:unid>00000000-0000-0000-0000-000000000000</d3p1:unid> <d3p1:IUD>0</d3p1:IUD> </d3p1:Gender> <d3p1: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> </d3p1:Meta> </d3p1:ExtendedInfo> <d3p1:BarCodes> <d3p1:PPBCode> <d3p1:Id>0</d3p1:Id> <d3p1:ProdPPId>String</d3p1:ProdPPId> <d3p1:BCode>String</d3p1:BCode> </d3p1:PPBCode> </d3p1:BarCodes> <d3p1:Type> <d3p1:ID>String</d3p1:ID> <d3p1:Name>String</d3p1:Name> <d3p1:NameEn>String</d3p1:NameEn> <d3p1:LDefault>false</d3p1:LDefault> <d3p1:Spend>false</d3p1:Spend> </d3p1:Type> <d3p1:HCategory> <d3p1:ID>0</d3p1:ID> <d3p1:Name>String</d3p1:Name> <d3p1:ParentID>0</d3p1:ParentID> <d3p1:HCode>String</d3p1:HCode> <d3p1:Hccrt>String</d3p1:Hccrt> <d3p1:NameEn>String</d3p1:NameEn> <d3p1:CrTime>0001-01-01T00:00:00</d3p1:CrTime> <d3p1:Unid>00000000-0000-0000-0000-000000000000</d3p1:Unid> <d3p1:IsDefault>false</d3p1:IsDefault> <d3p1:Canceled>false</d3p1:Canceled> <d3p1:ShortDescription>String</d3p1:ShortDescription> <d3p1:Description>String</d3p1:Description> <d3p1:UrlSlug>String</d3p1:UrlSlug> <d3p1:VideoUrl>String</d3p1:VideoUrl> <d3p1:ShortDescription2>String</d3p1:ShortDescription2> <d3p1:Description2>String</d3p1:Description2> <d3p1:MinCount>0</d3p1:MinCount> </d3p1:HCategory> <d3p1:Brutto>0</d3p1:Brutto> <d3p1:SpendR>false</d3p1:SpendR> <d3p1:PriceUR>0</d3p1:PriceUR> <d3p1:PriceUT>0</d3p1:PriceUT> <d3p1:MDRetail>0</d3p1:MDRetail> <d3p1:MDTrade>0</d3p1:MDTrade> <d3p1:SupDays>0</d3p1:SupDays> <d3p1:PrStatus>false</d3p1:PrStatus> <d3p1:LNotInPrice>false</d3p1:LNotInPrice> <d3p1:MinCountRetail>0</d3p1:MinCountRetail> <d3p1:RegN>String</d3p1:RegN> <d3p1:RegDate>0001-01-01T00:00:00</d3p1:RegDate> <d3p1:RegEndDate>0001-01-01T00:00:00</d3p1:RegEndDate> <d3p1:HasSpec>false</d3p1:HasSpec> <d3p1:ReCalc>false</d3p1:ReCalc> <d3p1:ExciseC>0</d3p1:ExciseC> <d3p1:IsLinked>false</d3p1:IsLinked> <d3p1:UnitId>0</d3p1:UnitId> <d3p1:MinCountTrade>0</d3p1:MinCountTrade> <d3p1:PPCatName>String</d3p1:PPCatName> <d3p1:Images> <d3p1:ProdImage> <d3p1:Id>0</d3p1:Id> <d3p1:FileName>String</d3p1:FileName> <d3p1:Link>String</d3p1:Link> <d3p1:Checksum>String</d3p1:Checksum> <d3p1:CreateTime>0001-01-01T00:00:00</d3p1:CreateTime> <d3p1:UpdateTime>0001-01-01T00:00:00</d3p1:UpdateTime> <d3p1:IsMain>false</d3p1:IsMain> </d3p1:ProdImage> </d3p1:Images> <d3p1:CBCode>String</d3p1:CBCode> <d3p1:ScaleGroup>0</d3p1:ScaleGroup> <d3p1:Brand> <d3p1:BrandId>0</d3p1:BrandId> <d3p1:Abbreviation>String</d3p1:Abbreviation> <d3p1:Name>String</d3p1:Name> <d3p1:BrandNameE>String</d3p1:BrandNameE> <d3p1:Description>String</d3p1:Description> <d3p1:Logo>AA==</d3p1:Logo> </d3p1:Brand> <d3p1:Attributes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>String</d4p1:Key> <d4p1:Value>String</d4p1:Value> </d4p1:KeyValueOfstringstring> </d3p1:Attributes> </Result> <QuantityK>0</QuantityK> </GetWbProdMappingResponse> </ArrayOfGetWbProdMappingResponse>