Relesys API Docs

v1.3

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

DataListItems

Get Data List Items
GET /dataLists/{dataListId}/items
https://api.relesysapp.net/api/v1.3/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":"57faae93-0730-4034-8c5f-b60b40f28468","url":null,"customId":"Data list item custom id example 1","sortOrder":0,"isEnabled":true,"creationDateTime":"2024-11-20T06:27:13.3764262+00:00","lastModifiedDateTime":"2024-11-21T06:27:13.3764262+00:00","locales":[{"culture":"da-DK","title":"Data list item locale title example 1"}],"customFieldValues":[{"dataListCustomFieldId":"7bde454d-a32c-4a72-affc-0c7f9b89a2e8","url":null,"type":"Text","value":"Data list item custom field value example 1","locales":null,"medias":null,"dataListItems":null}]},{"id":"d940a81a-3aa3-4ad5-8b6f-402d3e9382a2","url":null,"customId":"Data list item custom id example 2","sortOrder":1,"isEnabled":true,"creationDateTime":"2024-11-20T06:27:13.3764262+00:00","lastModifiedDateTime":"2024-11-21T06:27:13.3764262+00:00","locales":[{"culture":"da-DK","title":"Data list item locale title example 2"}],"customFieldValues":[{"dataListCustomFieldId":"407798f5-0618-45c1-b814-0d66c85cb0ba","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":"a42b2b66-6598-40ee-8282-bd3fb3796961","url":null,"customId":"Data list item custom id example 3","sortOrder":2,"isEnabled":false,"creationDateTime":"2024-11-20T06:27:13.3764262+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":"bcc3fec1-4750-46dd-a8f1-896a10f1a08a","url":null,"type":"Media","value":null,"locales":null,"medias":[{"id":"a0502606-9c13-42a8-b0b7-6ac6cea0b61a","downloadUrl":null,"referenceUrl":null,"contentType":"image/png","fileName":"FileName.png"}],"dataListItems":null}]},{"id":"422b56da-a14c-493c-a495-decab7b5a4fb","url":null,"customId":"Data list item custom id example 4","sortOrder":3,"isEnabled":false,"creationDateTime":"2024-11-20T06:27:13.3764262+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":"c9c975ea-d764-48ab-adad-a5ff853465de","url":null,"type":"DataList","value":null,"locales":null,"medias":null,"dataListItems":[{"type":"User","id":"e0cf276f-e6fb-48ea-b035-0c3982f0b6eb","url":null},{"type":"User","id":"ba0ffe79-9710-419f-9cf1-3a360cc98e4b","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