GET example/api/event/{eventId}/registrationpage/htmlcontent
https://app.bwz.se/bedrock/example/api/event/{eventId}/registrationpage/htmlcontent
Gets a Content for a given Event.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
eventId |
Id of the Event the Content belongs to. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A ContentModel.
ContentModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of the Content. |
integer |
None. |
CreatedByUserId |
Id of the User creating the Content. |
integer |
None. |
CreationDate |
Date and time the Content was created. |
date |
None. |
BackgroundColor |
Background color of the Content. |
string |
None. |
ContentData |
Content data of the Content. |
string |
None. |
ContentType |
Content type of the ContentModel. |
ContentType |
None. |
LayoutId |
Id of the Layout associated with the Content. |
integer |
None. |
ThemeId |
Id of the Theme associated with the Content. |
integer |
None. |
ContentGuid |
The Guid associated with the Content. |
globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "CreatedByUserId": 2, "CreationDate": "2024-12-23T06:41:32.5416834+01:00", "BackgroundColor": "sample string 4", "ContentData": "sample string 5", "ContentType": 0, "LayoutId": 1, "ThemeId": 1, "ContentGuid": "2cf01830-f0f9-4af5-ae3d-3f9e4c3ad05e" }
application/xml, text/xml
Sample:
<ContentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models"> <BackgroundColor>sample string 4</BackgroundColor> <ContentData>sample string 5</ContentData> <ContentGuid>2cf01830-f0f9-4af5-ae3d-3f9e4c3ad05e</ContentGuid> <ContentType>HtmlMail</ContentType> <CreatedByUserId>2</CreatedByUserId> <CreationDate>2024-12-23T06:41:32.5416834+01:00</CreationDate> <Id>1</Id> <LayoutId>1</LayoutId> <ThemeId>1</ThemeId> </ContentModel>