Returns an Event based on the supplied occation ID.

GET /api/occations/{occation_id}?language={language} HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json, application/atom+xml, application/rss+xml, application/rss+xml+wp, text/calendar, text/plain, text/html

Request Information

Path Parameters

Name Description
occation_id Occation ID for event to return
language ISO code for return language

Body Parameters

None


Response Information

Resource Description

Event

Name Description
ID Event ID
Area The area (physical) where event is held
SubArea Optional sub area (physical or logical) for the event
Title Event title
Organizer Information about the organizer
SignInterpreted Flag for if the event is sign language interpreted
Highlighted Flag for if the event is highlighted (an event of special interest)
Production One of the possible enum values represention how the event is produced
Cancelled Flag for if the event has been cancelled
Recurring Flag for if the event is a recurring event (has more than one occation)
Language The language in which the event is beeing held
Type The event type for categorization
Location Information about the physical location
Occation The current occation
Price Pricing information
Intro Short intro/information text
Description Longer description of the event
ImageUrl URL of an image representing the event
ImageCaption Caption with information regarding the image representing the event
ExternalUrl External URL for more information about the event
TicketUrl URL for buying the ticket online
AllOccations All occations of an event (an event might occur one or more times)
Updated Flag for if the event information has been updated within the last 36 hours
ChangeInfo Internal information about the last change (if supplied)
ChangeTimestamp Timestamp for when the event was last marked as changed
LastModified Timestamp for when the event was modified, even if not marked as changed

Response Formats

application/json (.json) text/json
{
  "id": 1,
  "area": {
    "id": 3,
    "name": "sample string 4",
    "fullName": "sample string 5",
    "color": "sample string 6",
    "location": "sample string 7",
    "address": "sample string 8",
    "info": {
      "en": "english string 9",
      "sv": "swedish string 9"
    },
    "externalUrl": "sample string 10",
    "eventCount": 1,
    "occationCount": 1,
    "price": "sample string 1",
    "ticketUrl": "sample string 2",
    "subAreaEventCount": 1,
    "subAreaOccationCount": 1,
    "days": [
      {
        "date": "2024-12-19",
        "name": "torsdag 19 december",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "openTimeSpan": "00:00–00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "ticketOpenTimespan": "00:00–00:00",
        "title": "sample string 2",
        "priceInfo": "sample string 3",
        "occationCount": 4
      },
      {
        "date": "2024-12-19",
        "name": "torsdag 19 december",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "openTimeSpan": "00:00–00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "ticketOpenTimespan": "00:00–00:00",
        "title": "sample string 2",
        "priceInfo": "sample string 3",
        "occationCount": 4
      }
    ],
    "streams": [
      {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      },
      {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      }
    ]
  },
  "subArea": {
    "id": 1,
    "name": "sample string 2",
    "fullName": "sample string 3",
    "color": "sample string 4",
    "location": "sample string 5",
    "address": "sample string 6",
    "info": {
      "en": "english string 7",
      "sv": "swedish string 7"
    },
    "externalUrl": "sample string 8",
    "eventCount": 1,
    "occationCount": 1,
    "days": [
      {
        "date": "2024-12-19",
        "name": "torsdag 19 december",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "openTimeSpan": "00:00–00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "ticketOpenTimespan": "00:00–00:00",
        "title": "sample string 2",
        "priceInfo": "sample string 3",
        "occationCount": 4
      },
      {
        "date": "2024-12-19",
        "name": "torsdag 19 december",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "openTimeSpan": "00:00–00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "ticketOpenTimespan": "00:00–00:00",
        "title": "sample string 2",
        "priceInfo": "sample string 3",
        "occationCount": 4
      }
    ],
    "streams": [
      {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      },
      {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      }
    ]
  },
  "title": "sample string 2",
  "organizer": {
    "id": 1,
    "name": "sample string 2",
    "info": {
      "en": "english string 3",
      "sv": "swedish string 3"
    },
    "externalUrl": "sample string 4",
    "eventCount": 1,
    "occationCount": 1,
    "offerCount": 1
  },
  "signInterpreted": true,
  "highlighted": true,
  "production": 0,
  "cancelled": true,
  "recurring": true,
  "language": {
    "code": "sample string 1",
    "name": {
      "en": "english string 2",
      "sv": "swedish string 2"
    }
  },
  "type": {
    "id": 1,
    "name": {
      "en": "english string 2",
      "sv": "swedish string 2"
    },
    "color": "sample string 3"
  },
  "location": {
    "name": "sample string 1",
    "isOnline": true,
    "address": "sample string 3",
    "room": "sample string 4",
    "fullName": "sample string 1, sample string 4",
    "floor": "sample string 5",
    "accessibilityInfo": {
      "en": "english string 6",
      "sv": "swedish string 6"
    },
    "roomAccessibilityInfo": {
      "en": "english string 7",
      "sv": "swedish string 7"
    },
    "publicTransportStation": "sample string 8"
  },
  "occation": {
    "id": 1,
    "dayID": 2,
    "date": "2024-12-19",
    "startTime": "00:00:00",
    "endTime": "00:00:00",
    "stream": {
      "name": "sample string 1",
      "url": "sample string 2",
      "source": 0
    },
    "start": "18:49",
    "timeSpan": "idag 18:49–fre 20 dec 18:49",
    "url": {
      "en": "http://example.se/en/5",
      "sv": "http://example.se/sv/5"
    }
  },
  "price": "sample string 6",
  "intro": {
    "en": "english string 7",
    "sv": "swedish string 7"
  },
  "description": {
    "en": "english string 8",
    "sv": "swedish string 8"
  },
  "imageUrl": "sample string 9",
  "imageCaption": "sample string 10",
  "externalUrl": "sample string 11",
  "ticketUrl": "sample string 12",
  "allOccations": [
    {
      "id": 1,
      "dayID": 2,
      "date": "2024-12-19",
      "startTime": "00:00:00",
      "endTime": "00:00:00",
      "stream": {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      },
      "start": "18:49",
      "timeSpan": "idag 18:49–fre 20 dec 18:49",
      "url": {
        "en": "http://example.se/en/5",
        "sv": "http://example.se/sv/5"
      }
    },
    {
      "id": 1,
      "dayID": 2,
      "date": "2024-12-19",
      "startTime": "00:00:00",
      "endTime": "00:00:00",
      "stream": {
        "name": "sample string 1",
        "url": "sample string 2",
        "source": 0
      },
      "start": "18:49",
      "timeSpan": "idag 18:49–fre 20 dec 18:49",
      "url": {
        "en": "http://example.se/en/5",
        "sv": "http://example.se/sv/5"
      }
    }
  ],
  "updated": true,
  "changeInfo": "sample string 13",
  "changeTimestamp": "2024-12-19T18:49:22.6650173+01:00",
  "lastModified": "2024-12-19T18:49:22.6650173+01:00"
}
application/atom+xml (.atom)
<feed xml:lang="sv" xmlns:pride="http://www.stockholmpride.org/ns/2.0" xmlns="http://www.w3.org/2005/Atom">
  <title type="text">Event Name</title>
  <subtitle type="text">Selected events from Stockholm Pride EM system</subtitle>
  <id>uuid:c3ec2084-a040-4e2e-b63c-36b0c5d69c35;id=8</id>
  <updated>2024-12-19T18:49:22+01:00</updated>
  <entry>
    <id>http://example.se/sv/5</id>
    <title type="text">idag 18:49–fre 20 dec 18:49 sample string 2</title>
    <summary type="text">swedish string 7</summary>
    <published>2024-12-19T18:49:22+01:00</published>
    <updated>2024-12-19T17:49:22Z</updated>
    <link rel="alternate" href="http://example.se/sv/5" />
    <category term="swedish string 2 &gt; swedish string 2" />
    <pride:areaName>sample string 5</pride:areaName>
    <pride:eventCancelled>true</pride:eventCancelled>
    <pride:eventChangedInfo>sample string 13</pride:eventChangedInfo>
    <pride:eventHighlighted>true</pride:eventHighlighted>
    <pride:eventSignInterpreted>true</pride:eventSignInterpreted>
    <pride:eventTitle>sample string 2</pride:eventTitle>
    <pride:locationAccessability>swedish string 6</pride:locationAccessability>
    <pride:locationAddress>sample string 3</pride:locationAddress>
    <pride:locationName>sample string 1</pride:locationName>
    <pride:locationPublicTransportStation>sample string 8</pride:locationPublicTransportStation>
    <pride:organizerName>sample string 2</pride:organizerName>
    <pride:subAreaName>sample string 3</pride:subAreaName>
  </entry>
</feed>
application/rss+xml (.rss)
<rss version="2.0">
  <channel xmlns:pride="http://www.stockholmpride.org/ns/2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <title>Event Name</title>
    <description>Selected events from Stockholm Pride EM system</description>
    <language>sv</language>
    <lastBuildDate>Thu, 19 Dec 2024 18:49:22 +0100</lastBuildDate>
    <link>http://www.site.se/</link>
    <atom:link href="http://www.site.se" rel="self" type="application/rss+xml" />
    <item>
      <guid isPermaLink="true">http://example.se/sv/5</guid>
      <link>http://example.se/sv/5</link>
      <category>swedish string 2 &gt; swedish string 2</category>
      <title>idag 18:49–fre 20 dec 18:49 sample string 2</title>
      <description>swedish string 7</description>
      <pubDate>Thu, 19 Dec 2024 18:49:22 +0100</pubDate>
      <pride:areaName>sample string 5</pride:areaName>
      <pride:eventCancelled>true</pride:eventCancelled>
      <pride:eventChangedInfo>sample string 13</pride:eventChangedInfo>
      <pride:eventHighlighted>true</pride:eventHighlighted>
      <pride:eventSignInterpreted>true</pride:eventSignInterpreted>
      <pride:eventTitle>sample string 2</pride:eventTitle>
      <pride:locationAccessability>swedish string 6</pride:locationAccessability>
      <pride:locationAddress>sample string 3</pride:locationAddress>
      <pride:locationName>sample string 1</pride:locationName>
      <pride:locationPublicTransportStation>sample string 8</pride:locationPublicTransportStation>
      <pride:organizerName>sample string 2</pride:organizerName>
      <pride:subAreaName>sample string 3</pride:subAreaName>
    </item>
  </channel>
</rss>
application/rss+xml+wp (.rss-wp)
<rss version="2.0">
  <channel xmlns:pride="http://www.stockholmpride.org/ns/2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <title>Event Name</title>
    <description>Selected events from Stockholm Pride EM system</description>
    <language>sv</language>
    <lastBuildDate>Thu, 19 Dec 2024 18:49:22 +0100</lastBuildDate>
    <link>http://www.site.se/</link>
    <atom:link href="http://www.site.se" rel="self" type="application/rss+xml" />
    <item>
      <guid isPermaLink="true">http://example.se/sv/5</guid>
      <link>http://example.se/sv/5</link>
      <category>swedish string 2 &gt; swedish string 2</category>
      <title>idag 18:49–fre 20 dec 18:49 sample string 2</title>
      <description>swedish string 7</description>
      <pubDate>Sat, 23 Nov 2024 18:49:22 +0100</pubDate>
      <pride:areaName>sample string 5</pride:areaName>
      <pride:eventCancelled>true</pride:eventCancelled>
      <pride:eventChangedInfo>sample string 13</pride:eventChangedInfo>
      <pride:eventHighlighted>true</pride:eventHighlighted>
      <pride:eventSignInterpreted>true</pride:eventSignInterpreted>
      <pride:eventTitle>sample string 2</pride:eventTitle>
      <pride:locationAccessability>swedish string 6</pride:locationAccessability>
      <pride:locationAddress>sample string 3</pride:locationAddress>
      <pride:locationName>sample string 1</pride:locationName>
      <pride:locationPublicTransportStation>sample string 8</pride:locationPublicTransportStation>
      <pride:organizerName>sample string 2</pride:organizerName>
      <pride:subAreaName>sample string 3</pride:subAreaName>
    </item>
  </channel>
</rss>
text/calendar (.ics) text/plain; charset=utf-8 (.ics-text)
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Stockholm Pride//Event Calendar//X-X-X//SV
NAME:Event Name
DESCRIPTION:Programpunkter under Event Name
X-WR-CALNAME:Event Name
X-WR-CALDESC:Programpunkter under Event Name
X-PUBLISHED-TTL:PT6H
BEGIN:VEVENT
UID:[email protected]
DTSTAMP:20241219T174922Z
DTSTART:20241219T174922Z
DTEND:20241220T174922Z
SUMMARY:sample string 2
DESCRIPTION:swedish string 7\n\nArrangör: sample string 2
LOCATION:sample string 1\, sample string 4\nsample string 3
CATEGORIES:swedish string 2,swedish string 2
URL:http://example.se/sv/5
END:VEVENT
END:VCALENDAR
text/plain; charset=utf-8 (.bbcode)
[b]00:00–00:00 [url=http://example.se/sv/5]sample string 2[/url][/b]
swedish string 7
swedish string 8
[i]Arrangör: sample string 2[/i]

text/html (.qx1)
<div class="event-list">
  <p>
    <strong>18:49</strong>
    <a href="http://example.se/sv/5" target="_blank">sample string 2</a>
    <br />
    swedish string 7
</p>
</div>