Create an honor item

post

/hcmRestApi/resources/11.13.18.05/talentPersonProfiles/{talentPersonProfilesUniqID}/child/honorSections/{ProfileSectionId}/child/honorItems

Request

Path Parameters
  • The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
  • This is the hash key of the attributes which make up the composite key for the Talent Person Profiles resource and used to uniquely identify an instance of Talent Person Profiles. The client should not generate the hash key value. Instead, the client should query on the Talent Person Profiles collection resource in order to navigate to a specific instance of Talent Person Profiles to get the hash key.
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 : Honor Item Attachments
Type: array
Title: Honor Item Attachments
The honorItemAttachments resource is a child of honorItems resource. It provides all the attachments for the honor item.
Show Source
Nested Schema : honorItemsDFF
Type: array
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "JOB_CRITICALITY":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemJOB__5FCRITICALITYVO-item-post-request", "ORGANIZATION_CRITICALITY":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemORGANIZATION__5FCRITICALITYVO-item-post-request", "PERSON_CAREER_STATEMENT":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCAREER__5FSTATEMENTVO-item-post-request", "PERSON_CATEGORY":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCATEGORYVO-item-post-request", "PERSON_COMPONENT":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCOMPONENTVO-item-post-request", "PERSON_N_BOX_ASSIGNMENT":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FN__5FBOX__5FASSIGNMENTVO-item-post-request", "PERSON_PERFORMANCE_RATING":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPERFORMANCE__5FRATINGVO-item-post-request", "PERSON_PLATFORM":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPLATFORMVO-item-post-request", "PERSON_POTENTIAL":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPOTENTIALVO-item-post-request", "PERSON_PROBLEM_CODE":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPROBLEM__5FCODEVO-item-post-request", "PERSON_PRODUCT":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPRODUCTVO-item-post-request", "PERSON_PRODUCT_PROBLEM_CODE":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPRODUCT__5FPROBLEM__5FCODEVO-item-post-request", "PERSON_READINESS":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FREADINESSVO-item-post-request", "PERSON_RISK":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FRISKVO-item-post-request", "PERSON_TALENT_SCORE":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FTALENT__5FSCOREVO-item-post-request", "POSITION_CRITICALITY":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPOSITION__5FCRITICALITYVO-item-post-request" } }
Nested Schema : talentPersonProfiles-honorSections-honorItems-honorItemAttachments-item-post-request
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemJOB__5FCRITICALITYVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemORGANIZATION__5FCRITICALITYVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCAREER__5FSTATEMENTVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCATEGORYVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCOMPONENTVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FN__5FBOX__5FASSIGNMENTVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPERFORMANCE__5FRATINGVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPLATFORMVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPOTENTIALVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPROBLEM__5FCODEVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPRODUCTVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPRODUCT__5FPROBLEM__5FCODEVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FREADINESSVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FRISKVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FTALENT__5FSCOREVO-item-post-request
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPOSITION__5FCRITICALITYVO-item-post-request
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 : talentPersonProfiles-honorSections-honorItems-item-response
Type: object
Show Source
Nested Schema : Honor Item Attachments
Type: array
Title: Honor Item Attachments
The honorItemAttachments resource is a child of honorItems resource. It provides all the attachments for the honor item.
Show Source
Nested Schema : honorItemsDFF
Type: array
Show Source
  • Discriminator: __FLEX_Context
    Discriminator: { "propertyName":"__FLEX_Context", "mapping":{ "JOB_CRITICALITY":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemJOB__5FCRITICALITYVO-item-response", "ORGANIZATION_CRITICALITY":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemORGANIZATION__5FCRITICALITYVO-item-response", "PERSON_CAREER_STATEMENT":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCAREER__5FSTATEMENTVO-item-response", "PERSON_CATEGORY":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCATEGORYVO-item-response", "PERSON_COMPONENT":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCOMPONENTVO-item-response", "PERSON_N_BOX_ASSIGNMENT":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FN__5FBOX__5FASSIGNMENTVO-item-response", "PERSON_PERFORMANCE_RATING":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPERFORMANCE__5FRATINGVO-item-response", "PERSON_PLATFORM":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPLATFORMVO-item-response", "PERSON_POTENTIAL":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPOTENTIALVO-item-response", "PERSON_PROBLEM_CODE":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPROBLEM__5FCODEVO-item-response", "PERSON_PRODUCT":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPRODUCTVO-item-response", "PERSON_PRODUCT_PROBLEM_CODE":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPRODUCT__5FPROBLEM__5FCODEVO-item-response", "PERSON_READINESS":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FREADINESSVO-item-response", "PERSON_RISK":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FRISKVO-item-response", "PERSON_TALENT_SCORE":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FTALENT__5FSCOREVO-item-response", "POSITION_CRITICALITY":"#/components/schemas/oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPOSITION__5FCRITICALITYVO-item-response" } }
Nested Schema : talentPersonProfiles-honorSections-honorItems-honorItemAttachments-item-response
Type: object
Show Source
Nested Schema : Discriminator: __FLEX_Context
Type: object
Discriminator: __FLEX_Context

Discriminator Values

Match One Schema
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemJOB__5FCRITICALITYVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemORGANIZATION__5FCRITICALITYVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCAREER__5FSTATEMENTVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCATEGORYVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FCOMPONENTVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FN__5FBOX__5FASSIGNMENTVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPERFORMANCE__5FRATINGVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPLATFORMVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPOTENTIALVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPROBLEM__5FCODEVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPRODUCTVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FPRODUCT__5FPROBLEM__5FCODEVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FREADINESSVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FRISKVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPERSON__5FTALENT__5FSCOREVO-item-response
Type: object
Show Source
Nested Schema : oracle_apps_flex_hcm_profiles_core_honorItem_view_HonorItemPOSITION__5FCRITICALITYVO-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to create an honor item by submitting a POST request on the REST resource using cURL.

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -H "REST-Framework-Version: 4" -X POST -d <payload> 'http://<host>:<port>/hcmRestApi/resources/11.13.18.05/talentPersonProfiles/300100032392736/child/honorSections/300100214617898/child/honorItems'

Example of Payload

The following is an example of the payload.

{
  "ContentItemId": 300100171765297,
  "HonorOrAward": "Dale Carnegie",
  "OtherHonorOrAward": null,
  "AwardDate": "2020-07-03",
  "Organization": "test org",
  "IssueYear": 2020,
  "CompletionDate": "2020-07-03",
  "ExpirationDate": "2020-07-03",
  "TypeOfAward": "WORK_RELATE",
  "EstablishmentId": 12266,
  "Establishment": "Abertay University",
  "OtherEstablishment": "test estl",
  "Title": "test title",
  "Grantor": "test grantor",
  "HonorURL": "http://www.test.com"
}

Example of Response Header

The following is an example of the response header.

HTTP/1.1 201  Created
Content-Type : application/vnd.oracle.adf.resourceitem+json

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
  "HonorId": 300100195029444,
  "ContentItemId": 300100171765297,
  "HonorOrAward": "Dale Carnegie",
  "OtherHonorOrAward": null,
  "AwardDate": "2020-07-03",
  "Organization": "test org",
  "IssueYear": 2020,
  "CompletionDate": "2020-07-03",
  "ExpirationDate": "2020-07-03",
  "TypeOfAward": "WORK_RELATE",
  "EstablishmentId": 12266,
  "Establishment": "Abertay University",
  "OtherEstablishment": "test estl",
  "Title": "test title",
  "Grantor": "test grantor",
  "HonorURL": "http://www.test.com",
  "CreatedBy": "ZANC_ZBEN_SUPER_USER",
  "CreationDate": "2020-07-03T06:06:57+00:00",
  "LastUpdatedBy": "ZANC_ZBEN_SUPER_USER",
  "LastUpdateDate": "2020-07-03T06:06:57.614+00:00",
  "Links" : [
     {
        ..},
   ]
}
Back to Top