POST api/v1/UserSave

Request Information

URI Parameters

None.

Body Parameters

UserSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

UserID

integer

None.

RoleID

integer

None.

ModifiedBy

integer

None.

UserName

string

None.

Password

string

None.

FirstName

string

None.

LastName

string

None.

MobileNo

string

None.

EmailID

string

None.

Address

string

None.

PIN

string

None.

StateID

integer

None.

CountryID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "UserID": 2,
  "RoleID": 3,
  "ModifiedBy": 4,
  "UserName": "sample string 5",
  "Password": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "MobileNo": "sample string 9",
  "EmailID": "sample string 10",
  "Address": "sample string 11",
  "PIN": "sample string 12",
  "StateID": 13,
  "CountryID": 14
}

application/xml, text/xml

Sample:
<UserSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Address>sample string 11</Address>
  <CountryID>14</CountryID>
  <EmailID>sample string 10</EmailID>
  <FirstName>sample string 7</FirstName>
  <LastName>sample string 8</LastName>
  <MobileNo>sample string 9</MobileNo>
  <Mode>sample string 1</Mode>
  <ModifiedBy>4</ModifiedBy>
  <PIN>sample string 12</PIN>
  <Password>sample string 6</Password>
  <RoleID>3</RoleID>
  <StateID>13</StateID>
  <UserID>2</UserID>
  <UserName>sample string 5</UserName>
</UserSaveInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserSaveInput'.

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.