Retrieve Portfolio Asset
Products | D&B Direct 2.0, D&B Direct Onboard |
Product Code(s) | Not Applicable |
Options(s) | None |
Monitoring Available | No |
Interface | REST |
Method | GET |
Format(s) | JSON |
Service | Portfolio |
{version} | 2.0 |
Initial Release | October 3, 2013 |
Returns the previously ordered product as a base 64 encoded MTOM attachment.
Update History
No modifications have been made to this data layer since the initial release.
What to do First
Before you can retrieve or delete an asset(s), you need to perform the following operation to obtain the asset ID value(s).
Feature Request
IMPORTANT: Please see the new Online Services Security Enhancement Release, effective November 09, 2020.
Overview
D&B Direct customers are assigned a temporary storage area where copies of the data and report products requested via the API can be retained for 120 days (extendable up to 365 days or remaining length of the current contract, whichever is less). This portfolio feature provides a convenient way to retrieve previously accessed information for comparison or recovery purposes.
When the archiving option is selected, a portfolio asset ID is returned by requests for a D&B Direct data or report product. This asset ID can be used to retrieve the copied information from the portfolio. Alternatively, a separate service exists that can be used to obtain a list of the portfolio contents.
Three operations (List, Retrieve and Delete) are provided to access and manage the information contained in the Product Request Archive.
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 particular feature does not require entitlement for production and trial usage for D&B Direct 2.0 customers.
For customers in the UK, Ireland, Belgium, Netherlands and Luxembourg markets, the API is provisioned as a specific set of data layers for production, trial, and sandbox usage.
- This particular data layer is included in the D&B Direct Onboard 2.0 suite.
Specification
https://direct.dnb.com/V2/assets/35875432 Authorization:<MyToken>
Name | Characteristics |
---|---|
ApplicationTransactionID | string up to 64 chars., Optional |
TransactionTimestamp | dateTime, Optional |
SubmittingOfficeID | string up to 64 chars., Optional |
{assetID} | PortfolioAssetIDType, Optional |
InvestigationTrackingID | InvestigationTrackingID at least 1 chars. up to 50 chars., Optional |
IncludeAttachmentIndicator | boolean, Optional |
Previously ordered products may also be retrieved by using the RetrieveProduct (REST) operation when the specific product code is known.
Endpoint
Use the following endpoint for requesting this feature. The {version} is dependent on the underlying service delivering the response.
Endpoint (Portfolio) |
---|
GET https://direct.dnb.com/V{version}/assets/{assetid} |
Testing
This operation will function the same regardless of the environment. Portfolio operation requests made in the D&B Direct sandbox (test) environment will return results based on any previous product calls performed using sandbox credentials.
Feature Response
NOTE: The D&B Direct REST implementation uses the BadgerFish approach for JSON with some minor variations.
Specification
The following is a list of the possible data fields returned by this operation in the JSON 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.
{"RetrievePortfolioAssetResponse": { "@ServiceVersionNumber": "", "TransactionDetail": { "ApplicationTransactionID": null, "ServiceTransactionID": "Id-064975ca527ba8e010fb470b-1", "TransactionTimestamp": "2013-11-07T09:51:12.299-05:00" }, "TransactionResult": { "SeverityText": "Information", "ResultID": "CM000", "ResultText": "Success" }, "RetrievePortfolioAssetResponseDetail": { "SubjectDetail": { "DUNSNumber": "241019574", "OrganizationPrimaryName": {"OrganizationName": {"$": "Canadian Test Case 5"}}, "PrimaryAddress": { "StreetAddressLine": [{"LineText": "5770 Hurontario St"}], "PrimaryTownName": "MISSISSAUGA", "CountryISOAlpha2Code": "CA", "FullPostalCode": "L5R 3G5" } }, "OrderTimestamp": "2013-11-07T09:49:49.009-05:00", "ApplicationTransactionID": "Id-238fa04b527ba88c13cb742e-2", "Product": [ { "ArchiveDetail": { "ExtendArchivePeriodIndicator": false, "PortfolioAssetID": 35875432 }, "DNBProductID": "DCP_STD", "DNBProductName": "Firmographics Marketing Basic", "UserReadIndicator": false, "GroupAdminReadIndicator": false, "ObjectAttachment": [ { "ContentObject": "PE9yZGVyUHJvZHVjdFJlc3BvbnNlRGV0YWlsIHhtbG5zOnNvYXBlbnY9Imh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3NvYXAvZW52ZWxvcGUvIiB4bWxuczpjdXM9Imh0dHA6Ly9zZXJ2aWNlcy5kbmIuY29tL0N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VzaW5lc3NJbmRpY2F0b3I+ZmFsc2U8L1NtYWxsQnVzaW5lc3NJbmRpY2F0b3I+PE93bmVyc2hpcEV0aG5pY2l0eT4KICAgICAgICA8RXRobmljaXR5VHlwZVRleHQgRE5CQ29kZVZhbHVlPSIwIj5Vbmtub3duPC9FdGhuaWNpdHlUeXBlVGV4dD4KICAgICAgPC9Pd25lcnNoaXBFdGhuaWNpdHk+PC9Tb2Npb0Vjb25vbWljSWRlbnRpZmljYXRpb24+PC9Pcmdhbml6YXRpb24+PC9Qcm9kdWN0PjwvT3JkZXJQcm9kdWN0UmVzcG9uc2VEZXRhaWw+", "ObjectFormatTypeText": { "@DNBCodeValue": 7004, "$": "7004" } }] }] } }}
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, CM004, PT001, and SC001-SC009.
Operation-specific supplemental response code explanations:
PT001 | No Portfolio item found for given portfolio identifier or investigation tracking ID or item removed from archive. |
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.
Feature Notes
While the portfolio feature is utilized by other D&B services, only items created by D&B Direct can be managed using this service.
The portfolio feature is also utilized by the D&B Direct Investigation Service.