Get a worker name

get

/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/names/{namesUniqID}

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 Workers resource and used to uniquely identify an instance of Workers. The client should not generate the hash key value. Instead, the client should query on the Workers collection resource in order to navigate to a specific instance of Workers to get the hash key.
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
Header Parameters
  • This header accepts a string value. The string is a semi-colon separated list of =. It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers.
  • 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.

There's no request body for this operation.

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 : workers-names-item-response
Type: object
Show Source
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the name information.
  • Title: Creation Date
    Read Only: true
    Date and time when the name information was created.
  • Title: Display Name
    Read Only: true
    Maximum Length: 240
    Person's display name.
  • Title: Effective End Date
    End date of the date-effective changes to the record.
  • Title: Effective Start Date
    Start date of the date-effective changes to the record.
  • Title: First Name
    Maximum Length: 150
    Person's first name.
  • Title: Full Name
    Read Only: true
    Maximum Length: 2000
    Person's full name.
  • Title: Honors
    Maximum Length: 80
    Higher qualification appended to a person's name such as PhD.
  • Title: Known As
    Maximum Length: 80
    Person's preferred name.
  • Title: Last Name
    Maximum Length: 150
    Person's last name.
  • Title: Last Updated Date
    Read Only: true
    Date and time when the name information was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    User who last updated the name information.
  • Title: Country
    Maximum Length: 4
    Legislation code. Valid values are defined in the hcmCountriesLov.
  • Title: Country
    Read Only: true
    Maximum Length: 80
    Name of the person's legislation.
  • Links
  • Title: List Name
    Read Only: true
    Maximum Length: 240
    Person's listed name.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    User who created the local name information.
  • Title: Creation Date
    Read Only: true
    Date and time when the local name information was created.
  • Title: Display Name
    Read Only: true
    Maximum Length: 240
    Person's display name in local language.
  • Title: Effective End Date
    End date of the date-effective changes to the record.
  • Title: Effective Start Date
    Start date of the date-effective changes to the record.
  • Title: First Name
    Maximum Length: 150
    Person's first name in local language.
  • Title: Full Name
    Read Only: true
    Maximum Length: 2000
    Person's full name in local language.
  • Title: Honors
    Maximum Length: 80
    Higher qualification appended to a person's name such as PhD in local language.
  • Title: Known As
    Maximum Length: 80
    Person's preferred name in local language.
  • Title: Last Name
    Maximum Length: 150
    Person's last name in local language.
  • Title: Last Updated Date
    Read Only: true
    Date and time when the local name information was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    User who last updated the local name information.
  • Title: Country
    Maximum Length: 4
    Legislation code of the local language. Valid values are defined in the hcmCountriesLov.
  • Title: Country
    Read Only: true
    Maximum Length: 80
    Name of the person's legislation in local language.
  • Title: List Name
    Read Only: true
    Maximum Length: 240
    Person's listed name in local language.
  • Title: Middle Names
    Maximum Length: 80
    Person's middle name in local language.
  • Title: Military Rank
    Maximum Length: 80
    Person's military rank in local language.
  • Title: Name Information 1
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 10
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 11
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 12
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 13
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 14
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 15
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 16
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 17
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 18
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 19
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 2
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 20
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 21
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 22
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 23
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 24
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 25
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 26
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 27
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 28
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 29
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 3
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 30
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 4
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 5
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 6
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 7
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 8
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 9
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Local-Name Language
    Maximum Length: 4
    Local language of the name. This isn't required for global names. If you're creating a local name, you must provide the language code.
  • Title: Local-Name Language
    Read Only: true
    Maximum Length: 255
    Meaning of the local language code for the person's name.
  • Title: Order Name
    Read Only: true
    Maximum Length: 240
    Person's order name in local language.
  • Title: Person Name ID
    Surrogate identifier for the local name record.
  • Title: Prefix
    Maximum Length: 150
    Part of the name added before a person's first name in local language.
  • Title: Previous Last Name
    Maximum Length: 150
    Person's previous last name in local language.
  • Title: Suffix
    Maximum Length: 80
    Part of the name appended to a person's last name such as Jr., III, and so on, in local language.
  • Title: Title
    Maximum Length: 30
    Person's salutation such as Mr., Ms., and so on in local language. Valid values are defined in the commonLookupsLOV.
  • Title: Title
    Read Only: true
    Maximum Length: 80
    Meaning of the person's title in local language.
  • Title: Middle Names
    Maximum Length: 80
    Person's middle name.
  • Title: Military Rank
    Maximum Length: 80
    Person's military rank.
  • Title: Name Information 1
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 10
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 11
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 12
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 13
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 14
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 15
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 16
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 17
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 18
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 19
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 2
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 20
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 21
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 22
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 23
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 24
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 25
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 26
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 27
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 28
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 29
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 3
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 30
    Maximum Length: 150
    Additional name attribute reserved for customer legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 4
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 5
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 6
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 7
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 8
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Name Information 9
    Maximum Length: 150
    Additional name attribute reserved for Oracle Development for legislation-specific name requirements as defined in the person name style definition.
  • Title: Global-Name Language
    Read Only: true
    Maximum Length: 4
    Language of the name. This isn't required for global names. If you're creating a local name, you must provide the language code.
  • Title: Global-Name Language
    Read Only: true
    Maximum Length: 30
    Meaning of the language code for the person's name.
  • Title: Order Name
    Read Only: true
    Maximum Length: 240
    Person's order name.
  • Title: Person Name ID
    Read Only: true
    Surrogate identifier for the name record.
  • Title: Prefix
    Maximum Length: 150
    Part of the name added before a person's first name.
  • Title: Previous Last Name
    Maximum Length: 150
    Person's previous last name.
  • Title: Suffix
    Maximum Length: 80
    Part of the name appended to a person's last name such as Jr., III, and so on.
  • Title: Title
    Maximum Length: 30
    Person salutation such as Mr., Ms., and so on. Valid values are defined in the commonLookupsLOV.
  • Title: Title
    Read Only: true
    Maximum Length: 80
    Meaning of the person's title.
Back to Top

Examples

The following example shows how to retrieve a worker name by submitting a GET 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 GET "https://<host>:<port>/hcmRestApi/resources/11.13.18.05/workers/00020000000EACED0005770800005AF3116303090000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000016ABDF0400078/child/names/00020000000EACED0005770800005AF31163030A0000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000016ABDF0400078

Example of Response Header

The following is an example of the response header.

Status: HTTP/1.1 200 OK
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.

{
    "PersonNameId": 100000015254282,
    "EffectiveStartDate": "2015-07-01",
    "EffectiveEndDate": "4712-12-31",
    "LegislationCode": "LR",
    "LastName": "ZPAY_PVT_PAPR_Employee One",
    "FirstName": null,
    "Title": null,
    "PreNameAdjunct": null,
    "MiddleNames": null,
    "DisplayName": "ZPAY_PVT_PAPR_Employee One",
    "OrderName": "ZPAY_PVT_PAPR_Employee One",
    "ListName": "ZPAY_PVT_PAPR_Employee One",
    "FullName": "ZPAY_PVT_PAPR_Employee One",
    "NameLanguage": "US",
    "CreatedBy": "OPERATIONS",
    "CreationDate": "2010-01-06T20:30:28.216+00:00",
    "LastUpdatedBy": "BUG_25895142",
    "LastUpdateDate": "2017-11-28T14:48:37+00:00",
    "LocalPersonNameId": 100000015254283,
    "LocalEffectiveStartDate": "2015-07-01",
    "LocalEffectiveEndDate": "4712-12-31",
    "LocalLegislationCode": "LR",
    "LocalLastName": "ZPAY_PVT_PAPR_Employee One",
    "LocalFirstName": null,
    "LocalTitle": null,
    "LocalPreNameAdjunct": null,
    "LocalMiddleNames": null,
    "LocalDisplayName": "ZPAY_PVT_PAPR_Employee One",
    "LocalOrderName": "ZPAY_PVT_PAPR_Employee One",
    "LocalListName": "ZPAY_PVT_PAPR_Employee One",
    "LocalFullName": "ZPAY_PVT_PAPR_Employee One",
    "LocalNameLanguage": "US",
    "LocalCreatedBy": "OPERATIONS",
    "LocalCreationDate": "2010-01-06T20:30:28.330+00:00",
    "LocalLastUpdatedBy": "BUG_25895142",
    "LocalLastUpdateDate": "2017-11-28T14:48:37+00:00",
    "links": [
        {...
           }
   ]
}
Back to Top