cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Who Me Too'd this topic

BenStaples
Occasional Member - Level 1

Getting Cost Objects for all users via API.

Hello,

 
I have been following the Spend Extension v4.1 documentation where it talks about the ApproverLimit Extension (link bellow) .  While the example given for a single user works and returns the costObjectApprover list however the example for all users gives me a 400 bad request.  Here is the example from documentation:
GET /profile/spend/v4.1/Users?filter=urn:ietf:params:scim:schemas:extension:spend:2.0:ApproverLimit:authorizedApprover[approvalType eq \"report\" and approvalGroup eq \"XYZ\"]
 https://developer.concur.com/api-reference/user-provisioning/spend/v4.1.spend-user-retrieval.html#ap...
 
I also I attempted to get the costObjects for all approvalGroups for each user, same error:
GET /profile/spend/v4.1/Users?filter=urn:ietf:params:scim:schemas:extension:spend:2.0:ApproverLimit:authorizedApprover[approvalType eq \"report\"]
What am I messing up? Is this the best way to get the data via API?
 
Who Me Too'd this topic