List job codes
Returns a paginated list of job codes defined in the organization.
Helpful resources
Required Scopes
- job-codes.read
Request
Query Parameters
Possible values: >= 1 and <= 100
Default value: 50
The maximum number of results to return. Defaults to 50. Maximum is 100.
Using filters
Include one or more of these fields in the filter parameter to refine your results.
Fields:job_dimension_id, group_id
Expanding objects
Include one or more of these fields in the expand parameter to return nested data.
Fields:job_dimension, work_location, department, pay_rate_exceptions
Sorting results
Include one or more of these fields in the sort parameter to control result order.
Fields:id, created_at, updated_at
Responses​
- 200
- 400
- 401
- 403
Successful response
- application/json
- Schema
- Example (from schema)
Schema
Matches one or more of these formats:
- Format 1id stringrequired
Identifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
name stringrequiredThe name of the job dimension
external_id stringThe unique identifier of the job dimension in a third party system
includes_custom_location booleanWhether the job dimension includes codes related to a custom location. Only one dimension can have this set to true.
roster_type stringThe roster type of the dimension. PER_DIMENSION means that there is a group on the dimension level and employees within that group have access to all job codes in the dimension. PER_JOB_CODE means that each job code has its own group.
Possible values: [PER_DIMENSION,PER_JOB_CODE]group_id stringThe ID of the dimension roster group.
org_attribute_associations object[]Organizational attributes associated with the job dimension. Only 'PAY_RATE' can be set or modified using POST or PATCH requests.
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1id stringrequired
Identifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
name stringrequiredThe name of the work location.
address objectrequired
The address for the work location.type stringThe classification of the address.
Possible values: [HOME,WORK,OTHER]formatted stringThe formatted mailing address.
street_address stringThe full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
locality stringThe city or locality component.
region stringThe state or region component, pursuant to SCIM RFC 7643 4.1.2.
postal_code stringThe zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
country stringThe country component, pursuant to SCIM RFC 7643 4.1.2.
Possible values: [AF,AX,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BQ,BA,BW,BV,BR,IO,BN,BG,BF,BI,CV,KH,CM,CA,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CD,CK,CR,CI,HR,CW,CY,CZ,DK,DJ,DM,DO,EC,EG,SV,GQ,ER,EE,SZ,ET,FK,FO,FJ,FI,FR,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GG,GN,GW,GY,HT,HM,VA,HN,HK,HU,IS,IN,ID,IQ,IR,IE,IM,IL,IT,JM,JP,JE,JO,KZ,KE,KI,KR,XK,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,ME,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MK,MP,NO,OM,PK,PW,PS,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RO,RU,RW,RE,BL,SH,KN,LC,MF,PM,VC,WS,SM,ST,SA,SN,RS,SC,SL,SG,SX,SY,SK,SI,SB,SO,ZA,GS,SS,ES,LK,SD,SR,SJ,SE,CH,TW,TJ,TZ,TH,TL,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,US,UM,UY,UZ,VU,VE,VN,VG,VI,WF,EH,YE,ZM,ZW] - Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
id stringrequiredIdentifier field
created_at stringrequiredRecord creation date
updated_at stringrequiredRecord update date
name stringrequiredThe name of the department.
parent_id stringThe parent department.
parent objectnullable
The parent department.reference_code stringReference code of the department.
department_hierarchy_id string[]The identifier of departments in the department hierarchy ordered from parent department to child department.
department_hierarchy object[]nullableList of departments in the department hierarchy. Refer department_hierarchy_ids for department hierarchy order.
Expandable field
- Format 2value objectnullablePossible values: [null]
- Format 1
Matches one or more of these formats:
- Format 1
- Format 2value objectnullablePossible values: [null]
- Format 1
__meta object
redacted_fields object[]
The name for the redacted field
The reason for the redaction
results object[]
Identifier field
Record creation date
Record update date
The name of the job dimension.
The ID of the job dimension this job code belongs to.
job_dimension objectnullable
The unique identifier of the job code in an outside system.
The ID of the job roster group.
custom_location object
address objectrequired
The classification of the address.
The formatted mailing address.
The full street address component, which may include house number, street name, P.O. box, and multi-line extended street address information, pursuant to SCIM RFC 7643 4.1.2..
The city or locality component.
The state or region component, pursuant to SCIM RFC 7643 4.1.2.
The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
The country component, pursuant to SCIM RFC 7643 4.1.2.
The work location associated with the job code.
work_location objectnullable
The department associated with the job code.
department objectnullable
The pay rate for this job code. Only applicable if the associated job dimension includes the 'PAY_RATE' organizational attribute.
Pay rate overrides id for the job based on exception dimension values.
pay_rate_exceptions object[]nullable
Identifier field
Record creation date
Record update date
Identifier of Job for which exception is configured.
job_code objectnullable
Type of dimension on which exception is configured
Identifier of dimension object on which exception is configured. This objects details can be queried from exception_dimension_type's resource
The pay rate for exception on job_code_id and exception_dimension_id combination
Whether this job code is archived. Set to true via PATCH to archive. Archiving is irreversible via this API.
A link to the next page of responses, or null if there are no more pages.
{
"__meta": {
"redacted_fields": [
{
"name": "date_of_birth",
"reason": "Insufficient entitlements"
}
]
},
"results": [
{
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"job_dimension_id": "string",
"job_dimension": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"external_id": "string",
"includes_custom_location": false,
"roster_type": "PER_DIMENSION",
"group_id": "string",
"org_attribute_associations": [
"DEPARTMENT"
]
},
"external_id": "string",
"group_id": "string",
"custom_location": {
"address": {
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
}
},
"work_location_id": "string",
"work_location": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"address": {
"type": "HOME",
"formatted": "string",
"street_address": "string",
"locality": "string",
"region": "string",
"postal_code": "string",
"country": "AF"
}
},
"department_id": "string",
"department": {
"id": "string",
"created_at": "string",
"updated_at": "string",
"name": "string",
"parent_id": "string",
"parent": {},
"reference_code": "string",
"department_hierarchy_id": [
"string"
],
"department_hierarchy": [
"string"
]
},
"pay_rate": 0,
"pay_rate_exceptions_id": [
"string"
],
"pay_rate_exceptions": [
{
"id": "string",
"created_at": "string",
"updated_at": "string",
"job_code_id": "string",
"job_code": {},
"exception_dimension_type": "JOB_CODE",
"exception_dimension_id": "string",
"pay_rate": 0
}
],
"is_archived": false
}
],
"next_link": "string"
}
The request failed validation. The response body describes the error.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}
Authentication is required or the supplied credentials are invalid.
- application/json
- Schema
- Example (from schema)
Schema
Matches one or more of these formats:
- Format 1ok booleanrequired
Whether the request succeeded. Always false for an authentication error.
Possible values: [false]error stringrequiredA human-readable explanation of why authentication failed.
- Format 2detail stringrequired
A human-readable explanation of the authentication error.
- Format 1
{
"ok": false,
"error": "Incorrect authentication credentials."
}
{
"detail": "string"
}
The caller is not authorized to perform this action.
- application/json
- Schema
- Example (from schema)
Schema
A human-readable explanation of why the request failed.
{
"detail": "string"
}