GET api/Struttura?categoria={categoria}&comune_ref={comune_ref}&pagina={pagina}&lingua={lingua}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| categoria | string |
Required |
|
| comune_ref | integer |
Required |
|
| pagina | integer |
Required |
|
| lingua | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Struttura| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| NOME | string |
None. |
|
| TIPOLOGIA | string |
None. |
|
| COMUNE | string |
None. |
|
| STELLE | integer |
None. |
|
| TELEFONO | string |
None. |
|
| IMMAGINE | string |
None. |
|
| LABEL_SCHEDA | string |
None. |
|
| LABEL_APERTURA | string |
None. |
|
| LUSSO | boolean |
None. |
|
| ABBONAMENTO | boolean |
None. |
|
| SPONSOR | boolean |
None. |
|
| APERTURA | date |
None. |
|
| CHIUSURA | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"NOME": "sample string 2",
"TIPOLOGIA": "sample string 3",
"COMUNE": "sample string 4",
"STELLE": 5,
"TELEFONO": "sample string 6",
"IMMAGINE": "sample string 7",
"LABEL_SCHEDA": "sample string 8",
"LABEL_APERTURA": "sample string 9",
"LUSSO": true,
"ABBONAMENTO": true,
"SPONSOR": true,
"APERTURA": "2025-12-16T06:09:41.4454176+01:00",
"CHIUSURA": "2025-12-16T06:09:41.4454176+01:00"
},
{
"ID": 1,
"NOME": "sample string 2",
"TIPOLOGIA": "sample string 3",
"COMUNE": "sample string 4",
"STELLE": 5,
"TELEFONO": "sample string 6",
"IMMAGINE": "sample string 7",
"LABEL_SCHEDA": "sample string 8",
"LABEL_APERTURA": "sample string 9",
"LUSSO": true,
"ABBONAMENTO": true,
"SPONSOR": true,
"APERTURA": "2025-12-16T06:09:41.4454176+01:00",
"CHIUSURA": "2025-12-16T06:09:41.4454176+01:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfStruttura xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NowTicket_API.Models">
<Struttura>
<ABBONAMENTO>true</ABBONAMENTO>
<APERTURA>2025-12-16T06:09:41.4454176+01:00</APERTURA>
<CHIUSURA>2025-12-16T06:09:41.4454176+01:00</CHIUSURA>
<COMUNE>sample string 4</COMUNE>
<ID>1</ID>
<IMMAGINE>sample string 7</IMMAGINE>
<LABEL_APERTURA>sample string 9</LABEL_APERTURA>
<LABEL_SCHEDA>sample string 8</LABEL_SCHEDA>
<LUSSO>true</LUSSO>
<NOME>sample string 2</NOME>
<SPONSOR>true</SPONSOR>
<STELLE>5</STELLE>
<TELEFONO>sample string 6</TELEFONO>
<TIPOLOGIA>sample string 3</TIPOLOGIA>
</Struttura>
<Struttura>
<ABBONAMENTO>true</ABBONAMENTO>
<APERTURA>2025-12-16T06:09:41.4454176+01:00</APERTURA>
<CHIUSURA>2025-12-16T06:09:41.4454176+01:00</CHIUSURA>
<COMUNE>sample string 4</COMUNE>
<ID>1</ID>
<IMMAGINE>sample string 7</IMMAGINE>
<LABEL_APERTURA>sample string 9</LABEL_APERTURA>
<LABEL_SCHEDA>sample string 8</LABEL_SCHEDA>
<LUSSO>true</LUSSO>
<NOME>sample string 2</NOME>
<SPONSOR>true</SPONSOR>
<STELLE>5</STELLE>
<TELEFONO>sample string 6</TELEFONO>
<TIPOLOGIA>sample string 3</TIPOLOGIA>
</Struttura>
</ArrayOfStruttura>