Skip to main content
Planview Customer Success Center

Get Specified Field Values for an Instance of an Entity

selectEntity is recommended instead of findEntity if you know the entity ID.

Use selectEntity to return a list of values from one specific entity (recommended if you know the entity ID). The entityTypeId specifies the type of entity (project, resource, account), and the entityID contains the ID of the specific instance of that entity. Then, you can specify an array containing the fields to return. If no list is used, the most common field values will be returned (excluding description and a few other fields that might contribute to a large response size). We recommend always providing a specific list of fields (rather than all fields) to optimize performance. It is possible to use findEntity with a searchValuePair based on the entityID, but faster to use selectEntity.

This example is looking for a specific resource (entityTypeId 11 = resource, entityId = specific resource), and then returns a set of field values specified by the list of fieldsRequest.

<soapenv:Envelope xmlns:soapenv="" xmlns:ser="http://services">





         <!--entity type id is 11 since it is a resource lookup -->


        <!--the resource id which is same as userId -->


         <!--the attributes to be fetched, specified by field ID -->        

         <ser:fieldsRequest>1103</ser:fieldsRequest>          <!--Resource Name -  First name -->        

         <ser:fieldsRequest>1104</ser:fieldsRequest>          <!--Resource Name – Last name -->        

         <ser:fieldsRequest>1107</ser:fieldsRequest>          <!--Immediate Supervisor Id-->        

         <ser:fieldsRequest>1121</ser:fieldsRequest>          <!--Immediate Supervisor Name-->        

         <ser:fieldsRequest>1115</ser:fieldsRequest>          <!--email-->        






<soapenv:Envelope xmlns:soapenv="">


      <ns:selectEntityResponse xmlns:ns="http://services">

         <ns:return xsi:type="ax21:EntityObj" xmlns:ax21="" xmlns:xsi="">



            <ax21:methodValues xsi:type="ax21:ValuePair">




            <ax21:methodValues xsi:type="ax21:ValuePair">




            <ax21:methodValues xsi:type="ax21:ValuePair">




            <ax21:methodValues xsi:type="ax21:ValuePair">

               <ax21:elementValue>Supervisor, Immediate 1</ax21:elementValue>



            <ax21:methodValues xsi:type="ax21:ValuePair">