PUT example/api/layout/{id}/data
https://app.bwz.se/bedrock/example/api/layout/{id}/data
Sets the layout data for a given Layout.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of the Layout to update. |
integer |
Required |
Body Parameters
Gets or sets the data. The data.
SetLayoutDataArgsName | Description | Type | Additional information |
---|---|---|---|
Data |
Gets or sets the data. |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Data": "sample string 1" }
application/xml, text/xml
Sample:
<SetLayoutDataArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.Layout"> <Data>sample string 1</Data> </SetLayoutDataArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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-12-23T07:01:18.8218174+01:00", "DefaultThemeId": 1, "LayoutGUID": "ab80ce40-534f-41ec-89ab-3f76e10d8d4a", "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-12-23T07:01:18.8218174+01:00</CreationDate> <DefaultThemeId>1</DefaultThemeId> <Id>1</Id> <LayoutGUID>ab80ce40-534f-41ec-89ab-3f76e10d8d4a</LayoutGUID> <Locked>true</Locked> <Name>sample string 8</Name> <Type>sample string 9</Type> </LayoutModel>