Returns all Offers in the system.
GET /api/offers HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json
No parameters
None
Collection of Offer
Name | Description | Type | Additional information |
---|---|---|---|
ID | Offer ID | Integer | None |
Title | Offer title | String | None |
Price | Pricing information | String | None |
Info | Short description | Translatable | None |
Url | URL to the public web page describing the occation | TranslatableUrl | None |
ImageUrl | URL of an image representing the offer | String | None |
ImageCaption | Caption with information regarding the image representing the offer | String | None |
ExternalUrl | External URL for more information about the offer | String | None |
Organizer | Information about the organizer | Organizer | None |
EventID | Event ID if the offer is connected to an event | Integer | None |
EventTitle | Event title if the offer is connected to an event | String | None |
ValidFrom | Valid from date if the offer is not connected to an event | Date | None |
ValidTo | Valid to date if the offer is not connected to an event | Date | None |
ValidTimespan | The valid timespan as a string representation | String | None |
Location | The physical location the offer is connected to | EventLocation | None |
LastModified | Timestamp for when the offer was modified | Date | None |
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-11-21",
"validTo": "2024-11-21",
"validTimespan": "idag 10:28 - idag 10:28",
"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-11-21T10:28:38.3172652+01: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-11-21",
"validTo": "2024-11-21",
"validTimespan": "idag 10:28 - idag 10:28",
"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-11-21T10:28:38.3172652+01:00"
}
]