POST api/DurataPagamenti
Request Information
URI Parameters
None.
Body Parameters
DurataPagamenti| Name | Description | Type | Additional information |
|---|---|---|---|
| IDDurataPagamento | integer |
None. |
|
| Descrizione | string |
Required |
|
| Deleted | boolean |
None. |
|
| ModelState | EnmModelState |
None. |
Request Formats
application/json, text/json
Sample:
{
"IDDurataPagamento": 1,
"Descrizione": "sample string 2",
"Deleted": true,
"ModelState": 0
}
application/xml, text/xml
Sample:
<DurataPagamenti xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Puliservice.Data.Models"> <Deleted>true</Deleted> <Descrizione>sample string 2</Descrizione> <IDDurataPagamento>1</IDDurataPagamento> <ModelState>Unchanged</ModelState> </DurataPagamenti>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DurataPagamenti| Name | Description | Type | Additional information |
|---|---|---|---|
| IDDurataPagamento | integer |
None. |
|
| Descrizione | string |
Required |
|
| Deleted | boolean |
None. |
|
| ModelState | EnmModelState |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IDDurataPagamento": 1,
"Descrizione": "sample string 2",
"Deleted": true,
"ModelState": 0
},
{
"IDDurataPagamento": 1,
"Descrizione": "sample string 2",
"Deleted": true,
"ModelState": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfDurataPagamenti xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Puliservice.Data.Models">
<DurataPagamenti>
<Deleted>true</Deleted>
<Descrizione>sample string 2</Descrizione>
<IDDurataPagamento>1</IDDurataPagamento>
<ModelState>Unchanged</ModelState>
</DurataPagamenti>
<DurataPagamenti>
<Deleted>true</Deleted>
<Descrizione>sample string 2</Descrizione>
<IDDurataPagamento>1</IDDurataPagamento>
<ModelState>Unchanged</ModelState>
</DurataPagamenti>
</ArrayOfDurataPagamenti>