GET api/v{version}/event

Hämtar en lista av evenemang.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

The requested API version

string

Required

Default value is 1.0

Body Parameters

None.

Response Information

Resource Description

Collection of EventModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Namn

string

None.

Plats

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "24135806-b368-4dea-95e6-2f11c9406414",
    "Namn": "sample string 2",
    "Plats": "sample string 3"
  },
  {
    "Id": "24135806-b368-4dea-95e6-2f11c9406414",
    "Namn": "sample string 2",
    "Plats": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sedab.Api.Bll.Models">
  <EventModel>
    <Id>24135806-b368-4dea-95e6-2f11c9406414</Id>
    <Namn>sample string 2</Namn>
    <Plats>sample string 3</Plats>
  </EventModel>
  <EventModel>
    <Id>24135806-b368-4dea-95e6-2f11c9406414</Id>
    <Namn>sample string 2</Namn>
    <Plats>sample string 3</Plats>
  </EventModel>
</ArrayOfEventModel>