Relesys API Docs

v1.2

https://api.relesysapp.net/api/v1.2

DataListItems

Get Data List Items
GET /dataLists/{dataListId}/items
https://api.relesysapp.net/api/v1.2/dataLists/{dataListId}/items
Get a list of data list items.
Default sort is by sortOrder in ascending order.

customFieldValues - This field differ based on the custom fields the data list has and what type the fields are, and only includes values from custom fields not currently hidden.
Either value, locales, medias or dataListItems is set depending on the type value:

  • Barcode, Color, Date or Number
  • The field value will be set.
  • Text or Multiline Text
  • The field value will be set.
    If the custom field is multilingual, then locales will be used instead.
  • Media
  • The field medias will be set.
    referenceUrl will be set if the media is third-party reference, otherwise downloadUrl will be set.
  • Data List
  • The field dataListItems will be set.

This endpoint will return a 400 Bad Request response in case the data list with dataListId is of type Department, User, or User Group as their items are dynamically based on the available users, departments, or user groups respectively.
Scopes: relesys.api, relesys.api:read, relesys.api.datalists, relesys.api.datalists:read
URL Path
dataListId string / guid required
Query String
creationDateTime datetimeoffset Filterable Sortable optional
customId string Filterable Sortable optional
id string / guid Filterable optional
isEnabled boolean Filterable optional
lastModifiedDateTime datetimeoffset Filterable Sortable optional
sortOrder integer Filterable Sortable optional
sort string Comma separated sort order based on sortable properties optional
offset integer Offset value for use in pagination Default: 0 optional
limit integer Total objects to fetch (max 1000) Default: 200 optional
Responses
application/json
JSON
{"count":4,"data":[{"id":"89a9a1db-6fb3-4a0c-9a7b-ca506c6aec03","url":null,"customId":"Data list item custom id example 1","sortOrder":0,"isEnabled":true,"creationDateTime":"2024-02-27T13:01:33.3800409+00:00","lastModifiedDateTime":"2024-02-28T13:01:33.3800409+00:00","locales":[{"culture":"da-DK","title":"Data list item locale title example 1"}],"customFieldValues":[{"dataListCustomFieldId":"65585d28-5edd-4b1f-b663-567059d00e86","url":null,"type":"Text","value":"Data list item custom field value example 1","locales":null,"medias":null,"dataListItems":null}]},{"id":"3a6af9ce-2281-4523-9aa8-e2e2b7b7746f","url":null,"customId":"Data list item custom id example 2","sortOrder":1,"isEnabled":true,"creationDateTime":"2024-02-27T13:01:33.3800409+00:00","lastModifiedDateTime":"2024-02-28T13:01:33.3800409+00:00","locales":[{"culture":"da-DK","title":"Data list item locale title example 2"}],"customFieldValues":[{"dataListCustomFieldId":"5e79e113-10b5-44d3-ba61-26d51d06756a","url":null,"type":"Text","value":null,"locales":[{"culture":"da-DK","value":"Data list custom field value locale value example 1"}],"medias":null,"dataListItems":null}]},{"id":"ad89a209-96e9-411e-a25f-919eab146445","url":null,"customId":"Data list item custom id example 3","sortOrder":2,"isEnabled":false,"creationDateTime":"2024-02-27T13:01:33.3800409+00:00","lastModifiedDateTime":null,"locales":[{"culture":"da-DK","title":"Data list item locale title example 3"},{"culture":"en-GB","title":"Data list item locale title example 4"}],"customFieldValues":[{"dataListCustomFieldId":"715d95b8-2c8d-46ba-ad22-bcba4a7d93bf","url":null,"type":"Media","value":null,"locales":null,"medias":[{"id":"66da1ccf-869a-4144-8ff7-8bda3f26aaaa","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"FileName.png"}],"dataListItems":null}]},{"id":"c42b8fc7-200d-4ae9-98ea-e4813d08fd1f","url":null,"customId":"Data list item custom id example 4","sortOrder":3,"isEnabled":false,"creationDateTime":"2024-02-27T13:01:33.3800409+00:00","lastModifiedDateTime":null,"locales":[{"culture":"da-DK","title":"Data list item locale title example 5"},{"culture":"en-GB","title":"Data list item locale title example 6"}],"customFieldValues":[{"dataListCustomFieldId":"0e5c05ff-6081-446e-aeb0-3ca6e9566ba8","url":null,"type":"DataList","value":null,"locales":null,"medias":null,"dataListItems":[{"type":"User","id":"b6ef297f-a513-483f-a055-390eb5e28e79","url":null},{"type":"User","id":"cde509a4-9e16-4d64-87eb-23601d73a3a1","url":null}]}]}]}
object
  count integer      
  data array[object]      
   creationDateTime datetimeoffset      
   customFieldValues array[object]      
    dataListCustomFieldId string / guid      
    dataListItems array[object]      
     id string / guid      
     type string      
     url string      
    locales array[object]      
     culture string      
     value string      
    medias array[object]      
     contentType string      
     downloadUrl string      
     fileName string      
     id string / guid      
     referenceUrl string      
    type string      
    url string      
    value string      
   customId string      
   id string / guid      
   isEnabled boolean      
   lastModifiedDateTime datetimeoffset      
   locales array[object]      
    culture string      
    title string      
   sortOrder integer      
   url string      
  nextUrl string      
  previousUrl string