POST api/PortaAmico/get_PortaAmico
Request Information
URI Parameters
None.
Body Parameters
GetPortaAmico| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
Required |
|
| Anno | integer |
Required |
|
| Mese | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "sample string 1",
"Anno": 2,
"Mese": 3
}
application/xml, text/xml
Sample:
<ParametriWS.GetPortaAmico xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess"> <Anno>2</Anno> <Mese>3</Mese> <UserId>sample string 1</UserId> </ParametriWS.GetPortaAmico>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PortaAmico| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Agente | string |
None. |
|
| Anno | integer |
None. |
|
| Mese | integer |
None. |
|
| TotPezzi | integer |
None. |
|
| TotValore | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Agente": "sample string 2",
"Anno": 3,
"Mese": 4,
"TotPezzi": 5,
"TotValore": 6.0
},
{
"Id": 1,
"Agente": "sample string 2",
"Anno": 3,
"Mese": 4,
"TotPezzi": 5,
"TotValore": 6.0
}
]
application/xml, text/xml
Sample:
<ArrayOfPortaAmico xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess">
<PortaAmico>
<Agente>sample string 2</Agente>
<Anno>3</Anno>
<Id>1</Id>
<Mese>4</Mese>
<TotPezzi>5</TotPezzi>
<TotValore>6</TotValore>
</PortaAmico>
<PortaAmico>
<Agente>sample string 2</Agente>
<Anno>3</Anno>
<Id>1</Id>
<Mese>4</Mese>
<TotPezzi>5</TotPezzi>
<TotValore>6</TotValore>
</PortaAmico>
</ArrayOfPortaAmico>