Bookshelf Home | Contents | Index | PDF |
Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Service API Calls > HistoryDeleteDeletes entries from the Recently Viewed records section in the Action bar. UsageYou use the HistoryDelete method to delete records from the Recently Viewed records section in the Action bar in the Oracle CRM On Demand application. For delete operations, the user keys are either of: ArgumentsTable 53 describes the arguments taken by the HistoryDelete method.
Return Value of the CallThe deleted records with their status key fields are returned. Sample SOAP Request - HistoryDeleteThe following SOAP request deletes a record with the <Id> value of 1QA2-34ISOM from the Recently Viewed list: <?xml version="1.0" encoding="utf-8" standalone="no"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:his="urn:crmondemand/ws/history/" xmlns:data="urn:/crmondemand/xml/historyitem/Data"> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>%%%USERNAME%%%<</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> <data:Id>1QA2-34ISOM</data:Id> Sample SOAP Response - HistoryDeleteThe following SOAP response contains the deleted record with its status key fields: <?xml version="1.0" encoding="utf-8" standalone="no"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ns:HistoryDelete_Output xmlns:ns="urn:crmondemand/ws/history/"> <ListOfHistoryItem xmlns="urn:/crmondemand/xml/historyitem/Data"> <CreatedById>1-CZ010</CreatedById> <CreatedDate>2018-05-18T09:59:42Z</CreatedDate> <CreatedBy>Tara Treadlightly, 05/18/2018 05:59:42</CreatedBy> <ModifiedById>1-CZ010</ModifiedById> <ModifiedDate>2018-05-18T10:15:30Z</ModifiedDate> <ModifiedBy>Tara Treadlightly, 05/18/2018 06:15:30</ModifiedBy> |
Oracle Web Services On Demand Guide, Version 25.0 (Oracle CRM On Demand Release 37) | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |