HCM Job

The HCM Job record exposes a job to REST web services.

This record:

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"
} 

          

Related Topics

General Notices