GET api/Movies/ActiveCitiesForWeek?locale={locale}&date={date}
Gets a list of the cities that hold events the specified week.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locale |
Two letter country ISO code ("el", "en"). |
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 EventCity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
|
| LatinDescription | string |
None. |
|
| Locale | string |
None. |
|
| UniqueId | string |
None. |
|
| HasNewEvents | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Description": "sample string 2",
"LatinDescription": "sample string 3",
"Locale": "sample string 4",
"UniqueId": "sample string 5",
"HasNewEvents": true
},
{
"Id": 1,
"Description": "sample string 2",
"LatinDescription": "sample string 3",
"Locale": "sample string 4",
"UniqueId": "sample string 5",
"HasNewEvents": true
}
]
application/xml, text/xml
Sample:
<ArrayOfEventCity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Newsphone.Wds.Uis.DataSource.Events.Model">
<EventCity>
<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>
</EventCity>
<EventCity>
<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>
</EventCity>
</ArrayOfEventCity>