...
| Anchor | ||||
|---|---|---|---|---|
|
| Anchor | ||||
|---|---|---|---|---|
|
| Wiki Markup |
|---|
To retrieve an attribute's properties. On success, the method returns the set of properties
Example: to retrieve an identity attribute's properties.
Parameters:
\{
"match":
\{
\["objectName","=", "user"\],
\["identitySource.id", "=","Identity Source id"\],
\["name", "=","the name of the attribute to be retrieved"\]
\},
"return":\["*"\],
\}
Response:
\{
"error":0,
"result":
\{
"name":attribute name
"type":data type of the attribute
"external":true/false
…
"mapsTo":mapping nameif external
"defaultValue":default value if internal
\}
\} |
| Anchor | ||||
|---|---|---|---|---|
|
| Anchor | ||||
|---|---|---|---|---|
|
| Wiki Markup |
|---|
To retrieve a list of attributes of a specified object.
Example: to retrieve a list of identity attributes.
Parameters:
\{
"match":
\{
\["objectName","=", "user"\],
\["identitySource.id", "=","Identity Source id"\]
\},
"return":\["name", "type"\],
"sort":"name",
"order":"asc",
\}
Response:
\{
"error":0,
"result":
\[
\{
"name":attribute name
"type":data type of the attribute
\},
\{
"name":attribute name
"type":data type of the attribute
\}
\]
\}
\\
\\ |