POST api/Commenti/GetCommentiValidati/{idDripPoint}
Recupera i commenti validati (pubblici) per uno specifico DripPoint, paginati. Accessibile a utenti autenticati.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idDripPoint | integer |
Required |
Body Parameters
RequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PageSize |
Gets or sets the number of items to display on each page. This property determines the size of the pagination for data retrieval.Implementazione di PageSize con valore di default 10 |
integer |
Range: inclusive between 1 and 2147483647 |
| LastItemReference |
Implementazione di LastItemReference con valore di default 10 |
integer |
Range: inclusive between 1 and 2147483647 |
| UserPosition |
Gets or sets the geographic position of the user as a GeoJSON point. |
GeoJsonPoint |
None. |
| SortBy |
Campo su cui ordinare |
string |
None. |
| SearchTerm |
Testo opzionale per la ricerca globale |
string |
None. |
| Tipologie |
Lista di categorie, inizializzata vuota |
Collection of integer |
None. |
| Sottotipologie |
Lista di Id sottotipologie su cui filtrare, inizializzata vuota |
Collection of integer |
None. |
| Macrocategorie |
Lista di Id macrocategorie su cui filtrare, inizializzata vuota |
Collection of integer |
None. |
Request Formats
application/json, text/json
{
"PageSize": 1,
"LastItemReference": 2,
"UserPosition": {
"Type": "sample string 1",
"Coordinates": [
1.1,
2.1
]
},
"SortBy": "sample string 3",
"SearchTerm": "sample string 4",
"Tipologie": [
1,
2
],
"Sottotipologie": [
1,
2
],
"Macrocategorie": [
1,
2
]
}
application/xml, text/xml
<RequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DripApi.Models">
<LastItemReference>2</LastItemReference>
<Macrocategorie xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Macrocategorie>
<PageSize>1</PageSize>
<SearchTerm>sample string 4</SearchTerm>
<SortBy>sample string 3</SortBy>
<Sottotipologie xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Sottotipologie>
<Tipologie xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Tipologie>
<UserPosition>
<Coordinates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:double>1.1</d3p1:double>
<d3p1:double>2.1</d3p1:double>
</Coordinates>
<Type>sample string 1</Type>
</UserPosition>
</RequestModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ResponseModelOfCommentoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| LastItemReference | integer |
None. |
|
| UserPosition | GeoJsonPoint |
None. |
|
| SortBy | string |
None. |
|
| SearchTerm | string |
None. |
|
| Tipologie | Collection of integer |
None. |
|
| Sottotipologie | Collection of integer |
None. |
|
| Macrocategorie | Collection of integer |
None. |
|
| Results | Collection of CommentoModel |
None. |
Response Formats
application/json, text/json
{
"Page": 1,
"PageSize": 2,
"LastItemReference": 3,
"UserPosition": {
"Type": "sample string 1",
"Coordinates": [
1.1,
2.1
]
},
"SortBy": "sample string 4",
"SearchTerm": "sample string 5",
"Tipologie": [
1,
2
],
"Sottotipologie": [
1,
2
],
"Macrocategorie": [
1,
2
],
"Results": [
{
"Id": 1,
"IdDripPoint": 2,
"IdUtenteWordPress": 3,
"IdTipoEsperienza": 64,
"TipoEsperienza": "sample string 4",
"Valutazione": 64,
"HaUsufruito": true,
"IdCosto": 64,
"Costo": "sample string 6",
"IdTempistica": 64,
"Tempistica": "sample string 7",
"Testo": "sample string 8",
"Validato": true,
"Declined": true,
"DataCreazione": "2026-09-11T11:13:14.1381423+02:00",
"DataModifica": "2026-09-11T11:13:14.1381423+02:00",
"ReferenceId": 13
},
{
"Id": 1,
"IdDripPoint": 2,
"IdUtenteWordPress": 3,
"IdTipoEsperienza": 64,
"TipoEsperienza": "sample string 4",
"Valutazione": 64,
"HaUsufruito": true,
"IdCosto": 64,
"Costo": "sample string 6",
"IdTempistica": 64,
"Tempistica": "sample string 7",
"Testo": "sample string 8",
"Validato": true,
"Declined": true,
"DataCreazione": "2026-09-11T11:13:14.1381423+02:00",
"DataModifica": "2026-09-11T11:13:14.1381423+02:00",
"ReferenceId": 13
}
]
}
application/xml, text/xml
<ResponseModelOfCommentoModelpjywjVOD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DripApi.Models">
<LastItemReference>3</LastItemReference>
<Macrocategorie xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Macrocategorie>
<Page>1</Page>
<PageSize>2</PageSize>
<Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/DripApi.Models.Commenti">
<d2p1:CommentoModel>
<d2p1:Costo>sample string 6</d2p1:Costo>
<d2p1:DataCreazione>2026-09-11T11:13:14.1381423+02:00</d2p1:DataCreazione>
<d2p1:DataModifica>2026-09-11T11:13:14.1381423+02:00</d2p1:DataModifica>
<d2p1:Declined>true</d2p1:Declined>
<d2p1:HaUsufruito>true</d2p1:HaUsufruito>
<d2p1:Id>1</d2p1:Id>
<d2p1:IdCosto>64</d2p1:IdCosto>
<d2p1:IdDripPoint>2</d2p1:IdDripPoint>
<d2p1:IdTempistica>64</d2p1:IdTempistica>
<d2p1:IdTipoEsperienza>64</d2p1:IdTipoEsperienza>
<d2p1:IdUtenteWordPress>3</d2p1:IdUtenteWordPress>
<d2p1:ReferenceId>13</d2p1:ReferenceId>
<d2p1:Tempistica>sample string 7</d2p1:Tempistica>
<d2p1:Testo>sample string 8</d2p1:Testo>
<d2p1:TipoEsperienza>sample string 4</d2p1:TipoEsperienza>
<d2p1:Validato>true</d2p1:Validato>
<d2p1:Valutazione>64</d2p1:Valutazione>
</d2p1:CommentoModel>
<d2p1:CommentoModel>
<d2p1:Costo>sample string 6</d2p1:Costo>
<d2p1:DataCreazione>2026-09-11T11:13:14.1381423+02:00</d2p1:DataCreazione>
<d2p1:DataModifica>2026-09-11T11:13:14.1381423+02:00</d2p1:DataModifica>
<d2p1:Declined>true</d2p1:Declined>
<d2p1:HaUsufruito>true</d2p1:HaUsufruito>
<d2p1:Id>1</d2p1:Id>
<d2p1:IdCosto>64</d2p1:IdCosto>
<d2p1:IdDripPoint>2</d2p1:IdDripPoint>
<d2p1:IdTempistica>64</d2p1:IdTempistica>
<d2p1:IdTipoEsperienza>64</d2p1:IdTipoEsperienza>
<d2p1:IdUtenteWordPress>3</d2p1:IdUtenteWordPress>
<d2p1:ReferenceId>13</d2p1:ReferenceId>
<d2p1:Tempistica>sample string 7</d2p1:Tempistica>
<d2p1:Testo>sample string 8</d2p1:Testo>
<d2p1:TipoEsperienza>sample string 4</d2p1:TipoEsperienza>
<d2p1:Validato>true</d2p1:Validato>
<d2p1:Valutazione>64</d2p1:Valutazione>
</d2p1:CommentoModel>
</Results>
<SearchTerm>sample string 5</SearchTerm>
<SortBy>sample string 4</SortBy>
<Sottotipologie xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Sottotipologie>
<Tipologie xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Tipologie>
<UserPosition>
<Coordinates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:double>1.1</d3p1:double>
<d3p1:double>2.1</d3p1:double>
</Coordinates>
<Type>sample string 1</Type>
</UserPosition>
</ResponseModelOfCommentoModelpjywjVOD>