POST api/Categorie
Request Information
URI Parameters
None.
Body Parameters
Collection of CategorieDto| Name | Description | Type | Additional information |
|---|---|---|---|
| IDCategoria | integer |
None. |
|
| Descrizione | string |
None. |
|
| NoGame | boolean |
None. |
|
| DescrizioneEn | string |
None. |
|
| PesoDefault | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"IDCategoria": 1,
"Descrizione": "sample string 2",
"NoGame": true,
"DescrizioneEn": "sample string 4",
"PesoDefault": 1.0
},
{
"IDCategoria": 1,
"Descrizione": "sample string 2",
"NoGame": true,
"DescrizioneEn": "sample string 4",
"PesoDefault": 1.0
}
]
application/xml, text/xml
Sample:
<ArrayOfCategorieDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GE_Web_Api_Model">
<CategorieDto>
<Descrizione>sample string 2</Descrizione>
<DescrizioneEn>sample string 4</DescrizioneEn>
<IDCategoria>1</IDCategoria>
<NoGame>true</NoGame>
<PesoDefault>1</PesoDefault>
</CategorieDto>
<CategorieDto>
<Descrizione>sample string 2</Descrizione>
<DescrizioneEn>sample string 4</DescrizioneEn>
<IDCategoria>1</IDCategoria>
<NoGame>true</NoGame>
<PesoDefault>1</PesoDefault>
</CategorieDto>
</ArrayOfCategorieDto>
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.