ScreenChoicesItemResponse
HTTP status code of the response for reference purposes.
200
200
results 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)
2DDD372DC4D3422D9E73F6DE936C4265
Datatype 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 may also have a maximum length specified, such as STRING_100
.
["STRING_100","ENUM_STRING_20","M_ENUM_STRING_252","ENUM_INTEGER","NUMBER"]
Description of custom field
Name of custom field
Pay Group
URI of the custom field to get more information about the custom field definition.
/api/v1/custom_fields/E07526A217164D1B94188279A8A0E4D9
Value of the custom field for this object. To update the value, see the note on the CustomFields schema page.
XYZ Pay Group
fields object[]
A list of choices for built-in fields available to show on this management screen.
The default label for the field.
Accrual Name
The 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
]
direct
The hardcoded identifier for the field within the screen.
These are unique within the screen, but not across different screens.
(Same as id_field
.)
pname
The hardcoded identifier for the field within the screen.
These are unique within the screen, but not across different screens.
(Same as id
.)
pname
The unique identifier for the screen that this field is on.
accruals
Whether the field is a boolean field, which will be displayed as a "Yes" or "No" value in the column.
false
Whether the field is a percentage field, which will be displayed as a formatted percentage value in the column.
false
Whether the field is automatically truncated when displayed in the search results; the full value can be seen in the tooltip.
false
Whether the field is a URL field, which will be displayed as a clickable link in the column.
false
The 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 Name
The 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.
false
Whether the field is required to be present on the management screen.
false
Whether the field is searchable in the search panel area on the management screen.
true
If 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.
true
The ID of the management screen that these choices are for.
(Same value is in the field id_screen
.)
accruals
The ID of the management screen that these choices are for.
(Same value is in the field id
.)
accruals
Indicates whether the request was successful (normally true if it's not an error response)
true
URL 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"
}