GET api/Theaters/LocationsForWeek?locale={locale}&latinCity={latinCity}&date={date}
Gets a list of locations in the specified city that hold events in the specified week.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
locale |
Two letter country ISO code ("el", "en"). |
string |
Required |
latinCity |
The name of the city in latin characters ("el" -> "athina" / "en" -> "athens"). |
string |
Required |
date |
A date representation in the form of "YYYYMMdd". For example the third of May in 2004 is "20040503". |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of s.
Collection of LocationName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
LocationUniqueId | string |
None. |
|
Name | string |
None. |
|
MultiPlex | string |
None. |
|
MultiPlexEncoded | string |
None. |
|
Area | string |
None. |
|
Street | string |
None. |
|
PostalCode | string |
None. |
|
City | EventCity |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Locale | string |
None. |
|
EncodedName | string |
None. |
|
Phones | Collection of Phone |
None. |
|
BelongsToMultiplex | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "LocationUniqueId": "sample string 2", "Name": "sample string 3", "MultiPlex": "sample string 4", "MultiPlexEncoded": "sample string 5", "Area": "sample string 6", "Street": "sample string 7", "PostalCode": "sample string 8", "City": { "Id": 1, "Description": "sample string 2", "LatinDescription": "sample string 3", "Locale": "sample string 4", "UniqueId": "sample string 5", "HasNewEvents": true }, "Latitude": 9.1, "Longitude": 10.1, "Locale": "sample string 11", "EncodedName": "sample string 12", "Phones": [ { "Id": 1, "Description": "sample string 2" }, { "Id": 1, "Description": "sample string 2" } ], "BelongsToMultiplex": true }, { "Id": 1, "LocationUniqueId": "sample string 2", "Name": "sample string 3", "MultiPlex": "sample string 4", "MultiPlexEncoded": "sample string 5", "Area": "sample string 6", "Street": "sample string 7", "PostalCode": "sample string 8", "City": { "Id": 1, "Description": "sample string 2", "LatinDescription": "sample string 3", "Locale": "sample string 4", "UniqueId": "sample string 5", "HasNewEvents": true }, "Latitude": 9.1, "Longitude": 10.1, "Locale": "sample string 11", "EncodedName": "sample string 12", "Phones": [ { "Id": 1, "Description": "sample string 2" }, { "Id": 1, "Description": "sample string 2" } ], "BelongsToMultiplex": true } ]
application/xml, text/xml
Sample:
<ArrayOfLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Newsphone.Wds.Uis.DataSource.Events.Model"> <Location> <Area>sample string 6</Area> <City> <Description>sample string 2</Description> <HasNewEvents>true</HasNewEvents> <Id>1</Id> <LatinDescription>sample string 3</LatinDescription> <Locale>sample string 4</Locale> <UniqueId>sample string 5</UniqueId> </City> <EncodedName>sample string 12</EncodedName> <Id>1</Id> <Latitude>9.1</Latitude> <Locale>sample string 11</Locale> <LocationUniqueId>sample string 2</LocationUniqueId> <Longitude>10.1</Longitude> <MultiPlex>sample string 4</MultiPlex> <MultiPlexEncoded>sample string 5</MultiPlexEncoded> <Name>sample string 3</Name> <Phones> <Phone> <Description>sample string 2</Description> <Id>1</Id> </Phone> <Phone> <Description>sample string 2</Description> <Id>1</Id> </Phone> </Phones> <PostalCode>sample string 8</PostalCode> <Street>sample string 7</Street> </Location> <Location> <Area>sample string 6</Area> <City> <Description>sample string 2</Description> <HasNewEvents>true</HasNewEvents> <Id>1</Id> <LatinDescription>sample string 3</LatinDescription> <Locale>sample string 4</Locale> <UniqueId>sample string 5</UniqueId> </City> <EncodedName>sample string 12</EncodedName> <Id>1</Id> <Latitude>9.1</Latitude> <Locale>sample string 11</Locale> <LocationUniqueId>sample string 2</LocationUniqueId> <Longitude>10.1</Longitude> <MultiPlex>sample string 4</MultiPlex> <MultiPlexEncoded>sample string 5</MultiPlexEncoded> <Name>sample string 3</Name> <Phones> <Phone> <Description>sample string 2</Description> <Id>1</Id> </Phone> <Phone> <Description>sample string 2</Description> <Id>1</Id> </Phone> </Phones> <PostalCode>sample string 8</PostalCode> <Street>sample string 7</Street> </Location> </ArrayOfLocation>