ScreenChoicesItemResponse
HTTP status code of the response for reference purposes.
200200results object
A list of choices for a screen field.
custom_fields object
A list of choices for searchable custom fields to show
on this management screen. The keys are the table name
of the custom field table, e.g. users_attribs for
User Custom Fields.
property name* object[]
The unique internal ID of this Custom Field definition (same as id field)
2DDD372DC4D3422D9E73F6DE936C4265Datatype of the custom field. The basic types available are:
STRING- a variable-length string.CHAR- a fixed-length string. (The value may be padded with spaces.)NUMBER- a floating-point number.INTEGER- an integer (whole number).TIMESTAMP- a date and time, stored in Unix epoch format.DATE- a YYYYMMDD (F8) date.
In addition, most types can be modified with a prefix to indicate
whether they are "select lists" (ENUM or enumerated) or "multi-select
lists" (M_ENUM) which can take on multiple values.
Strings and char may also have a maximum length specified, such as
STRING_100.
STRING_100Description of custom field
Name of custom field
Pay GroupURI of the custom field to get more information about the custom field definition.
/api/v1/custom_fields/E07526A217164D1B94188279A8A0E4D9Value of the custom field for this object. To update the value, see the note on the CustomFields schema page.
Note that when modifying Custom Fields of objects like
Users or Projects, only the value key will be checked;
other fields like the Custom Field pname will be ignored.
XYZ Pay Groupfields object[]
A list of choices for built-in fields available to show on this management screen.
The default label for the field.
Accrual NameThe default tooltip for the field shown when hovering over the field label.
The name of the Accrual.The type of the field. Direct fields are fields that are directly on the main table. Extended fields are fields that are on a related table.
Possible values: [direct, extended]
directThe hardcoded identifier for the field within the screen.
These are unique within the screen, but not across different screens.
(Same as id_field.)
pnameThe hardcoded identifier for the field within the screen.
These are unique within the screen, but not across different screens.
(Same as id.)
pnameThe unique identifier for the screen that this field is on.
accrualsWhether the field is a boolean field, which will be displayed as a "Yes" or "No" value in the column.
falseWhether the field is a percentage field, which will be displayed as a formatted percentage value in the column.
falseWhether the field is automatically truncated when displayed in the search results; the full value can be seen in the tooltip.
falseWhether the field is a URL field, which will be displayed as a clickable link in the column.
falseThe description to show for this field in the Field Modification screen (the UI adjustment screen). This does not appear on the actual management screen.
Accrual NameThe tooltip to show for this field in the Field Modification screen (the UI adjustment screen). This does not appear on the actual management screen.
The name of the Accrual.Whether the field is a numeric field, which will be displayed as a formatted number in the column.
falseWhether the field is required to be present on the management screen.
falseWhether the field is searchable in the search panel area on the management screen.
trueIf set, this is an alternate field to use for sorting the search results when this field is selected for sorting.
Whether the field is sortable in the search results.
trueThe ID of the management screen that these choices are for.
(Same value is in the field id_screen.)
accrualsThe ID of the management screen that these choices are for.
(Same value is in the field id.)
accrualsIndicates whether the request was successful (normally true if it's not an error response)
trueURL of the current request / resource, for reference purposes.
https://example.apps.journyx.com/api/v1/users{
"response_code": 200,
"results": {
"custom_fields": {},
"fields": [
{
"default_label": "Accrual Name",
"default_tooltip": "The name of the Accrual.",
"field_type": "direct",
"id": "pname",
"id_field": "pname",
"id_screen": "accruals",
"is_boolean": false,
"is_percent": false,
"is_truncated": false,
"is_url": false,
"mod_label": "Accrual Name",
"mod_label_tooltip": "The name of the Accrual.",
"numeric": false,
"required": false,
"searchable": true,
"sort_by_field": "string",
"sortable": true
}
],
"id": "accruals",
"id_screen": "accruals"
},
"success": true,
"uri": "https://example.apps.journyx.com/api/v1/users"
}