GET api/Tour/{ID}?REF={REF}&TYPE={TYPE}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| REF | string |
Required |
|
| TYPE | string |
Required |
|
| ID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Tour| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| NOME | string |
None. |
|
| PARTENZE_ESCURSIONI | Collection of PartenzeEscursioni |
None. |
|
| DATE_ESCURSIONI | Collection of DateEscursioni |
None. |
|
| LINGUE | Lingue |
None. |
|
| DISPONIBILE | boolean |
None. |
|
| MESSAGGIO | string |
None. |
|
| DESCRIZIONI | Dictionary of string [key] and Collection of Descrizione [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"NOME": "sample string 2",
"PARTENZE_ESCURSIONI": null,
"DATE_ESCURSIONI": null,
"LINGUE": {
"LINGUE": [
"sample string 1",
"sample string 2"
]
},
"DISPONIBILE": true,
"MESSAGGIO": "sample string 4",
"DESCRIZIONI": {
"sample string 1": [
{
"tipo": "sample string 1",
"descrizione": "sample string 2"
},
{
"tipo": "sample string 1",
"descrizione": "sample string 2"
}
],
"sample string 2": [
{
"tipo": "sample string 1",
"descrizione": "sample string 2"
},
{
"tipo": "sample string 1",
"descrizione": "sample string 2"
}
]
}
}
application/xml, text/xml
Sample:
<Tour xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NowTicket_API.Models">
<DATE_ESCURSIONI i:nil="true" />
<DESCRIZIONI xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringArrayOfDescrizionepuwEpniY>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>
<Descrizione>
<descrizione>sample string 2</descrizione>
<tipo>sample string 1</tipo>
</Descrizione>
<Descrizione>
<descrizione>sample string 2</descrizione>
<tipo>sample string 1</tipo>
</Descrizione>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfDescrizionepuwEpniY>
<d2p1:KeyValueOfstringArrayOfDescrizionepuwEpniY>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value>
<Descrizione>
<descrizione>sample string 2</descrizione>
<tipo>sample string 1</tipo>
</Descrizione>
<Descrizione>
<descrizione>sample string 2</descrizione>
<tipo>sample string 1</tipo>
</Descrizione>
</d2p1:Value>
</d2p1:KeyValueOfstringArrayOfDescrizionepuwEpniY>
</DESCRIZIONI>
<DISPONIBILE>true</DISPONIBILE>
<ID>1</ID>
<LINGUE>
<LINGUE xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</LINGUE>
</LINGUE>
<MESSAGGIO>sample string 4</MESSAGGIO>
<NOME>sample string 2</NOME>
<PARTENZE_ESCURSIONI i:nil="true" />
</Tour>