Create Security group
  • 06 Jan 2026
  • 1 Minute to read
  • Dark
    Light

Create Security group

  • Dark
    Light

Article summary

Post
/sys-rest-api/rest/1/jcjobsecgrp

Overview

This endpoint enables the creation of security groups,thereby granting them access to associated jobs and projects.

UI Navigation

System Data > Job/Project Security > Create Security Groups

Reference Article

https://docs.cmicglobal.com/portal/Content/E_Reference_Material/SD_-_System_Data/Reference/Security/Job_Project_Security.htm?Highlight=assign%20user%20to%20job%20security%20group

Finders

The following finders are available for data filtering and optimizing request performance.

  • findByCompCode

  • findByGroupCode

Query Standards

KeyRecommendedDescription
finderYesFilters data based on attributes.
limitYesNo. of items to return
offsetYesThe offset skips a specified number of items in a data list before it starts showing results. For example, if you set an offset of 10, it skips the first 10 items and begins showing from the 11th item. For additional information on using offset functionality, please visit [Best Practice
orderByYesThe orderBy attribute retrieves rows using an order ensuring the response payload displays data in the order supplied in the URL parameter using the GET method. For more information on using orderBy functionality, please visit [Best Practice

Finders

FinderParameterData TypeDescriptionExampleMandatory
PrimaryKeyVUUIDStringV_UUID/431ACBF2E3E36B08E0630B811DAC71E5False
findByCompCodecompcodeStringcompanyCode/syst-rest-api/rest/1/jcjobsecgrp?finder=findByCompCode;compcode="ZZ"Optional
findByGroupCodegroupcodeStringsecurity group/sys-rest-api/rest/1/jcjobsecgrp?finder=findByGroupCode;groupcode="MASTER"Optional

Attributes

CMiC UI FieldnameObjectNameDescriptionTypeData LengthExampleMandatory
jcjobsecgrpJsgNamegroup nameString30ACHAMPIONTrue
jcjobsecgrpJsgCompCodecompanyCodeString8ZZTrue
jcjobsecgrpJsgCodesecurity group codeString10MASTERTrue
jcjobsecgrpJsgVUuidvuuidString64431ACBF2E3E36B08E0630B811DAC71E5False
Security
HTTP
Type basic

Basic authentication

Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceItem+json
Body parameters
object
Example{ "JsgCompCode": "ZZ", "JsgCode": "UIC3", "JsgVUuid": "", "JsgName": "Adding a record - API" }
Responses
201

Created

Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
  "UroleCode": "PAYADMIN",
  "UroleName": "Payroll Administrator",
  "UroleUser": "ADAM1",
  "UroleVUuid": "39FC3FEADCC249CDE0630B811DAC5F98",
  "UroleCreateDate": "2025-07-16T15:09:50Z",
  "links": [
    {
      "rel": "self",
      "href": "http://localhost:7101/sys-rest-api/rest/1/sduserroles/39FC3FEADCC249CDE0630B811DAC5F98",
      "name": "sduserroles",
      "kind": "item"
    },
    {
      "rel": "canonical",
      "href": "http://localhost:7101/sys-rest-api/rest/1/sduserroles/39FC3FEADCC249CDE0630B811DAC5F98",
      "name": "sduserroles",
      "kind": "item"
    }
  ]
}
object