Create a Curve

post

/primeapi/restapi/curve

Send a request to this endpoint to create a curve. An application object will be created using the JSON data provided in the request body.

Request

Supported Media Types
Body ()
Curve that has to be created.
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

Response

Supported Media Types

201 Response

The object was successfully created.
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

400 Response

Invalid input for the Curve service. Verify the request contains valid data, then resubmit the request.