Create Resource Demand from Schedule
post
/api/restapi/action/resourceDemand/fetchAssignment
Send a request to this endpoint to schedule a demand data to fetch from resource assignments.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityDemandSchedule
Type:
object
Title:
Show Source
ApiEntityDemandSchedule
-
deleteUnmatchedRole: boolean
delete unmatched role.
-
keepExistingDemands: boolean
Keep existing demands.
-
projectCode(required): string
Maximum Length:
60
The unique identifier for a project set by the user who created the project. -
projectId: integer
(int64)
The unique identifier for the project.
-
workspaceCode(required): string
Maximum Length:
60
The user-specified identifier of a workspace. -
workspaceId: integer
(int64)
The unique identifier of a workspace.
Examples
Back to Top
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.
404 Response
The requested object does not exist, or you do not have access to it.