POST Api/Login

Metodo di Autentificazione

Request Information

URI Parameters

None.

Body Parameters

Contine i paramentri obbligatori userName e password

LoginModel
NameDescriptionTypeAdditional information
userName

Username fornito da NODE

string

Required

password

MD5 della Password fornito da NODE

string

Required

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

Token di autentificazione

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.