DeletedItemQueryPage
Returns details of deleted items.
Objects Supported
DeletedItemQueryPage is supported for all Web Services v1.0 and Web Services v2.0 accessible objects that can be deleted.
Usage
You use the DeletedItemQueryPage method to execute a query against the list of deleted records, and return a subset of the records that match the search criteria set by the method arguments.
The set of records returned is sorted by DeletedDate in ascending order (as shown in the response in Sample SOAP Request - DeletedItemQueryPage).
The Type of the DeletedItems object returned by the DeletedItemQueryPage method is not always the same as that used in the UI of the Oracle CRM On Demand application, as shown in the following table.
You must use the types shown in the table in queries for deleted item records. (The type is language independent.)
UI Record Type | Deleted Item Type |
---|---|
Account |
Account |
Account Attachment |
Account Attachment |
Account Note |
Account Note |
Account Private Note |
Account Private Note |
Action Attachment |
Action Attachment |
Address |
Address |
Appointment |
Action***Appointment |
Asset |
Asset Mgmt - Asset |
Campaign |
Campaign |
Campaign Attachment |
Campaign Attachment |
Campaign Note |
Campaign Note |
Channel Partner |
Channel Partner |
Contact |
Contact |
Contact Attachment |
Contact Attachment |
Contact Interest |
Contact Interests |
Contact Note |
Contact Note |
Contact Private Note |
Contact Private Note |
Custom Object 01 |
OnDemand Custom Object 1 |
Custom Object 02 |
OnDemand Custom Object 2 |
Custom Object 03 |
OnDemand Custom Object 3 |
Custom Object n (where n = 04 and higher) |
CustomObjectn (where n = 4 and higher) |
Custom Object 01 Attachment |
OnDemand Custom Object 1 Attachment |
Custom Object 02 Attachment |
OnDemand Custom Object 2 Attachment |
Custom Object 03 Attachment |
OnDemand Custom Object 3 Attachment |
Custom Object 01 Note |
OnDemand Custom Object 1 Note |
Custom Object 02 Note |
OnDemand Custom Object 2 Note |
Custom Object 03 Note |
OnDemand Custom Object 3 Note |
Dealer Attachment |
Dealer Attachment |
Dealer Note |
Dealer Note |
Event |
Pharma ME Event |
Forecast Revenue |
Forecast Revenue |
Fund |
Fund |
Fund Attachment |
Fund Attachment |
Fund Note |
Fund Note |
Fund Request |
Fund Request |
Fund Request Attachment |
Fund Request Attachment |
Fund Request Note |
Fund Request Note |
Household |
Household |
Lead |
Lead |
Lead Attachment |
Lead Attachment |
Note |
Note |
Opportunity |
Opportunity |
Opportunity Attachment |
Opportunity Attachment |
Opportunity Note |
Opportunity Note |
Opportunity Private Note |
Opportunity Private Note |
Organization |
Organization |
Organizations Note |
Organizations Note |
Plan Account |
CRMODLS_BPL_ACNT |
Portfolio |
VONDINS Portfolio***Portfolio |
Portfolio Child |
VONDINS Portfolio Child***Portfolio |
Position |
Position |
Product Detailed |
Pharma Call Product Detailed |
Referral |
VONDINS Referral***Referral |
Revenue |
Revenue |
Sales Stage Attachment |
Sales Stage Attachment |
Sample Dropped |
Pharma Call Sample Dropped |
Service Request |
Service Request |
Service Request Attachment |
Service Request Attachment |
Service Request Note |
Service Request Note |
Smart Call |
Pharma Template Call |
Solution |
Solution |
Solution Attachment |
Solution Attachment |
Task |
Action***Task |
Vehicle |
Auto Vehicle |
Arguments
The following table describes the arguments taken by the DeletedItemQueryPage method.
Name | Description | Required | Default | I/O |
---|---|---|---|---|
ListOfDeletedItem |
The list of object instances queried (input), and after query execution, the list of object instances returned (output). |
Yes |
Not applicable |
Input/Output |
PageSize |
The maximum number of records displayed on a page following a query. |
No |
10 |
Input |
StartRowNum |
Indicates the row from which the DeletedItemQueryPage method starts to return records. Use the StartRowNum argument to return a set of records for any given method. For example, if PageSize=100 and you want to return records 1-100, you set StartRowNum to 0. Then, if you want to return records 101-200, you set StartRowNum to 100, and run the query again. You continue doing this until the last page is returned. In this way, you can return all records for a particular query. |
No |
0 |
Input |
LastPage |
A value that indicates whether or not the last value in the query set has been returned. |
Not applicable |
Not applicable |
Output |
Return Value of the Call
The following information is returned for deleted items:
DeletedItemId. The ID of the deleted item.
DeletedById. The user ID of the user who deleted the item.
DeletedBy. The name of the user who deleted the item.
DeletedDate. The date on which the item was deleted.
Name. The name of the deleted record.
ObjectId. The object ID of the deleted record.
Type. The type of the deleted record.
ExternalSystemId. The external system ID of the item.