Delete Portfolio Asset
|Products||D&B Direct 2.0, D&B Direct Onboard|
|Product Code(s)||Not Applicable|
|Initial Release||October 3, 2013|
Allows a customer to manually remove a previously ordered product from the Portfolio; however, items are automatically removed when they expire.
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).
IMPORTANT: Please see the new Online Services Security Enhancement Release, effective November 09, 2020.
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.
<soapenv:Envelope xmlns:por="http://services.dnb.com/PortfolioServiceV2.0" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <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-1"> <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">Password</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <por:ArchivePortfolioAssetRequest ServiceVersionNumber="2.0"> <ArchivePortfolioAssetRequestDetail> <Product> <DNBProductID>BIR</DNBProductID> </Product> <ProductSpecificDetail> <AdditionalParameter> <ParameterDescription>FirstName</ParameterDescription> <ParameterValue>John</ParameterValue> </AdditionalParameter> <AdditionalParameter> <ParameterDescription>LastName</ParameterDescription> <ParameterValue>Doe</ParameterValue> </AdditionalParameter> <AdditionalParameter> <ParameterDescription>Organization</ParameterDescription> <ParameterValue>Gorman Manufacturing</ParameterValue> </AdditionalParameter> <AdditionalParameter> <ParameterDescription>Country</ParameterDescription> <ParameterValue>US</ParameterValue> </AdditionalParameter> </ProductSpecificDetail> </ArchivePortfolioAssetRequestDetail> </por:ArchivePortfolioAssetRequest> </soapenv:Body> </soapenv:Envelope>
|DeletePortfolioAssetRequest. TransactionDetail||Aggregate, Optional|
|DeletePortfolioAssetRequest. TransactionDetail. ApplicationTransactionID||string up to 64 chars., Optional|
|DeletePortfolioAssetRequest. TransactionDetail. TransactionTimestamp||dateTime, Optional|
|DeletePortfolioAssetRequest. TransactionDetail. SubmittingOfficeID||string up to 64 chars., Optional|
|END: DeletePortfolioAssetRequest. TransactionDetail||/Aggregate|
|DeletePortfolioAssetRequest. DeletePortfolioAssetRequestDetail||Aggregate, Optional|
|DeletePortfolioAssetRequest. DeletePortfolioAssetRequestDetail. PortfolioAssetID||PortfolioAssetIDType, Required|
An identifier which unqiuely identifies a report in the users portfolio.
Use the following endpoint with the downloadable WSDL to request this feature.
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.
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/"> <soapenv:Body> <por:ArchivePortfolioAssetResponse xmlns:por="http://services.dnb.com/PortfolioServiceV2.0"> <TransactionDetail> <ApplicationTransactionID/> <TransactionTimestamp>2013-11-06T16:41:14.329-05:00</TransactionTimestamp> </TransactionDetail> <TransactionResult> <SeverityText>Information</SeverityText> <ResultID>CM000</ResultID> <ResultText>Success</ResultText> </TransactionResult> <ArchivePortfolioAssetResponseDetail> <PortfolioAssetID>4814227</PortfolioAssetID> </ArchivePortfolioAssetResponseDetail> </por:ArchivePortfolioAssetResponse> </soapenv:Body> </soapenv:Envelope>
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 asset not found for given portfolio asset identifier or investigation tracking ID or asset 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.
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.