Create Security group

Prev Next
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

Key Recommended Description
finder Yes Filters data based on attributes.
limit Yes No. of items to return
offset Yes The 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
orderBy Yes The 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

Finder Parameter Data Type Description Example Mandatory
PrimaryKey VUUID String V_UUID /431ACBF2E3E36B08E0630B811DAC71E5 False
findByCompCode compcode String companyCode /syst-rest-api/rest/1/jcjobsecgrp?finder=findByCompCode;compcode="ZZ" Optional
findByGroupCode groupcode String security group /sys-rest-api/rest/1/jcjobsecgrp?finder=findByGroupCode;groupcode="MASTER" Optional

Attributes

CMiC UI Fieldname Object Name Description Type Data Length Example Mandatory
jcjobsecgrp JsgName group name String 30 ACHAMPION True
jcjobsecgrp JsgCompCode companyCode String 8 ZZ True
jcjobsecgrp JsgCode security group code String 10 MASTER True
jcjobsecgrp JsgVUuid vuuid String 64 431ACBF2E3E36B08E0630B811DAC71E5 False
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