Get usage csv by projectHrn
You can use the projectHrn to get your usage amount, in csv format, as shown in this tutorial. You can find your project HRN in the platform Launcher by selecting the Projects Manager option. A table of project HRNs are then displayed, and you can find the correct project HRN for your request in the list.
This example uses org123456789 as the
realmId and hrn:here:authorization::myorganization:project/my-project-0000 as the
The parameters shown here are necessary for this request. For a complete list of parameters, see the Tutorials overview.
|realmId required ||string [ 5 .. 30 ] characters |
Your org ID.
Start date for a search.
End date for a search.
|projectHrn ||string less than or equal to 256 characters |
The HRN which identifies the project.
|X-Request-ID ||string |
User-provided token that can be used to trace a request or a group of requests sent to the service.
Auto-generated ID, which uniquely identifies the request, available in the response. When contacting the support with an inquiry regarding a specific request, provide the value of this header; This will help troubleshooting the issue.
Response: HTTP 200 OK
The response in csv format lists the following columns:
- Category (
category): The category is the name of the service you have selected, such as location services, content, SDKs, data, or pipelines, for which you are billed.
- Service or Resource Name: The service, such as Navigate SDK, Network Positioning, 3D Buildings.
- Billing Tag (
billingTag): a user defined unique string used for combining costs.
- Project ID (
projectHrn): (Optional) A unique identifier to manage work and resources that can be applied. This is also known as the project HRN.
- Start date (
startDate): The start date of the usage.
- End date (
endDate): The end date of the usage.
- Usage amount (
billableValue): How much billable usage has accrued.
- Unit (
valueDriver): The unit which is billable, for example GB.
- Rate per Unit: The rate per unit that you are charged.
- Total Price: The calculated cost of your usage.
For partners, an additional column is added in the csv output. The additional column is the name of the organization, which is the
More information can be found in the Usage API Reference.