report usageRecordGroup
POST https://api.suger.cloud/org/{orgId}/entitlement/{entitlementId}/usageRecordGroup
Provide the ID in the request body CreateUsageRecordGroupParams so the report can be deduplicated. Duplicate reports return error code 409.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
entitlementId | path | string | yes | Entitlement ID |
Request Body
Required. Content-Type: application/json · Schema: CreateUsageRecordGroupParams
Responses
200 — OK
Content-Type: application/json · Schema: MeteringUsageRecordGroup
400 — all the quantity of usage records are zero
Content-Type: application/json
500 — Internal server error
Content-Type: application/json