<back to all web services

Products

Requires Authentication
Requires any of the roles:Klant, Kassasysteem
The following routes are available for this service:
GET/Products/{Category}/{Categories}
GET/Products/{Ids}
GET/Products
Products Parameters:
NameParameterData TypeRequiredDescription
IdspathList<string>No
CategorypathstringNo
CategoriespathList<string>No
IsBikequerybool?No
ExcludeBlockedquerybool?No
IncludeAttributesquerybool?No
IncludeAdditionalImagesquerybool?No
IncludeOriginalImagesquerybool?No
IncludeIntrastatCodesquerybool?No
ConsumerProductsqueryint?No
IncludeInActivequerybool?No
ProductOptionsquerybool?No
RemoveImageWhitespacequerybool?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/Products HTTP/1.1 
Host: acc-webservice.azurewebsites.net 
Content-Type: text/csv
Content-Length: length

{"Ids":["String"],"Category":"String","Categories":["String"],"IsBike":false,"ExcludeBlocked":false,"IncludeAttributes":false,"IncludeAdditionalImages":false,"IncludeOriginalImages":false,"IncludeIntrastatCodes":false,"ConsumerProducts":0,"IncludeInActive":false,"ProductOptions":false,"RemoveImageWhitespace":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Products":[{"ProductCode":"String","Blocked":false,"DateCreated":"\/Date(-62135596800000-0000)\/","Unit":"String","DeliveredPer":0,"UnitAlternative":"String","Description":"String","ProductGroupCategory":"String","ProductGroup":"String","ProductGroupLevel1":"String","ProductGroupLevel2":"String","ProductGroupLevel3":"String","ProductGroupLevel4":"String","EANCode":0,"PackageQuantity":0,"DescriptionLong":"String","RecommendedSalesPrice":0,"PriceGross":0,"SupplierProductNumber":"String","VAT":"String","Bike":false,"StockMin":0,"StockMax":0,"Autorisation":"String","KboGroup":"String","Image":"String","Attributes":[{"Attribute":"String","AttributeValue":"String"}],"AdditionalImages":["String"],"OriginalImages":["String"],"InActive":false,"ProductOptions":[{"Type":"String","ProductCode":"String","Description":"String","RecommendedSalesPrice":0}],"IntrastatCode":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}