Create a Resource Demand

post

/api/restapi/resourceDemand

Send a request to this endpoint to create a resource demand.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root 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 : resourceDemandCost
Read Only: true
Deprecated. As of 24.4.
The total cost associated with the role's demand. This is calculated based on the standard role rates.
Match All
Show Source
Nested Schema : resourceDemandData
Type: array
Data about demand for the resource.
Show Source
Nested Schema : ApiEntityResourceDemandCostInput
Type: object
Title: ApiEntityResourceDemandCostInput
Read Only: true
Show Source
  • The total cost associated with the role's committed units. This is calculated based on the standard role rates. This field is in base currency and is calculated from committedCostProject field based on the specified exchange rate.
  • The total cost associated with the role's committed units in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The total cost associated with the role's demand. This is calculated based on the standard role rates. This field is in base currency and is calculated from demandCostProject field based on the specified exchange rate.
  • The total cost associated with the role's demand in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The unique identifier of the demand. This value should not be provided in create operation request data, however, it is required for update requests.
  • The unique identifier for the project.
  • The total cost associated with the role's proposed allocation units. This is calculated based on the standard role rates. This field is in base currency and is calculated from proposedCostProject field based on the specified exchange rate.
  • The total cost associated with the role's proposed allocation units in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The unique identifier of the assigned role.
  • Read Only: true
    Deprecated. As of 23.10.
    Date when the record was last updated.
Nested Schema : ApiEntityResourceDemandDataInput
Type: object
Title: ApiEntityResourceDemandDataInput
Show Source
Nested Schema : resourceDemandDataCost
Read Only: true
Deprecated. As of 24.4.
The total cost associated with the role's demand. This is calculated based on the standard role rates.
Match All
Show Source
Nested Schema : ApiEntityResourceDemandDataCostInput
Type: object
Title: ApiEntityResourceDemandDataCostInput
Read Only: true
Show Source
  • The total cost associated with the role's committed units. This is calculated based on the standard role rates. This field is in base currency and is calculated from committedCostProject field based on the specified exchange rate.
  • The total cost associated with the role's committed units in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The total cost associated with the role's demand. This is calculated based on the standard role rates. This field is in base currency and is calculated from demandCostProject field based on the specified exchange rate.
  • The total cost associated with the role's demand in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The unique identifier for the weekly demand data.
  • The total cost associated with the role's proposed allocation units. This is calculated based on the standard role rates.?? This field is in base currency and is calculated from proposedCostProject field based on the specified exchange rate.
  • The total cost associated with the role's proposed allocation units in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • Read Only: true
    Deprecated. As of 23.10.
    Date when the record was last updated.
Examples

Back to Top

Response

Supported Media Types

201 Response

The object was successfully created.
Body ()
Root Schema : ApiEntityResourceDemand
Type: object
Title: ApiEntityResourceDemand
Show Source
Nested Schema : resourceDemandCost
The total cost associated with the role's demand. This is calculated based on the standard role rates.
Match All
Show Source
Nested Schema : resourceDemandData
Type: array
Data about demand for the resource.
Show Source
Nested Schema : ApiEntityResourceDemandCost
Type: object
Title: ApiEntityResourceDemandCost
Show Source
  • The total cost associated with the role's committed units. This is calculated based on the standard role rates. This field is in base currency and is calculated from committedCostProject field based on the specified exchange rate.
  • The total cost associated with the role's committed units in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The total cost associated with the role's demand. This is calculated based on the standard role rates. This field is in base currency and is calculated from demandCostProject field based on the specified exchange rate.
  • The total cost associated with the role's demand in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The unique identifier of the demand. This value should not be provided in create operation request data, however, it is required for update requests.
  • The unique identifier for the project.
  • The total cost associated with the role's proposed allocation units. This is calculated based on the standard role rates. This field is in base currency and is calculated from proposedCostProject field based on the specified exchange rate.
  • The total cost associated with the role's proposed allocation units in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The unique identifier of the assigned role.
  • Date when the record was last updated.
Nested Schema : ApiEntityResourceDemandData
Type: object
Title: ApiEntityResourceDemandData
Show Source
Nested Schema : resourceDemandDataCost
The total cost associated with the role's demand. This is calculated based on the standard role rates.
Match All
Show Source
Nested Schema : ApiEntityResourceDemandDataCost
Type: object
Title: ApiEntityResourceDemandDataCost
Show Source
  • The total cost associated with the role's committed units. This is calculated based on the standard role rates. This field is in base currency and is calculated from committedCostProject field based on the specified exchange rate.
  • The total cost associated with the role's committed units in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The total cost associated with the role's demand. This is calculated based on the standard role rates. This field is in base currency and is calculated from demandCostProject field based on the specified exchange rate.
  • The total cost associated with the role's demand in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • The unique identifier for the weekly demand data.
  • The total cost associated with the role's proposed allocation units. This is calculated based on the standard role rates.?? This field is in base currency and is calculated from proposedCostProject field based on the specified exchange rate.
  • The total cost associated with the role's proposed allocation units in a project. This is calculated based on the standard role rates. This value is based on the project currency.
  • Date when the record was last updated.

400 Response

Invalid input for the Resource Demand service.
Back to Top