POST api/Iti/v1/Login/POST
Request Information
URI Parameters
None.
Body Parameters
RegisterDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| string |
None. |
||
| password | string |
None. |
|
| cod_ruolo | string |
None. |
|
| pin | string |
None. |
|
| nome | string |
None. |
|
| cognome | string |
None. |
|
| codice_fiscale | string |
None. |
|
| punti_totali_psr | integer |
None. |
|
| punti_spesi_psr | integer |
None. |
|
| punti_correnti_psr | integer |
None. |
|
| m_totali_psr | integer |
None. |
|
| punti_totali_fan | integer |
None. |
|
| punti_spesi_fan | integer |
None. |
|
| punti_correnti_fan | integer |
None. |
|
| m_totali_fan | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"email": "sample string 2",
"password": "sample string 3",
"cod_ruolo": "sample string 4",
"pin": "sample string 5",
"nome": "sample string 6",
"cognome": "sample string 7",
"codice_fiscale": "sample string 8",
"punti_totali_psr": 9,
"punti_spesi_psr": 10,
"punti_correnti_psr": 11,
"m_totali_psr": 12,
"punti_totali_fan": 13,
"punti_spesi_fan": 14,
"punti_correnti_fan": 15,
"m_totali_fan": 16
}
application/xml, text/xml
Sample:
<RegisterDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Iti.DTO.Utenti"> <cod_ruolo>sample string 4</cod_ruolo> <codice_fiscale>sample string 8</codice_fiscale> <cognome>sample string 7</cognome> <email>sample string 2</email> <id>1</id> <m_totali_fan>16</m_totali_fan> <m_totali_psr>12</m_totali_psr> <nome>sample string 6</nome> <password>sample string 3</password> <pin>sample string 5</pin> <punti_correnti_fan>15</punti_correnti_fan> <punti_correnti_psr>11</punti_correnti_psr> <punti_spesi_fan>14</punti_spesi_fan> <punti_spesi_psr>10</punti_spesi_psr> <punti_totali_fan>13</punti_totali_fan> <punti_totali_psr>9</punti_totali_psr> </RegisterDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDTOOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | StatusDTO |
None. |
|
| Payload | Object |
None. |
|
| Errors | Collection of ErrorDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": {
"Code": "sample string 1",
"Description": "sample string 2"
},
"Payload": {},
"Errors": null
}
application/xml, text/xml
Sample:
<ResponseDTOOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Iti.DTO">
<Errors i:nil="true" />
<Payload />
<Status>
<Code>sample string 1</Code>
<Description>sample string 2</Description>
</Status>
</ResponseDTOOfanyType>