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 /Glovo/Attributes HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetGlovoAttributesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Glovo">
<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>
<GlovoAttributes>
<Id>0</Id>
<GroupId>0</GroupId>
<ProdPP_Id>String</ProdPP_Id>
<SelectedByDefault>false</SelectedByDefault>
<Product>
<ID>String</ID>
<BCode>String</BCode>
<BBCode>String</BBCode>
<InCode>String</InCode>
<Name>String</Name>
<NameEn>String</NameEn>
<PackBCount>0</PackBCount>
<PackCount>0</PackCount>
<Netto>0</Netto>
<ByWeight>0</ByWeight>
<CategoryID>String</CategoryID>
<Category>
<CategoryID>String</CategoryID>
<CategoryCode>String</CategoryCode>
<CategoryName>String</CategoryName>
<Spend>false</Spend>
</Category>
<PPCatID>String</PPCatID>
<PCatID>0</PCatID>
<ProducerID>String</ProducerID>
<Producer>
<ProducerID>String</ProducerID>
<ProducerName>String</ProducerName>
<CountryId>String</CountryId>
<LOwn>false</LOwn>
<Speend>false</Speend>
<ProducerNameEnglish>String</ProducerNameEnglish>
<Address>String</Address>
<PostalCode>String</PostalCode>
<Phone>String</Phone>
<Fax>String</Fax>
<Person>String</Person>
<Email>String</Email>
<Ldefault>false</Ldefault>
<MrgId>0</MrgId>
<ProducerCountry>String</ProducerCountry>
</Producer>
<Vat>0</Vat>
<LifeDays>0</LifeDays>
<Unit>String</Unit>
<ParentID>String</ParentID>
<MaxDiscount>0</MaxDiscount>
<IsImported>false</IsImported>
<PackCCount>0</PackCCount>
<PDose>String</PDose>
<IntCodeID>String</IntCodeID>
<ExciseID>0</ExciseID>
<Excise>0</Excise>
<DestNumber>String</DestNumber>
<PackTypeID>0</PackTypeID>
<PriceGR>0</PriceGR>
<PriceGT>0</PriceGT>
<Spend>false</Spend>
<VatType>0</VatType>
<Type>
<ID>String</ID>
<Name>String</Name>
<NameEn>String</NameEn>
<LDefault>false</LDefault>
<Spend>false</Spend>
</Type>
<HCategory>
<ID>0</ID>
<Name>String</Name>
<ParentID>0</ParentID>
<HCode>String</HCode>
<Hccrt>String</Hccrt>
<NameEn>String</NameEn>
<CrTime>0001-01-01T00:00:00</CrTime>
<Unid>00000000-0000-0000-0000-000000000000</Unid>
<IsDefault>false</IsDefault>
<Canceled>false</Canceled>
<ShortDescription>String</ShortDescription>
<Description>String</Description>
<UrlSlug>String</UrlSlug>
<VideoUrl>String</VideoUrl>
<ShortDescription2>String</ShortDescription2>
<Description2>String</Description2>
<MinCount>0</MinCount>
</HCategory>
<Brutto>0</Brutto>
<SpendR>false</SpendR>
<PriceUR>0</PriceUR>
<PriceUT>0</PriceUT>
<MDRetail>0</MDRetail>
<MDTrade>0</MDTrade>
<SupDays>0</SupDays>
<PrStatus>false</PrStatus>
<LNotInPrice>false</LNotInPrice>
<MinCountRetail>0</MinCountRetail>
<RegN>String</RegN>
<RegDate>0001-01-01T00:00:00</RegDate>
<RegEndDate>0001-01-01T00:00:00</RegEndDate>
<HasSpec>false</HasSpec>
<ReCalc>false</ReCalc>
<ExciseC>0</ExciseC>
<IsLinked>false</IsLinked>
<UnitId>0</UnitId>
<MinCountTrade>0</MinCountTrade>
<PPCatName>String</PPCatName>
<CBCode>String</CBCode>
<ScaleGroup>0</ScaleGroup>
<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>
</Attributes>
<Point>0</Point>
</Product>
</GlovoAttributes>
</Result>
</GetGlovoAttributesResponse>