Synchronize Resource Availabilities and Rates for Workspace Hierarchy
post
/api/restapi/action/resource/workRateSync
Send a request to this endpoint to synchronize the resource availabilities and rates in a workspace hierarchy. This endpoint returns a job ID upon execution of the request. Send a request to the View Job Status endpoint to monitor the status of the scheduled jobs. The job will also synchronize role availability and rates if the user has the permission to edit role costs.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityWorkRateSync
Type:
object
Title:
Show Source
ApiEntityWorkRateSync
-
workspaceId(required): integer
(int64)
The unique identifier of a workspace.
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : ApiEntityScheduleJob
Type:
object
Title:
Show Source
ApiEntityScheduleJob
-
jobId: integer
(int64)
The unique identifier for the background service.
-
jobKey: integer
(int64)
The unique identifier for a job.
-
jobStatus: string
Allowed Values:
[ "NEW", "QUEUED", "RUNNING", "DELEGATED", "ON_HOLD", "REJECTED", "COMPLETED", "COMPLETED_WITH_ERRORS", "FAILED", "NOOP", "COMPLETED_WITH_WARNINGS", "RETRIED" ]
The status of the background service. -
link: string
(url)
Read Only:
true
The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
updateDate: string
(date-time)
Read Only:
true
Date when the record was last updated.
400 Response
Invalid input for the Action service.