List security profile assignments

Request

Security
OAuth2(Required scopes: FullAccessSecurityProfileAdminSetSecurityProfile)
Query
buyerIDstring

ID of the buyer.

supplierIDstring

ID of the supplier.

securityProfileIDstring

ID of the security profile.

userIDstring

ID of the user.

userGroupIDstring

ID of the user group.

commerceRolestring(CommerceRole)

Commerce role of the security profile assignment. Possible values: Buyer, Seller, Supplier.

Enum:"Buyer""Seller""Supplier"
levelstring(PartyType)

Level of the security profile assignment. Possible values: User, Group, Company, BuyerGroup.

Enum:"User""Group""Company""BuyerGroup"
pageinteger

Page of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.

pageSizeinteger

Number of results to return per page.

curl -i -X GET \
  'https://api.ordercloud.io/v1/securityprofiles/assignments?buyerID=string&supplierID=string&securityProfileID=string&userID=string&userGroupID=string&commerceRole=Buyer&level=User&page=0&pageSize=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Bodyapplication/json
ItemsArray of objects(SecurityProfileAssignment)
Example:
[ { "SecurityProfileID": "", "BuyerID": "", "SupplierID": "", "UserID": "", "UserGroupID": "" } ]
Metaobject(Meta)
Response
{ "Items": [ { … } ], "Meta": { "Page": 0, "PageSize": 0, "TotalCount": 0, "TotalPages": 0, "ItemRange": [ … ], "NextPageKey": "string" } }