Update a Project Resource Work Rate
put
/api/restapi/projectResourceWorkRate
Send a request to this endpoint to update a project resource work rate.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityProjectResourceWorkRateInput
Type:
object
Title:
ApiEntityProjectResourceWorkRateInput
This entity represents a ProjectResourceWorkRate object, a unique ProjectResourceWorkRate object can be identified by the following combinations of the fields.
Show Source
- projectResourceWorkRateId
- effectiveStartDate,projectResourceId
- effectiveStartDate,resourceId,projectCode,workspaceCode
- effectiveStartDate,resourceCode,resourceClass,projectId
- effectiveStartDate,resourceCode,resourceClass,projectCode,workspaceCode
-
effectiveStartDate(required): string
(date-time)
Date that the corresponding units/time period and rates go into effect for the resource or role.
-
maxUnitsPerTime(required): number
(double)
Maximum work units per time the resource or role can perform on all their assigned activities.
-
projectCode: string
Minimum Length:
1
Maximum Length:60
The code of a project of a project resource. -
projectId(required): integer
(int64)
The unique identifier for the project.The project object can also be identified by its unique criteria.
-
projectResourceId: integer
(int64)
The unique identifier of a project resource.
-
projectResourceWorkRateCost:
projectResourceWorkRateCost
An entity containing the price per unit fields of a project resource work rate.
-
projectResourceWorkRateId: integer
(int64)
The unique identifier of a project work rate.
-
resourceClass: string
Allowed Values:
[ "RESOURCE", "ROLE" ]
The class identifies the item as a resource or a role. -
resourceCode: string
Minimum Length:
1
Maximum Length:60
The code of a resource of a project resource. -
resourceId(required): integer
(int64)
The unique identifier for the resource.The resource object can also be identified by its unique criteria.
-
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The code of a workspace of a project resource.
Nested Schema : projectResourceWorkRateCost
An entity containing the price per unit fields of a project resource work rate.
Match All
An entity containing the price per unit fields of a project resource work rate.
Show Source
-
object
ApiEntityProjectResourceWorkRateCostInput
Title:
ApiEntityProjectResourceWorkRateCostInput
Nested Schema : ApiEntityProjectResourceWorkRateCostInput
Type:
object
Title:
Show Source
ApiEntityProjectResourceWorkRateCostInput
-
pricePerUnit1Project: number
(double)
The price per unit associated with the resource or role. The price per unit is used to calculate costs for resources or roles assigned to activities.
-
pricePerUnit2Project: number
(double)
The price per unit associated with the resource or role. The price per unit is used to calculate costs for resources or roles assigned to activities.
-
pricePerUnit3Project: number
(double)
The price per unit associated with the resource or role. The price per unit is used to calculate costs for resources or roles assigned to activities.
-
pricePerUnit4Project: number
(double)
The price per unit associated with the resource or role. The price per unit is used to calculate costs for resources or roles assigned to activities.
-
pricePerUnit5Project: number
(double)
The price per unit associated with the resource or role. The price per unit is used to calculate costs for resources or roles assigned to activities.
Examples
Back to Top
Response
204 Response
Successful operation with no content.
400 Response
Invalid input.