機械翻訳について

参照キーによるユーザー・グループの取得

get

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

指定された参照キーを持つユーザー・グループを取得します。

リクエスト

パス・パラメータ
トップに戻る

レスポンス

サポートされるメディア・タイプ

200 レスポンス

「OK」をクリックします。
本文( )
ルート・スキーマ : UserGroup
タイプ: object
タイトル: UserGroup
ソースを表示
ネストされたスキーマ : localizedAttributes
タイプ: array
様々なロケールでのこのUserGroupのLocalizedAttributesのリスト
ソースを表示
ネストされたスキーマ : LocalizedAttributes
タイプ: object
タイトル: LocalizedAttributes
ソースを表示
トップに戻る

次の例は、cURLを使用してRESTリソースに対する取得リクエストを発行することによって、指定された参照キーを持つユーザー・グループ・オブジェクトを検索する方法を示しています。

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

リクエスト・ヘッダーの例

次に、リクエスト・ヘッダーの例を示します。

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"

レスポンス本文の例

次の例は、JSON形式のレスポンス本文のコンテンツを示しています:

{
    "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"
}
「トップに戻る」