Batch Update Reasons

put

/api/restapi/reason/batch

Send a request to this endpoint to update one or more reasons.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityReasonInput>
Type: array
Title: List<ApiEntityReasonInput>
Show Source
  • ApiEntityReasonInput
    Title: ApiEntityReasonInput
    This entity represents a Reason object, a unique Reason object can be identified by the following combinations of the fields.
    • reasonId
    • reasonName,workspaceId
    • reasonName,workspaceCode
Nested Schema : ApiEntityReasonInput
Type: object
Title: ApiEntityReasonInput
This entity represents a Reason object, a unique Reason object can be identified by the following combinations of the fields.
  • reasonId
  • reasonName,workspaceId
  • reasonName,workspaceCode
Show Source
Nested Schema : appliesTo
Type: array
Indicates the type of object the reason is associated to.
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 a baseline reason.
Back to Top