Private impersonatingCreate a cost center Check out the docs for more info
ID of the buyer.
Required fields: Name
Delete a cost center Check out the docs for more info
ID of the buyer.
ID of the cost center.
Delete a cost center assignment Check out the docs for more info
ID of the buyer.
ID of the cost center.
Optional userID of the user group.
Optional userID?: stringID of the user.
Retrieve a cost center Check out the docs for more info
ID of the buyer.
ID of the cost center.
List cost centers 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. 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.
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.
List cost center assignments Check out the docs for more info
ID of the buyer.
Optional costID of the cost center.
Optional level?: "Group" | "Company"Level of the cost center assignment. Possible values: Group, Company.
Optional page?: numberPage of results to return. 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.
Optional userID of the user group.
Partially update a cost center Check out the docs for more info
ID of the buyer.
ID of the cost center.
Create or update a cost center 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 cost center.
Required fields: Name
Create or update a cost center assignment Check out the docs for more info
ID of the buyer.
Required fields: CostCenterID
Generated using TypeDoc
Description
enables impersonation by calling the subsequent method with the stored impersonation token
Example