Get all talent pools

get

/hcmRestApi/resources/11.13.18.05/talentPoolsLOV

Request

Query Parameters
  • 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
  • Used as a predefined finder to search the collection.

    Format ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables

    • PrimaryKey Finds all talent pools that match the primary key criteria specified.
      Finder Variables
      • PoolId; integer; Unique identifier for a talent pool.
    • findByWord Finds all talent pools that match the word specified.
      Finder Variables
      • FilterAttributes; string; Attributes for the search terms.
      • PersonId; integer; Person identifier of an employee that's used to retrieve all talent pools in which the employee isn't a member.
      • SearchTerms; string; Search term criteria to retrieve data.
      • StartsWithFlag; string; Indicator to retrieve data that starts with the search term.
      • TalentReviewMeetingId; integer; Unique identifier for a Talent Review meeting that's used to retrieve all talent pools that are added to the Talent Review meeting.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • 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
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • Description; string; Talent pool description.
    • ObjectVersionNumber; integer; Version number of the talent pool.
    • PoolId; integer; Unique identifier of a talent pool.
    • PoolName; string; Name that uniquely identifies the talent pool.
    • PoolOwners; string; List of talent pool owners who have access to the pool.
    • Status; string; Status of the talent pool.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
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.

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 : talentPoolsLOV
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : talentPoolsLOV-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to get all the talent pools by submitting a collection GET request on the REST resource using cURL.

curl -i -u "<username>:<password>" -X GET https://<host>:<port>/hcmRestApi/resources/11.13.18.05/talentPoolsLOV?finder=findByWord;PersonId=300100180414808

Example of Response Header

The following is an example of the response header.

HTTP/1.1 200 OK
Content-Type : application/json

Example of Response Body

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

{
    "items": [
        {
            "PoolId": 300100026495251,
            "ObjectVersionNumber": 1,
            "PoolName": "ZHRM FUSE Pool4",
            "Status": "A",
            "Description": "ZHRM FUSE Pool4 Desc",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
            "links": [..]
        },
        {
            "PoolId": 300100017156445,
            "ObjectVersionNumber": 1,
            "PoolName": "ZHRM Pool for Managers",
            "Status": "A",
            "Description": "Pool for Managers",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100017156451,
            "ObjectVersionNumber": 2,
            "PoolName": "ZHRM Talent Pool for DBA",
            "Status": "A",
            "Description": "Pool for DBA",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100017156453,
            "ObjectVersionNumber": 1,
            "PoolName": "ZHRM Talent Pool for J2EE Developers",
            "Status": "A",
            "Description": "Pool for J2EE Developers",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },

        {
            "PoolId": 300100017156457,
            "ObjectVersionNumber": 1,
            "PoolName": "ZHRM Talent Pool for SQL Developers",
            "Status": "A",
            "Description": "Pool for SQL Developers",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100026495260,
            "ObjectVersionNumber": 1,
            "PoolName": "ZHRM FUSE Pool5",
            "Status": "A",
            "Description": "ZHRM FUSE Pool5 Desc",
            "PoolOwners": "Emily ZHRR-Carter,Surya ZHRR-Kumar,Allen ZHRR-Taylor",
            "links": [..]
        },
        {
            "PoolId": 300100026495270,
            "ObjectVersionNumber": 1,
            "PoolName": "ZHRM FUSE Pool6",
            "Status": "A",
            "Description": "ZHRM FUSE Pool6 Desc",
            "PoolOwners": "Emily ZHRR-Carter,Santino ZHRR-Foster",
            "links": [..]
        },
        {
            "PoolId": 300100069954203,
            "ObjectVersionNumber": 1,
            "PoolName": "ZHRM RRF Pool for JAVA Developers150328_075315",
            "Status": "A",
            "Description": "ZHRM RRF Pool for JAVA Developers150328_075315",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100118167931,
            "ObjectVersionNumber": 1,
            "PoolName": "ZHRM Pool for Profile Security",
            "Status": "A",
            "Description": "ZHRM Pool for Profile Security Desc",
            "PoolOwners": "Emily ZHRR-Carter,Karley ZHRR-Griffin",
            "links": [..]
        },
        {
            "PoolId": 300100171512136,
            "ObjectVersionNumber": 3,
            "PoolName": "SB Pool3 11282018",
            "Status": "A",
            "Description": "desc SB Pool3 11282018 to verify the feature\nEdit",
            "PoolOwners": "Jacob ZHRR-James,Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100171506218,
            "ObjectVersionNumber": 1,
            "PoolName": "SB Test Pool2 11282018",
            "Status": "A",
            "Description": "PoolDesc11282018",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100171519118,
            "ObjectVersionNumber": 1,
            "PoolName": "SB Test Pool4 11282018",
            "Status": "A",
            "Description": "SB Test Pool4 11282018 desc",
            "PoolOwners": "Jacob ZHRR-James,Emily ZHRR-Carter,Surya ZHRR-Kumar",
            "links": [..]
        },
        {
            "PoolId": 300100170401660,
            "ObjectVersionNumber": 1,
            "PoolName": "Test Pool_Nov23",
            "Status": "A",
            "Description": null,
            "PoolOwners": "Zion ZHRR-Roberts,Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100171472609,
            "ObjectVersionNumber": 1,
            "PoolName": "SB Test pool 11282018",
            "Status": "A",
            "Description": "NoDescbySB",
            "PoolOwners": "Jacob ZHRR-James,Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100172516042,
            "ObjectVersionNumber": 9,
            "PoolName": ".................................!!!!!!!!!!!!!!!! Talent Pool",
            "Status": "A",
            "Description": ".................................!!!!!!!!!!!!!!!! Talent Pool",
            "PoolOwners": "Zion ZHRR-Roberts,Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100172569254,
            "ObjectVersionNumber": 4,
            "PoolName": "12457",
            "Status": "A",
            "Description": "Pool description",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100172585437,
            "ObjectVersionNumber": 2,
            "PoolName": "SV_TPOOL1",
            "Status": "A",
            "Description": "test Description",
            "PoolOwners": "Zion ZHRR-Roberts,Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100178731925,
            "ObjectVersionNumber": 1,
            "PoolName": "Duplicate owner names on talent pools-27DEC2018",
            "Status": "A",
            "Description": "Duplicate owner names on talent pools-27DEC2018",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100173913347,
            "ObjectVersionNumber": 3,
            "PoolName": "talent pool 6dec edit",
            "Status": "A",
            "Description": "test desc",
            "PoolOwners": "Zion ZHRR-Roberts,Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100178783380,
            "ObjectVersionNumber": 1,
            "PoolName": "29057678-TALENT POOL OWNER NAME IS DISPLAYING TWICE27DEC2018",
            "Status": "A",
            "Description": "29057678-TALENT POOL OWNER NAME IS DISPLAYING TWICE27DEC2018",
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100183883927,
            "ObjectVersionNumber": 1,
            "PoolName": "Test Pool from quick actions",
            "Status": "A",
            "Description": null,
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
        {
            "PoolId": 300100183883931,
            "ObjectVersionNumber": 1,
            "PoolName": "Talent Pool created from quick action",
            "Status": "A",
            "Description": null,
            "PoolOwners": "Emily ZHRR-Carter",
            "links": [..]
        },
    "count": 22,
    "hasMore": false,
    "limit": 25,
    "offset": 0,
    "links": [..]
        
}
Back to Top