Am trying to get the Person or Group field(approver) value using REST API in SharePoint2010. am able to get the account details but i need the display name of the Approver. here is the my code

    ({ url: siteURL+ "/_vti_bin/ListData.svc/"+ listName +"("+ietmID+")?$select=Name,Approver/Account&$expand=Approver",// list item ID 
         method: "GET",
         headers: { "Accept": "application/json; odata=verbose" },
         success: function (data)

        var listiteminfo= data.d;  

            var approvers="";
        var approverLenght=listiteminfo.Approver.results;
        for (var j = 0; j < approverLenght.length; j++) {


        error: function (data)
       // failure(data.responseJSON.error);
  • Hi how you authenticate this url in 2010.. any reference please ..
    – Subha
    Jul 17, 2017 at 15:38

1 Answer 1


Hi please try with below endpoint

/_vti_bin/ListData.svc/"+ listName +"("+ietmID+")?$select=Name,Approver/Account,Approver/Name,Approver/UserName&$expand=Approver"

Hope it helps you and can find user properties below link to refer

<d:Name>Doe, John</d:Name>
<d:WorkEMail>[email protected]</d:WorkEMail>
<d:MobilePhone m:null="true" />
<d:AboutMe m:null="true" />
<d:SIPAddress m:null="true" />
<d:IsSiteAdmin m:type="Edm.Boolean">false</d:IsSiteAdmin>
<d:Deleted m:type="Edm.Boolean">false</d:Deleted>
<d:Picture m:null="true" />
<d:Department m:null="true" />
<d:Title m:null="true" />
<d:WebSite m:null="true" />
<d:AskMeAbout m:null="true" />
<d:Office m:null="true" />
<d:Unit m:null="true" />
<d:Id m:type="Edm.Int32">2</d:Id>
<d:Modified m:type="Edm.DateTime">2016-09-27T00:00:19</d:Modified>
<d:Created m:type="Edm.DateTime">2013-10-17T12:13:59</d:Created>
<d:CreatedById m:type="Edm.Int32">3</d:CreatedById>
<d:ModifiedById m:type="Edm.Int32">1073741823</d:ModifiedById>
<d:Owshiddenversion m:type="Edm.Int32">217</d:Owshiddenversion>



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.