EntryCodeModifiableFields
These are fields in the Entry Code object that can be modified or given as input when creating a new Entry Code.
Indicates whether the object is hidden.
See also status
Indicates whether the user is hidden.
Read-only alias for is_hidden
.
The general visibility status of the object;
either Hidden
, Loggable and Reportable
, or Reportable Only
.
This is a write-enabled field if you have the appropriate permissions.
See also status_code
which can be changed in the same way.
Possible values: [Hidden
, Loggable and Reportable
, Reportable Only
]
Loggable and Reportable
The internal code for the status of the object; either:
lr
forLoggable and Reportable
ro
forReportable Only
h
forHidden
Possible values: [lr
, ro
, h
]
lr
custom_fields object
An object with Custom Fields for this record. The key is the field ID and the value a description of the field. Additional details here: CustomFields Schema
Updating Custom Field values
When creating or updating an existing object that uses Custom Fields,
for example a User record, you can follow this custom_field
key
structure to update the custom field values. The value
field is the only
required field for updating a custom field value; other fields such as
pname
will be ignored.
Important: depending on the endpoint, this may only be included in the response
if $keys=custom_fields
or $keys=$extended
was set as a query parameter.
There is also a more compact representation available in most object types, where
each custom field value is a separate key in the main object (not under custom_fields
).
See the CustomFields Schema page for more detailed information on these topics.
property name* CustomFieldValue
A specific instance (value) of a Custom field for a particular 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 and char 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.
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 Group
group_names object[]
A list of Groups (names and IDs) that the object belongs to.
This is a read-only list. To change the Groups that an object belongs to,
use the groups
field.
See GroupFields for additional information about Groups and this field.
The Group ID.
The Group name.
The URI of the Group.
WARNING: this field is planned in a future release but is not yet available.
A list of Group IDs that the object belongs to. See GroupFields for additional information about Groups and this field.
["5088C427E8B64EBEBE1C5B5961DB1902","3553F715A6F54DAB95D0D25B08468195"]
If true, this Entry Code is automatically added to new Groups as they are created.
false
A description of the Entry Code.
This is a description of the Entry Code.
If true, this Entry Code is currently loggable (usable) on Entry Screens.
true
The name of the Entry Code.
Billable
{
"autoadd": false,
"description": "This is a description of the Entry Code.",
"loggable": true,
"pname": "Billable",
"is_hidden": true,
"hidden": true,
"status": "Loggable and Reportable",
"status_code": "lr",
"custom_fields": {
"C41B2DDA662F4EF6B730F9CB6DB04696": {
"attr_type": "ENUM_STRING_252",
"description": "Employee pay group.",
"id_attr_type": "C41B2DDA662F4EF6B730F9CB6DB04696",
"id_attr_type_uri": "/api/v1/custom_fields/C41B2DDA662F4EF6B730F9CB6DB04696",
"pname": "Pay Group",
"value": "XYZ Pay Group"
},
"users_email": {
"attr_type": "STRING_252",
"description": "Email address",
"id_attr_type": "users_email",
"id_attr_type_uri": "/api/v1/custom_fields/users_email",
"pname": "Email Address",
"value": "username@example.com"
}
},
"group_names": [
{
"id": "5088C427E8B64EBEBE1C5B5961DB1902",
"pname": "Sales"
},
{
"id": "3553F715A6F54DAB95D0D25B08468195",
"pname": "Accounting"
}
],
"groups": [
"5088C427E8B64EBEBE1C5B5961DB1902",
"3553F715A6F54DAB95D0D25B08468195"
]
}