Validate new project resource assignment

post

/fscmRestApi/resources/11.13.18.05/projectResourceAssignments/action/validateForGanttCreation

The method validates the single assignment schedule creation. It returns a list of errors and warnings if the new assignment doesn't pass the validation.

Request

Header Parameters
  • 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".
  • 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
Request Body - application/vnd.oracle.adf.action+json ()
Root Schema : schema
Type: object
Show Source
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • The resourceId belonging to the resource for whom project resource assignment daily hours are being updated.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Indicates whether or not to proceed with project resource assignment daily hours updates if overbooking warnings exist.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
  • Consists of ProjectAssignmentId, AssignmentEntryDate, and AssignmentDailyHours for the updateAssignmentDailyHours action.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Body ()
Root Schema : schema
Type: object
Show Source
  • result
    Returns a list of warnings and errors if the create assignment 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 create assignment operation completes successfully or returns FAILURE if the operation isn't successful.
Show Source
Back to Top

Examples

The following example shows how to validate new 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/action/validateForGanttCreation

Request Body Example

The following shows an example of the request body in JSON format.

{
    "ResourceId": 300100026246622,
    "ProjectRoleId": 3,
    "ProjectId": 300100025498122,
    "AssignmentStatusName": "Confirmed",
    "AssignmentStartDate": "2023-03-28",
    "AssignmentEndDate": "2023-03-28"
}
Back to Top