Skip to content

Get a specific attribute from a resource

Ryan Newington edited this page Apr 25, 2018 · 1 revision

Used to get a specific attribute from a known resource object ID

Available in version v2.0.6689 and later

Request

Method URL
GET /v2/resources/{id}/{attributeName}
GET /v2/resources/{id}/{attributeName}?locale={locale}

URL Parameters

Parameter name Description
{id} The object ID of the resource
{locale} Specifies the language code of the culture to localize the representation of the resource in. This requires the appropriate language packs to be installed on the FIM/MIM Service. e.g en-US, de-de, ja-jp, es-es, it-it.
{attributeName} The name of the attribute to get

Request Body

This request type does not require a request body

Response

Response Codes

See the topic on error handling for the response codes that this API call can return.

Response Body

This method will return a JSON-formatted response containing the values of this attribute.

Examples

Get the members of a group

Request

GET /v2/resources/f03f50c0-f40a-4370-8531-e5d025d22cb2/ExplicitMember

Response

HTTP/1.1 200 OK
[
    "96720549-7141-42c6-b973-98de94ac4a43",
    "e772b733-a61c-4076-aea1-fac998f04bc1",
    "f52ee55d-c743-4c28-be4e-e93e2000255e"
]

Get the localized representation of a resource

Request

GET /v2/resources/50193587-8093-4e93-9162-dcdc11a80641/DisplayName?locale=it-IT

Response

HTTP/1.1 200 OK
[
	"DisplayName": "Definizione flusso di lavoro",
]