HCM Job
The HCM Job record exposes a job to REST web services.
This record:
-
Is not a subrecord
The REST API Browser includes information about the field names and field types of the HCM job record and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser's HCM job reference page.
For information about using the REST API Browser, see The REST API Browser.
Record IDs
The record ID for an HCM Job REST record is hcmjob.
Prerequisites
Before you can use this record with REST web services, you must enable the Job Management feature.
Exposed Elements
The following record fields are exposed to REST web services:
-
Description
-
Employmentcategory
-
Externalid
-
Id
-
Internalid
-
Isinactive
-
Jobid
-
Jobidlabel
-
Title
Supported Operations
The following actions are available on this record:
-
Submit
-
Submit New
-
Delete
Code Samples
The following code shows how to get a job:
GET https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/hcmjob/326
The following code shows how to update a job description:
PATCH
https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/hcmjob/326
{
"description": "Updated description"
}'
The following code shows how to create a job:
POST
https://demo123.suitetalk.api.netsuite.com/services/rest/record/v1/hcmjob
{
"description": "New Description",
"employmentCategory": {
"id": "-10"
},
"title": "New job rest"
}