POST Account/User
Get a specific User. (as long as it is not a Customer/SysAdmin role) userId null to get Own User
Request Information
URI Parameters
None.
Body Parameters
GetUserRoles| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"StoreID": 2
}
application/xml, text/xml
Sample:
<GetUserRoles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Account"> <StoreID>2</StoreID> <UserId>sample string 1</UserId> </GetUserRoles>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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"
}
application/xml, text/xml
Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Account"> <UserID>sample string 1</UserID> <UserName>sample string 2</UserName> </UserInfo>