Question
How can I return just information about entity types for a configuration?
Answer
This can be done by running HTTP GET requests:
GET Entity Types
The Entities API supports read/write operations against the Entity type object.
This operation returns an array of Entity Types defined in the configuration for a tenant.
Request
GET {TenantURL}/configuration/entityTypes
Parameters
No Response
If there is a configuration defined for a tenant specified in the Header of a request, a JSON Array of entity types is returned.
If there is no such configuration, an error is returned.
309
: Tenant '{0}' not defined in a system.310
: Failed to process Reltio Business Model JSON loaded from Reltio data storage.
Request
GET {TenantURL}/configuration/entityTypes
Headers: Tenant: Test
Response
GET {
TenantURL
}
/configuration/entityTypes
Headers: Tenant: Test Body: [{
"URI": "configuration/entityTypes/Individual",
...
},
{
"URI": "configuration/entityTypes/Organization",
...
},
{
"URI": "configuration/entityTypes/Location",
...
}
]
References
https://docs.reltio.com/entitiesapi/getentitytyps.html
Comments
Article is closed for comments.