Update an ethnicity

patch

/hcmRestApi/resources/11.13.18.05/hcmContacts/{hcmContactsUniqID}/child/ethnicities/{EthnicityId}

Request

Path Parameters
  • Surrogate identifier for the contact's ethnicity.
  • This is the hash key of the attributes which make up the composite key for the HCM Contacts resource and used to uniquely identify an instance of HCM Contacts. The client should not generate the hash key value. Instead, the client should query on the HCM Contacts collection resource in order to navigate to a specific instance of HCM Contacts 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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Ethnicity Descriptive Flexfields
    Title: Ethnicity Descriptive Flexfields
    The ethnicitiesDFF resource is a child of the ethnicities resource. It provides all the ethnicity descriptive flexfields for worker contacts as of the specified date. By default, the current date is retained.
  • Title: Ethnicity
    Maximum Length: 30
    Ethnicity of the contact. Valid values are defined in the commonLookupsLOV.
  • Title: Primary
    Maximum Length: 30
    Default Value: true
    Indicates whether the ethnicity is the primary ethnicity record for the contact.
Nested Schema : Ethnicity Descriptive Flexfields
Type: array
Title: Ethnicity Descriptive Flexfields
The ethnicitiesDFF resource is a child of the ethnicities resource. It provides all the ethnicity descriptive flexfields for worker contacts as of the specified date. By default, the current date is retained.
Show Source
Nested Schema : hcmContacts-ethnicities-ethnicitiesDFF-item-patch-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 : hcmContacts-ethnicities-item-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the contact's ethnicity record.
  • Title: Creation Date
    Read Only: true
    Date and time when the contact's ethnicity record was created.
  • Ethnicity Descriptive Flexfields
    Title: Ethnicity Descriptive Flexfields
    The ethnicitiesDFF resource is a child of the ethnicities resource. It provides all the ethnicity descriptive flexfields for worker contacts as of the specified date. By default, the current date is retained.
  • Title: Ethnicity
    Maximum Length: 30
    Ethnicity of the contact. Valid values are defined in the commonLookupsLOV.
  • Title: Ethnicity ID
    Read Only: true
    Surrogate identifier for the contact's ethnicity.
  • Title: Ethnicity
    Read Only: true
    Maximum Length: 80
    Meaning of the contact's ethnicity.
  • Title: Last Updated Date
    Read Only: true
    Date and time when the contact's ethnicity record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    User who last updated the contact's ethnicity record.
  • Title: Country
    Maximum Length: 30
    Legislation code of the ethnicity. Valid values are defined in the hcmCountriesLov.
  • Title: Country
    Read Only: true
    Maximum Length: 80
    Name of the contact's legislation.
  • Links
  • Title: Primary
    Maximum Length: 30
    Default Value: true
    Indicates whether the ethnicity is the primary ethnicity record for the contact.
Nested Schema : Ethnicity Descriptive Flexfields
Type: array
Title: Ethnicity Descriptive Flexfields
The ethnicitiesDFF resource is a child of the ethnicities resource. It provides all the ethnicity descriptive flexfields for worker contacts as of the specified date. By default, the current date is retained.
Show Source
Nested Schema : hcmContacts-ethnicities-ethnicitiesDFF-item-response
Type: object
Show Source
Back to Top