GET example/api/Layout/{id}
https://app.bwz.se/bedrock/example/api/Layout/{id}
Gets a Layout.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id of the desired Layout. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A LayoutModel.
LayoutModelName | Description | Type | Additional 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:55:58.2164301+01:00", "DefaultThemeId": 1, "LayoutGUID": "55c5d697-c18d-4774-a75c-034fb07f7303", "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:55:58.2164301+01:00</CreationDate> <DefaultThemeId>1</DefaultThemeId> <Id>1</Id> <LayoutGUID>55c5d697-c18d-4774-a75c-034fb07f7303</LayoutGUID> <Locked>true</Locked> <Name>sample string 8</Name> <Type>sample string 9</Type> </LayoutModel>