| Requires any of the roles: | Klant, Kassasysteem |
| GET | /Products/{Category}/{Categories} | ||
|---|---|---|---|
| GET | /Products/{Ids} | ||
| GET | /Products |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ids | path | List<string> | No | |
| Category | path | string | No | |
| Categories | path | List<string> | No | |
| IsBike | query | bool? | No | |
| ExcludeBlocked | query | bool? | No | |
| IncludeAttributes | query | bool? | No | |
| IncludeAdditionalImages | query | bool? | No | |
| IncludeOriginalImages | query | bool? | No | |
| IncludeIntrastatCodes | query | bool? | No | |
| ConsumerProducts | query | int? | No | |
| IncludeInActive | query | bool? | No | |
| ProductOptions | query | bool? | No | |
| RemoveImageWhitespace | query | bool? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/Products HTTP/1.1
Host: acc-webservice.azurewebsites.net
Content-Type: application/json
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: application/json
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"}}}