Get Entities Not Matches
Returns URIs of all entities marked as 'not matches' for an entity in a request. Also
returns the updatedBy
and updateTime
values (if there are
any).
Request
GET {TenantURL}/{entityURI1}/_notMatch
Parameter | Required | Details | |
---|---|---|---|
Headers | Authorization |
Yes | Information about authentication access token in format
"Bearer <accessToken>" (see details in Authentication API. |
Query | returnObjects |
Specifies if response should contain created entities. Default value is true. | |
activeness
|
No | When it is set to active , only active entities are listed in the response for the
potential matches. Otherwise, all entities are listed as potential matches. |
Response
Returns array of JSON nodes with URIs of 'not matches', names of users who marked the entities as 'not matches' and update dates.
Example 1
Request
GET {TenantURL}/entities/000ReTp/_notMatch?returnObjects=false
Headers:
Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512, Content-Type:
application/json
Response
[
{
"URI": "entities/001Ck6b"
},
{
"URI": "entities/000j2p7",
"updatedTime":
1393254467578,
"updatedBy": "User"
}
]
Example 2
Request
GET {TenantURL}/entities/000ReTp/_notMatch
Headers: Authorization: Bearer
204938ca-2cf7-44b0-b11a-1b4c59984512, Content-Type: application/json
Response
[
{
"object": {
"URI":
"entities/001Ck6b",
"type":
"configuration/entityTypes/HCP",
....
},
"URI": "entities/001Ck6b"
},
{
"object": {
"URI": "entities/000j2p7",
"type": "configuration/entityTypes/HCP",
....
},
"URI": "entities/000j2p7",
"updatedTime":
1393254467578,
"updatedBy": "User"
}
]
Get Entities not Matches
Returns URIs of all entities marked as 'not
matches' for an entity in a request. Also returns the updatedBy
and
updateTime
values (if there are
any).
Request
GET {TenantURL}/{entityURI1}/_notMatch
Parameter | Required | Details | |
---|---|---|---|
Headers | Authorization |
Yes | Information about authentication access token in format
"Bearer <accessToken>" (see details in Authentication API). |
Query | returnObjects |
Specifies if response should contain created entities. Default
value is true . |
Response
Returns array of JSON nodes with URIs of 'not matches', names of users who marked the entities as 'not matches' and update dates.
Note: For some entities (which were marked as 'not match' in older versions of API), no additional information will be attached.
Example 1
Request
GET {TenantURL}/entities/000ReTp/_notMatch?returnObjects=false
Headers:
Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512, Content-Type:
application/json
Response
[
{
"URI": "entities/001Ck6b"
},
{
"URI": "entities/000j2p7",
"updatedTime":
1393254467578,
"updatedBy": "User"
}
]
Example 2
Request
GET {TenantURL}/entities/000ReTp/_notMatch
Headers: Authorization: Bearer
204938ca-2cf7-44b0-b11a-1b4c59984512, Content-Type: application/json
Response
[
{
"object": {
"URI":
"entities/001Ck6b",
"type":
"configuration/entityTypes/HCP",
....
},
"URI": "entities/001Ck6b"
},
{
"object": {
"URI": "entities/000j2p7",
"type": "configuration/entityTypes/HCP",
....
},
"URI": "entities/000j2p7",
"updatedTime":
1393254467578,
"updatedBy": "User"
}
]