POST api/Gruppi
Request Information
URI Parameters
None.
Body Parameters
Gruppi| Name | Description | Type | Additional information |
|---|---|---|---|
| IDGruppo | integer |
None. |
|
| Codice | string |
Required String length: inclusive between 0 and 10 |
|
| Descrizione | string |
Required |
|
| Deleted | boolean |
None. |
|
| ModelState | EnmModelState |
None. |
Request Formats
application/json, text/json
Sample:
{
"IDGruppo": 1,
"Codice": "sample string 2",
"Descrizione": "sample string 3",
"Deleted": true,
"ModelState": 0
}
application/xml, text/xml
Sample:
<Gruppi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Puliservice.Data.Models"> <Codice>sample string 2</Codice> <Deleted>true</Deleted> <Descrizione>sample string 3</Descrizione> <IDGruppo>1</IDGruppo> <ModelState>Unchanged</ModelState> </Gruppi>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.