Get a user group by reference key

get

/km/api/v1/userGroups/referenceKey/{referenceKey}

Retrieves the user group with the specified reference key.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : UserGroup
Type: object
Title: UserGroup
Show Source
Nested Schema : localizedAttributes
Type: array
List of LocalizedAttributes of this UserGroup in various Locales
Show Source
Nested Schema : LocalizedAttributes
Type: object
Title: LocalizedAttributes
Show Source
Back to Top

Examples

The following example shows how to find a User Group object that has the specified reference key by submitting a get request on the REST resource using cURL.

curl -X "GET" "http://IM_REST_API_HOST/km/api/latest/userGroups/referenceKey/{referenceKey}"

Example of Request Header

The following shows an example of the request header.

curl -X GET "https://<IM_REST_API_HOST>/km/api/latest/userGroups/referenceKey/{referenceKey}" -u "<username:password>" -H "Accept: application/json" -H "Content-Type: application/json"

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
    "recordId": "8410EB4CB48C5E7CE05323BDF20A8468",
    "referenceKey": "EMPLOYEEHCM",
    "name": "Empleado",
    "links": [
        {
            "rel": "canonical",
            "href": "https://IM_REST_API_HOST>/km/api/v1/userGroups/8410EB4CB48C5E7CE05323BDF20A8468",
            "mediaType": "application/json, application/xml",
            "method": "GET"
        },
        {
            "rel": "collection",
            "href": "https://IM_REST_API_HOST>/km/api/v1/userGroups",
            "mediaType": "application/json, application/xml",
            "method": "GET",
            "profile": "https://IM_REST_API_HOST>/km/api/v1/metadata-catalog/userGroups"
        }
    ],
    "dateAdded": "1970-01-01T23:11:11+0000",
    "dateModified": "1970-01-01T23:11:11+0000",
    "objectId": "-3",
    "description": "Grupo de usuarios EMPLOYEE para el departamento HCM",
    "localizedAttributes": [
        {
        
        {
            "localeId": "da_DK",
            "name": "Medarbejder",
            "description": "EMPLOYEE brugergruppe til HCM-afdelingen"
        },
        {
            "localeId": "en_AU",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_CA",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_GB",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_HK",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_ID",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_IE",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_IL",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_IN",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_IS",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_NZ",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_SG",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_US",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "en_ZA",
            "name": "Employee",
            "description": "EMPLOYEE user group for the HCM Department"
        },
        {
            "localeId": "es_AR",
            "name": "Empleado",
            "description": "Grupo de usuarios EMPLOYEE para el departamento HCM"
        }
        
            ],
    "stripeCd": "ORA_SVC_HCM"
}
Back to Top