GET api/Tour/{ID}?REF={REF}&TYPE={TYPE}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
REF

string

Required

TYPE

string

Required

ID

string

Required

Body Parameters

None.

Response Information

Resource Description

Tour
NameDescriptionTypeAdditional 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.

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"
}

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" />
  <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>