Employments
Jobs
Show employment job
Changed onShows an employment job details.
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
- Company-scoped access token (assertion) (OAuth2CompanyManagerAssertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a company manager. See OAuth Assertion.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
Scopes
Any one of the scopes in a token type's row is enough. all:read and all:write work too.
| Token type | Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|---|
| Company-scoped access token | Manage employments (employments) | View employments (employment:read) | Manage employments (employment:write) |
| Company-scoped access token (assertion) | Manage employments (employments) | View employments (employment:read) | Manage employments (employment:write) |
| Customer API token | Manage employments (employments) | View employments (employment:read) | Manage employments (employment:write) |
get/v1/employments/{employment_id}/job
Request
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopeshttps://gateway.remote.com/company.manage
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesemployment:read
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesall:read
- or OAuth 2Authorization code/auth/oauth2/authorizeToken URL/auth/oauth2/tokenScopesall:write
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesemployment:read
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:read
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:write
- or HTTP bearer
Path parameters
employment_id, string required
Employment ID
Response
Success
Employment Job Response required
data, Job required
A job assigned to an employment, including its classification within the company's job architecture (family, sub-family, career track, level) and any custom field values.
Example response
{
"data": {
"career_track": {
"id": "64a686dd-8ab1-42a4-8c53-c0c435220838",
"label": "Technical"
},
"code": "JOB-0",
"custom_field_values": [
{
"definition": {
"id": "1dad1cb4-2329-4c64-b29a-29553c72ae85",
"title": "Can juggle?",
"type": "boolean"
},
"value": "true"
},
{
"definition": {
"id": "9db768ae-ce96-4bbf-a70d-7730fe845a4c",
"title": "Job grade",
"type": "number"
},
"value": "10"
},
{
"definition": {
"id": "5f88421f-987e-41fd-9e6e-ac5d2e2fe15e",
"title": "Say something",
"type": "text"
},
"value": "something"
}
],
"description": "Description for Job 0",
"id": "8a04f015-54c4-42f2-8276-739fff5d9cc9",
"identifier": "eng-001",
"job_family": {
"id": "7a5e5e1c-a6be-4040-b15e-20195002b120",
"label": "Engineering"
},
"job_level": {
"id": "bafb8c40-5d4e-49d3-bbc8-32f2486df5b3",
"label": "Senior"
},
"job_sub_family": {
"id": "4d971d1f-56d5-4a70-ba04-261eb30c8b46",
"label": "Backend"
},
"label": "Senior Backend Engineer"
}
}Changes
- info
the security scope
employment:readwas added to the endpoint's security schemeOAuth2CompanyManagerAssertion - info
the security scope
https://gateway.remote.com/company.managewas added to the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
all:writewas removed from the endpoint's security schemeOAuth2AuthorizationCode
1 more change in this revision
- info