GET api/Customer/GetUsers/{id}?pageIndex={pageIndex}&pageSize={pageSize}
Gets list of users for customer id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
customer id |
integer |
Required |
pageIndex | integer |
None. |
|
pageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
GetCustomerUsersResultName | Description | Type | Additional information |
---|---|---|---|
CustomerUserRows | CustomerUserRow |
None. |
Response Formats
application/json, text/json
Sample:
{ "CustomerUserRows": { "PageIndex": 1, "PageSize": 10, "TotalItems": 1, "TotalPages": 1, "Items": [ { "UserProviderKey": "afaebe82-f607-47f8-b046-9d44af9f3e97", "UserFullName": "John Doe", "CanAccessOthersTickets": true, "CanEditOthersTickets": true, "CanManageOthersTickets": false } ] } }
application/xml, text/xml
Sample:
<GetCustomerUsersResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results"> <CustomerUserRows> <Items> <GetCustomerUsersResult.CustomerUserRow> <CanAccessOthersTickets>true</CanAccessOthersTickets> <CanEditOthersTickets>true</CanEditOthersTickets> <CanManageOthersTickets>false</CanManageOthersTickets> <UserFullName>John Doe</UserFullName> <UserProviderKey>afaebe82-f607-47f8-b046-9d44af9f3e97</UserProviderKey> </GetCustomerUsersResult.CustomerUserRow> </Items> <PageIndex>1</PageIndex> <PageSize>10</PageSize> <TotalItems>1</TotalItems> <TotalPages>1</TotalPages> </CustomerUserRows> </GetCustomerUsersResult>