GET /api/cloud/1.0/apps/{id}/logs

Retrieves an app's outbound logs. This endpoint can be used to retrieve logs for apps across different pods, while the logs page in the Eloqua interface is limited only to displaying outbound requests for your instance and other clients on your pod.

This endpoint orders results by the request date, where the latest outbound requests are ordered first. The outbound logs returned in the request will differ depending on the authentication used to access the endpoint.

If authenticated using oAuth:

  • The outbound logs for a provider's apps are displayed. Attempting to access logs for other apps will return a 403 forbidden response code.

If authenticated using basic authentication:

  • You can access logs for each app within your instance.

URL parameters

name type description
id GUID The AppId of the app log you are retrieving.
serviceInstanceId GUID The service instance Id of the app you are retrieving.
startDate dateTime (10 digit integer Unix time) The start date to filter outbound logs.
endDate dateTime (10 digit integer Unix time) The end date to filter outbound logs.
limit integer A URL parameter that specifies the maximum number of records to return.
offset integer Specifies an offset that allows to retrieve the next batch of records.
totalResults boolean A URL parameter that captures the total number of records that satisfy the request. This is not the count returned in the current response, but total count on the server side.

Request Body

None.

Example

Example: Retrieve the outbound logs for the App configuration with GUID 7b95fe48-6598-43e8-8fd1-dcb40cf83ef6
GET /api/cloud/1.0/apps/7b95fe48-6598-43e8-8fd1-dcb40cf83ef6/logs