POST api/UsersAssign/AssignUserRole
Request Information
URI Parameters
None.
Body Parameters
UsersName | Description | Type | Additional information |
---|---|---|---|
sectionSeq | integer |
None. |
|
userSeq | integer |
None. |
|
name | string |
None. |
|
userModules | string |
None. |
|
faceToken | string |
None. |
|
isSuccess | integer |
None. |
|
message | string |
None. |
|
module | Modules |
None. |
|
listModules | Collection of Modules |
None. |
Request Formats
application/json, text/json
Sample:
{ "sectionSeq": 1, "userSeq": 2, "name": "sample string 3", "userModules": "sample string 4", "faceToken": "sample string 5", "isSuccess": 6, "message": "sample string 7", "module": { "userAssignedSeq": 1, "moduleName": "sample string 2", "moduleSeq": 3, "isModuleEnabled": true }, "listModules": [ { "userAssignedSeq": 1, "moduleName": "sample string 2", "moduleSeq": 3, "isModuleEnabled": true }, { "userAssignedSeq": 1, "moduleName": "sample string 2", "moduleSeq": 3, "isModuleEnabled": true } ] }
application/xml, text/xml
Sample:
<Users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaveraWebApi.Models.UserAssign"> <faceToken>sample string 5</faceToken> <isSuccess>6</isSuccess> <listModules> <Modules> <isModuleEnabled>true</isModuleEnabled> <moduleName>sample string 2</moduleName> <moduleSeq>3</moduleSeq> <userAssignedSeq>1</userAssignedSeq> </Modules> <Modules> <isModuleEnabled>true</isModuleEnabled> <moduleName>sample string 2</moduleName> <moduleSeq>3</moduleSeq> <userAssignedSeq>1</userAssignedSeq> </Modules> </listModules> <message>sample string 7</message> <module> <isModuleEnabled>true</isModuleEnabled> <moduleName>sample string 2</moduleName> <moduleSeq>3</moduleSeq> <userAssignedSeq>1</userAssignedSeq> </module> <name>sample string 3</name> <sectionSeq>1</sectionSeq> <userModules>sample string 4</userModules> <userSeq>2</userSeq> </Users>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.