Update Notification Profile
Product | D&B Direct 2.0, D&B Direct Onboard |
Product Code(s) | Not Applicable |
Option(s) | None |
Monitoring Available | No |
Interface | SOAP |
WSDL | download |
Format(s) | XML |
Service | Monitoring |
Operation | UpdateNotificationProfile |
{version} | 8.0 |
8.0 Released on | February 15, 2019 |
This function allows a customer to update or cancel an active notification profile.
Update History
- January 29, 2016 (v5.0 SOAP & REST): PUSH notifications now include CustomerReferenceText for List Change Notice.
- January 8, 2016 (v5.0 SOAP & REST): The input parameter CompressedProductIndicator is added to CreateNotificationProfileRequest and UpdateNotificationProfileRequest. AttachCompressedProductIndicator is added to GetMonitoringProduct Request.
What to do First
Feature Request
IMPORTANT: Please see the new Online Services Security Enhancement Release, effective November 09, 2020.
Data Layer Entitlement
For customers in U.S. and Canadian markets, the API is provisioned for specific collections of products, reports, and/or features (collectively referred to as data layers) for production and trial usage. Entitlement is not required for testing in the sandbox environment.
- This function does not require entitlement for production and trial usage. Entitlement for monitoring is only required for the Add Monitoring Registration function, and for the data layers that will monitored.
Specification
Notification Profiles can be removed by setting the status to "Cancelled"; however, if the profile is referenced in a Monitoring Registration it may not be removed.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mon="http://services.dnb.com/MonitoringServiceV2.0"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-633F699FC36627C15514785038369061"> <wsse:Username>MyUserName</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">MyPassword</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <mon:UpdateNotificationProfileRequest> <UpdateNotificationProfileRequestDetail> <NotificationProfileDetail> <NotificationProfileID>4336</NotificationProfileID> <DeliveryFrequency>Hourly</DeliveryFrequency> <NotificationProfileStatusText>Active</NotificationProfileStatusText> </NotificationProfileDetail> </UpdateNotificationProfileRequestDetail> </mon:UpdateNotificationProfileRequest> </soapenv:Body> </soapenv:Envelope>
Name | Characteristics |
---|---|
UpdateNotificationProfileRequest | Aggregate |
UpdateNotificationProfileRequest@xsi:schemaLocation | Attribute |
UpdateNotificationProfileRequest. TransactionDetail | Aggregate, Optional Records information necessary to process this request. |
UpdateNotificationProfileRequest. TransactionDetail. ApplicationTransactionID | string up to 64 chars., Optional A number assigned by the calling application to uniquely identify this request. |
UpdateNotificationProfileRequest. TransactionDetail. TransactionTimestamp | DateTimestamp, Optional The date and time when this request was created. When the request is from an intermediary, such as a workflow manager or service bus, this is the date and time when the message was sent to the D&B function, i.e., the date and time when the xml document was created by the requesting intermediary. |
END: UpdateNotificationProfileRequest. TransactionDetail | /Aggregate |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail | Aggregate, Required |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail | Aggregate, Required |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. NotificationProfileID | int, Required A number that uniquely identifies a set of events and their thresholds, used to monitor a DUNS or a set of DUNS. |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. NotificationProfileName | string at least 1 chars. up to 64 chars. Pattern: {.*[^\s].*}., Optional A name that is provided by the user to the profile. |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. DeliveryChannelUserPreferenceName | string up to 64 chars., Optional |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. DeliveryMode | DeliveryModeEnum, Optional Possible values: Email; HTTPCallBack; MQOutput |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. DeliveryFrequency | DeliveryFrequencyEnum, Optional Possible values: Immediate; Hourly; Daily; Weekly |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. DeliveryFormat | DeliveryFormatEnum, Optional Possible values: XML, JSON |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. NotificationProfileStatusText | NotificationProfileStatusTextEnum, Optional Records the status of the monitoring registration Possible values: Active; Cancelled |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. StopDeliveryIndicator | boolean, Optional |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. InquiryReferenceText | Aggregate |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. InquiryReferenceText. CustomerReferenceText | Element |
UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. CompressedProductIndicator. | boolean, Optional When set to TRUE this denotes that the customer has requested that D&B return the compressed product in Level 2 change notice. When set to FALSE this denotes that the customer has not requested that D&B return the compressed product in Level 2 change notice. |
END: UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail. InquiryReferenceText | /Aggregate |
END: UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail. NotificationProfileDetail | /Aggregate |
END: UpdateNotificationProfileRequest. UpdateNotificationProfileRequestDetail | /Aggregate |
END: UpdateNotificationProfileRequest | /Aggregate |
Deleting a Profile
To remove a profile, change the status to "Cancelled" through an update request. Canceled items can be restored within 24-hours of the update, after which they are deleted by the system.
<NotificationProfileDetail>
<NotificationProfileStatusText>Cancelled</NotificationProfileStatusText>
</NotificationProfileDetail>
Endpoint
Use the following endpoint with the downloadable WSDL to request this feature.
SOAP (Monitoring) |
---|
https://direct.dnb.com/Monitoring/V{version} |
Testing
This operation will return a static set of results in the D&B Direct test environment (sandbox), regardless of the request parameters.
Feature Response
Specification
The following is a list of the possible data fields returned by this operation in the XML response. Samples are provided for testing successful and failed retrieval, and to demonstrate the basic layout of a response. The data returned in samples may not represent actual values that this feature will deliver.
NOTE: The D-U-N-S Number returned in the response will be a nine-digit zero-padded, numeric value.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <mon:UpdateNotificationProfileResponse xmlns:mon="http://services.dnb.com/MonitoringServiceV2.0"> <TransactionDetail> <ServiceTransactionID>Monitoring Service</ServiceTransactionID> <TransactionTimestamp>2016-12-01T03:34:36.397-05:00</TransactionTimestamp> </TransactionDetail> <TransactionResult> <SeverityText>Information</SeverityText> <ResultID>CM000</ResultID> <ResultText>Success</ResultText> </TransactionResult> <UpdateNotificationProfileResponseDetail> <NotificationProfileDetail> <NotificationProfileID>4336</NotificationProfileID> <NotificationProfileName>IE_GCDPOnboardPref06</NotificationProfileName> <DeliveryFrequency>Hourly</DeliveryFrequency> <NotificationProfileStatusText>Active</NotificationProfileStatusText> <FormerNotificationProfileDetail> <DeliveryFrequency>Hourly</DeliveryFrequency> <NotificationProfileStatusText>Active</NotificationProfileStatusText> </FormerNotificationProfileDetail> </NotificationProfileDetail> </UpdateNotificationProfileResponseDetail> </mon:UpdateNotificationProfileResponse> </soap-env:Body> </soapenv:Envelope>
NOTE: There may be additional request and/or response elements specified in the WSDL that are not applicable for D&B Direct customers. Data elements that are not listed on this page are currently unused by this operation.
Response Codes & Error Handling
Successful service requests will return a CM000 response code in the TransactionResult ResultID field. Otherwise, one of the D&B Direct standard response codes will be returned.
This operation may return the following response codes: CM001, CM002, CM004, CM007, MN002, MN005, SC001-SC009.
D&B Direct 2.0 API requests are provided on a metered basis; and may require entitlement prior to use in the production environment. In addition, a concurrency limit (QPS) is monitored to ensure that it is not exceeded. An error code will be returned in the event that a transaction is throttled.
While this operation is provided on a metered basis, usage is tracked; however, no billing for successful calls is recorded.
Operation-specific supplemental response code explanations:
CM001 | Blank Notification profile name |
CM002 | Any schema validation failure (e.g. elements that are mandatory in the schema are not present in the request, Sequence of the element is not matching in the schema, Data type mismatch or Invalid notification Level). |
CM007 | Delivery Channel User Preference Name is invalid; Notification profile cannot be canceled as registrations are available for this profile; or Notification profile not available in the system. |