POST api/{stagePlural}/{stageId}/widget-layouts
Create new widget layout
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stagePlural |
Stage string |
string |
Required |
| stageId |
Stage id |
string |
Required |
Body Parameters
Widgout object
WidgoutDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Widget layout id |
globally unique identifier |
None. |
| Name |
Widget layout name |
string |
Required |
| WidgockDtoList |
Widget layout blocks 3-3-3-3 or 4-4-4 or 12 or 3-9 |
Collection of WidgockDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ebef7926-2782-4645-b51a-c8ae9a46421c",
"Name": "sample string 2",
"WidgockDtoList": [
{
"Id": "40d3a468-6afc-4be4-b3e6-de420b85a5de",
"OrderNumber": 64,
"ColumnCount": 64,
"WidgoutId": "401b07b2-9b0c-422a-96a8-762443d39c7a",
"WidgetDtoList": [
{
"Id": "2faf4d7f-9882-427f-af2a-fdee6a9a286a",
"Name": "sample string 2",
"IdOfSectionPattern": "sample string 3",
"WidgockId": "4e5d7919-4a25-4dff-932f-fc3212d69e4f",
"Opts": "sample string 5",
"OrderNumber": 64,
"IdOfCntxStage": "sample string 7"
},
{
"Id": "2faf4d7f-9882-427f-af2a-fdee6a9a286a",
"Name": "sample string 2",
"IdOfSectionPattern": "sample string 3",
"WidgockId": "4e5d7919-4a25-4dff-932f-fc3212d69e4f",
"Opts": "sample string 5",
"OrderNumber": 64,
"IdOfCntxStage": "sample string 7"
}
]
},
{
"Id": "40d3a468-6afc-4be4-b3e6-de420b85a5de",
"OrderNumber": 64,
"ColumnCount": 64,
"WidgoutId": "401b07b2-9b0c-422a-96a8-762443d39c7a",
"WidgetDtoList": [
{
"Id": "2faf4d7f-9882-427f-af2a-fdee6a9a286a",
"Name": "sample string 2",
"IdOfSectionPattern": "sample string 3",
"WidgockId": "4e5d7919-4a25-4dff-932f-fc3212d69e4f",
"Opts": "sample string 5",
"OrderNumber": 64,
"IdOfCntxStage": "sample string 7"
},
{
"Id": "2faf4d7f-9882-427f-af2a-fdee6a9a286a",
"Name": "sample string 2",
"IdOfSectionPattern": "sample string 3",
"WidgockId": "4e5d7919-4a25-4dff-932f-fc3212d69e4f",
"Opts": "sample string 5",
"OrderNumber": 64,
"IdOfCntxStage": "sample string 7"
}
]
}
]
}
application/xml, text/xml
Sample:
<WidgoutDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Reyvart.WellFileManager.Web.Models">
<Id>ebef7926-2782-4645-b51a-c8ae9a46421c</Id>
<Name>sample string 2</Name>
<WidgockDtoList>
<WidgockDto>
<ColumnCount>64</ColumnCount>
<Id>40d3a468-6afc-4be4-b3e6-de420b85a5de</Id>
<OrderNumber>64</OrderNumber>
<WidgetDtoList>
<WidgetDto>
<Id>2faf4d7f-9882-427f-af2a-fdee6a9a286a</Id>
<IdOfCntxStage>sample string 7</IdOfCntxStage>
<IdOfSectionPattern>sample string 3</IdOfSectionPattern>
<Name>sample string 2</Name>
<Opts>sample string 5</Opts>
<OrderNumber>64</OrderNumber>
<WidgockId>4e5d7919-4a25-4dff-932f-fc3212d69e4f</WidgockId>
</WidgetDto>
<WidgetDto>
<Id>2faf4d7f-9882-427f-af2a-fdee6a9a286a</Id>
<IdOfCntxStage>sample string 7</IdOfCntxStage>
<IdOfSectionPattern>sample string 3</IdOfSectionPattern>
<Name>sample string 2</Name>
<Opts>sample string 5</Opts>
<OrderNumber>64</OrderNumber>
<WidgockId>4e5d7919-4a25-4dff-932f-fc3212d69e4f</WidgockId>
</WidgetDto>
</WidgetDtoList>
<WidgoutId>401b07b2-9b0c-422a-96a8-762443d39c7a</WidgoutId>
</WidgockDto>
<WidgockDto>
<ColumnCount>64</ColumnCount>
<Id>40d3a468-6afc-4be4-b3e6-de420b85a5de</Id>
<OrderNumber>64</OrderNumber>
<WidgetDtoList>
<WidgetDto>
<Id>2faf4d7f-9882-427f-af2a-fdee6a9a286a</Id>
<IdOfCntxStage>sample string 7</IdOfCntxStage>
<IdOfSectionPattern>sample string 3</IdOfSectionPattern>
<Name>sample string 2</Name>
<Opts>sample string 5</Opts>
<OrderNumber>64</OrderNumber>
<WidgockId>4e5d7919-4a25-4dff-932f-fc3212d69e4f</WidgockId>
</WidgetDto>
<WidgetDto>
<Id>2faf4d7f-9882-427f-af2a-fdee6a9a286a</Id>
<IdOfCntxStage>sample string 7</IdOfCntxStage>
<IdOfSectionPattern>sample string 3</IdOfSectionPattern>
<Name>sample string 2</Name>
<Opts>sample string 5</Opts>
<OrderNumber>64</OrderNumber>
<WidgockId>4e5d7919-4a25-4dff-932f-fc3212d69e4f</WidgockId>
</WidgetDto>
</WidgetDtoList>
<WidgoutId>401b07b2-9b0c-422a-96a8-762443d39c7a</WidgoutId>
</WidgockDto>
</WidgockDtoList>
</WidgoutDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Created widget layout
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.