POST api/UpdateUser
Request Information
URI Parameters
None.
Body Parameters
CreateUpdateUserRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserEmail | string |
None. |
|
| UserID | integer |
None. |
|
| Username | string |
None. |
|
| PositionID | integer |
None. |
|
| IsVendor | boolean |
None. |
|
| Status | string |
None. |
|
| RoleID | integer |
None. |
|
| ModuleList | Collection of GetUserList_ModuleList |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserEmail": "sample string 1",
"UserID": 2,
"Username": "sample string 3",
"PositionID": 4,
"IsVendor": true,
"Status": "sample string 6",
"RoleID": 7,
"ModuleList": [
{
"ModuleID": 1,
"CanAccessAll": true,
"ProjectList": [
{
"ProjectCode": "sample string 1"
},
{
"ProjectCode": "sample string 1"
}
]
},
{
"ModuleID": 1,
"CanAccessAll": true,
"ProjectList": [
{
"ProjectCode": "sample string 1"
},
{
"ProjectCode": "sample string 1"
}
]
}
]
}
application/xml, text/xml
Sample:
<CreateUpdateUserRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sirius_Api.Models.Sirius">
<IsVendor>true</IsVendor>
<ModuleList>
<GetUserListResponse.GetUserList_ModuleList>
<CanAccessAll>true</CanAccessAll>
<ModuleID>1</ModuleID>
<ProjectList>
<GetUserListResponse.GetUserList_ProjectList>
<ProjectCode>sample string 1</ProjectCode>
</GetUserListResponse.GetUserList_ProjectList>
<GetUserListResponse.GetUserList_ProjectList>
<ProjectCode>sample string 1</ProjectCode>
</GetUserListResponse.GetUserList_ProjectList>
</ProjectList>
</GetUserListResponse.GetUserList_ModuleList>
<GetUserListResponse.GetUserList_ModuleList>
<CanAccessAll>true</CanAccessAll>
<ModuleID>1</ModuleID>
<ProjectList>
<GetUserListResponse.GetUserList_ProjectList>
<ProjectCode>sample string 1</ProjectCode>
</GetUserListResponse.GetUserList_ProjectList>
<GetUserListResponse.GetUserList_ProjectList>
<ProjectCode>sample string 1</ProjectCode>
</GetUserListResponse.GetUserList_ProjectList>
</ProjectList>
</GetUserListResponse.GetUserList_ModuleList>
</ModuleList>
<PositionID>4</PositionID>
<RoleID>7</RoleID>
<Status>sample string 6</Status>
<UserEmail>sample string 1</UserEmail>
<UserID>2</UserID>
<Username>sample string 3</Username>
</CreateUpdateUserRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.