Batch Create Curves

post

/api/restapi/curve/batch

Send a request to this endpoint to create one or more curves. An application object will be created for each JSON object provided in the request body.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityCurveInput>
Type: array
Title: List<ApiEntityCurveInput>
Show Source
  • ApiEntityCurveInput
    Title: ApiEntityCurveInput
    This entity represents a Curve object, a unique Curve object can be identified by the following combinations of the fields.
    • curveId
    • curveName,workspaceId
    • curveName,workspaceCode
Nested Schema : ApiEntityCurveInput
Type: object
Title: ApiEntityCurveInput
This entity represents a Curve object, a unique Curve object can be identified by the following combinations of the fields.
  • curveId
  • curveName,workspaceId
  • curveName,workspaceCode
Show Source
  • Read Only: true
    Allowed Values: [ "OWNED", "INHERITED" ]
    Deprecated. As of 24.5.
    The type of association in the relationship between the curve and the workspace. Possible values are Owned and Inherited.
  • buckets
    The buckets of a cost curve.
  • The unique identifier of a curve.
  • Minimum Length: 1
    Maximum Length: 255
    The name of the curve profile.
  • Read Only: true
    Deprecated. As of 24.5.
    The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
  • Allowed Values: [ "MANUAL", "AUTOMATIC" ]
    It describes how data is shared between parent and child workspaces.
    Manual: Data can be pulled down by child workspaces. This is the default option.
    Automatic: Data is automatically shared with all child workspaces.
  • Read Only: true
    Deprecated. As of 24.5.
    Date when the record was last updated.
  • Minimum Length: 0
    Maximum Length: 60
    The user-specified identifier of a workspace.
  • The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Nested Schema : buckets
Type: array
The buckets of a cost curve.
Show Source
Nested Schema : ApiEntityCurveBucketInput
Type: object
Title: ApiEntityCurveBucketInput
Show Source
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : List<ApiEntityCurve>
Type: array
Title: List<ApiEntityCurve>
Show Source
Nested Schema : ApiEntityCurve
Type: object
Title: ApiEntityCurve
Show Source
Nested Schema : buckets
Type: array
The buckets of a cost curve.
Show Source
Nested Schema : ApiEntityCurveBucket
Type: object
Title: ApiEntityCurveBucket
Show Source

400 Response

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