Batch Update Curves

put

/api/restapi/curve/batch

Send a request to this endpoint to update one or more curves. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.

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
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

200 Response

A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://[host]:[port]/api/restapi/[object]/1","2":"https://[host]:[port]/api/restapi/[object]/2"}}

400 Response

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