Get a list of spending account assignments.
GET
/buyers/{buyerID}/spendingaccounts/assignments
200Roles
At least one of the roles below is required to access this endpoint.
FullAccessSpendingAccountAdminSpendingAccountReader
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
buyerID | Required | string | ID of the buyer. | --- |
spendingAccountID | string | ID of the spending account. | --- | |
userID | string | ID of the user. | --- | |
userGroupID | string | ID of the user group. | --- | |
level | string | Level of the spending account assignment. Possible values: User, Group, Company. | User, Group, Company | |
page | integer | Page 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. | --- | |
pageSize | integer | Number of results to return per page. Default: 20, max: 100. | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
Items | array | --- | --- | --- | ||
Meta | object | --- | --- | --- | ||