Checking if a Single Entity is Present
Using this API you can send a request to D&B to list the DUNS registered for monitoring. The API returns information on whether a DUNS number is registered or not.
Request
GET {DnBConnectorUri}/monitoring/registration
Parameter | Name | Required | Description |
---|---|---|---|
Headers | Content-Type | Yes | Must be Content-Type: application/json . |
EnvironmentUrl | Yes | Environment URL of the tenant. For example: https://dev.reltio.com | |
Authorization | Yes | Reltio access token in the form Bearer: <token> , see Authentication API. | |
TenantId | Yes | Tenant Id. | |
D&B-User | No | DnB account username or Consumer Key in Direct+. Note: Not a required parameter if D&B Token is specified. | |
DnB-Password | No | DnB account password or Consumer Secret in Direct+. Note: Not a required parameter if D&B Token is specified. | |
DnB-Token | No | DnB token in form <<Token>> .Note: Not a required parameter if the username and password of the D&B account is specified. | |
DnB-Registration | Yes | DnB registration identifier. | |
Query | entityURI | Yes | Entity URIs in entities/XXXX format. |
Example:
GET https://tst-01-dnbconnector.reltio.com/monitoring/registration?entityURI=entities/1SrafuSI
{
"success": "Fail",
"message": "DNB0001: DnB error: DUNS not found DnB error code: 10001",
"entities": [
"entities/1SrafuSI"
]
}
Response:
{
"success": "OK",
"message": "21110: DUNS is available in registration",
"entities": [
"entities/1SrafuSI"
]
}