Send Docs Feedback

View the status of transactions

View the status of transactions that occurred during a specified time range by issuing a GET request to the following resource:

/organizations/{org_name}/transactions/developers/{developer_email_or_id}

Where:

  • {org_name} specifies the name of the organization.
  • {developer_email_or_id} specifies the ID of the developer. To view a list of developers, see List Developers.

Specify one or more of the following query parameters:

Query Parameter Description Required
limit Maximum number of transaction records to return. This value must be set to a value less than or equal to 1000. Defaults to 1000. No
productId API product name. To view a list of API products for an organization, see List API Products. No
utctime

Start time in the format YYYY-MM-DD HH:mm:ss.

No
utctime2

End time in the format YYYY-MM-DD HH:mm:ss. This value must be no greater than 1 minute from the start time. In this case, the time range will be:

utctime <= txTime < utctime2

No

 

Note the following guidelines for time range values:

  • If the utctime2 end time is not specified, the time range will now be: (utctime - 5s) <= txTime < (utctime + 5s)
  • If no start or end times are provided, the time range defaults to the current time plus or minus 5 seconds.
  • If the utctime and utctime2 timestamps are equal, the time range will be the full second specified.
  • If the utctime is greater than utctime2, the time values are swapped.

For example, the following cURL call returns transactions for joe@example.com and myproduct that occurred during the specified time range. A maximum of 500 transactions are returned (limit=500).

curl -H "Content-Type: application/json" -X GET \ 
"https://api.enterprise.apigee.com/v1/mint/organizations/myorg/transactions/developers/joe@example.com?utctime=2016-05-25 00:55:00&utctime2=2016-05-25 00:55:05&productId=myproduct&limit=500" \ 
-u email:password

 

Help or comments?