For the life of me I cannot figure out what the designer wants in the uri field when using the Send HTTP Request to Sharepoint action.
The trigger receives just two values from the app call.
_api/SP.UserProfiles/PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='sktlCostCenter')@v='i:0#.f|membership|triggerBody()['text']'
Results in an Expression invalid when I try saving. I thought maybe it's because it didn't like the unencoded url, so I tried this:
_api/SP.UserProfiles/PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='sktlCostCenter')@v=%27i%3A0%23.f%7Cmembership%7CtriggerBody()['text']'
And when that didn't work, I tried to wrap the original attempt in encodeURI:
_api/SP.UserProfiles/PeopleManager/GetUserProfilePropertyFor(accountName=@v,propertyName='sktlCostCenter')@v='"+encodeUriComponent('i:0#.f|membership|triggerBody()['text']')+"'
So now I'm at a loss.