GET api/EventCategory/Get/{id}

returns a event details of the event for the given id if the event is bookable

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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
}

application/xml, text/xml

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