Batch Update Resource Demands

put

/api/restapi/resourceDemand/batch

Send a request to this endpoint to update one or more resource demands.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : List<ApiEntityResourceDemandInput>
Type: array
Title: List<ApiEntityResourceDemandInput>
Show Source
  • ApiEntityResourceDemandInput
    Title: ApiEntityResourceDemandInput
    This entity represents a ResourceDemand object, a unique ResourceDemand object can be identified by the following combinations of the fields.
    • resourceDemandId
    • projectId,resourceId
    • resourceId,projectCode,workspaceCode
    • projectId,resourceCode,resourceClass,workspaceCode
    • projectCode,resourceCode,resourceClass,workspaceCode
Nested Schema : ApiEntityResourceDemandInput
Type: object
Title: ApiEntityResourceDemandInput
This entity represents a ResourceDemand object, a unique ResourceDemand object can be identified by the following combinations of the fields.
  • resourceDemandId
  • projectId,resourceId
  • resourceId,projectCode,workspaceCode
  • projectId,resourceCode,resourceClass,workspaceCode
  • projectCode,resourceCode,resourceClass,workspaceCode
Show Source
Nested Schema : resourceDemandData
Type: array
Data about demand for the resource.
Show Source
Nested Schema : ApiEntityResourceDemandDataInput
Type: object
Title: ApiEntityResourceDemandDataInput
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 Resource Demand service.
Back to Top