Documentation
Difficulty level:
API - Object - GET object/list
GET object/list
Used for
getting the list of objects which are published. The object/filter is preferred method above the object/list
Authentication
No authentication required, public information.
Parameters
Parameter | Description | Required | Default | Example |
---|---|---|---|---|
lang | Language | No | dutch | ?lang=english |
attr | Kolommen | No | &attr=object_id |
Response codes
- 200 OK
Example
Getting list of obects.
GET api/rest/object/list?lang=english&attr=object_id,image,desc,long_desc,amount,website
Response: [{ "object_id": 1, "image": "front.php?mod=downloadfile&task=showimage&entity=object&document_id=134", "desc": "Guided tour", "long_desc": "A nice tour including a coffee", "amount": "100", "website": "http://i-reserve.co.uk" }]