Table of Contents

Search

  1. Preface
  2. Informatica Intelligent Cloud Services REST API
  3. Platform REST API version 2 resources
  4. Platform REST API version 3 resources
  5. Data Integration REST API
  6. File Ingestion and Replication REST API
  7. Streaming Ingestion and Replication REST API
  8. Model Serve REST API
  9. RunAJob utility
  10. ParamSetCli utility
  11. REST API codes
  12. REST API resource quick references

REST API Reference

REST API Reference

Requesting project-level metering data

Requesting project-level metering data

You can run a job to export IPU consumption data by project and folder.
After the job starts, you can check the job status. For more information, see Getting the metering data export job status.
When the job completes successfully, you can send a request to download the data. The data file includes the following columns:

    Date

    Project

    Folder

    Org ID

    Org Type

    Consumption (IPUs)

POST request

To send the export job request, use the following URI:
/public/core/v3/license/metering/ExportMeteringData
The following table describes the fields to include in the request:
Field
Type
Required
Description
startDate
String
Yes
Start of the date range in ISO 8601 format. For example,
2022-08-12T00:00:00Z
endDate
String
Yes
End of the date range in ISO 8601 format.
When you request project-level data, the range can be a maximum of 30 days.
jobType
String
Yes
Type of metering data to export.
Use PROJECT_FOLDER.
combinedMeterUsage
String
-
Indicates whether to return usage information for all organizations in one CSV file. Include one of the following values:
  • TRUE. Return usage information for all organizations in one CSV file.
  • FALSE. Return usage information for each organization in a separate CSV file.
Default is FALSE.
allLinkedOrgs
String
-
Indicates whether to return usage information from the parent organization and all its linked organizations. Include one of the following values:
  • TRUE. Return usage information for the parent organization and all linked organizations.
  • FALSE. Return usage information for the parent organization only.
Default is FALSE.
callbackUrl
String
-
A valid, publicly available URL where the service posts the job status.

POST request example

You might use a request similar to the following example:
{ "startDate":"2024-08-12T00:00:00Z", "endDate":"2024-09-12T00:00:00Z", "jobType":"PROJECT_FOLDER", "combinedMeterUsage":"TRUE", "allLinkedOrgs":"TRUE", "callbackUrl":"https://MyExportJobStatus.com" }

POST response

The following table describes the response fields:
Field
Type
Description
jobID
String
ID of the export job.
status
String
Status of the export job.
orgId
String
Organization ID for the requesting organization.
userId
String
ID of the user who sent the request.
selectedOrgId
String
Organization ID for the requesting organization.
meterId
String
Meter ID.
startDate
String
Start of the date range.
endDate
String
End of the date range.
callbackUrl
String
URL that the service uses to post the job status.
createTime
String
Time the export job was created.
updateTime
String
Time the export job was last updated.

POST response example

If successful, you might receive a response similar to the following example:
{ "jobId": "cYjwJNEF7OckWEmkSC1tSI", "status": "CREATED", "orgId": "4wMFqGlxAKVlIFTixlTSOY", "userId": "aMxRLnYzdWtlkJvDbtPZOr", "selectedOrgId": "4wMFqGlxAKVlIFTixlTSOY", "meterId": null, "startDate": "2024-08-12T00:00:00Z", "endDate": "2024-09-12T00:00:00Z", "callbackUrl": "https://MyExportJobStatus.com", "createTime": "2024-09-12T23:21:19Z", "updateTime": "2024-09-12T23:21:19Z" }

0 COMMENTS

We’d like to hear from you!