Bookshelf Home | Contents | Index | PDF |
Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Service API Calls > HistoryQueryPageExecutes a query against the Recently Viewed records section in the Action bar, and returns a subset of the records that match the search criteria set by the method arguments. UsageYou use the HistoryQueryPage method to read the records that are displayed in the Recently Viewed records section in the Action bar in the Oracle CRM On Demand application. The following are attributes of the <ListOfHistoryItem> element that you can specify:
Each of the child elements of <ListOfHistoryItem> can have the following attributes:
The following are attributes of the <HistoryItemData> element that can be returned:
ArgumentsTable 55 describes the arguments taken by the HistoryQueryPage method.
Return Value of the CallA list of recently viewed records. The following are the child elements of ListOfHistory:
Sample SOAP Request - HistoryQueryPageThe following SOAP request retrieves all of the records 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:quer="urn:/crmondemand/xml/historyitem/Query"> <quer:CreatedById></quer:CreatedById> <quer:CreatedDate></quer:CreatedDate> <quer:CreatedBy></quer:CreatedBy> <quer:ModifiedById></quer:ModifiedById> <quer:ModifiedDate></quer:ModifiedDate> <quer:ModifiedBy></quer:ModifiedBy> <quer:ObjectName></quer:ObjectName> <quer:ObjectId></quer:ObjectId> <quer:ObjectDisplay></quer:ObjectDisplay> <quer:RecordCreated></quer:RecordCreated> <quer:RecordType></quer:RecordType> Sample SOAP Response - HistoryQueryPageThe following SOAP response contains ten items from the Recently Viewed list (only two items are shown): <?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:HistoryQueryPage_Output xmlns:ns="urn:crmondemand/ws/history/"> <ListOfHistoryItem lastpage="false" xmlns="urn:/crmondemand/xml/historyitem Data"> <CreatedById>1-CZ010</CreatedById> <CreatedDate>2018-01-02T08:18:03Z</CreatedDate> <CreatedBy>Tara Treadlightly, 01/02/2018 03:18:03</CreatedBy> <ModifiedById>1-CZ010</ModifiedById> <ModifiedDate>2018-01-02T08:18:03Z</ModifiedDate> <ModifiedBy>Tara Treadlightly, 01/02/2018 03:18:03</ModifiedBy> <ObjectName>ServiceQuota</ObjectName> <ObjectDisplay>Web Services Operations Allotment</ObjectDisplay> <RecordCreated>2018-01-02T08:18:03Z</RecordCreated> <CreatedById>1-CZ010</CreatedById> <CreatedDate>2018-01-02T08:18:03Z</CreatedDate> <CreatedBy>Tara Treadlightly, 01/02/2018 03:18:03</CreatedBy> <ModifiedById>1-CZ010</ModifiedById> <ModifiedDate>2018-01-02T08:18:03Z</ModifiedDate> <ModifiedBy>Tara Treadlightly, 01/02/2018 03:18:03</ModifiedBy> <ObjectName>Product</ObjectName> <ObjectId>1QA2-1AV5FQ</ObjectId> <ObjectDisplay>WSPRD2</ObjectDisplay> |
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. | |