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 /Wolt/ProductsList HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetWoltCatalogResponse 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>
<WoltCatalogue>
<MenuId>String</MenuId>
<Currency>String</Currency>
<PrimaryLanguage>String</PrimaryLanguage>
<SecondaryLanguage>String</SecondaryLanguage>
<CategoryId>String</CategoryId>
<CategoryName>String</CategoryName>
<CategoryNameEn>String</CategoryNameEn>
<CategoryDescription>String</CategoryDescription>
<CategoryDescriptionEn>String</CategoryDescriptionEn>
<CategoryOpeningDay>String</CategoryOpeningDay>
<CategoryOpeningTime>String</CategoryOpeningTime>
<CategoryClosingDay>String</CategoryClosingDay>
<CategoryClosingTime>String</CategoryClosingTime>
<ItemName>String</ItemName>
<ItemNameEn>String</ItemNameEn>
<ItemDescription>String</ItemDescription>
<ItemDescriptionEn>String</ItemDescriptionEn>
<ImageUrl>String</ImageUrl>
<ItemPrice>0</ItemPrice>
<ItemSalesTaxPercentage>0</ItemSalesTaxPercentage>
<ItemAlcoholPercentage>0</ItemAlcoholPercentage>
<ItemEnabled>false</ItemEnabled>
<ItemQuantity>0</ItemQuantity>
<ItemExternalData>String</ItemExternalData>
<ItemDeliveryMethods>String</ItemDeliveryMethods>
<ItemOpeningDay>String</ItemOpeningDay>
<ItemOpeningTime>String</ItemOpeningTime>
<ItemClosingDay>String</ItemClosingDay>
<ItemClosingTime>String</ItemClosingTime>
<OptionName>0</OptionName>
<OptionType>0</OptionType>
<OptionSelectionRangeMin>0</OptionSelectionRangeMin>
<OptionSelectionRangeMax>0</OptionSelectionRangeMax>
<OptionExternalData>0</OptionExternalData>
<ValueName>0</ValueName>
<ValueSelectionRangeMin>0</ValueSelectionRangeMin>
<ValueSelectionRangeMax>0</ValueSelectionRangeMax>
<ValuePrice>0</ValuePrice>
<ValueEnabled>0</ValueEnabled>
<ValueDefault>0</ValueDefault>
<ValueExternalData>0</ValueExternalData>
<SubOptionName>0</SubOptionName>
<SubOptionSelectionRangeMin>0</SubOptionSelectionRangeMin>
<SubOptionSelectionRangeMax>0</SubOptionSelectionRangeMax>
<SubOptionPrice>0</SubOptionPrice>
<SubOptionEnabled>0</SubOptionEnabled>
<SubOptionDefault>0</SubOptionDefault>
<SubOptionExternalData>0</SubOptionExternalData>
<ProdPPId>String</ProdPPId>
<BCode>String</BCode>
<Id>0</Id>
<BranchId>0</BranchId>
<BranchName>String</BranchName>
<IsUploaded>false</IsUploaded>
<ExistedPrice>0</ExistedPrice>
<WoltCategoryId>0</WoltCategoryId>
<CategoryNu>String</CategoryNu>
<PPCatNu>String</PPCatNu>
<UnitCoef>0</UnitCoef>
<WoltBranchId>0</WoltBranchId>
<ExistedDiscountedPrice>0</ExistedDiscountedPrice>
<ExistedEnabled>false</ExistedEnabled>
<ExistedVatPercentage>0</ExistedVatPercentage>
<DiscountedPrice>0</DiscountedPrice>
<ItemPriceForWolt>0</ItemPriceForWolt>
<DiscountedPriceForWolt>0</DiscountedPriceForWolt>
<RCount>0</RCount>
<ExistedRCount>0</ExistedRCount>
</WoltCatalogue>
</Result>
</GetWoltCatalogResponse>