Registering a Single Entity
Use this API to register the DUNS number from the entity in the DnB monitoring registration.
Request
POST {DnBConnectorUri}/monitoring/registration| Parameter | Name | Required | Description | 
|---|---|---|---|
| Headers | Content-Type | Yes | 
                             Must be   | 
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. | |
DnB-User | No | DnB account username or Consumer Key in Direct+. Note: Not a required parameter if  DnB Token is specified. | |
DnB-Password | No | DnB account password or Consumer Secret in Direct+. Note: Not a required parameter if  DnB Token is specified. | |
DnB-Token | No | DnB token in <<Token>> format.Note: Not a required parameter if the username and password of the DnB account is specified.  | |
DnB-Registration | Yes | DnB registration identifier. | |
| Query | entityURI | Yes | Entity URI in entities/XXXX format. | 
Example:
POST https://dev-dnbconnector.reltio.com/b2bIntegration/dnb/monitoring/registration?entityURI=entities/1BGfXLUR{
    "success": "OK",
    "message": "21113: Requested duns added to registration successfully.",
    "entities": [
        "entities/1SrafuSI"
    ]
}
        Error response:
{
    "success": "Fail",
    "message": "DNB0001: DnB error: The requested duns already exists in your registration profile DnB error code: 21012",
    "entities": [
        "entities/1SrafuSI"
    ]
}