--- title: "Job Actions" slug: "job-actions" description: "This is a list of Job actions in the Org category that can be used in RapidIdentity Connect to interact with Job data for RapidIdentity Studio." tags: ["RapidIdentity ", "Connect", "Actions", "Job", "Org", "Studio"] updated: 2022-06-03T19:13:01Z published: 2022-06-03T19:13:02Z canonical: "help.rapididentity.com/job-actions" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # Job Actions ### getJob Retrieves just one Job. | Property | Value | Description | | --- | --- | --- | | id* | string | The ID of the Job | ```actionscript saveJob({"name": "math123", "code": "456", "title": "Best Math Teacher"}) ``` ### getAllJobs Retrieves all Jobs. | Property | Value | Description | | --- | --- | --- | | pageSize | integer | The page size (required for a paging request) | | pageNum | integer | The page number (defaults to 1 for a paging request) | ```actionscript saveJob({"name": "math123", "code": "456", "title": "Best Math Teacher"}) getAllJobs() ``` ### saveJob Updates a Job. | Property | Value | Description | | --- | --- | --- | | id* | string | The ID of the Job | ```actionscript job = saveJob({"name": "math123", "code": "456", "title": "Best Math Teacher"}) job = getJob(job.id) ``` ### getJobRelationship Retrieves just one Job Relationship. | Property | Value | Description | | --- | --- | --- | | id* | string | The ID of the Job Relationship | ```actionscript job = saveJob({"name": "math123", "code": "456", "title": "Best Math Teacher"}) jobRel = saveJobRel({{"jobId": job.id, "userId":"user_id", "role": "ADMINISTRATOR"} jobRel = getJobRelationship(jobRel.id) ``` ### getAllJobRelationships Retrieves all Jobs Relationships. | Property | Value | Description | | --- | --- | --- | | jobId | string | The job ID for which to fetch job relationships | | userId | string | The user ID for which to fetch job relationships | | role | string | The role for which to fetch job relationships | | pageSize | integer | The page size (required for a paging request) | | pageNum | integer | The page number (defaults to 1 for a paging request) | ```actionscript job = saveJob({"name": "math123", "code": "456", "title": "Best Math Teacher"}) jobRel = saveJobRel({{"jobId": job.id, "userId":"user_id", "role": "ADMINISTRATOR"} jobRels = getAllJobRelationships() ``` ### saveJob Updates a job. | Property | Value | Description | | --- | --- | --- | | id* | string | The ID of the Job | ```actionscript job = saveJob({"name": "math123", "code": "456", "title": "Best Math Teacher"}) job = getJob(job.id) ``` ### saveJobRelationship Updates a Job Relationship. | Property | Value | Description | | --- | --- | --- | | id* | string | The ID of the Job Relationship | ```actionscript job = saveJob({"name": "math123", "code": "456", "title": "Best Math Teacher"}) jobRel = saveJobRel({{"jobId": job.id, "userId":"user_id", "role": "ADMINISTRATOR"} ``` ### deleteJobRelationship Deletes a Job Relationship. | Property | Value | Description | | --- | --- | --- | | id* | string | The ID of the Job Relationship | Delete by Job Relationship id. ### deleteJob Deletes a Job. | Property | Value | Description | | --- | --- | --- | | id* | string | The ID of the Job | Delete by Job id.