View a Curve by Workspace and Name

get

/primeapi/restapi/curve/workspace/{workspaceId}/name/{curveName}

This endpoint returns curves that meet the following requirements:
  • The object belongs to a workspace with an ID value that matches the value of the {workspaceId} path parameter.
  • The object has a name that matches the value of the {name} path parameter.

Request

Path Parameters

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : ApiEntityCurve
Type: object
Show Source
Nested Schema : buckets
Type: array
Unique Items Required: true
The buckets of a cost curve.
Show Source
Nested Schema : ApiEntityCurveBucket
Type: object
Show Source

404 Response

The requested curve does not exist, or you do not have access to it.