Validate adjusted project resource assignment schedule
post
/fscmRestApi/resources/11.13.18.05/projectResourceAssignments/{AssignmentId}/action/validateForGanttAdjustment
The method validates single assignment schedule change. It returns back a list of errors and warnings if the adjusted schedule doesn't pass the validation.
Request
Path Parameters
-
AssignmentId(required): integer
Unique identifier of the project resource assignment.
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object
-
adjustmentReason: string
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
approveFlag: boolean
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
fridayHours: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
mondayHours: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
newAssignmentEndDate: string
(date)
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
newAssignmentHoursPerDay: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
newAssignmentHoursPerWeek: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
newAssignmentStartDate: string
(date)
Contains the assignmentId as the key along with new Assignment Start Date and Assignment End Date.
-
projectManagementFlowFlag: boolean
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
saturdayHours: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
sundayHours: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
thursdayHours: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
tuesdayHours: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
useProjectCalendarFlag: boolean
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
useVariableHoursFlag: boolean
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
useWeeklyHoursFlag: boolean
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
-
wednesdayHours: number
The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object
-
result(required): array
result
Returns a list of warnings and errors if the assignment adjustment operation completes successfully or returns FAILURE if the operation isn't successful.
Nested Schema : result
Type:
array
Returns a list of warnings and errors if the assignment adjustment operation completes successfully or returns FAILURE if the operation isn't successful.
Show Source
Examples
The following example shows how to validate adjusted project resource assignment schedule by submitting a POST request on the REST resource using cURL.
curl --user ppm_cloud_user -X POST -d @example_request_payload.json --header "Content-Type: application/json" https://your_organization.com:port/fscmRestApi/resources/11.13.18.05/projectResourceAssignments/300100574858592/action/validateForGanttAdjustment
Request Body Example
The following shows an example of the request body in JSON format.
{ "projectManagementFlowFlag": false, "approveFlag": true, "newAssignmentStartDate": "2023-03-28", "newAssignmentEndDate": "2023-03-28" }