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.
GET /logistics/b2b/available/products HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetB2BOrderAvailableProductsListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.B2BIntegrationService">
<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>
<B2BOrderProduct>
<B2BProduct xmlns:d4p1="http://schemas.datacontract.org/2004/07/Apex.Services.Crm.Orders">
<d4p1:prodpp_id>String</d4p1:prodpp_id>
<d4p1:prodppp_id>String</d4p1:prodppp_id>
<d4p1:bcode>String</d4p1:bcode>
<d4p1:bbcode>String</d4p1:bbcode>
<d4p1:incode>String</d4p1:incode>
<d4p1:category_id>String</d4p1:category_id>
<d4p1:category_code>String</d4p1:category_code>
<d4p1:category_nu>String</d4p1:category_nu>
<d4p1:producer_id>String</d4p1:producer_id>
<d4p1:producer_nu>String</d4p1:producer_nu>
<d4p1:prcountry_nu>String</d4p1:prcountry_nu>
<d4p1:products_nu>String</d4p1:products_nu>
<d4p1:products_ne>String</d4p1:products_ne>
<d4p1:vattype>0</d4p1:vattype>
<d4p1:packcount>0</d4p1:packcount>
<d4p1:packbcount>0</d4p1:packbcount>
<d4p1:unit>String</d4p1:unit>
<d4p1:mdtrade>0</d4p1:mdtrade>
<d4p1:mdretail>0</d4p1:mdretail>
<d4p1:imported>false</d4p1:imported>
<d4p1:netto>0</d4p1:netto>
<d4p1:vat>0</d4p1:vat>
<d4p1:spec_price>0</d4p1:spec_price>
<d4p1:price>0</d4p1:price>
<d4p1:rcount>0</d4p1:rcount>
<d4p1:sys_rcount>0</d4p1:sys_rcount>
<d4p1:rezerved>0</d4p1:rezerved>
<d4p1:costg>0</d4p1:costg>
<d4p1:buy_costg>0</d4p1:buy_costg>
<d4p1:x>0</d4p1:x>
<d4p1:y>0</d4p1:y>
<d4p1:z>0</d4p1:z>
<d4p1:destnumber>String</d4p1:destnumber>
<d4p1:min_price>0</d4p1:min_price>
<d4p1:packccount>0</d4p1:packccount>
<d4p1:need_prepare>0</d4p1:need_prepare>
<d4p1:base_price>0</d4p1:base_price>
<d4p1:byweight>0</d4p1:byweight>
</B2BProduct>
<Product xmlns:d4p1="http://schemas.datacontract.org/2004/07/Apex.Services.Common">
<d4p1:ID>String</d4p1:ID>
<d4p1:BCode>String</d4p1:BCode>
<d4p1:BBCode>String</d4p1:BBCode>
<d4p1:InCode>String</d4p1:InCode>
<d4p1:Name>String</d4p1:Name>
<d4p1:NameEn>String</d4p1:NameEn>
<d4p1:PackBCount>0</d4p1:PackBCount>
<d4p1:PackCount>0</d4p1:PackCount>
<d4p1:Netto>0</d4p1:Netto>
<d4p1:ByWeight>0</d4p1:ByWeight>
<d4p1:CategoryID>String</d4p1:CategoryID>
<d4p1:Category>
<d4p1:CategoryID>String</d4p1:CategoryID>
<d4p1:CategoryCode>String</d4p1:CategoryCode>
<d4p1:CategoryName>String</d4p1:CategoryName>
<d4p1:Spend>false</d4p1:Spend>
</d4p1:Category>
<d4p1:PPCatID>String</d4p1:PPCatID>
<d4p1:PCatID>0</d4p1:PCatID>
<d4p1:ProducerID>String</d4p1:ProducerID>
<d4p1:Producer>
<d4p1:ProducerID>String</d4p1:ProducerID>
<d4p1:ProducerName>String</d4p1:ProducerName>
<d4p1:CountryId>String</d4p1:CountryId>
<d4p1:LOwn>false</d4p1:LOwn>
<d4p1:Speend>false</d4p1:Speend>
<d4p1:ProducerNameEnglish>String</d4p1:ProducerNameEnglish>
<d4p1:Address>String</d4p1:Address>
<d4p1:PostalCode>String</d4p1:PostalCode>
<d4p1:Phone>String</d4p1:Phone>
<d4p1:Fax>String</d4p1:Fax>
<d4p1:Person>String</d4p1:Person>
<d4p1:Email>String</d4p1:Email>
<d4p1:Ldefault>false</d4p1:Ldefault>
<d4p1:MrgId>0</d4p1:MrgId>
<d4p1:Country>
<d4p1:CountryId>String</d4p1:CountryId>
<d4p1:CountryNe>String</d4p1:CountryNe>
<d4p1:LDefault>false</d4p1:LDefault>
<d4p1:Spend>false</d4p1:Spend>
<d4p1:CountryNu>String</d4p1:CountryNu>
</d4p1:Country>
<d4p1:ProducerCountry>String</d4p1:ProducerCountry>
</d4p1:Producer>
<d4p1:Vat>0</d4p1:Vat>
<d4p1:LifeDays>0</d4p1:LifeDays>
<d4p1:Unit>String</d4p1:Unit>
<d4p1:ParentID>String</d4p1:ParentID>
<d4p1:MaxDiscount>0</d4p1:MaxDiscount>
<d4p1:IsImported>false</d4p1:IsImported>
<d4p1:Dimensions>
<d4p1:X>0</d4p1:X>
<d4p1:Y>0</d4p1:Y>
<d4p1:Z>0</d4p1:Z>
</d4p1:Dimensions>
<d4p1:PackCCount>0</d4p1:PackCCount>
<d4p1:PDose>String</d4p1:PDose>
<d4p1:IntCodeID>String</d4p1:IntCodeID>
<d4p1:IntCode>
<d4p1:IntCodeID>String</d4p1:IntCodeID>
<d4p1:Name>String</d4p1:Name>
<d4p1:NameEn>String</d4p1:NameEn>
<d4p1:Vat>0</d4p1:Vat>
<d4p1:TaxMethod>0</d4p1:TaxMethod>
<d4p1:Tax1>0</d4p1:Tax1>
<d4p1:TaxK>0</d4p1:TaxK>
</d4p1:IntCode>
<d4p1:ExciseID>0</d4p1:ExciseID>
<d4p1:Excise>0</d4p1:Excise>
<d4p1:DestNumber>String</d4p1:DestNumber>
<d4p1:PackTypeID>0</d4p1:PackTypeID>
<d4p1:PriceGR>0</d4p1:PriceGR>
<d4p1:PriceGT>0</d4p1:PriceGT>
<d4p1:Spend>false</d4p1:Spend>
<d4p1:VatType>0</d4p1:VatType>
<d4p1:ExtendedInfo>
<d4p1:ProdPPID>String</d4p1:ProdPPID>
<d4p1:Description>String</d4p1:Description>
<d4p1:Anotation>String</d4p1:Anotation>
<d4p1:GarantDays>0</d4p1:GarantDays>
<d4p1:IsFastFood>false</d4p1:IsFastFood>
<d4p1:DetailedWarehousing>false</d4p1:DetailedWarehousing>
<d4p1:TrackAndTrace>false</d4p1:TrackAndTrace>
<d4p1:BrandID>0</d4p1:BrandID>
<d4p1:Brand>
<d4p1:BrandId>0</d4p1:BrandId>
<d4p1:Abbreviation>String</d4p1:Abbreviation>
<d4p1:Name>String</d4p1:Name>
<d4p1:BrandNameE>String</d4p1:BrandNameE>
<d4p1:Description>String</d4p1:Description>
<d4p1:Logo>AA==</d4p1:Logo>
</d4p1:Brand>
<d4p1:RType>0</d4p1:RType>
<d4p1:SizeId>0</d4p1:SizeId>
<d4p1:ColorId>0</d4p1:ColorId>
<d4p1:GenderId>0</d4p1:GenderId>
<d4p1:Size>
<d4p1:Id>0</d4p1:Id>
<d4p1:Name>String</d4p1:Name>
<d4p1:SizeType>0</d4p1:SizeType>
</d4p1:Size>
<d4p1:Color>
<d4p1:codeid>0</d4p1:codeid>
<d4p1:mgrid>00000000-0000-0000-0000-000000000000</d4p1:mgrid>
<d4p1:hname>String</d4p1:hname>
<d4p1:hnamee>String</d4p1:hnamee>
<d4p1:hcode>String</d4p1:hcode>
<d4p1:defval>false</d4p1:defval>
<d4p1:vm>0</d4p1:vm>
<d4p1:vp>0</d4p1:vp>
<d4p1:vi>0</d4p1:vi>
<d4p1:vd>0001-01-01T00:00:00</d4p1:vd>
<d4p1:canceled>false</d4p1:canceled>
<d4p1:crtime>0001-01-01T00:00:00</d4p1:crtime>
<d4p1:unid>00000000-0000-0000-0000-000000000000</d4p1:unid>
<d4p1:IUD>0</d4p1:IUD>
</d4p1:Color>
<d4p1:Gender>
<d4p1:codeid>0</d4p1:codeid>
<d4p1:mgrid>00000000-0000-0000-0000-000000000000</d4p1:mgrid>
<d4p1:hname>String</d4p1:hname>
<d4p1:hnamee>String</d4p1:hnamee>
<d4p1:hcode>String</d4p1:hcode>
<d4p1:defval>false</d4p1:defval>
<d4p1:vm>0</d4p1:vm>
<d4p1:vp>0</d4p1:vp>
<d4p1:vi>0</d4p1:vi>
<d4p1:vd>0001-01-01T00:00:00</d4p1:vd>
<d4p1:canceled>false</d4p1:canceled>
<d4p1:crtime>0001-01-01T00:00:00</d4p1:crtime>
<d4p1:unid>00000000-0000-0000-0000-000000000000</d4p1:unid>
<d4p1:IUD>0</d4p1:IUD>
</d4p1:Gender>
<d4p1: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>
</d4p1:Meta>
</d4p1:ExtendedInfo>
<d4p1:BarCodes>
<d4p1:PPBCode>
<d4p1:Id>0</d4p1:Id>
<d4p1:ProdPPId>String</d4p1:ProdPPId>
<d4p1:BCode>String</d4p1:BCode>
</d4p1:PPBCode>
</d4p1:BarCodes>
<d4p1:Type>
<d4p1:ID>String</d4p1:ID>
<d4p1:Name>String</d4p1:Name>
<d4p1:NameEn>String</d4p1:NameEn>
<d4p1:LDefault>false</d4p1:LDefault>
<d4p1:Spend>false</d4p1:Spend>
</d4p1:Type>
<d4p1:HCategory>
<d4p1:ID>0</d4p1:ID>
<d4p1:Name>String</d4p1:Name>
<d4p1:ParentID>0</d4p1:ParentID>
<d4p1:HCode>String</d4p1:HCode>
<d4p1:Hccrt>String</d4p1:Hccrt>
<d4p1:NameEn>String</d4p1:NameEn>
<d4p1:CrTime>0001-01-01T00:00:00</d4p1:CrTime>
<d4p1:Unid>00000000-0000-0000-0000-000000000000</d4p1:Unid>
<d4p1:IsDefault>false</d4p1:IsDefault>
<d4p1:Canceled>false</d4p1:Canceled>
<d4p1:ShortDescription>String</d4p1:ShortDescription>
<d4p1:Description>String</d4p1:Description>
<d4p1:UrlSlug>String</d4p1:UrlSlug>
<d4p1:VideoUrl>String</d4p1:VideoUrl>
<d4p1:ShortDescription2>String</d4p1:ShortDescription2>
<d4p1:Description2>String</d4p1:Description2>
<d4p1:MinCount>0</d4p1:MinCount>
</d4p1:HCategory>
<d4p1:Brutto>0</d4p1:Brutto>
<d4p1:SpendR>false</d4p1:SpendR>
<d4p1:PriceUR>0</d4p1:PriceUR>
<d4p1:PriceUT>0</d4p1:PriceUT>
<d4p1:MDRetail>0</d4p1:MDRetail>
<d4p1:MDTrade>0</d4p1:MDTrade>
<d4p1:SupDays>0</d4p1:SupDays>
<d4p1:PrStatus>false</d4p1:PrStatus>
<d4p1:LNotInPrice>false</d4p1:LNotInPrice>
<d4p1:MinCountRetail>0</d4p1:MinCountRetail>
<d4p1:RegN>String</d4p1:RegN>
<d4p1:RegDate>0001-01-01T00:00:00</d4p1:RegDate>
<d4p1:RegEndDate>0001-01-01T00:00:00</d4p1:RegEndDate>
<d4p1:HasSpec>false</d4p1:HasSpec>
<d4p1:ReCalc>false</d4p1:ReCalc>
<d4p1:ExciseC>0</d4p1:ExciseC>
<d4p1:IsLinked>false</d4p1:IsLinked>
<d4p1:UnitId>0</d4p1:UnitId>
<d4p1:MinCountTrade>0</d4p1:MinCountTrade>
<d4p1:PPCatName>String</d4p1:PPCatName>
<d4p1:Images>
<d4p1:ProdImage>
<d4p1:Id>0</d4p1:Id>
<d4p1:FileName>String</d4p1:FileName>
<d4p1:Link>String</d4p1:Link>
<d4p1:Checksum>String</d4p1:Checksum>
<d4p1:CreateTime>0001-01-01T00:00:00</d4p1:CreateTime>
<d4p1:UpdateTime>0001-01-01T00:00:00</d4p1:UpdateTime>
<d4p1:IsMain>false</d4p1:IsMain>
</d4p1:ProdImage>
</d4p1:Images>
<d4p1:CBCode>String</d4p1:CBCode>
<d4p1:ScaleGroup>0</d4p1:ScaleGroup>
<d4p1:Brand>
<d4p1:BrandId>0</d4p1:BrandId>
<d4p1:Abbreviation>String</d4p1:Abbreviation>
<d4p1:Name>String</d4p1:Name>
<d4p1:BrandNameE>String</d4p1:BrandNameE>
<d4p1:Description>String</d4p1:Description>
<d4p1:Logo>AA==</d4p1:Logo>
</d4p1:Brand>
<d4p1:Attributes xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d4p1:Attributes>
</Product>
<RCount>0</RCount>
<AvgSale>0</AvgSale>
<SuppDeclaredPrice>0</SuppDeclaredPrice>
</B2BOrderProduct>
</Result>
</GetB2BOrderAvailableProductsListResponse>