Skip to content
R-Service R-Service
RR Tech Service Management Developer Guide

Collection Elements - Custom Collections API

List collection elements of a custom collection

Section titled “List collection elements of a custom collection”

List all collection elements of the custom collection with with a specific ID.

GET /custom_collections/:id/collection_elements
Status: 200 OK
[
{
"id": 2,
"sourceID": null,
"custom_collection": "collection_2",
"reference": "item_1",
"name": "Item 1",
"description": "1st item",
"created_at": "2016-12-23T05:09:03-06:00",
"updated_at": "2016-12-23T05:09:03-06:00"
},
{
"id": 3,
"sourceID": null,
"custom_collection": "collection_2",
"reference": "item_2",
"name": "Item 2",
"description": "Another item",
"created_at": "2016-12-23T05:09:03-06:00",
"updated_at": "2016-12-23T05:09:03-06:00"
}
]

The response contains these fields by default.

The following predefined filters are available:

  • /custom_collections/:id/collection_elements/enabled : List all enabled elements of a custom collection with a specific ID
  • /custom_collections/:id/collection_elements/disabled : List all disabled elements of a custom collection with a specific ID