POST api/Utenti/Login

Request Information

URI Parameters

None.

Body Parameters

UtenteLogin
NameDescriptionTypeAdditional information
Username

string

None.

PasswordMD5

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "PasswordMD5": "sample string 2"
}

application/xml, text/xml

Sample:
<UtenteLogin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERStudioAPI.Controllers">
  <PasswordMD5>sample string 2</PasswordMD5>
  <Username>sample string 1</Username>
</UtenteLogin>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UtenteLoggato
NameDescriptionTypeAdditional information
IdUtente

integer

None.

Tipo

integer

None.

IdPerito

integer

None.

IdTecnico

integer

None.

TokenLogin

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "IdUtente": 1,
  "Tipo": 2,
  "IdPerito": 3,
  "IdTecnico": 4,
  "TokenLogin": "80ef657a-f8be-4996-ade4-294e239505eb"
}

application/xml, text/xml

Sample:
<UtenteLoggato xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERStudioAPI.Controllers">
  <IdPerito>3</IdPerito>
  <IdTecnico>4</IdTecnico>
  <IdUtente>1</IdUtente>
  <Tipo>2</Tipo>
  <TokenLogin>80ef657a-f8be-4996-ade4-294e239505eb</TokenLogin>
</UtenteLoggato>