Core - Additional User Fields
Module dedicated to the additional user fields.
The base url for the APIs in this page is at:
/api/mobile/
A JSON file with OpenAPI data about all core-related mobile APIs can be downloaded here
.
The value types of the additional user fields can be one of the AdditionalValueTypes enumeration, with the following implications:
Value |
Implications |
---|---|
Number |
In the |
Boolean |
No |
String |
In the |
Enumeration |
Both |
Multi-enumeration |
Both |
DateTime |
In the |
Get the list of the additional user fileds
- GET /v1/additional-user-fields/list-all
Returns the list of non-backend additional user data fields.
- Status Codes
200 OK – Success
The resulting object is like this:
[
{
Key: "CustomFieldName", // String
ValueType: 4, // Int
Labels: "Test attachment", // String
DescriptionLabels: "Attachment description", // JSON Dictionary
ValidValues: "["value1", "value2", ...]", // String
ValidValuesLabels: "{{"value1":"Name"}, ...}", // String
IsRequired: true // Boolean
}
]
The Key
property contains the field name.
Both Labels
and DescriptionLabels
properties of the DB entity contains a JSON dictionary
with the translations in the languages accepted by the system.
The labels in this API are returned already localized in the current user preferred language.
In the ValidValuesLabels
property of the DB entity contains a JSON dictionary
with the translations in the languages accepted by the system.
The value returned in this API contains pairs {“accepted value”:”value meaning”} already localized
in the current user preferred language.
If the filter has the IsRequired
property set to true
, the User Agent must specify a
value for the additional user field when it’s used, otherwise the submission will
fail. Such value can be decided autonomously by the User Agent or can be asked to the user.
Get the list of the required additional user fileds
- GET /v1/additional-user-fields/list-required
Returns the list of non-backend required additional user data fields.
- Status Codes
200 OK – Success
The resulting object is like this:
[
{
Key: "CustomFieldName", // String
ValueType: 4, // Int
Labels: "Test attachment", // String
DescriptionLabels: "Attachment description", // JSON Dictionary
ValidValues: "["value1", "value2", ...]", // String
ValidValuesLabels: "{{"value1":"Name"}, ...}", // String
IsRequired: true // Boolean
}
]
The Key
property contains the field name.
Both Labels
and DescriptionLabels
properties of the DB entity contains a JSON dictionary
with the translations in the languages accepted by the system.
The labels in this API are returned already localized in the current user preferred language.
In the ValidValuesLabels
property of the DB entity contains a JSON dictionary
with the translations in the languages accepted by the system.
The value returned in this API contains pairs {“accepted value”:”value meaning”} already localized
in the current user preferred language.
If the filter has the IsRequired
property set to true
, the User Agent must specify a
value for the additional user field when it’s used, otherwise the submission will
fail. Such value can be decided autonomously by the User Agent or can be asked to the user.