GET example/api/mailtemplate/{mailTemplateId}/textcontent

https://app.bwz.se/bedrock/example/api/mailtemplate/{mailTemplateId}/textcontent

Gets a text Layout for the given MailTemplate.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mailTemplateId

Id of the MailTemplate the Layout belogs to.

integer

Required

Body Parameters

None.

Response Information

Resource Description

A LayoutModel

LayoutModel
NameDescriptionTypeAdditional information
Id

Id of the Layout.

integer

None.

CreatedByUserId

Id of the User creating the Layout.

integer

None.

BackgroundColour

Background color of the Layout.

string

None.

Content

Content of the Layout.

string

None.

CreationDate

Creation date of the Layout.

date

None.

DefaultThemeId

Id of the default Theme associated with the Layout.

integer

None.

LayoutGUID

The Guid associated with the Layout.

globally unique identifier

None.

Locked

Is the Layout locked.

boolean

None.

Name

The name of the Layout.

string

None.

Type

The type of the Layout.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CreatedByUserId": 2,
  "BackgroundColour": "sample string 3",
  "Content": "sample string 4",
  "CreationDate": "2024-11-21T17:30:30.8499892+01:00",
  "DefaultThemeId": 1,
  "LayoutGUID": "0d029ea7-bb66-4585-8b76-4b15d25c0d74",
  "Locked": true,
  "Name": "sample string 8",
  "Type": "sample string 9"
}

application/xml, text/xml

Sample:
<LayoutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.Layout">
  <BackgroundColour>sample string 3</BackgroundColour>
  <Content>sample string 4</Content>
  <CreatedByUserId>2</CreatedByUserId>
  <CreationDate>2024-11-21T17:30:30.8499892+01:00</CreationDate>
  <DefaultThemeId>1</DefaultThemeId>
  <Id>1</Id>
  <LayoutGUID>0d029ea7-bb66-4585-8b76-4b15d25c0d74</LayoutGUID>
  <Locked>true</Locked>
  <Name>sample string 8</Name>
  <Type>sample string 9</Type>
</LayoutModel>