Create qualification profiles
/fscmRestApi/resources/11.13.18.05/assetQualificationProfiles
Request
-
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.
-
Upsert-Mode:
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.
- application/json
object
-
ProfileCategoryCode: string
Title:
Category
Maximum Length:30
Abbreviation that uniquely identifies the qualification profile category. This attribute is optional and its values are user-defined. A list of accepted values are defined in the lookup type ORA_MNT_QUAL_PROFILE_CATEGORY. -
ProfileCode(required): string
Title:
Code
Maximum Length:30
Abbreviation that uniquely identifies the qualification profile. This attribute is required to create a qualification profile. -
ProfileDescription: string
Title:
Description
Maximum Length:240
Description of the qualification profile. This attribute provides a brief user-defined text providing information on the qualification profile. -
ProfileEndDate: string
(date)
Title:
End Date
Date when the qualification profile becomes inactive. The end date for a qualification profile must be a future date. -
ProfileId: integer
(int64)
Value that uniquely identifies the qualification profile. The application creates this value when it creates the qualification profile. This attribute is read-only.
-
ProfileName(required): string
Title:
Name
Maximum Length:120
Name of the qualification profile. This is a unique attribute required to create a qualification profile. -
qualificationRequirements: array
Qualification Requirements
Title:
Qualification Requirements
The Qualification Requirements resource manages the qualification requirements required for a qualification profile. You can add, update, and view the list of qualification requirements.
array
Qualification Requirements
object
-
ProfileRequirementId: integer
(int64)
Value that uniquely identifies the qualification requirement referenced in the qualification profile.
-
RequirementCode: string
Title:
Code
Maximum Length:255
Abbreviation that uniquely identifies the qualification requirement associated with a qualification profile. This attribute is read-only. -
RequirementEndDate: string
(date-time)
Title:
End Date
Date when the relationship between qualification requirement and qualification profile becomes inactive. The end date for the relationship must be a future date. -
RequirementId: integer
(int64)
Value that uniquely identifies the qualification requirement that's associated with the qualification profile. This attribute is required when adding the qualification requirement to a qualification profile.
-
RequirementName: string
Title:
Name
Maximum Length:255
Name of the qualification requirement associated with a qualification profile. This attribute is read-only.
Response
- application/json
Default Response
-
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.
object
-
CreatedBy: string
Read Only:
true
Maximum Length:64
User who created the qualification profile The application automatically sets this value during creation. This attribute is read-only. -
CreationDate: string
(date-time)
Read Only:
true
Date when the qualification profile is created. The application automatically sets this value during creation. This attribute is read-only. -
LastUpdateDate: string
(date-time)
Read Only:
true
Login that the user used when updating the qualification profile. The application assigns a value to this attribute while creating the profile. This attribute is read-only. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
Date when the user most recently updated the qualification profile. The application automatically sets this value while creating the profile. This attribute is read-only. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
User who most recently updated the qualification profile. The application assigns a value to this attribute while creating the profile. This attribute is read-only. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ProfileCategoryCode: string
Title:
Category
Maximum Length:30
Abbreviation that uniquely identifies the qualification profile category. This attribute is optional and its values are user-defined. A list of accepted values are defined in the lookup type ORA_MNT_QUAL_PROFILE_CATEGORY. -
ProfileCategoryName: string
Read Only:
true
Maximum Length:255
Name of the qualification profile category. This is an optional attribute to create a qualification profile. This attribute is read-only. -
ProfileCode: string
Title:
Code
Maximum Length:30
Abbreviation that uniquely identifies the qualification profile. This attribute is required to create a qualification profile. -
ProfileDescription: string
Title:
Description
Maximum Length:240
Description of the qualification profile. This attribute provides a brief user-defined text providing information on the qualification profile. -
ProfileEndDate: string
(date)
Title:
End Date
Date when the qualification profile becomes inactive. The end date for a qualification profile must be a future date. -
ProfileId: integer
(int64)
Value that uniquely identifies the qualification profile. The application creates this value when it creates the qualification profile. This attribute is read-only.
-
ProfileName: string
Title:
Name
Maximum Length:120
Name of the qualification profile. This is a unique attribute required to create a qualification profile. -
qualificationRequirements: array
Qualification Requirements
Title:
Qualification Requirements
The Qualification Requirements resource manages the qualification requirements required for a qualification profile. You can add, update, and view the list of qualification requirements.
array
Links
array
Qualification Requirements
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
object
-
CreatedBy: string
Read Only:
true
Maximum Length:64
User who associated the qualification requirement with a qualification profile. The application automatically sets this value while creating the profile. This attribute is read-only. -
CreationDate: string
(date-time)
Read Only:
true
Date when the qualification requirement is associated with a qualification profile. The application automatically sets this value while creating the profile. This attribute is read-only. -
LastUpdateDate: string
(date-time)
Read Only:
true
Login that the user used when updating the qualification requirement association with a qualification profile. The application assigns a value to this attribute while creating the profile. This attribute is read-only. -
LastUpdatedBy: string
Read Only:
true
Maximum Length:64
Date when the user most recently updated the qualification requirement association with a qualification profile. The application automatically sets this value while creating the profile. This attribute is read-only. -
LastUpdateLogin: string
Read Only:
true
Maximum Length:32
User who most recently updated the qualification requirement association with a qualification profile. The application assigns a value to this attribute while creating the profile. This attribute is read-only. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
ProfileRequirementId: integer
(int64)
Value that uniquely identifies the qualification requirement referenced in the qualification profile.
-
RequirementCode: string
Title:
Code
Maximum Length:255
Abbreviation that uniquely identifies the qualification requirement associated with a qualification profile. This attribute is read-only. -
RequirementDescription: string
Title:
Description
Read Only:true
Maximum Length:240
Description of the qualification requirement associated with the qualification profile. This attribute provides brief user-defined text, providing information on the qualification requirement. This attribute is read-only. -
RequirementEndDate: string
(date-time)
Title:
End Date
Date when the relationship between qualification requirement and qualification profile becomes inactive. The end date for the relationship must be a future date. -
RequirementId: integer
(int64)
Value that uniquely identifies the qualification requirement that's associated with the qualification profile. This attribute is required when adding the qualification requirement to a qualification profile.
-
RequirementName: string
Title:
Name
Maximum Length:255
Name of the qualification requirement associated with a qualification profile. This attribute is read-only.
array
Links
- qualificationRequirements
-
Parameters:
- ProfileId:
$request.path.ProfileId
The Qualification Requirements resource manages the qualification requirements required for a qualification profile. You can add, update, and view the list of qualification requirements. - ProfileId:
Examples
These examples describe how to create qualification profiles.
Table -
Example Number | Description |
---|---|
Example 1 | Create a qualification profile. |
Example 2 | Create a qualification profile with qualification requirements using qualifiation requirement code. |
Example 3 | Create a qualification profile with qualification requirements using a qualifiation requirement ID. |
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/assetQualificationProfiles"
Example 1
This example describes how to create a qualification profile.
Example 1 Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{ "ProfileName": "ALMQualProfileName01", "ProfileCode": "ALMQualProfileCode01", "ProfileDescription": "ALMQualProfile01Description" }
Example 1 Response Body
The following example includes the contents of the response body in JSON format:
{ "ProfileId": 300100584871827, "ProfileName": "ALMQualProfileName01", "ProfileCode": "ALMQualProfileCode01", "ProfileDescription": "ALMQualProfile01Description", "ProfileCategoryCode": null, "ProfileCategoryName": null, "ProfileEndDate": null, "CreatedBy": "MNT_QA", "CreationDate": "2023-05-05T13:44:33+00:00", "LastUpdatedBy": "MNT_QA", "LastUpdateDate": "2023-05-05T13:44:33.142+00:00", "LastUpdateLogin": "FACC879A24601F8CE0537AA8F00AA5D9", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871827", "name": "assetQualificationProfiles", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871827", "name": "assetQualificationProfiles", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871827/child/qualificationRequirements", "name": "qualificationRequirements", "kind": "collection" } ] }
Example 2
This example describes how to create a qualification profile with qualification requirements using qualifiation requirement code.
Example 2 Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{ "ProfileName": "ALMQualProfileName", "ProfileCode": "ALMQualProfile", "ProfileDescription": "ALMQualProfileDescription", "qualificationRequirements": [ { "RequirementCode": "ALMQualReq" } ] }
Example 2 Response Body
The following example includes the contents of the response body in JSON format:
{ "ProfileId": 300100584871821, "ProfileName": "ALMQualProfileName", "ProfileCode": "ALMQualProfile", "ProfileDescription": "ALMQualProfileDescription", "ProfileCategoryCode": null, "ProfileCategoryName": null, "ProfileEndDate": null, "CreatedBy": "MNT_QA", "CreationDate": "2023-05-05T13:16:33+00:00", "LastUpdatedBy": "MNT_QA", "LastUpdateDate": "2023-05-05T13:16:33.301+00:00", "LastUpdateLogin": "FACC86B79CD71F88E0537AA8F00AE88D", "qualificationRequirements": [ { "ProfileRequirementId": 300100584871822, "RequirementId": 300100584871818, "RequirementName": "ALMQualReq1", "RequirementCode": "ALMQualReq", "RequirementDescription": "ALMQualReq1 desc", "RequirementEndDate": null, "CreatedBy": "MNT_QA", "CreationDate": "2023-05-05T13:16:33.266+00:00", "LastUpdatedBy": "MNT_QA", "LastUpdateDate": "2023-05-05T13:16:33.302+00:00", "LastUpdateLogin": "FACC86B79CD71F88E0537AA8F00AE88D", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871821/child/qualificationRequirements/300100584871822", "name": "qualificationRequirements", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871821/child/qualificationRequirements/300100584871822", "name": "qualificationRequirements", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871821", "name": "assetQualificationProfiles", "kind": "item" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871821", "name": "assetQualificationProfiles", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871821", "name": "assetQualificationProfiles", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871821/child/qualificationRequirements", "name": "qualificationRequirements", "kind": "collection" } ] }
Example 3
This example describes how to create a qualification profile with qualification requirements using a qualifiation requirement ID.
Example 3 Request Body
{ "ProfileName": "ALMQualProfile2", "ProfileCode": "ALMQualProfileCode", "ProfileDescription": "ALMQualProfile2Description", "qualificationRequirements": [ { "RequirementId": 300100584871823 } ] }
Example 3 Response Body
The following example includes the contents of the response body in JSON format:
{ "ProfileId": 300100584871824, "ProfileName": "ALMQualProfile2", "ProfileCode": "ALMQualProfileCode", "ProfileDescription": "ALMQualProfile2Description", "ProfileCategoryCode": null, "ProfileCategoryName": null, "ProfileEndDate": null, "CreatedBy": "MNT_QA", "CreationDate": "2023-05-05T13:25:35+00:00", "LastUpdatedBy": "MNT_QA", "LastUpdateDate": "2023-05-05T13:25:35.069+00:00", "LastUpdateLogin": "FACC9299451C1F90E0537AA8F00A19AC", "qualificationRequirements": [ { "ProfileRequirementId": 300100584871825, "RequirementId": 300100584871823, "RequirementName": "ALMQualReq2", "RequirementCode": "ALMQualReqCode", "RequirementDescription": "ALMQualReq2 desc", "RequirementEndDate": null, "CreatedBy": "MNT_QA", "CreationDate": "2023-05-05T13:25:35.014+00:00", "LastUpdatedBy": "MNT_QA", "LastUpdateDate": "2023-05-05T13:25:35.069+00:00", "LastUpdateLogin": "FACC9299451C1F90E0537AA8F00A19AC", "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871824/child/qualificationRequirements/300100584871825", "name": "qualificationRequirements", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871824/child/qualificationRequirements/300100584871825", "name": "qualificationRequirements", "kind": "item" }, { "rel": "parent", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871824", "name": "assetQualificationProfiles", "kind": "item" } ] } ], "links": [ { "rel": "self", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871824", "name": "assetQualificationProfiles", "kind": "item", "properties": { "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178" } }, { "rel": "canonical", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871824", "name": "assetQualificationProfiles", "kind": "item" }, { "rel": "child", "href": "https://servername/fscmRestApi/resources/version/assetQualificationProfiles/300100584871824/child/qualificationRequirements", "name": "qualificationRequirements", "kind": "collection" } ] }