POST api/Utenti
Request Information
URI Parameters
None.
Body Parameters
Utenti| Name | Description | Type | Additional information |
|---|---|---|---|
| IDUtente | integer |
None. |
|
| IDGruppo | integer |
None. |
|
| IDDipendente | integer |
None. |
|
| IDCliente | integer |
None. |
|
| Username | string |
Required |
|
| Password | string |
Required |
|
| User_State | User_State |
None. |
|
| UserGruppo | Gruppi |
None. |
|
| DisplayGruppo | string |
None. |
|
| DisplayProfileState | string |
None. |
|
| ModelState | EnmModelState |
None. |
Request Formats
application/json, text/json
Sample:
{
"IDUtente": 1,
"IDGruppo": 2,
"IDDipendente": 1,
"IDCliente": 1,
"Username": "sample string 3",
"Password": "sample string 4",
"User_State": 0,
"UserGruppo": {
"IDGruppo": 1,
"Codice": "sample string 2",
"Descrizione": "sample string 3",
"Deleted": true,
"ModelState": 0
},
"DisplayGruppo": "sample string 3",
"DisplayProfileState": "Abilitato",
"ModelState": 0
}
application/xml, text/xml
Sample:
<Utenti xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Puliservice.Data.Models">
<IDCliente>1</IDCliente>
<IDDipendente>1</IDDipendente>
<IDGruppo>2</IDGruppo>
<IDUtente>1</IDUtente>
<ModelState>Unchanged</ModelState>
<Password>sample string 4</Password>
<UserGruppo>
<Codice>sample string 2</Codice>
<Deleted>true</Deleted>
<Descrizione>sample string 3</Descrizione>
<IDGruppo>1</IDGruppo>
<ModelState>Unchanged</ModelState>
</UserGruppo>
<User_State>Abilitato</User_State>
<Username>sample string 3</Username>
</Utenti>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Utenti| Name | Description | Type | Additional information |
|---|---|---|---|
| IDUtente | integer |
None. |
|
| IDGruppo | integer |
None. |
|
| IDDipendente | integer |
None. |
|
| IDCliente | integer |
None. |
|
| Username | string |
Required |
|
| Password | string |
Required |
|
| User_State | User_State |
None. |
|
| UserGruppo | Gruppi |
None. |
|
| DisplayGruppo | string |
None. |
|
| DisplayProfileState | string |
None. |
|
| ModelState | EnmModelState |
None. |
Response Formats
application/json, text/json
Sample:
{
"IDUtente": 1,
"IDGruppo": 2,
"IDDipendente": 1,
"IDCliente": 1,
"Username": "sample string 3",
"Password": "sample string 4",
"User_State": 0,
"UserGruppo": {
"IDGruppo": 1,
"Codice": "sample string 2",
"Descrizione": "sample string 3",
"Deleted": true,
"ModelState": 0
},
"DisplayGruppo": "sample string 3",
"DisplayProfileState": "Abilitato",
"ModelState": 0
}
application/xml, text/xml
Sample:
<Utenti xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Puliservice.Data.Models">
<IDCliente>1</IDCliente>
<IDDipendente>1</IDDipendente>
<IDGruppo>2</IDGruppo>
<IDUtente>1</IDUtente>
<ModelState>Unchanged</ModelState>
<Password>sample string 4</Password>
<UserGruppo>
<Codice>sample string 2</Codice>
<Deleted>true</Deleted>
<Descrizione>sample string 3</Descrizione>
<IDGruppo>1</IDGruppo>
<ModelState>Unchanged</ModelState>
</UserGruppo>
<User_State>Abilitato</User_State>
<Username>sample string 3</Username>
</Utenti>