POST https://www.activityinfo.org/resources/form/{formId}/displays
application/json
object |
id |
string |
|
required |
label |
string |
|
optional |
model |
object |
|
optional |
setAsDefault |
boolean |
|
required |
application/json
object |
formId |
string |
|
required |
displayId |
string |
|
required |
version |
integer |
|
required |
label |
string |
|
required |
model |
object |
|
required |
defaultDisplay |
boolean |
|
required |
Status Code |
Error Code |
Description |
400 |
FORM_NOT_FOUND |
The form was not found. |
400 |
INVALID_ID |
|
400 |
MISSING_LABEL |
A form display cannot be added without a label or updated with an empty label |
400 |
MISSING_MODEL |
A form display cannot be without a display model |
401 |
AUTHENTICATION_REQUIRED |
The request must be authenticated |
403 |
PERMISSION_DENIED |
You do not have permission to add or update this form display |