PUT api/Logins/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Login
NameDescriptionTypeAdditional information
Id

integer

None.

userName

string

None.

password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "userName": "sample string 2",
  "password": "sample string 3"
}

text/html

Sample:
{"Id":1,"userName":"sample string 2","password":"sample string 3"}

application/xml, text/xml

Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/facultyfriendapps.Models">
  <Id>1</Id>
  <password>sample string 3</password>
  <userName>sample string 2</userName>
</Login>

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

Response Information

Resource Description

None.