Relesys API Docs

v1.2

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

Answers

Get
GET /serviceformModules/{moduleId}/forms/{formId}/answers/{answerId}
https://api.relesysapp.net/api/v1.2/serviceformModules/{moduleId}/forms/{formId}/answers/{answerId}
Get the answer with ID answerId.

Depending on type the fields value, valueUrl and locales will be set.
value and locales will never be set at the same time.
valueUrl will only be set if the answer references another entity and then value will be set and be of type guid.
Scopes: relesys.api, relesys.api:read, relesys.api.serviceform, relesys.api.serviceform:read
URL Path
moduleId string / guid required
formId string / guid required
answerId string / guid required
Responses
application/json
JSON
{"data":{"id":"b206f0a0-67aa-4c66-accb-45a1c75840b0","url":null,"fillingId":"47420418-8287-458b-87cf-df97e4e772ad","fillingUrl":null,"fieldId":"b3080630-e36f-4501-8e6d-5b522b2a2116","fieldUrl":null,"userId":"43abb17a-480e-49d8-a5f1-04c66d0dd4e7","userUrl":null,"creationDateTime":"2024-02-12T11:24:38.1692335+00:00","lastModifiedDateTime":null,"type":"Text","refType":"","value":null,"valueUrl":null,"locales":[{"culture":"en-GB","text":"Text example 1"}]}}
object
  data object      
   creationDateTime datetimeoffset      
   fieldId string / guid      
   fieldUrl string      
   fillingId string / guid      
   fillingUrl string      
   id string / guid      
   lastModifiedDateTime datetimeoffset      
   locales array[object]      
    culture string      
    text string      
   refType string      
   type string      
   url string      
   userId string / guid      
   userUrl string      
   value string      
   valueUrl string