GET example/api/Event
https://app.bwz.se/bedrock/example/api/Event
Gets all EventModels.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Array of EventModels.
Collection of EventModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of the Event. |
integer |
None. |
Name |
Name of the Event. |
string |
None. |
Location |
[Deprecated] Location of the Event. |
string |
None. |
Description |
Description of the Event. |
string |
None. |
PublicationId |
PublicationId of the Event. |
integer |
None. |
MaxParticipants |
Maximum amount of participiants in the Event. |
integer |
None. |
GoalParticipants |
Expected amount of participant in the Event. |
integer |
None. |
RegistrationOpens |
When registration opens for the Event. |
date |
None. |
RegistrationCloses |
When registration closes for the Event. |
date |
None. |
EventStart |
When the Event starts. |
date |
None. |
EventEnd |
When the Event ends. |
date |
None. |
CreatedByUserId |
Id of the user who created the Event. |
integer |
None. |
CreationDate |
CreationDate of the Event. |
date |
None. |
ModifiedDate |
ModifiedDate of the Event. |
date |
None. |
FormFieldProperties |
An array containing the FormFields of the Event. |
Collection of FormFieldModel |
None. |
HasPhysicalMeeting |
Does the Event have a physical location? |
boolean |
None. |
HasOnlineMeeting |
Does the Event have an online meeting? |
boolean |
None. |
PhysicalMeeting |
A model containing information about a physical meeting. |
PhysicalMeetingModel |
None. |
OnlineMeeting |
A model containing information about an online meeting. |
OnlineMeetingModel |
None. |
RegistrationLink |
The registration link for the Event. |
string |
None. |
EventHasMaxParticipants |
Is the Event full? |
boolean |
None. |
Response Formats
application/json, text/json
[ { "Id": 1, "Name": "sample string 2", "Location": "sample string 3", "Description": "sample string 4", "PublicationId": 5, "MaxParticipants": 1, "GoalParticipants": 1, "RegistrationOpens": "2024-11-21T17:32:36.0226164+01:00", "RegistrationCloses": "2024-11-21T17:32:36.0226164+01:00", "EventStart": "2024-11-21T17:32:36.0226164+01:00", "EventEnd": "2024-11-21T17:32:36.0226164+01:00", "CreatedByUserId": 10, "CreationDate": "2024-11-21T17:32:36.0226164+01:00", "ModifiedDate": "2024-11-21T17:32:36.0226164+01:00", "FormFieldProperties": [ { "FormFieldId": 1, "Name": "sample string 2", "FieldType": 1, "IsRequired": true, "FieldDataType": 1, "FieldLabel": "sample string 4", "Options": [ { "Value": "sample string 1", "Label": "sample string 2" }, { "Value": "sample string 1", "Label": "sample string 2" } ] }, { "FormFieldId": 1, "Name": "sample string 2", "FieldType": 1, "IsRequired": true, "FieldDataType": 1, "FieldLabel": "sample string 4", "Options": [ { "Value": "sample string 1", "Label": "sample string 2" }, { "Value": "sample string 1", "Label": "sample string 2" } ] } ], "HasPhysicalMeeting": true, "HasOnlineMeeting": true, "PhysicalMeeting": { "Location": "sample string 1", "PlaceId": "sample string 2", "Longitude": "sample string 3", "Latitude": "sample string 4" }, "OnlineMeeting": { "MeetingUrl": "sample string 1", "MeetingDetails": "sample string 2" }, "RegistrationLink": "sample string 15", "EventHasMaxParticipants": true }, { "Id": 1, "Name": "sample string 2", "Location": "sample string 3", "Description": "sample string 4", "PublicationId": 5, "MaxParticipants": 1, "GoalParticipants": 1, "RegistrationOpens": "2024-11-21T17:32:36.0226164+01:00", "RegistrationCloses": "2024-11-21T17:32:36.0226164+01:00", "EventStart": "2024-11-21T17:32:36.0226164+01:00", "EventEnd": "2024-11-21T17:32:36.0226164+01:00", "CreatedByUserId": 10, "CreationDate": "2024-11-21T17:32:36.0226164+01:00", "ModifiedDate": "2024-11-21T17:32:36.0226164+01:00", "FormFieldProperties": [ { "FormFieldId": 1, "Name": "sample string 2", "FieldType": 1, "IsRequired": true, "FieldDataType": 1, "FieldLabel": "sample string 4", "Options": [ { "Value": "sample string 1", "Label": "sample string 2" }, { "Value": "sample string 1", "Label": "sample string 2" } ] }, { "FormFieldId": 1, "Name": "sample string 2", "FieldType": 1, "IsRequired": true, "FieldDataType": 1, "FieldLabel": "sample string 4", "Options": [ { "Value": "sample string 1", "Label": "sample string 2" }, { "Value": "sample string 1", "Label": "sample string 2" } ] } ], "HasPhysicalMeeting": true, "HasOnlineMeeting": true, "PhysicalMeeting": { "Location": "sample string 1", "PlaceId": "sample string 2", "Longitude": "sample string 3", "Latitude": "sample string 4" }, "OnlineMeeting": { "MeetingUrl": "sample string 1", "MeetingDetails": "sample string 2" }, "RegistrationLink": "sample string 15", "EventHasMaxParticipants": true } ]
application/xml, text/xml
<ArrayOfEventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.Event"> <EventModel> <CreatedByUserId>10</CreatedByUserId> <CreationDate>2024-11-21T17:32:36.0226164+01:00</CreationDate> <Description>sample string 4</Description> <EventEnd>2024-11-21T17:32:36.0226164+01:00</EventEnd> <EventHasMaxParticipants>true</EventHasMaxParticipants> <EventStart>2024-11-21T17:32:36.0226164+01:00</EventStart> <FormFieldProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.Form"> <d3p1:FormFieldModel> <d3p1:FieldDataType>Text</d3p1:FieldDataType> <d3p1:FieldLabel>sample string 4</d3p1:FieldLabel> <d3p1:FieldType>TEXT</d3p1:FieldType> <d3p1:FormFieldId>1</d3p1:FormFieldId> <d3p1:IsRequired>true</d3p1:IsRequired> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:Options> <d3p1:FormFieldPossibilityModel> <d3p1:Label>sample string 2</d3p1:Label> <d3p1:Value>sample string 1</d3p1:Value> </d3p1:FormFieldPossibilityModel> <d3p1:FormFieldPossibilityModel> <d3p1:Label>sample string 2</d3p1:Label> <d3p1:Value>sample string 1</d3p1:Value> </d3p1:FormFieldPossibilityModel> </d3p1:Options> </d3p1:FormFieldModel> <d3p1:FormFieldModel> <d3p1:FieldDataType>Text</d3p1:FieldDataType> <d3p1:FieldLabel>sample string 4</d3p1:FieldLabel> <d3p1:FieldType>TEXT</d3p1:FieldType> <d3p1:FormFieldId>1</d3p1:FormFieldId> <d3p1:IsRequired>true</d3p1:IsRequired> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:Options> <d3p1:FormFieldPossibilityModel> <d3p1:Label>sample string 2</d3p1:Label> <d3p1:Value>sample string 1</d3p1:Value> </d3p1:FormFieldPossibilityModel> <d3p1:FormFieldPossibilityModel> <d3p1:Label>sample string 2</d3p1:Label> <d3p1:Value>sample string 1</d3p1:Value> </d3p1:FormFieldPossibilityModel> </d3p1:Options> </d3p1:FormFieldModel> </FormFieldProperties> <GoalParticipants>1</GoalParticipants> <HasOnlineMeeting>true</HasOnlineMeeting> <HasPhysicalMeeting>true</HasPhysicalMeeting> <Id>1</Id> <Location>sample string 3</Location> <MaxParticipants>1</MaxParticipants> <ModifiedDate>2024-11-21T17:32:36.0226164+01:00</ModifiedDate> <Name>sample string 2</Name> <OnlineMeeting> <MeetingDetails>sample string 2</MeetingDetails> <MeetingUrl>sample string 1</MeetingUrl> </OnlineMeeting> <PhysicalMeeting> <Latitude>sample string 4</Latitude> <Location>sample string 1</Location> <Longitude>sample string 3</Longitude> <PlaceId>sample string 2</PlaceId> </PhysicalMeeting> <PublicationId>5</PublicationId> <RegistrationCloses>2024-11-21T17:32:36.0226164+01:00</RegistrationCloses> <RegistrationLink>sample string 15</RegistrationLink> <RegistrationOpens>2024-11-21T17:32:36.0226164+01:00</RegistrationOpens> </EventModel> <EventModel> <CreatedByUserId>10</CreatedByUserId> <CreationDate>2024-11-21T17:32:36.0226164+01:00</CreationDate> <Description>sample string 4</Description> <EventEnd>2024-11-21T17:32:36.0226164+01:00</EventEnd> <EventHasMaxParticipants>true</EventHasMaxParticipants> <EventStart>2024-11-21T17:32:36.0226164+01:00</EventStart> <FormFieldProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.Form"> <d3p1:FormFieldModel> <d3p1:FieldDataType>Text</d3p1:FieldDataType> <d3p1:FieldLabel>sample string 4</d3p1:FieldLabel> <d3p1:FieldType>TEXT</d3p1:FieldType> <d3p1:FormFieldId>1</d3p1:FormFieldId> <d3p1:IsRequired>true</d3p1:IsRequired> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:Options> <d3p1:FormFieldPossibilityModel> <d3p1:Label>sample string 2</d3p1:Label> <d3p1:Value>sample string 1</d3p1:Value> </d3p1:FormFieldPossibilityModel> <d3p1:FormFieldPossibilityModel> <d3p1:Label>sample string 2</d3p1:Label> <d3p1:Value>sample string 1</d3p1:Value> </d3p1:FormFieldPossibilityModel> </d3p1:Options> </d3p1:FormFieldModel> <d3p1:FormFieldModel> <d3p1:FieldDataType>Text</d3p1:FieldDataType> <d3p1:FieldLabel>sample string 4</d3p1:FieldLabel> <d3p1:FieldType>TEXT</d3p1:FieldType> <d3p1:FormFieldId>1</d3p1:FormFieldId> <d3p1:IsRequired>true</d3p1:IsRequired> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:Options> <d3p1:FormFieldPossibilityModel> <d3p1:Label>sample string 2</d3p1:Label> <d3p1:Value>sample string 1</d3p1:Value> </d3p1:FormFieldPossibilityModel> <d3p1:FormFieldPossibilityModel> <d3p1:Label>sample string 2</d3p1:Label> <d3p1:Value>sample string 1</d3p1:Value> </d3p1:FormFieldPossibilityModel> </d3p1:Options> </d3p1:FormFieldModel> </FormFieldProperties> <GoalParticipants>1</GoalParticipants> <HasOnlineMeeting>true</HasOnlineMeeting> <HasPhysicalMeeting>true</HasPhysicalMeeting> <Id>1</Id> <Location>sample string 3</Location> <MaxParticipants>1</MaxParticipants> <ModifiedDate>2024-11-21T17:32:36.0226164+01:00</ModifiedDate> <Name>sample string 2</Name> <OnlineMeeting> <MeetingDetails>sample string 2</MeetingDetails> <MeetingUrl>sample string 1</MeetingUrl> </OnlineMeeting> <PhysicalMeeting> <Latitude>sample string 4</Latitude> <Location>sample string 1</Location> <Longitude>sample string 3</Longitude> <PlaceId>sample string 2</PlaceId> </PhysicalMeeting> <PublicationId>5</PublicationId> <RegistrationCloses>2024-11-21T17:32:36.0226164+01:00</RegistrationCloses> <RegistrationLink>sample string 15</RegistrationLink> <RegistrationOpens>2024-11-21T17:32:36.0226164+01:00</RegistrationOpens> </EventModel> </ArrayOfEventModel>