GET api/Shopper/GetUserRoles?providerID={providerID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StoreRoleGridName | Description | Type | Additional information |
---|---|---|---|
RoleId | integer |
None. |
|
Role | string |
None. |
|
Active | boolean |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "RoleId": 1, "Role": "sample string 2", "Active": true }, { "RoleId": 1, "Role": "sample string 2", "Active": true } ]
application/xml, text/xml
Sample:
<ArrayOfStoreRoleGrid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Settings"> <StoreRoleGrid> <Active>true</Active> <Role>sample string 2</Role> <RoleId>1</RoleId> </StoreRoleGrid> <StoreRoleGrid> <Active>true</Active> <Role>sample string 2</Role> <RoleId>1</RoleId> </StoreRoleGrid> </ArrayOfStoreRoleGrid>