GET https://www.activityinfo.org/resources/form/{formId}/schema
application/json
object |
id |
string |
|
required |
label |
string |
|
required |
schemaVersion |
string |
|
required |
databaseId |
string |
|
required |
parentFormId |
string |
|
optional |
elements |
array[object] |
|
required |
id |
string |
|
required |
code |
string |
|
required |
label |
string |
|
required |
relevanceCondition |
string |
|
required |
validationCondition |
string |
|
required |
visible |
boolean |
|
required |
required |
boolean |
|
required |
key |
boolean |
|
required |
type |
string |
|
required |
securityCategoryId |
string |
|
optional |
typeParameters |
object |
|
required |
units |
string |
|
optional |
inputMask |
string |
|
optional |
cardinality |
string |
|
optional |
range |
object |
|
optional |
formId |
string |
|
optional |
items |
array[object] |
|
optional |
formula |
string |
|
optional |
prefixFormula |
string |
|
optional |
Status Code |
Error Code |
Description |
401 |
AUTHENTICATION_REQUIRED |
The request must be authenticated |
403 |
FORBIDDEN |
Permission denied |
404 |
NOT_FOUND |
The resource could not be found |
410 |
DELETED |
The resource has been deleted |
curl -u anything:YOUR_API_TOKEN \
https://www.activityinfo.org/resources/form/ck8pu9ha07/schema