GET api/event
Hämtar en lista av evenemang.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api-version |
The requested API version |
string |
Default value is 1.0 |
Body Parameters
None.
Response Information
Resource Description
Collection of EventModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Namn | string |
None. |
|
| Plats | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "ac0d8ef9-8502-4354-a7e6-12d450be0e27",
"Namn": "sample string 2",
"Plats": "sample string 3"
},
{
"Id": "ac0d8ef9-8502-4354-a7e6-12d450be0e27",
"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>ac0d8ef9-8502-4354-a7e6-12d450be0e27</Id>
<Namn>sample string 2</Namn>
<Plats>sample string 3</Plats>
</EventModel>
<EventModel>
<Id>ac0d8ef9-8502-4354-a7e6-12d450be0e27</Id>
<Namn>sample string 2</Namn>
<Plats>sample string 3</Plats>
</EventModel>
</ArrayOfEventModel>