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.
PUT /Warehousing/ProdViewByParams HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetProdViewByParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Warehousing">
<Category>String</Category>
<Producer>String</Producer>
<PPCat>String</PPCat>
<PCat>String</PCat>
<BCode>String</BCode>
<WithOutSpend>false</WithOutSpend>
<Db>String</Db>
<Cr>String</Cr>
<CBCode>String</CBCode>
</GetProdViewByParams>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetProdViewByParamsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apex.Services.Warehousing">
<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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Apex.Services.Common">
<d2p1:Good>
<d2p1:ID>String</d2p1:ID>
<d2p1:BCode>String</d2p1:BCode>
<d2p1:BBCode>String</d2p1:BBCode>
<d2p1:InCode>String</d2p1:InCode>
<d2p1:Name>String</d2p1:Name>
<d2p1:NameEn>String</d2p1:NameEn>
<d2p1:PackBCount>0</d2p1:PackBCount>
<d2p1:PackCount>0</d2p1:PackCount>
<d2p1:Netto>0</d2p1:Netto>
<d2p1:ByWeight>0</d2p1:ByWeight>
<d2p1:CategoryID>String</d2p1:CategoryID>
<d2p1:Category>
<d2p1:CategoryID>String</d2p1:CategoryID>
<d2p1:CategoryCode>String</d2p1:CategoryCode>
<d2p1:CategoryName>String</d2p1:CategoryName>
<d2p1:Spend>false</d2p1:Spend>
</d2p1:Category>
<d2p1:PPCatID>String</d2p1:PPCatID>
<d2p1:PCatID>0</d2p1:PCatID>
<d2p1:ProducerID>String</d2p1:ProducerID>
<d2p1:Producer>
<d2p1:ProducerID>String</d2p1:ProducerID>
<d2p1:ProducerName>String</d2p1:ProducerName>
<d2p1:CountryId>String</d2p1:CountryId>
<d2p1:LOwn>false</d2p1:LOwn>
<d2p1:Speend>false</d2p1:Speend>
<d2p1:ProducerNameEnglish>String</d2p1:ProducerNameEnglish>
<d2p1:Address>String</d2p1:Address>
<d2p1:PostalCode>String</d2p1:PostalCode>
<d2p1:Phone>String</d2p1:Phone>
<d2p1:Fax>String</d2p1:Fax>
<d2p1:Person>String</d2p1:Person>
<d2p1:Email>String</d2p1:Email>
<d2p1:Ldefault>false</d2p1:Ldefault>
<d2p1:MrgId>0</d2p1:MrgId>
<d2p1:Country>
<d2p1:CountryId>String</d2p1:CountryId>
<d2p1:CountryNe>String</d2p1:CountryNe>
<d2p1:LDefault>false</d2p1:LDefault>
<d2p1:Spend>false</d2p1:Spend>
<d2p1:CountryNu>String</d2p1:CountryNu>
</d2p1:Country>
<d2p1:ProducerCountry>String</d2p1:ProducerCountry>
</d2p1:Producer>
<d2p1:Vat>0</d2p1:Vat>
<d2p1:LifeDays>0</d2p1:LifeDays>
<d2p1:Unit>String</d2p1:Unit>
<d2p1:ParentID>String</d2p1:ParentID>
<d2p1:MaxDiscount>0</d2p1:MaxDiscount>
<d2p1:IsImported>false</d2p1:IsImported>
<d2p1:Dimensions>
<d2p1:X>0</d2p1:X>
<d2p1:Y>0</d2p1:Y>
<d2p1:Z>0</d2p1:Z>
</d2p1:Dimensions>
<d2p1:PackCCount>0</d2p1:PackCCount>
<d2p1:PDose>String</d2p1:PDose>
<d2p1:IntCodeID>String</d2p1:IntCodeID>
<d2p1:IntCode>
<d2p1:IntCodeID>String</d2p1:IntCodeID>
<d2p1:Name>String</d2p1:Name>
<d2p1:NameEn>String</d2p1:NameEn>
<d2p1:Vat>0</d2p1:Vat>
<d2p1:TaxMethod>0</d2p1:TaxMethod>
<d2p1:Tax1>0</d2p1:Tax1>
<d2p1:TaxK>0</d2p1:TaxK>
</d2p1:IntCode>
<d2p1:ExciseID>0</d2p1:ExciseID>
<d2p1:Excise>0</d2p1:Excise>
<d2p1:DestNumber>String</d2p1:DestNumber>
<d2p1:PackTypeID>0</d2p1:PackTypeID>
<d2p1:PriceGR>0</d2p1:PriceGR>
<d2p1:PriceGT>0</d2p1:PriceGT>
<d2p1:Spend>false</d2p1:Spend>
<d2p1:VatType>0</d2p1:VatType>
<d2p1:ExtendedInfo>
<d2p1:ProdPPID>String</d2p1:ProdPPID>
<d2p1:Description>String</d2p1:Description>
<d2p1:Anotation>String</d2p1:Anotation>
<d2p1:GarantDays>0</d2p1:GarantDays>
<d2p1:IsFastFood>false</d2p1:IsFastFood>
<d2p1:DetailedWarehousing>false</d2p1:DetailedWarehousing>
<d2p1:TrackAndTrace>false</d2p1:TrackAndTrace>
<d2p1:BrandID>0</d2p1:BrandID>
<d2p1:Brand>
<d2p1:BrandId>0</d2p1:BrandId>
<d2p1:Abbreviation>String</d2p1:Abbreviation>
<d2p1:Name>String</d2p1:Name>
<d2p1:BrandNameE>String</d2p1:BrandNameE>
<d2p1:Description>String</d2p1:Description>
<d2p1:Logo>AA==</d2p1:Logo>
</d2p1:Brand>
<d2p1:RType>0</d2p1:RType>
<d2p1:SizeId>0</d2p1:SizeId>
<d2p1:ColorId>0</d2p1:ColorId>
<d2p1:GenderId>0</d2p1:GenderId>
<d2p1:Size>
<d2p1:Id>0</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
<d2p1:SizeType>0</d2p1:SizeType>
</d2p1:Size>
<d2p1:Color>
<d2p1:codeid>0</d2p1:codeid>
<d2p1:mgrid>00000000-0000-0000-0000-000000000000</d2p1:mgrid>
<d2p1:hname>String</d2p1:hname>
<d2p1:hnamee>String</d2p1:hnamee>
<d2p1:hcode>String</d2p1:hcode>
<d2p1:defval>false</d2p1:defval>
<d2p1:vm>0</d2p1:vm>
<d2p1:vp>0</d2p1:vp>
<d2p1:vi>0</d2p1:vi>
<d2p1:vd>0001-01-01T00:00:00</d2p1:vd>
<d2p1:canceled>false</d2p1:canceled>
<d2p1:crtime>0001-01-01T00:00:00</d2p1:crtime>
<d2p1:unid>00000000-0000-0000-0000-000000000000</d2p1:unid>
<d2p1:IUD>0</d2p1:IUD>
</d2p1:Color>
<d2p1:Gender>
<d2p1:codeid>0</d2p1:codeid>
<d2p1:mgrid>00000000-0000-0000-0000-000000000000</d2p1:mgrid>
<d2p1:hname>String</d2p1:hname>
<d2p1:hnamee>String</d2p1:hnamee>
<d2p1:hcode>String</d2p1:hcode>
<d2p1:defval>false</d2p1:defval>
<d2p1:vm>0</d2p1:vm>
<d2p1:vp>0</d2p1:vp>
<d2p1:vi>0</d2p1:vi>
<d2p1:vd>0001-01-01T00:00:00</d2p1:vd>
<d2p1:canceled>false</d2p1:canceled>
<d2p1:crtime>0001-01-01T00:00:00</d2p1:crtime>
<d2p1:unid>00000000-0000-0000-0000-000000000000</d2p1:unid>
<d2p1:IUD>0</d2p1:IUD>
</d2p1:Gender>
<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:ExtendedInfo>
<d2p1:BarCodes>
<d2p1:PPBCode>
<d2p1:Id>0</d2p1:Id>
<d2p1:ProdPPId>String</d2p1:ProdPPId>
<d2p1:BCode>String</d2p1:BCode>
</d2p1:PPBCode>
</d2p1:BarCodes>
<d2p1:Type>
<d2p1:ID>String</d2p1:ID>
<d2p1:Name>String</d2p1:Name>
<d2p1:NameEn>String</d2p1:NameEn>
<d2p1:LDefault>false</d2p1:LDefault>
<d2p1:Spend>false</d2p1:Spend>
</d2p1:Type>
<d2p1:HCategory>
<d2p1:ID>0</d2p1:ID>
<d2p1:Name>String</d2p1:Name>
<d2p1:ParentID>0</d2p1:ParentID>
<d2p1:HCode>String</d2p1:HCode>
<d2p1:Hccrt>String</d2p1:Hccrt>
<d2p1:NameEn>String</d2p1:NameEn>
<d2p1:CrTime>0001-01-01T00:00:00</d2p1:CrTime>
<d2p1:Unid>00000000-0000-0000-0000-000000000000</d2p1:Unid>
<d2p1:IsDefault>false</d2p1:IsDefault>
<d2p1:Canceled>false</d2p1:Canceled>
<d2p1:ShortDescription>String</d2p1:ShortDescription>
<d2p1:Description>String</d2p1:Description>
<d2p1:UrlSlug>String</d2p1:UrlSlug>
<d2p1:VideoUrl>String</d2p1:VideoUrl>
<d2p1:ShortDescription2>String</d2p1:ShortDescription2>
<d2p1:Description2>String</d2p1:Description2>
<d2p1:MinCount>0</d2p1:MinCount>
</d2p1:HCategory>
<d2p1:Brutto>0</d2p1:Brutto>
<d2p1:SpendR>false</d2p1:SpendR>
<d2p1:PriceUR>0</d2p1:PriceUR>
<d2p1:PriceUT>0</d2p1:PriceUT>
<d2p1:MDRetail>0</d2p1:MDRetail>
<d2p1:MDTrade>0</d2p1:MDTrade>
<d2p1:SupDays>0</d2p1:SupDays>
<d2p1:PrStatus>false</d2p1:PrStatus>
<d2p1:LNotInPrice>false</d2p1:LNotInPrice>
<d2p1:MinCountRetail>0</d2p1:MinCountRetail>
<d2p1:RegN>String</d2p1:RegN>
<d2p1:RegDate>0001-01-01T00:00:00</d2p1:RegDate>
<d2p1:RegEndDate>0001-01-01T00:00:00</d2p1:RegEndDate>
<d2p1:HasSpec>false</d2p1:HasSpec>
<d2p1:ReCalc>false</d2p1:ReCalc>
<d2p1:ExciseC>0</d2p1:ExciseC>
<d2p1:IsLinked>false</d2p1:IsLinked>
<d2p1:UnitId>0</d2p1:UnitId>
<d2p1:MinCountTrade>0</d2p1:MinCountTrade>
<d2p1:PPCatName>String</d2p1:PPCatName>
<d2p1:Images>
<d2p1:ProdImage>
<d2p1:Id>0</d2p1:Id>
<d2p1:FileName>String</d2p1:FileName>
<d2p1:Link>String</d2p1:Link>
<d2p1:Checksum>String</d2p1:Checksum>
<d2p1:CreateTime>0001-01-01T00:00:00</d2p1:CreateTime>
<d2p1:UpdateTime>0001-01-01T00:00:00</d2p1:UpdateTime>
<d2p1:IsMain>false</d2p1:IsMain>
</d2p1:ProdImage>
</d2p1:Images>
<d2p1:CBCode>String</d2p1:CBCode>
<d2p1:ScaleGroup>0</d2p1:ScaleGroup>
<d2p1:Brand>
<d2p1:BrandId>0</d2p1:BrandId>
<d2p1:Abbreviation>String</d2p1:Abbreviation>
<d2p1:Name>String</d2p1:Name>
<d2p1:BrandNameE>String</d2p1:BrandNameE>
<d2p1:Description>String</d2p1:Description>
<d2p1:Logo>AA==</d2p1:Logo>
</d2p1:Brand>
<d2p1: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>
</d2p1:Attributes>
</d2p1:Good>
</Result>
</GetProdViewByParamsResponse>