The following APIs are used to handle entities of One Identity Manager. You can create, read, update, and delete single entities as well as call methods of an entity and generate events.
The following APIs are used to handle entities of One Identity Manager. You can create, read, update, and delete single entities as well as call methods of an entity and generate events.
To create a single entity, use the URL <baseURL>/api/entity/{table}
HTTP method |
URI |
Body |
---|---|---|
Post |
<BaseURL>/api/entity/{table} |
{"values": { "StringColumn": "string", "IntColumn": 0, "DateColumn": "2016-05-19T11:21:33.579Z", "BoolColumn": True } |
Parameter |
Description |
Parameter type |
Data type |
---|---|---|---|
table |
Table name (required) |
path |
string |
values |
Values to set |
body |
SampleValues |
SingleChangeBody {
values(SampleValues, optional)
}
SampleValues {
StringColumn(string, optional),
IntColumn(integer, optional),
DateColumn(date - time, optional),
BoolColumn (boolean, optional)
}
CreateSingleResult {
uid (string, optional),
uri (string, optional)
}
https://<Hostname>/AppServer/api/entity/Person
{
"values": {
"FirstName": "Jeremia",
"LastName": "Bodewell",
"IsExternal": True,
"BirthDate": "1993-05-14",
"Gender": 1
}
}
{
"uid": "83b10e84-c64e-4f9f-9ecb-2d0d7c94e8ec",
"uri": "https://<Hostname>/AppServer/api/entity/Person/83b10e84-c64e-4f9f-9ecb-2d0d7c94e8ec"
}
To create a batch single entity, use the URL <baseURL>/api/entities
HTTP method |
URI |
Body |
---|---|---|
Post |
<BaseURL>/api/entities |
{ "entities": [ { "table": "string", "values": { "StringColumn": "string", "IntColumn": 0, "DateColumn": "2016-0519T11:21:33.579Z", "DoubleColumn": 3.14, "BoolColumn": true } } ] } |
Parameter | Description | Parameter type | Data type |
---|---|---|---|
entities | List of entities to create (required) | Body | array[InsertEntity] |
BulkChangeBodyInsert {
entities(array[InsertEntity])
}
InsertEntity {
table(string),
values(SampleValues, optional)
}
SampleValues {
StringColumn(string, optional),
IntColumn(integer, optional),
DateColumn(date - time, optional),
BoolColumn (boolean, optional)
}
CreateBulkResult {
entities(Array[UidAndUri])
UidAndUri {
uid (string, optional),
uri (string, optional)
}
https://<Hostname>/AppServer/api/entities
{
"entities": [
{
"table": "Person",
"values": {
"FirstName": "Jeremia",
"LastName": "Bodewell",
"IsExternal": True,
"BirthDate": "1993-05-14",
"Gender": 1
}
},
{
"table": "Person",
"values": {
"FirstName": "Rose",
"LastName": "Gladstone",
"IsExternal": False,
"BirthDate": "1991-03-21",
"Gender": 2
}
}
]
}
{
"entities": [
{
"uid": "8a2eee88-0615-4595-a903-8388ca74d877",
"uri": "/AppServer/api/entity/Person/8a2eee88-0615-4595-a903-8388ca74d877"
},
{
"uid": "df563a8c-203a-4132-8fcb-bc4adaee35b6",
"uri": "/AppServer/api/entity/Person/df563a8c-203a-4132-8fcb-bc4adaee35b6"
}
]
}
To get a single entity, use the URL <baseURL>/api/entity/{table}/{uid}
HTTP method |
URI |
Body |
---|---|---|
Get |
<BaseURL>/api/entity/{table}/{uid} |
None |
Parameter |
Description |
Parameter type |
Data type |
---|---|---|---|
table |
Table name (required) |
path |
string |
uid |
Guid of this entity (required) |
path |
string |
SingleEntry {
uri (string),
uid (string, optional),
display (string, optional),
values (SampleValues, optional),
links (Array[Link], optional)
}
SampleValues {
StringColumn (string, optional),
IntColumn (integer, optional),
DateColumn (date-time, optional),
BoolColumn (boolean, optional)
}
Link {
name (string, optional)
}
https://<Hostname>/AppServer/api/entity/Person/83b10e84-c64e-4f9f-9ecb-2d0d7c94e8ec
{
"uri": "https://<Hostname>/AppServer/api/entity/Person/83b10e84-c64e-4f9f-9ecb-2d0d7c94e8ec",
"display": "Bodewell, Jeremia (JEREMIAB)",
"values": {
"ApprovalState": 0,
"AuthentifierLogins": "",
"BirthDate": "1993-05-14T00:00:00.0000000Z",
"Building": "",
"CanonicalName": "",
"CentralAccount": "JEREMIAB",
"CentralPassword": "",
"CentralSAPAccount": "BODEWELJ",
...
"XObjectKey": "<Key><T>Person</T><P>83b10e84-c64e-4f9f-9ecb-2d0d7c94e8ec</P></Key>",
"XTouched": "",
"XUserInserted": "<user name>",
"XUserUpdated": "<user name>",
"ZIPCode": ""
}
}
© 2024 One Identity LLC. ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center