GET page/defaults/{name}
Gets default fields for page without section defined.
Request Information
URI
https://ofd-api.blueprintcpq.net/page/defaults/{name}?share={share}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name |
Page name. |
string |
Required |
share |
Optional share identifier. |
globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
The default fields.
DefaultFieldsResponseName | Description | Type | Additional information |
---|---|---|---|
Fields | Collection of FieldsResponse |
None. |
Response Formats
application/json, text/json
Sample:
{ "Fields": [ { "Id": "28375e6b-31b8-48a3-b50c-83de25986bda", "Name": "sample string 2", "Required": true, "Help": "sample string 4", "DefaultValue": "sample string 5", "Label": "sample string 6", "DataType": { "Id": "4f1afce5-1512-494c-a75d-3c6e7db3c623", "Name": "sample string 2", "Validation": "sample string 3", "Format": "sample string 4" }, "Relationships": [ { "Id": "b760fe65-4780-487d-9d64-797b8e035b89", "From": { "Id": "f141c142-bad1-4750-9dc2-b8dd6c452033", "Name": "sample string 1", "TableName": "sample string 2" }, "To": { "Id": "f141c142-bad1-4750-9dc2-b8dd6c452033", "Name": "sample string 1", "TableName": "sample string 2" }, "LinkEditStyle": 0, "ShowClearButton": true, "ShowRefreshButton": true, "ShowAddButton": true, "Link": { "Page": "sample string 1", "Template": "sample string 2", "EditTemplate": "sample string 3" } }, { "Id": "b760fe65-4780-487d-9d64-797b8e035b89", "From": { "Id": "f141c142-bad1-4750-9dc2-b8dd6c452033", "Name": "sample string 1", "TableName": "sample string 2" }, "To": { "Id": "f141c142-bad1-4750-9dc2-b8dd6c452033", "Name": "sample string 1", "TableName": "sample string 2" }, "LinkEditStyle": 0, "ShowClearButton": true, "ShowRefreshButton": true, "ShowAddButton": true, "Link": { "Page": "sample string 1", "Template": "sample string 2", "EditTemplate": "sample string 3" } } ] }, { "Id": "28375e6b-31b8-48a3-b50c-83de25986bda", "Name": "sample string 2", "Required": true, "Help": "sample string 4", "DefaultValue": "sample string 5", "Label": "sample string 6", "DataType": { "Id": "4f1afce5-1512-494c-a75d-3c6e7db3c623", "Name": "sample string 2", "Validation": "sample string 3", "Format": "sample string 4" }, "Relationships": [ { "Id": "b760fe65-4780-487d-9d64-797b8e035b89", "From": { "Id": "f141c142-bad1-4750-9dc2-b8dd6c452033", "Name": "sample string 1", "TableName": "sample string 2" }, "To": { "Id": "f141c142-bad1-4750-9dc2-b8dd6c452033", "Name": "sample string 1", "TableName": "sample string 2" }, "LinkEditStyle": 0, "ShowClearButton": true, "ShowRefreshButton": true, "ShowAddButton": true, "Link": { "Page": "sample string 1", "Template": "sample string 2", "EditTemplate": "sample string 3" } }, { "Id": "b760fe65-4780-487d-9d64-797b8e035b89", "From": { "Id": "f141c142-bad1-4750-9dc2-b8dd6c452033", "Name": "sample string 1", "TableName": "sample string 2" }, "To": { "Id": "f141c142-bad1-4750-9dc2-b8dd6c452033", "Name": "sample string 1", "TableName": "sample string 2" }, "LinkEditStyle": 0, "ShowClearButton": true, "ShowRefreshButton": true, "ShowAddButton": true, "Link": { "Page": "sample string 1", "Template": "sample string 2", "EditTemplate": "sample string 3" } } ] } ] }
text/html
Sample:
{"Fields":[{"Id":"28375e6b-31b8-48a3-b50c-83de25986bda","Name":"sample string 2","Required":true,"Help":"sample string 4","DefaultValue":"sample string 5","Label":"sample string 6","DataType":{"Id":"4f1afce5-1512-494c-a75d-3c6e7db3c623","Name":"sample string 2","Validation":"sample string 3","Format":"sample string 4"},"Relationships":[{"Id":"b760fe65-4780-487d-9d64-797b8e035b89","From":{"Id":"f141c142-bad1-4750-9dc2-b8dd6c452033","Name":"sample string 1","TableName":"sample string 2"},"To":{"Id":"f141c142-bad1-4750-9dc2-b8dd6c452033","Name":"sample string 1","TableName":"sample string 2"},"LinkEditStyle":0,"ShowClearButton":true,"ShowRefreshButton":true,"ShowAddButton":true,"Link":{"Page":"sample string 1","Template":"sample string 2","EditTemplate":"sample string 3"}},{"Id":"b760fe65-4780-487d-9d64-797b8e035b89","From":{"Id":"f141c142-bad1-4750-9dc2-b8dd6c452033","Name":"sample string 1","TableName":"sample string 2"},"To":{"Id":"f141c142-bad1-4750-9dc2-b8dd6c452033","Name":"sample string 1","TableName":"sample string 2"},"LinkEditStyle":0,"ShowClearButton":true,"ShowRefreshButton":true,"ShowAddButton":true,"Link":{"Page":"sample string 1","Template":"sample string 2","EditTemplate":"sample string 3"}}]},{"Id":"28375e6b-31b8-48a3-b50c-83de25986bda","Name":"sample string 2","Required":true,"Help":"sample string 4","DefaultValue":"sample string 5","Label":"sample string 6","DataType":{"Id":"4f1afce5-1512-494c-a75d-3c6e7db3c623","Name":"sample string 2","Validation":"sample string 3","Format":"sample string 4"},"Relationships":[{"Id":"b760fe65-4780-487d-9d64-797b8e035b89","From":{"Id":"f141c142-bad1-4750-9dc2-b8dd6c452033","Name":"sample string 1","TableName":"sample string 2"},"To":{"Id":"f141c142-bad1-4750-9dc2-b8dd6c452033","Name":"sample string 1","TableName":"sample string 2"},"LinkEditStyle":0,"ShowClearButton":true,"ShowRefreshButton":true,"ShowAddButton":true,"Link":{"Page":"sample string 1","Template":"sample string 2","EditTemplate":"sample string 3"}},{"Id":"b760fe65-4780-487d-9d64-797b8e035b89","From":{"Id":"f141c142-bad1-4750-9dc2-b8dd6c452033","Name":"sample string 1","TableName":"sample string 2"},"To":{"Id":"f141c142-bad1-4750-9dc2-b8dd6c452033","Name":"sample string 1","TableName":"sample string 2"},"LinkEditStyle":0,"ShowClearButton":true,"ShowRefreshButton":true,"ShowAddButton":true,"Link":{"Page":"sample string 1","Template":"sample string 2","EditTemplate":"sample string 3"}}]}]}
application/xml, text/xml
Sample:
<DefaultFieldsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.Responses"> <Fields> <FieldsResponse> <DataType> <Format>sample string 4</Format> <Id>4f1afce5-1512-494c-a75d-3c6e7db3c623</Id> <Name>sample string 2</Name> <Validation>sample string 3</Validation> </DataType> <DefaultValue>sample string 5</DefaultValue> <Help>sample string 4</Help> <Id>28375e6b-31b8-48a3-b50c-83de25986bda</Id> <Label>sample string 6</Label> <Name>sample string 2</Name> <Relationships> <RelationshipResponse> <From> <Id>f141c142-bad1-4750-9dc2-b8dd6c452033</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </From> <Id>b760fe65-4780-487d-9d64-797b8e035b89</Id> <Link> <EditTemplate>sample string 3</EditTemplate> <Page>sample string 1</Page> <Template>sample string 2</Template> </Link> <LinkEditStyle>DropDown</LinkEditStyle> <ShowAddButton>true</ShowAddButton> <ShowClearButton>true</ShowClearButton> <ShowRefreshButton>true</ShowRefreshButton> <To> <Id>f141c142-bad1-4750-9dc2-b8dd6c452033</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </To> </RelationshipResponse> <RelationshipResponse> <From> <Id>f141c142-bad1-4750-9dc2-b8dd6c452033</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </From> <Id>b760fe65-4780-487d-9d64-797b8e035b89</Id> <Link> <EditTemplate>sample string 3</EditTemplate> <Page>sample string 1</Page> <Template>sample string 2</Template> </Link> <LinkEditStyle>DropDown</LinkEditStyle> <ShowAddButton>true</ShowAddButton> <ShowClearButton>true</ShowClearButton> <ShowRefreshButton>true</ShowRefreshButton> <To> <Id>f141c142-bad1-4750-9dc2-b8dd6c452033</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </To> </RelationshipResponse> </Relationships> <Required>true</Required> </FieldsResponse> <FieldsResponse> <DataType> <Format>sample string 4</Format> <Id>4f1afce5-1512-494c-a75d-3c6e7db3c623</Id> <Name>sample string 2</Name> <Validation>sample string 3</Validation> </DataType> <DefaultValue>sample string 5</DefaultValue> <Help>sample string 4</Help> <Id>28375e6b-31b8-48a3-b50c-83de25986bda</Id> <Label>sample string 6</Label> <Name>sample string 2</Name> <Relationships> <RelationshipResponse> <From> <Id>f141c142-bad1-4750-9dc2-b8dd6c452033</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </From> <Id>b760fe65-4780-487d-9d64-797b8e035b89</Id> <Link> <EditTemplate>sample string 3</EditTemplate> <Page>sample string 1</Page> <Template>sample string 2</Template> </Link> <LinkEditStyle>DropDown</LinkEditStyle> <ShowAddButton>true</ShowAddButton> <ShowClearButton>true</ShowClearButton> <ShowRefreshButton>true</ShowRefreshButton> <To> <Id>f141c142-bad1-4750-9dc2-b8dd6c452033</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </To> </RelationshipResponse> <RelationshipResponse> <From> <Id>f141c142-bad1-4750-9dc2-b8dd6c452033</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </From> <Id>b760fe65-4780-487d-9d64-797b8e035b89</Id> <Link> <EditTemplate>sample string 3</EditTemplate> <Page>sample string 1</Page> <Template>sample string 2</Template> </Link> <LinkEditStyle>DropDown</LinkEditStyle> <ShowAddButton>true</ShowAddButton> <ShowClearButton>true</ShowClearButton> <ShowRefreshButton>true</ShowRefreshButton> <To> <Id>f141c142-bad1-4750-9dc2-b8dd6c452033</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </To> </RelationshipResponse> </Relationships> <Required>true</Required> </FieldsResponse> </Fields> </DefaultFieldsResponse>