GET api/events/showtimes?lat={lat}&lng={lng}&eventID={eventID}&maxTheaters={maxTheaters}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lat | decimal number |
Required |
|
lng | decimal number |
Required |
|
eventID | integer |
Required |
|
maxTheaters | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ShowDateName | Description | Type | Additional information |
---|---|---|---|
Date | string |
None. |
|
Theaters | Collection of ShowtimeTheater |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Date": "sample string 1", "Theaters": [ { "TheaterID": 1, "TheaterName": "sample string 2", "Address1": "sample string 3", "Address2": "sample string 4", "City": "sample string 5", "State": "sample string 6", "PostalCode": "sample string 7", "Country": "sample string 8", "ExhibitorName": "sample string 9", "TicketProviderName": "sample string 10", "Lat": 11.1, "Lon": 12.1, "Distance": 13.1, "Showtimes": [ { "Time": "sample string 1", "PurchaseURL": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ] }, { "Time": "sample string 1", "PurchaseURL": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ] } ] }, { "TheaterID": 1, "TheaterName": "sample string 2", "Address1": "sample string 3", "Address2": "sample string 4", "City": "sample string 5", "State": "sample string 6", "PostalCode": "sample string 7", "Country": "sample string 8", "ExhibitorName": "sample string 9", "TicketProviderName": "sample string 10", "Lat": 11.1, "Lon": 12.1, "Distance": 13.1, "Showtimes": [ { "Time": "sample string 1", "PurchaseURL": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ] }, { "Time": "sample string 1", "PurchaseURL": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ] } ] } ] }, { "Date": "sample string 1", "Theaters": [ { "TheaterID": 1, "TheaterName": "sample string 2", "Address1": "sample string 3", "Address2": "sample string 4", "City": "sample string 5", "State": "sample string 6", "PostalCode": "sample string 7", "Country": "sample string 8", "ExhibitorName": "sample string 9", "TicketProviderName": "sample string 10", "Lat": 11.1, "Lon": 12.1, "Distance": 13.1, "Showtimes": [ { "Time": "sample string 1", "PurchaseURL": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ] }, { "Time": "sample string 1", "PurchaseURL": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ] } ] }, { "TheaterID": 1, "TheaterName": "sample string 2", "Address1": "sample string 3", "Address2": "sample string 4", "City": "sample string 5", "State": "sample string 6", "PostalCode": "sample string 7", "Country": "sample string 8", "ExhibitorName": "sample string 9", "TicketProviderName": "sample string 10", "Lat": 11.1, "Lon": 12.1, "Distance": 13.1, "Showtimes": [ { "Time": "sample string 1", "PurchaseURL": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ] }, { "Time": "sample string 1", "PurchaseURL": "sample string 2", "Tags": [ "sample string 1", "sample string 2" ] } ] } ] } ]
application/xml, text/xml
Sample:
<ArrayOfShowDate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FathomEvents.Models.Fathom"> <ShowDate> <Date>sample string 1</Date> <Theaters> <ShowtimeTheater> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <City>sample string 5</City> <Country>sample string 8</Country> <Distance>13.1</Distance> <ExhibitorName>sample string 9</ExhibitorName> <Lat>11.1</Lat> <Lon>12.1</Lon> <PostalCode>sample string 7</PostalCode> <Showtimes> <Showtime> <PurchaseURL>sample string 2</PurchaseURL> <Tags xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </Tags> <Time>sample string 1</Time> </Showtime> <Showtime> <PurchaseURL>sample string 2</PurchaseURL> <Tags xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </Tags> <Time>sample string 1</Time> </Showtime> </Showtimes> <State>sample string 6</State> <TheaterID>1</TheaterID> <TheaterName>sample string 2</TheaterName> <TicketProviderName>sample string 10</TicketProviderName> </ShowtimeTheater> <ShowtimeTheater> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <City>sample string 5</City> <Country>sample string 8</Country> <Distance>13.1</Distance> <ExhibitorName>sample string 9</ExhibitorName> <Lat>11.1</Lat> <Lon>12.1</Lon> <PostalCode>sample string 7</PostalCode> <Showtimes> <Showtime> <PurchaseURL>sample string 2</PurchaseURL> <Tags xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </Tags> <Time>sample string 1</Time> </Showtime> <Showtime> <PurchaseURL>sample string 2</PurchaseURL> <Tags xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </Tags> <Time>sample string 1</Time> </Showtime> </Showtimes> <State>sample string 6</State> <TheaterID>1</TheaterID> <TheaterName>sample string 2</TheaterName> <TicketProviderName>sample string 10</TicketProviderName> </ShowtimeTheater> </Theaters> </ShowDate> <ShowDate> <Date>sample string 1</Date> <Theaters> <ShowtimeTheater> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <City>sample string 5</City> <Country>sample string 8</Country> <Distance>13.1</Distance> <ExhibitorName>sample string 9</ExhibitorName> <Lat>11.1</Lat> <Lon>12.1</Lon> <PostalCode>sample string 7</PostalCode> <Showtimes> <Showtime> <PurchaseURL>sample string 2</PurchaseURL> <Tags xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </Tags> <Time>sample string 1</Time> </Showtime> <Showtime> <PurchaseURL>sample string 2</PurchaseURL> <Tags xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </Tags> <Time>sample string 1</Time> </Showtime> </Showtimes> <State>sample string 6</State> <TheaterID>1</TheaterID> <TheaterName>sample string 2</TheaterName> <TicketProviderName>sample string 10</TicketProviderName> </ShowtimeTheater> <ShowtimeTheater> <Address1>sample string 3</Address1> <Address2>sample string 4</Address2> <City>sample string 5</City> <Country>sample string 8</Country> <Distance>13.1</Distance> <ExhibitorName>sample string 9</ExhibitorName> <Lat>11.1</Lat> <Lon>12.1</Lon> <PostalCode>sample string 7</PostalCode> <Showtimes> <Showtime> <PurchaseURL>sample string 2</PurchaseURL> <Tags xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </Tags> <Time>sample string 1</Time> </Showtime> <Showtime> <PurchaseURL>sample string 2</PurchaseURL> <Tags xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </Tags> <Time>sample string 1</Time> </Showtime> </Showtimes> <State>sample string 6</State> <TheaterID>1</TheaterID> <TheaterName>sample string 2</TheaterName> <TicketProviderName>sample string 10</TicketProviderName> </ShowtimeTheater> </Theaters> </ShowDate> </ArrayOfShowDate>