Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Field

A field represents a field in a data access request form. Once a field is created, it cannot be updated.

Field
String id
AcceptType type (String, Long)
String prompt
FieldCreate
AcceptType type (String, Long)
String prompt

Services to create and retrieve a field:


ActionIntended UserURIMethodRequest ParamsRequest BodyResponse Body
1create a fieldACT/fieldPOST
FieldCreateField
2retrieve a fieldACT/field/{fieldId}GET

Field

Template

A template contains a list of default fields the ACT wants to have on certain data access request form. When a member of the ACT creates a form on a dataset, they will create the form from an existing template. A Once a template is an immutable object

...

created, it cannot be updated.

Template
String id
String name
String createdBy
Long createdOn
List<Field> fields
TemplateCreate
String name
List<Field> fields

Services to create and retrieve a template:


ActionIntended UserURIMethodRequest ParamsRequest BodyResponse Body
3create a templateACT/templatePOST
TemplateCreateTemplate
4retrieve a templateACT/template/{templateId}GET

Template

Form

DataAccessRequestForm
String id
String createdBy
Long createdOn
List<Field> fields
String instructions

Services to create and retrieve a form:


ActionIntended UserURIMethodRequest ParamsRequest BodyResponse Body
5create a formACT/formPOST
FormCreateForm
6retrieve a formACT/form/{formId}GET

Form