Returns all Offers in the system.

GET /api/offers HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json

Request Information

Path Parameters

No parameters

Body Parameters

None


Response Information

Resource Description

Collection of Offer

Name Description
ID Offer ID
Title Offer title
Price Pricing information
Info Short description
Url URL to the public web page describing the occation
ImageUrl URL of an image representing the offer
ImageCaption Caption with information regarding the image representing the offer
ExternalUrl External URL for more information about the offer
Organizer Information about the organizer
EventID Event ID if the offer is connected to an event
EventTitle Event title if the offer is connected to an event
ValidFrom Valid from date if the offer is not connected to an event
ValidTo Valid to date if the offer is not connected to an event
ValidTimespan The valid timespan as a string representation
Location The physical location the offer is connected to
LastModified Timestamp for when the offer was modified

Response Formats

application/json (.json) text/json
[
  {
    "id": 1,
    "title": "sample string 2",
    "price": "sample string 3",
    "info": {
      "en": "english string 4",
      "sv": "swedish string 4"
    },
    "url": {
      "en": "http://example.se/en/5",
      "sv": "http://example.se/sv/5"
    },
    "imageUrl": "sample string 6",
    "imageCaption": "sample string 7",
    "externalUrl": "sample string 8",
    "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
    },
    "eventID": 1,
    "eventTitle": "sample string 9",
    "validFrom": "2024-07-27",
    "validTo": "2024-07-27",
    "validTimespan": "idag 06:00 - idag 06:00",
    "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"
    },
    "lastModified": "2024-07-27T06:00:16.3947725+02:00"
  },
  {
    "id": 1,
    "title": "sample string 2",
    "price": "sample string 3",
    "info": {
      "en": "english string 4",
      "sv": "swedish string 4"
    },
    "url": {
      "en": "http://example.se/en/5",
      "sv": "http://example.se/sv/5"
    },
    "imageUrl": "sample string 6",
    "imageCaption": "sample string 7",
    "externalUrl": "sample string 8",
    "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
    },
    "eventID": 1,
    "eventTitle": "sample string 9",
    "validFrom": "2024-07-27",
    "validTo": "2024-07-27",
    "validTimespan": "idag 06:00 - idag 06:00",
    "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"
    },
    "lastModified": "2024-07-27T06:00:16.3947725+02:00"
  }
]