GET api/events-date/{event_date}/{event_type}?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
event_date

string

Required

event_type

string

Required

token

string

Required

Body Parameters

None.

Response Information

Resource Description

GetEventsViewModel
NameDescriptionTypeAdditional information
Source

string

None.

Language

string

None.

ResultsCount

integer

None.

Events

Collection of GetEventViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "source": "sample string 1",
  "language": "sample string 2",
  "resultsCount": 3,
  "events": [
    {
      "title": "sample string 1",
      "subtitle": "sample string 2",
      "fulltitle": "sample string 3",
      "event_date_time": "sample string 4",
      "event_date": "2020-07-12T05:52:04.7909453-04:00",
      "event_date_text": "sample string 6",
      "event_type": "sample string 7"
    },
    {
      "title": "sample string 1",
      "subtitle": "sample string 2",
      "fulltitle": "sample string 3",
      "event_date_time": "sample string 4",
      "event_date": "2020-07-12T05:52:04.7909453-04:00",
      "event_date_text": "sample string 6",
      "event_type": "sample string 7"
    }
  ]
}

text/xml

Sample:
<GetEventsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/moma_tms_api.Models">
  <Events>
    <GetEventViewModel>
      <event_date>2020-07-12T05:52:04.7909453-04:00</event_date>
      <event_date_text>sample string 6</event_date_text>
      <event_date_time>sample string 4</event_date_time>
      <event_type>sample string 7</event_type>
      <fulltitle>sample string 3</fulltitle>
      <subtitle>sample string 2</subtitle>
      <title>sample string 1</title>
    </GetEventViewModel>
    <GetEventViewModel>
      <event_date>2020-07-12T05:52:04.7909453-04:00</event_date>
      <event_date_text>sample string 6</event_date_text>
      <event_date_time>sample string 4</event_date_time>
      <event_type>sample string 7</event_type>
      <fulltitle>sample string 3</fulltitle>
      <subtitle>sample string 2</subtitle>
      <title>sample string 1</title>
    </GetEventViewModel>
  </Events>
  <Language>sample string 2</Language>
  <ResultsCount>3</ResultsCount>
  <Source>sample string 1</Source>
</GetEventsViewModel>