Accessing the OPTIONGROUPS resource

The optiongroups resource provides read only access to the product optiongroups on Aanbieders.be.

Choose the appropriate HTTP method

Resource HTTP format URL.format Description
Optiongroups GET /optiongroups.json Returns a list of optiongroups

By using this method, you can request a list of optiongroups. The optiongroups in this list are selected based on parameters that are either optional or required and passed along with HTTP method.

Define the parameters

The optiongroups resource accepts a number of parameters based. You can request explicit optiongroups by providing their IDs..

Name Parameter Required Type Description
Optiongroup ID(s) optiongroup_id yes array Returns the optiongroups identified by the (array of) optiongroup_id
Language lang yes nl / fr Language
Detaillevel detaillevel no array Level of detail in response (see detaillevel-chapter)

Detaillevel

Detaillevel gives you the possibility to scale down the response array. When you only need texts, you can add texts to your detaillevel array and will only get the text array in your output.

In this case, you have the choice in: