Create multiple corrective actions

post

/fscmRestApi/resources/11.13.18.05/qualityCorrectiveAndPreventiveActions

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.
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Corrective Action Affected Objects
Type: array
Title: Corrective Action Affected Objects
The Affected Items for Change Requests resource gets the affected items for Quality Corrective and Preventive Actions.
Show Source
Nested Schema : Corrective Action Attachments
Type: array
Title: Corrective Action Attachments
The Corrective Action Attachments resource manages the corrective-action attachment objects.
Show Source
Nested Schema : correctiveActionDFF
Type: array
Show Source
Nested Schema : correctiveActionEFF
Type: array
Show Source
  • Discriminator: CategoryCode
    Discriminator: { "propertyName":"CategoryCode", "mapping":{ "ALL_CHANGE_TYPES":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeAllChangeTypesPrivateVO-item-post-request", "ECO":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeEcoPrivateVO-item-post-request", "ORA_8D_CORRECTIVE_ACTIONS":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOra__5F8dCorrectiveActionsPrivateVO-item-post-request", "ORA_CA":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraCaPrivateVO-item-post-request", "ORA_CR":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraCrPrivateVO-item-post-request", "ORA_DCR":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraDcrPrivateVO-item-post-request", "ORA_ENG_CO":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraEngCoPrivateVO-item-post-request", "ORA_NRCO":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraNrcoPrivateVO-item-post-request", "ORA_PR":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraPrPrivateVO-item-post-request" } }
Nested Schema : Corrective Action Next Statuses
Type: array
Title: Corrective Action Next Statuses
The Next Statuses resource gets the next possible statuses for Quality Corrective and Preventive Actions.
Show Source
Nested Schema : Corrective Action Participants
Type: array
Title: Corrective Action Participants
The Participants resource manages the participants assigned to the Quality Corrective and Preventive Actions status.
Show Source
Nested Schema : Corrective Action Relationships
Type: array
Title: Corrective Action Relationships
The Relationships resource manages the objects related to the Quality Corrective and Preventive Actions.
Show Source
Nested Schema : Corrective Action Tasks
Type: array
Title: Corrective Action Tasks
The Tasks resource manages the tasks related to the Quality Corrective and Preventive Actions.
Show Source
Nested Schema : Corrective Action Teams
Type: array
Title: Corrective Action Teams
The Team resource manages the team related to the Quality Corrective and Preventive Actions.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : correctiveActionAffectedObjectDFF
Type: array
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionAffectedObject-correctiveActionAffectedObjectDFF-item-post-request
Type: object
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionAttachments-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Discriminator: CategoryCode
Type: object
Discriminator: CategoryCode

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeAllChangeTypesPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeEcoPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOra__5F8dCorrectiveActionsPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraCaPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraCrPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraDcrPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraEngCoPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraNrcoPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraPrPrivateVO-item-post-request
Type: object
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionNextStatuses-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : Change Order Relationship Rules
Type: array
Title: Change Order Relationship Rules
The Relationship Rules resource manages rules related to relationships on change orders.
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionRelationships-relationshipRules-item-post-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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.
Body ()
Root Schema : qualityCorrectiveAndPreventiveActions-item-response
Type: object
Show Source
Nested Schema : Corrective Action Affected Objects
Type: array
Title: Corrective Action Affected Objects
The Affected Items for Change Requests resource gets the affected items for Quality Corrective and Preventive Actions.
Show Source
Nested Schema : Corrective Action Attachments
Type: array
Title: Corrective Action Attachments
The Corrective Action Attachments resource manages the corrective-action attachment objects.
Show Source
Nested Schema : correctiveActionDFF
Type: array
Show Source
Nested Schema : correctiveActionEFF
Type: array
Show Source
  • Discriminator: CategoryCode
    Discriminator: { "propertyName":"CategoryCode", "mapping":{ "ALL_CHANGE_TYPES":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeAllChangeTypesPrivateVO-item-response", "ECO":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeEcoPrivateVO-item-response", "ORA_8D_CORRECTIVE_ACTIONS":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOra__5F8dCorrectiveActionsPrivateVO-item-response", "ORA_CA":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraCaPrivateVO-item-response", "ORA_CR":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraCrPrivateVO-item-response", "ORA_DCR":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraDcrPrivateVO-item-response", "ORA_ENG_CO":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraEngCoPrivateVO-item-response", "ORA_NRCO":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraNrcoPrivateVO-item-response", "ORA_PR":"#/components/schemas/oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraPrPrivateVO-item-response" } }
Nested Schema : Corrective Action Next Statuses
Type: array
Title: Corrective Action Next Statuses
The Next Statuses resource gets the next possible statuses for Quality Corrective and Preventive Actions.
Show Source
Nested Schema : Corrective Action Participants
Type: array
Title: Corrective Action Participants
The Participants resource manages the participants assigned to the Quality Corrective and Preventive Actions status.
Show Source
Nested Schema : Corrective Action Relationships
Type: array
Title: Corrective Action Relationships
The Relationships resource manages the objects related to the Quality Corrective and Preventive Actions.
Show Source
Nested Schema : Corrective Action Tasks
Type: array
Title: Corrective Action Tasks
The Tasks resource manages the tasks related to the Quality Corrective and Preventive Actions.
Show Source
Nested Schema : Corrective Action Teams
Type: array
Title: Corrective Action Teams
The Team resource manages the team related to the Quality Corrective and Preventive Actions.
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionAffectedObject-item-response
Type: object
Show Source
Nested Schema : correctiveActionAffectedObjectDFF
Type: array
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionAffectedObject-correctiveActionAffectedObjectDFF-item-response
Type: object
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionAttachments-item-response
Type: object
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionDFF-item-response
Type: object
Show Source
Nested Schema : Discriminator: CategoryCode
Type: object
Discriminator: CategoryCode

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeAllChangeTypesPrivateVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeEcoPrivateVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOra__5F8dCorrectiveActionsPrivateVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraCaPrivateVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraCrPrivateVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraDcrPrivateVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraEngCoPrivateVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraNrcoPrivateVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_scm_productCatalogManagement_changeManagement_changeEff_flex_egoChangeEff_categories_view_j__changeOraPrPrivateVO-item-response
Type: object
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionNextStatuses-item-response
Type: object
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionParticipants-item-response
Type: object
Show Source
  • Maximum Length: 255
    Corrective Actions Activity type code.
  • Maximum Length: 255
    Corrective Actions Activity type value.
  • Maximum Length: 400
    The assignee name for change participants of the corrective action.
  • Maximum Length: 20
    The assignee type code for change participants of the corrective action.
  • Maximum Length: 255
    Assignee type value describe participant is an individual or a role for a corrective and preventive action object.
  • Read Only: true
    Maximum Length: 255
    Comments provided at the time of approving or rejecting the corrective and preventive action object.
  • Links
  • Read Only: true
    Maximum Length: 4000
    User role that the application assigned to the corrective and preventive action object.
  • Read Only: true
    Time that the corrective action participants were reassigned to a corrective and preventive action object.
  • Read Only: true
    Maximum Length: 4000
    Name to which a corrective action participant is to be reassigned for a corrective and preventive action object.
  • Read Only: true
    Maximum Length: 30
    Response code value describe action taken by an approver on a corrective and preventive action object.
  • Maximum Length: 10
    The response required from change participants of the corrective action.
  • Maximum Length: 255
    Response required from value describe about whether a response is required from one or all participants for a corrective and preventive action object.
  • Read Only: true
    Maximum Length: 255
    Response value describe action taken by an approver on a corrective and preventive action object.
  • Abbreviation that identifies the status code of the corrective and preventive action object.
  • Maximum Length: 255
    Status code value that identifies the status of the corrective and preventive action object.
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionRelationships-item-response
Type: object
Show Source
Nested Schema : Change Order Relationship Rules
Type: array
Title: Change Order Relationship Rules
The Relationship Rules resource manages rules related to relationships on change orders.
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionRelationships-relationshipRules-item-response
Type: object
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionTasks-item-response
Type: object
Show Source
Nested Schema : qualityCorrectiveAndPreventiveActions-correctiveActionTeam-item-response
Type: object
Show Source
Back to Top

Examples

This example describes how to create one corrective action.

Example cURL Command

Use the following cURL command to submit a request on the REST resource.

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.resourceitem+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions"

Example Request Body

The following example includes the contents of the request body in JSON format:
{
"ChangeTypeId": 300100209386569,
"ChangeNotice": "REST_Sample_Corrective_Action",
"ChangeName": "REST_Sample_Corrective_Action",
"OrganizationId": 204
}

Example Response Body

The following example includes the contents of the response body in JSON format:
{
    "ChangeId": 300100549348614,
    "ChangeTypeId": 300100209386569,
    "ChangeNotice": "REST_Sample_Corrective_Action",
    "ChangeName": "REST_Sample_Corrective_Action",
    "Description": null,
    "OrganizationId": 204,
    "PriorityCode": "HIGH",
    "ReasonCode": null,
    "ChangeTypeValue": null,
    "OrganizationCode": null,
    "PriorityCodeValue": null,
    "ReasonCodeValue": null,
    "AssigneeId": "EE090FD91FAF33D2F3E424B67B06F902",
    "RequestorId": "EE090FD91FAF33D2F3E424B67B06F902",
    "AssignedTo": "PLM_AUTO",
    "RequestedBy": "PLM_AUTO",
    "StatusType": 0,
    "StatusCode": 0,
    "ApprovalStatus": 1,
    "StatusTypeValue": "Draft",
    "StatusCodeValue": "Draft",
    "ApprovalStatusValue": "Not submitted for approval",
    "EffectiveImmediatelyFlag": true,
    "EffectivityIncrementDays": 1,
    "CreatedBy": "PLM_AUTO",
    "LastUpdatedBy": "PLM_AUTO",
    "LastUpdateLogin": "D9CF91AD0A83AF38E0537AA8F00A7A62",
    "AssignedToRole": null,
    "ApprovalDateTime": null,
    "NeedByDateTime": null,
    "InitiationDateTime": "2022-03-09T00:00:00+00:00",
    "ImplementationDateTime": null,
    "CancellationDateTime": null,
    "ApprovalRequestDateTime": null,
    "CreationDateTime": "2022-03-09T20:32:32+00:00",
    "LastUpdateDateTime": "2022-03-09T20:32:33.076+00:00",
    "links": [
        {
            "rel": "self",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614",
            "name": "qualityCorrectiveAndPreventiveActions",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614",
            "name": "qualityCorrectiveAndPreventiveActions",
            "kind": "item"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614/child/correctiveActionAffectedObject",
            "name": "correctiveActionAffectedObject",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614/child/correctiveActionAttachments",
            "name": "correctiveActionAttachments",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614/child/correctiveActionDFF",
            "name": "correctiveActionDFF",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614/child/correctiveActionNextStatuses",
            "name": "correctiveActionNextStatuses",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614/child/correctiveActionParticipants",
            "name": "correctiveActionParticipants",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614/child/correctiveActionRelationships",
            "name": "correctiveActionRelationships",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614/child/correctiveActionTasks",
            "name": "correctiveActionTasks",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://servername/fscmRestApi/resources/version/qualityCorrectiveAndPreventiveActions/300100549348614/child/correctiveActionTeam",
            "name": "correctiveActionTeam",
            "kind": "collection"
        }
    ]
}
Back to Top