Bookshelf Home | Contents | Index | PDF |
Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Service API Calls > UserUsageQueryPageExecutes a query against the list of Web Services utilization, and returns a subset of the records that match the search criteria set by the method arguments. UsageYou use the UserUsageQueryPage method to query the details of your company's Web services utilization. This is the same data that you can view on the Web Services Utilization page in the Oracle CRM On Demand application. As an example of how you might use this data, you might save the data in a CSV file and then import it into a spreadsheet. You could then use the spreadsheet to generate a report showing, for example, how often a user updates his or her records. In the input request, if you supply a value for UserId in the ListOfUserUsage argument, the method returns the utilization records for the specified user. If you do not have Administrator privileges, you can only specify your own user ID. If you do not supply a value for UserId in the input request, the method returns:
ArgumentsTable 66 describes the arguments taken by the UserUsageQueryPage method. Return Value of the CallThe following information is returned for each usage record. A list of Web service utilization. The following are the child elements of ListOfUserUsage:
Sample SOAP Request - UserUsageQueryPageThe following SOAP request returns the list of Web services utilization records. It also demonstrates the use of the optional <PageSize> and <StartRowNum> arguments to return only five records starting at row 2 (third record). <?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> <UserUsageWS_UserUsageQueryPage_Input xmlns="urn:crmondemand/ws/userusage/"> </UserUsageWS_UserUsageQueryPage_Input> Sample SOAP ResponseThe following illustrates the SOAP response. For brevity, a number of <UserUsage> elements are omitted as indicated by the ellipses (...). <?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:UserUsageWS_UserUsageQueryPage_Output xmlns:ns="urn:crmondemand/ws/userusage/"> <ns:LastPage>false</ns:LastPage> <ListOfUserUsage xmlns="urn:/crmondemand/xml/userusage"> <SessionId>ADSA-920RIQ</SessionId> <UserAlias>Joanne Brown</UserAlias> <WebServiceName></WebServiceName> <WebServiceNameSpace></WebServiceNameSpace> <StartTime>08/02/2011 13:53:00</StartTime> <EndTime>08/02/2011 13:53:00</EndTime> <InputMessageSize></InputMessageSize> <OutputMessageSize></OutputMessageSize> <SessionId>ADSA-921BAY</SessionId> <UserAlias>Joanne Brown</UserAlias> <WebServiceName></WebServiceName> <WebServiceNameSpace></WebServiceNameSpace> <StartTime>08/02/2011 14:38:15</StartTime> <EndTime>08/02/2011 14:38:15</EndTime> <InputMessageSize></InputMessageSize> <OutputMessageSize></OutputMessageSize> |
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. | |