Batch Create Project Resource Work Rates
post
/api/restapi/projectResourceWorkRate/batch
Send a request to this endpoint to create one or more project resource work rates.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityProjectResourceWorkRateInput>
Type:
array
Title:
Show Source
List<ApiEntityProjectResourceWorkRateInput>
-
Array of:
object ApiEntityProjectResourceWorkRateInput
Title:
ApiEntityProjectResourceWorkRateInput
This entity represents a ProjectResourceWorkRate object, a unique ProjectResourceWorkRate object can be identified by the following combinations of the fields.- projectResourceWorkRateId
- effectiveStartDate,projectResourceId
- effectiveStartDate,resourceId,projectCode,workspaceCode
- effectiveStartDate,resourceCode,resourceClass,projectId
- effectiveStartDate,resourceCode,resourceClass,projectCode,workspaceCode
Nested 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.
-
link: string(url)Read Only:true
Deprecated. As of 23.10.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
maxUnitsPerTime(required): integer
(int64)
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.
-
updateDate: string(date-time)Read Only:true
Deprecated. As of 23.10.Date when the record was last updated. -
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
Show Source
-
object
ApiEntityProjectResourceWorkRateCostInput
Title:
ApiEntityProjectResourceWorkRateCostInput
Nested Schema : ApiEntityProjectResourceWorkRateCostInput
Type:
object
Title:
Show Source
ApiEntityProjectResourceWorkRateCostInput
-
link: string(url)Read Only:true
Deprecated. As of 23.10.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
pricePerUnit1: number(double)Read Only:true
Minimum Value:0
Deprecated. As of 23.11.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. This field is in base currency and is calculated from pricePerUnit1Project field based on the specified exchange rate. -
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.
-
pricePerUnit2: number(double)Read Only:true
Minimum Value:0
Deprecated. As of 23.11.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. This field is in base currency and is calculated from pricePerUnit2Project field based on the specified exchange rate. -
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.
-
pricePerUnit3: number(double)Read Only:true
Minimum Value:0
Deprecated. As of 23.11.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. This field is in base currency and is calculated from pricePerUnit3Project field based on the specified exchange rate. -
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.
-
pricePerUnit4: number(double)Read Only:true
Minimum Value:0
Deprecated. As of 23.11.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. This field is in base currency and is calculated from pricePerUnit4Project field based on the specified exchange rate. -
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.
-
pricePerUnit5: number(double)Read Only:true
Minimum Value:0
Deprecated. As of 23.11.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. This field is in base currency and is calculated from pricePerUnit5Project field based on the specified exchange rate. -
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.
-
projectResourceWorkRateId: integer(int64)Deprecated. As of 23.11.The unique identifier of a project work rate. -
updateDate: string(date-time)Read Only:true
Deprecated. As of 23.10.Date when the record was last updated.
Examples
Back to Top
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : List<ApiEntityProjectResourceWorkRate>
Type:
array
Title:
Show Source
List<ApiEntityProjectResourceWorkRate>
-
Array of:
object ApiEntityProjectResourceWorkRate
Title:
ApiEntityProjectResourceWorkRate
Nested Schema : ApiEntityProjectResourceWorkRate
Type:
object
Title:
Show Source
ApiEntityProjectResourceWorkRate
-
effectiveStartDate: string
(date-time)
Date that the corresponding units/time period and rates go into effect for the resource or role.
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
maxUnitsPerTime: integer
(int64)
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: 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: integer
(int64)
The unique identifier for the resource.The resource object can also be identified by its unique criteria.
-
updateDate: string
(date-time)
Date when the record was last updated.
-
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
Show Source
-
object
ApiEntityProjectResourceWorkRateCost
Title:
ApiEntityProjectResourceWorkRateCost
Nested Schema : ApiEntityProjectResourceWorkRateCost
Type:
object
Title:
Show Source
ApiEntityProjectResourceWorkRateCost
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
pricePerUnit1: number
(double)
Minimum Value:
0
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. This field is in base currency and is calculated from pricePerUnit1Project field based on the specified exchange rate. -
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.
-
pricePerUnit2: number
(double)
Minimum Value:
0
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. This field is in base currency and is calculated from pricePerUnit2Project field based on the specified exchange rate. -
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.
-
pricePerUnit3: number
(double)
Minimum Value:
0
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. This field is in base currency and is calculated from pricePerUnit3Project field based on the specified exchange rate. -
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.
-
pricePerUnit4: number
(double)
Minimum Value:
0
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. This field is in base currency and is calculated from pricePerUnit4Project field based on the specified exchange rate. -
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.
-
pricePerUnit5: number
(double)
Minimum Value:
0
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. This field is in base currency and is calculated from pricePerUnit5Project field based on the specified exchange rate. -
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.
-
projectResourceWorkRateId: integer
(int64)
The unique identifier of a project work rate.
-
updateDate: string
(date-time)
Date when the record was last updated.
400 Response
Invalid input.