Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
GET PUT POST | /eventActivation | Change Event-Activation and TicketSalesActivation |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EventId | body | int | No | |
OwnerId | body | int | No | |
EventIsActive | body | bool? | No | |
TicketSaleIsActive | body | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TicketType | form | EventSeriesOwnerTicketType | No | |
StatusCode | form | int | No | |
Message | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | int | No | |
Name | form | string | No | |
DefaultPrice | form | decimal | No | |
SeriesId | form | int? | No | |
OwnerId | form | int | No | |
TicketTypeListOrder | form | int | No | |
IsActive | form | bool? | No | |
MaxTickets | form | int? | No | |
TicketColor | form | string | No | |
ShowUsedTickets | form | bool? | No | |
CanOnlyBeBoughtWithTeamPass | form | bool? | No | |
IsSpecialTicket | form | bool? | No | |
SpecialTicketId | form | string | No | |
OnlyForKsi | form | bool? | No | |
TimestampCreated | form | DateTime? | No | |
TimestampLastChanged | form | DateTime? | No | |
TicketsForSalePerEvent | form | bool? | No | |
ImageUrl | form | string | No | |
HolderInfoRequired | form | bool? | No | |
EventSeriesOwnerSeatingSectionId | form | int? | No | |
CanOnlyBeBought | form | bool? | No | |
CanNotBeBought | form | bool? | No | |
BlockTransfer | form | bool? | No | |
MaxTicketsPerTransaction | form | int? | No | |
ForceSingleTickets | form | bool? | No | |
OnlyForEvent | form | int? | No | |
Currency | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /eventActivation HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
eventId: 0,
ownerId: 0,
eventIsActive: False,
ticketSaleIsActive: False
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ticketType: { id: 0, name: String, defaultPrice: 0, seriesId: 0, ownerId: 0, ticketTypeListOrder: 0, isActive: False, maxTickets: 0, ticketColor: String, showUsedTickets: False, canOnlyBeBoughtWithTeamPass: False, isSpecialTicket: False, specialTicketId: String, onlyForKsi: False, timestampCreated: 0001-01-01, timestampLastChanged: 0001-01-01, ticketsForSalePerEvent: False, imageUrl: String, holderInfoRequired: False, eventSeriesOwnerSeatingSectionId: 0, canOnlyBeBought: False, canNotBeBought: False, blockTransfer: False, maxTicketsPerTransaction: 0, forceSingleTickets: False, onlyForEvent: 0, currency: String }, statusCode: 0, message: String }