POST api/General/addUser

Request Information

URI Parameters

None.

Body Parameters

UserModal
NameDescriptionTypeAdditional information
id

integer

None.

Name

string

None.

Email

string

None.

Password

string

None.

Role

string

None.

EmpId

integer

None.

VolunteerId

integer

None.

IsActive

boolean

None.

EmpNo

string

None.

UserType

string

None.

Profileimage

string

None.

RightsValue

Collection of string

None.

PageNameForRights

Collection of string

None.

Domain

string

None.

DomainUser

string

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Name": "sample string 1",
  "Email": "sample string 2",
  "Password": "sample string 3",
  "Role": "sample string 4",
  "EmpId": 1,
  "VolunteerId": 1,
  "IsActive": true,
  "EmpNo": "sample string 5",
  "UserType": "sample string 6",
  "Profileimage": "sample string 7",
  "RightsValue": [
    "sample string 1",
    "sample string 2"
  ],
  "PageNameForRights": [
    "sample string 1",
    "sample string 2"
  ],
  "Domain": "sample string 8",
  "DomainUser": "sample string 9",
  "UserName": "sample string 10"
}

application/xml, text/xml

Sample:
<GeneralController.UserModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaskManagementServices.Controllers">
  <Domain>sample string 8</Domain>
  <DomainUser>sample string 9</DomainUser>
  <Email>sample string 2</Email>
  <EmpId>1</EmpId>
  <EmpNo>sample string 5</EmpNo>
  <IsActive>true</IsActive>
  <Name>sample string 1</Name>
  <PageNameForRights xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </PageNameForRights>
  <Password>sample string 3</Password>
  <Profileimage>sample string 7</Profileimage>
  <RightsValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </RightsValue>
  <Role>sample string 4</Role>
  <UserName>sample string 10</UserName>
  <UserType>sample string 6</UserType>
  <VolunteerId>1</VolunteerId>
  <id>1</id>
</GeneralController.UserModal>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.