Update a religion

patch

/hcmRestApi/resources/11.13.18.05/hcmContacts/{hcmContactsUniqID}/child/religions/{ReligionId}

Request

Path Parameters
  • Surrogate identifier for the contact's religion.
  • 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
  • Title: Primary
    Maximum Length: 30
    Default Value: true
    Indicates whether the religion is the contact's primary religion for this legislation.
  • Title: Religion
    Maximum Length: 30
    Religion of the contact. Valid values are defined in the commonLookupsLOV.
  • Religion Descriptive Flexfields
    Title: Religion Descriptive Flexfields
    The religionsDFF resource is a child of the contacts resource. It provides all the religion descriptive flexfields for worker contacts as of the specified date. By default, the current date is retained.
Nested Schema : Religion Descriptive Flexfields
Type: array
Title: Religion Descriptive Flexfields
The religionsDFF resource is a child of the contacts resource. It provides all the religion descriptive flexfields for worker contacts as of the specified date. By default, the current date is retained.
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 : hcmContacts-religions-item-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the contact's religion information.
  • Title: Creation Date
    Read Only: true
    Date and time when the contact's religion information was created.
  • Title: Last Updated Date
    Read Only: true
    Date and time when the contact's religion information was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    User who last updated the contact's religion information.
  • Title: Country
    Maximum Length: 30
    Legislation code of the contact's religiion. 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 religion is the contact's primary religion for this legislation.
  • Title: Religion
    Maximum Length: 30
    Religion of the contact. Valid values are defined in the commonLookupsLOV.
  • Title: Religion ID
    Read Only: true
    Surrogate identifier for the contact's religion.
  • Title: Religion
    Read Only: true
    Maximum Length: 80
    Meaning of the contact's religion code.
  • Religion Descriptive Flexfields
    Title: Religion Descriptive Flexfields
    The religionsDFF resource is a child of the contacts resource. It provides all the religion descriptive flexfields for worker contacts as of the specified date. By default, the current date is retained.
Nested Schema : Religion Descriptive Flexfields
Type: array
Title: Religion Descriptive Flexfields
The religionsDFF resource is a child of the contacts resource. It provides all the religion descriptive flexfields for worker contacts as of the specified date. By default, the current date is retained.
Show Source
Nested Schema : hcmContacts-religions-religionsDFF-item-response
Type: object
Show Source
Back to Top