Create participants for a change order
post
/fscmRestApi/resources/11.13.18.05/changeOrders/{ChangeDocumentId}/child/ChangeParticipants
Request
Path Parameters
-
ChangeDocumentId(required): integer(int64)
Unique identifier of a project change order. Mandatory for PATCH operation.
Header Parameters
-
Metadata-Context: string
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: string
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.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
ApproveComments: string
Title:
Approval or Rejection CommentsMaximum Length:2000Approval or rejection comments by participant for a change order. Mandatory for rejecting the change order. -
ApproveFlag: boolean
Title:
Approver IndicatorMaximum Length:2Default Value:falseIndicates whether a participant is an approver on the change order. Valid values are Y, N, and R. The default value is N. -
ApproveStatus: string
Title:
Approver StatusMaximum Length:30Default Value:NApproval status of participant for a change order. Valid values are In Progress, Completed, and Rejected. -
AssessmentComments: string
Title:
Assessment CommentsMaximum Length:2000Assessment comments by participant for a change order. -
AssessmentFlag: boolean
Title:
Assessor IndicatorMaximum Length:2Default Value:falseIndicates whether a participant is an assessor on the change order. Valid values are Y and N. The default value is N. -
AssessmentStatus: string
Title:
Assessor StatusMaximum Length:30Default Value:NAssessment status of assessor for a change order. Valid values are In Progress and Completed. -
ImplementationComments: string
Title:
Implementation CommentsMaximum Length:2000Implementation comments by participant for a change order. -
ImplementationFlag: boolean
Title:
Implementor IndicatorMaximum Length:2Default Value:falseIndicates whether a participant is an implementor on the change order. Valid values are Y and N. The default value is N. -
ImplementationStatus: string
Title:
Implementor StatusMaximum Length:30Default Value:NImplementation status of participant for a change order. Valid values are In Progress and Completed. -
ParticipantEmail: string
Title:
Participant EmailEmail of the change order participant. -
ParticipantName: string
Title:
Participant NameName of the change order participant. -
ParticipantResourceId: integer
(int64)
Title:
Participant Resource IDResource identifier of the change order participant. -
RejectDate: string
(date)
Title:
Rejection DateDate when change order was rejected. Calculated by application. -
RejectType: string
Title:
Rejection Reason CodeMaximum Length:30The code of the rejection type for a change order. Mandatory for rejecting the change order. Valid values are INSUFFICIENT_INFORMATION, OTHER, SCOPE_REDUCTION, and UNACCEPTABLE_RISK. -
ReviewComments: string
Title:
Review CommentsMaximum Length:2000Review comments by participant for a change order. -
ReviewFlag: boolean
Title:
Reviewer IndicatorMaximum Length:2Default Value:trueIndicates whether a participant is a reviewer on the change order. Valid values are Y and N. The default value is N. -
ReviewStatus: string
Title:
Reviewer StatusMaximum Length:30Default Value:NReview status of participant for a change order. Valid values are In Progress and Completed.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : changeOrders-ChangeParticipants-item-response
Type:
Show Source
object-
ApproveComments: string
Title:
Approval or Rejection CommentsMaximum Length:2000Approval or rejection comments by participant for a change order. Mandatory for rejecting the change order. -
ApproveFlag: boolean
Title:
Approver IndicatorMaximum Length:2Default Value:falseIndicates whether a participant is an approver on the change order. Valid values are Y, N, and R. The default value is N. -
ApproveStatus: string
Title:
Approver StatusMaximum Length:30Default Value:NApproval status of participant for a change order. Valid values are In Progress, Completed, and Rejected. -
AssessmentComments: string
Title:
Assessment CommentsMaximum Length:2000Assessment comments by participant for a change order. -
AssessmentFlag: boolean
Title:
Assessor IndicatorMaximum Length:2Default Value:falseIndicates whether a participant is an assessor on the change order. Valid values are Y and N. The default value is N. -
AssessmentStatus: string
Title:
Assessor StatusMaximum Length:30Default Value:NAssessment status of assessor for a change order. Valid values are In Progress and Completed. -
ImplementationComments: string
Title:
Implementation CommentsMaximum Length:2000Implementation comments by participant for a change order. -
ImplementationFlag: boolean
Title:
Implementor IndicatorMaximum Length:2Default Value:falseIndicates whether a participant is an implementor on the change order. Valid values are Y and N. The default value is N. -
ImplementationStatus: string
Title:
Implementor StatusMaximum Length:30Default Value:NImplementation status of participant for a change order. Valid values are In Progress and Completed. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ParticipantEmail: string
Title:
Participant EmailEmail of the change order participant. -
ParticipantId: integer
(int64)
Title:
Participant IDRead Only:trueUnique identifier of the change order participant. -
ParticipantName: string
Title:
Participant NameName of the change order participant. -
ParticipantResourceId: integer
(int64)
Title:
Participant Resource IDResource identifier of the change order participant. -
RejectDate: string
(date)
Title:
Rejection DateDate when change order was rejected. Calculated by application. -
RejectType: string
Title:
Rejection Reason CodeMaximum Length:30The code of the rejection type for a change order. Mandatory for rejecting the change order. Valid values are INSUFFICIENT_INFORMATION, OTHER, SCOPE_REDUCTION, and UNACCEPTABLE_RISK. -
ReviewComments: string
Title:
Review CommentsMaximum Length:2000Review comments by participant for a change order. -
ReviewFlag: boolean
Title:
Reviewer IndicatorMaximum Length:2Default Value:trueIndicates whether a participant is a reviewer on the change order. Valid values are Y and N. The default value is N. -
ReviewStatus: string
Title:
Reviewer StatusMaximum Length:30Default Value:NReview status of participant for a change order. Valid values are In Progress and Completed.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Examples
The following example shows how to create participants for a change order 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/changeOrders/300100124745706/child/ChangeParticipants
Example of Request Body
The following example shows the request body to create a new participant for a change order that is associated to the project with project ID 300100125163003.
{
"ParticipantName" : "Mary Smith",
"ParticipantEmail" : "prj_mary_smith_in_grp@oracle.com",
"AssessmentFlag" : "Y",
"AssessmentStatus" : "N",
"ReviewFlag" : "Y",
"ReviewStatus" : "N",
"ApproveFlag" : "Y",
"ApproveStatus" : "Y",
"ImplementationFlag" : "Y",
"ImplementationStatus" : "Y",
"AssessmentComments" : null,
"ReviewComments" : null,
"ApproveComments" : null,
"ImplementationComments" : null,
"RejectType" : null,
"RejectDate" : null
}
Example of Response Body
The following shows an example of the response body in JSON format.
{
"ParticipantId": 300100124745939,
"ParticipantResourceId": 300100023180814,
"ChangeDocumentId": 300100124745706,
"AssessmentFlag": true,
"AssessmentStatus": "InProgress",
"ReviewFlag": true,
"ReviewStatus": "InProgress",
"ApproveFlag": true,
"ApproveStatus": "Completed",
"ImplementationFlag": true,
"ImplementationStatus": "InProgress",
"AssessmentComments": null,
"ReviewComments": null,
"ApproveComments": null,
"ImplementationComments": null,
"RejectType": null,
"RejectDate": null,
"ParticipantName": "Mary Smith",
"ParticipantEmail": "prj_mary_smith_in_grp@oracle.com",
}