Private
impersonatingCreate a new spending account. If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned. Check out the docs for more info
ID of the buyer.
Required fields: Name, Balance
Delete a spending account. Check out the docs for more info
ID of the buyer.
ID of the spending account.
Delete a spending account assignment. Check out the docs for more info
ID of the buyer.
ID of the spending account.
Optional
userID of the user group.
Optional
userID?: stringID of the user.
Get a single spending account. Check out the docs for more info
ID of the buyer.
ID of the spending account.
Get a list of spending accounts. Check out the docs for more info
ID of the buyer.
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
Get a list of spending account assignments. Check out the docs for more info
ID of the buyer.
Optional
level?: PartyTypeLevel of the spending account assignment. Possible values: User, Group, Company.
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
spendingID of the spending account.
Optional
userID of the user group.
Optional
userID?: stringID of the user.
Partially update a spending account. Check out the docs for more info
ID of the buyer.
ID of the spending account.
Create or update a spending account. If an object with the same ID already exists, it will be overwritten. Check out the docs for more info
ID of the buyer.
ID of the spending account.
Required fields: Name, Balance
Create or update a spending account assignment. Check out the docs for more info
ID of the buyer.
Required fields: SpendingAccountID
Generated using TypeDoc
Description
enables impersonation by calling the subsequent method with the stored impersonation token
Example