POST api/User/AddUser

Request Information

URI Parameters

None.

Body Parameters

clsUser
NameDescriptionTypeAdditional information
FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

MobileNo

integer

None.

EmailId

string

None.

Address

string

None.

TalukaId

integer

None.

DesignationId

integer

None.

DOB

string

None.

CreatedBy

integer

None.

Status

integer

None.

SalesHeadId

integer

None.

SalesHead

string

None.

UserName

string

None.

Password

string

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "MiddleName": "sample string 2",
  "LastName": "sample string 3",
  "MobileNo": 1,
  "EmailId": "sample string 4",
  "Address": "sample string 5",
  "TalukaId": 1,
  "DesignationId": 1,
  "DOB": "sample string 6",
  "CreatedBy": 1,
  "Status": 1,
  "SalesHeadId": 1,
  "SalesHead": "sample string 7",
  "UserName": "sample string 8",
  "Password": "sample string 9",
  "UserId": 10
}

application/xml, text/xml

Sample:
<clsUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPMSAPIV1.Models">
  <Address>sample string 5</Address>
  <CreatedBy>1</CreatedBy>
  <DOB>sample string 6</DOB>
  <DesignationId>1</DesignationId>
  <EmailId>sample string 4</EmailId>
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 3</LastName>
  <MiddleName>sample string 2</MiddleName>
  <MobileNo>1</MobileNo>
  <Password>sample string 9</Password>
  <SalesHead>sample string 7</SalesHead>
  <SalesHeadId>1</SalesHeadId>
  <Status>1</Status>
  <TalukaId>1</TalukaId>
  <UserId>10</UserId>
  <UserName>sample string 8</UserName>
</clsUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.