cancel
Showing results for 
Search instead for 
Did you mean: 
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?
 
2 REPLIES 2
KevinD
Community Manager
Community Manager

@BenStaples I've reached out to a colleague about this. 

 

In the mean time, what is it exactly you are wanting to see? I'm asking as there might be another way to achieve what you want.


Thank you,
Kevin
SAP Concur Community Manager
Did this response answer your question? Be sure to select “Accept as Solution” so your fellow community members can be helped by it as well.
BenStaples
Occasional Member - Level 1

@KevinD Our Goal is is to retrieve and then update the Cost Object Approver List in the Authorised Approvers Section of the Workflows for Concur Expense.

Updating I have achieved through the provisioning bulk API Endpoint

/profile/v4/Bulk/

 We just need to know what is in concur so we know what to add, update and delete.