POST _api/UserMgt/NewUser
Request Information
URI Parameters
None.
Body Parameters
NewUserParamName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
Required |
|
IsActive | boolean |
None. |
|
RoleID | integer |
Required |
|
UserFullName | string |
Required |
|
Createdby | string |
Required |
|
Pwd | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "IsActive": true, "RoleID": 3, "UserFullName": "sample string 4", "Createdby": "sample string 5", "Pwd": "sample string 6" }
application/xml, text/xml
Sample:
<NewUserParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceDesk.Models"> <Createdby>sample string 5</Createdby> <IsActive>true</IsActive> <Pwd>sample string 6</Pwd> <RoleID>3</RoleID> <UserFullName>sample string 4</UserFullName> <UserName>sample string 1</UserName> </NewUserParam>
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.