POST Account/Users
Returns Users of a Store that are not Customer/SysAdmin roles
Request Information
URI Parameters
None.
Body Parameters
if RoleID is specified, select users with a given role
BaseAccountRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StoreID": 1
}
application/xml, text/xml
Sample:
<BaseAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Account"> <StoreID>1</StoreID> </BaseAccountRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of UserInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
Required |
|
| UserName | string |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"UserID": "sample string 1",
"UserName": "sample string 2"
},
{
"UserID": "sample string 1",
"UserName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfUserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Account">
<UserInfo>
<UserID>sample string 1</UserID>
<UserName>sample string 2</UserName>
</UserInfo>
<UserInfo>
<UserID>sample string 1</UserID>
<UserName>sample string 2</UserName>
</UserInfo>
</ArrayOfUserInfo>