GET api/EventCategory/Get

returns a list of all bookable events

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EventCategoryModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

The name of the event category

string

Max length: 255

PublicDescription

string

None.

DefaultGrossPrice

the default gross price (incl. vat) for public customers

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "PublicDescription": "sample string 3",
    "DefaultGrossPrice": 4.0
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "PublicDescription": "sample string 3",
    "DefaultGrossPrice": 4.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfEventCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BKPBooking.WebBookingApi.Models">
  <EventCategoryModel>
    <DefaultGrossPrice>4</DefaultGrossPrice>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <PublicDescription>sample string 3</PublicDescription>
  </EventCategoryModel>
  <EventCategoryModel>
    <DefaultGrossPrice>4</DefaultGrossPrice>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <PublicDescription>sample string 3</PublicDescription>
  </EventCategoryModel>
</ArrayOfEventCategoryModel>