Bookshelf Home | Contents | Index | PDF |
Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Service API Calls > GetListsGets the set of lists that the current user has access to for a specified object. UsageYou use the GetLists method to query the details of the lists for an object. The ObjectName argument specifies the object to be queried. The names of public and private lists to which the user has access is returned. The set of list names is equivalent to the set of list names visible to the user in the Manage Lists page UI. ListQueryPage is supported for all objects that support list management. The list names returned can be used in a QueryPage operation to retrieve the set of records matching the list filter criteria. ArgumentsTable 50 describes the arguments taken by the GetLists method: Return Value of the CallThe following information is returned for each list:
Sample SOAP Request - GetListsThe following SOAP request retrieves the set of lists visible to the authenticated user for the account record type as specified in the <ObjectName> argument: <?xml version="1.0" encoding="utf-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <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> <ListsWS_GetLists_Input xmlns="urn:crmondemand/ws/lists/"> <ObjectName>Account</ObjectName> Sample SOAP ResponseThe following response contains the lists for the account object: <?xml version="1.0" encoding="utf-8"?> <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:ListsWS_GetLists_Output xmlns:ns="urn:crmondemand/ws/lists/"> <ListofLists xmlns="urn:/crmondemand/xml/lists"> <Name>All Account Competitor Accounts</Name> <Name>All Account Partner Accounts</Name> <Name>All Customer Accounts</Name> <Name>All Prospect Accounts</Name> <Name>All Referenceable Accounts</Name> <Name>My Recently Created Accounts</Name> <Name>My Recently Modified Accounts</Name> <Name>Recently Created Accounts</Name> |
Oracle Web Services On Demand Guide, Version 20.0 (Oracle CRM On Demand Release 32) | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |