function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
qmanqman 

GetDeleted with Office Toolkit

Hi,

When I use the Office Toolkit to do a GetDeleted call on Account,  I get back from the toolkit an array of Account objects instead of an array of DeletedRecords objects.  How do I access the deletedDate field since it doesn't appear in the returned Account object ?

Thanks,

Bill

Ron HessRon Hess

I don't use this call so I can't say for sure how to get the deleted date, however i have found that I get back different, sometimes better error messages when using newer endpoints, this may not help in your case.

have you tried server URL

https://www.salesforce.com/services/Soap/c/5.0

or

https://www.salesforce.com/services/Soap/c/6.0

i think the default in the toolkit is still 4.0

qmanqman

Thanks Ron for the suggestion, but there still is no deletedDate field while using the later endpoints.

Where is the deletedDate field passed when using the Office toolkit ?

Thanks,

Bill

Ron HessRon Hess
The toolkit API is not the same as the SOAP API, i think you should file a bug on this as I don't see any way to get at the deleted date unless it is the "lastModified" date of the deleted account object.