Docs

Get Composite Cost

GET /resourceTypes/{resourceTypeId}/composite-cost?variantId={variantId}

GET/resourceTypes/{resourceTypeId}/composite-cost?variantId={variantId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

The rolled-up cost a composite's rate card shows in place of its own cost (R7). Each component's card is its pinned variant's, else its target type's default. Rates are summed by state and period, times the component quantity. Minimums and clocks aren't rolled up. variantId is optional; without it the base variant applies.

Requires EventBasicAccess permission on the event.

Response

200 OK with { rows: [{ resourceStateId, period, costFixed, costVariable, isPartial }], missing: [{ componentId, label }] }. isPartial is true when a component has no card or no rate at that state and period.

Error Codes

HTTP StatusDescription
400The type isn't composite.
404Type or variant not found.
403Missing permission.