qBool GetApiCalls( ProtocolCallContext * pContext, qList< ApiCallData > * pApiCallDatas, qList< PrincipalID > & principalIds, DateTime sinceTime = DateTime::Never, DateTime untilTime = DateTime::Never );
Name | Description | |
---|---|---|
in | pContext |
Call information. |
out | pApiCallDatas |
The obtained API call log. |
in | principalIds |
A list of principal IDs. |
in | sinceTime |
A specified time. |
in | untilTime |
A specified time. |
Value | Description |
---|---|
true |
RMC call initialization succeeded. |
false |
Failure. |
Gets a log of the API calls by the server.
Gets a list that is a log of API calls, based on the specified conditions. The list shows the calls in the order they were made.
For the conditions for the function calls to get, you can specify a call time and the principal ID of the called client.
To get a log of calls made after a specified time, specify a value for sinceTime
. Similarly, to get a log of calls made before a specified time, specify a value for untilTime
. If you do not want to specify a time frame, pass DateTime::Never
as the argument.
To get the log for specific principal IDs, set a list of the principal IDs that you want in principalId
s. Provide an empty list for the argument if you do not intend to specify anything.
The asynchronous process might return the following results.
QERROR(RendezVous, InvalidConfiguration)
: The API call log feature has been disabled.
GetAPICalls
to GetApiCalls
.
QERROR(RendezVous, InvalidConfiguration)
when the function call log feature is disabled.CONFIDENTIAL