0

I have the following results pulled back from a JSON query. I'd like to extract just the '/GetUserByID' part from this. I have done something similar for another call, using 'get d/Results' but that one doesn't seem to work for these results! The data that is retrieved from the HTTP call is as follows:

{"odata.metadata":"https://***..co.uk//_api/$metadata#SP.ApiData.Users1","value":[{"odata.type":"SP.User","odata.id":"https://***..co.uk//_api/Web/GetUserById(138)","odata.editLink":"Web/GetUserById(138)","Id":138,"IsHiddenInUI":false,"LoginName":"i:0#.w|*\***h","Title":" ","PrincipalType":1,"Email":"***h@*.co.uk","IsShareByEmailGuestUser":false,"IsSiteAdmin":false,"UserId":{"NameId":"s-1-5-21-1409082233-1644491937-725345543-4898","NameIdIssuer":"urn:office:idp:activedirectory"}},{"odata.type":"SP.User","odata.id":"https://***..co.uk//_api/Web/GetUserById(3)","odata.editLink":"Web/GetUserById(3)","Id":3,"IsHiddenInUI":false,"LoginName":"*\***h","Title":" ","PrincipalType":1,"Email":"***h@*.co.uk","IsShareByEmailGuestUser":false,"IsSiteAdmin":false,"UserId":{"NameId":"S-1-5-21-1409082233-1644491937-725345543-4898","NameIdIssuer":"urn:office:idp:activedirectory"}}]}

Workflow section in question

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.