POST api/v1/MemberShip/EditUser

Request Information

URI Parameters

None.

Body Parameters

UserModel
NameDescriptionTypeAdditional information
PeopleID

integer

None.

UserId

string

None.

txtSmartUser

string

None.

UserName

string

None.

Email

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PeopleID": 1,
  "UserId": "sample string 1",
  "txtSmartUser": "sample string 2",
  "UserName": "sample string 3",
  "Email": "sample string 4",
  "IsActive": true
}

text/html

Sample:
{"PeopleID":1,"UserId":"sample string 1","txtSmartUser":"sample string 2","UserName":"sample string 3","Email":"sample string 4","IsActive":true}

application/xml, text/xml

Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartWorldLibrary.Models.Membership">
  <Email>sample string 4</Email>
  <IsActive>true</IsActive>
  <PeopleID>1</PeopleID>
  <UserId>sample string 1</UserId>
  <UserName>sample string 3</UserName>
  <txtSmartUser>sample string 2</txtSmartUser>
</UserModel>

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 'UserModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.