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": "824c5b40-4fc2-4d52-95ce-6c7bd91deab1", "Name": "sample string 2", "Required": true, "Help": "sample string 4", "DefaultValue": "sample string 5", "Label": "sample string 6", "DataType": { "Id": "37af5435-16e1-4fed-a2fc-0938d853553c", "Name": "sample string 2", "Validation": "sample string 3", "Format": "sample string 4" }, "Relationships": [ { "Id": "c1b8c5b8-fa01-40e0-a581-470bb4378af5", "From": { "Id": "6e2b64b8-cf42-4bf7-949d-f559751f8f1c", "Name": "sample string 1", "TableName": "sample string 2" }, "To": { "Id": "6e2b64b8-cf42-4bf7-949d-f559751f8f1c", "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": "c1b8c5b8-fa01-40e0-a581-470bb4378af5", "From": { "Id": "6e2b64b8-cf42-4bf7-949d-f559751f8f1c", "Name": "sample string 1", "TableName": "sample string 2" }, "To": { "Id": "6e2b64b8-cf42-4bf7-949d-f559751f8f1c", "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": "824c5b40-4fc2-4d52-95ce-6c7bd91deab1", "Name": "sample string 2", "Required": true, "Help": "sample string 4", "DefaultValue": "sample string 5", "Label": "sample string 6", "DataType": { "Id": "37af5435-16e1-4fed-a2fc-0938d853553c", "Name": "sample string 2", "Validation": "sample string 3", "Format": "sample string 4" }, "Relationships": [ { "Id": "c1b8c5b8-fa01-40e0-a581-470bb4378af5", "From": { "Id": "6e2b64b8-cf42-4bf7-949d-f559751f8f1c", "Name": "sample string 1", "TableName": "sample string 2" }, "To": { "Id": "6e2b64b8-cf42-4bf7-949d-f559751f8f1c", "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": "c1b8c5b8-fa01-40e0-a581-470bb4378af5", "From": { "Id": "6e2b64b8-cf42-4bf7-949d-f559751f8f1c", "Name": "sample string 1", "TableName": "sample string 2" }, "To": { "Id": "6e2b64b8-cf42-4bf7-949d-f559751f8f1c", "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":"824c5b40-4fc2-4d52-95ce-6c7bd91deab1","Name":"sample string 2","Required":true,"Help":"sample string 4","DefaultValue":"sample string 5","Label":"sample string 6","DataType":{"Id":"37af5435-16e1-4fed-a2fc-0938d853553c","Name":"sample string 2","Validation":"sample string 3","Format":"sample string 4"},"Relationships":[{"Id":"c1b8c5b8-fa01-40e0-a581-470bb4378af5","From":{"Id":"6e2b64b8-cf42-4bf7-949d-f559751f8f1c","Name":"sample string 1","TableName":"sample string 2"},"To":{"Id":"6e2b64b8-cf42-4bf7-949d-f559751f8f1c","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":"c1b8c5b8-fa01-40e0-a581-470bb4378af5","From":{"Id":"6e2b64b8-cf42-4bf7-949d-f559751f8f1c","Name":"sample string 1","TableName":"sample string 2"},"To":{"Id":"6e2b64b8-cf42-4bf7-949d-f559751f8f1c","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":"824c5b40-4fc2-4d52-95ce-6c7bd91deab1","Name":"sample string 2","Required":true,"Help":"sample string 4","DefaultValue":"sample string 5","Label":"sample string 6","DataType":{"Id":"37af5435-16e1-4fed-a2fc-0938d853553c","Name":"sample string 2","Validation":"sample string 3","Format":"sample string 4"},"Relationships":[{"Id":"c1b8c5b8-fa01-40e0-a581-470bb4378af5","From":{"Id":"6e2b64b8-cf42-4bf7-949d-f559751f8f1c","Name":"sample string 1","TableName":"sample string 2"},"To":{"Id":"6e2b64b8-cf42-4bf7-949d-f559751f8f1c","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":"c1b8c5b8-fa01-40e0-a581-470bb4378af5","From":{"Id":"6e2b64b8-cf42-4bf7-949d-f559751f8f1c","Name":"sample string 1","TableName":"sample string 2"},"To":{"Id":"6e2b64b8-cf42-4bf7-949d-f559751f8f1c","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>37af5435-16e1-4fed-a2fc-0938d853553c</Id> <Name>sample string 2</Name> <Validation>sample string 3</Validation> </DataType> <DefaultValue>sample string 5</DefaultValue> <Help>sample string 4</Help> <Id>824c5b40-4fc2-4d52-95ce-6c7bd91deab1</Id> <Label>sample string 6</Label> <Name>sample string 2</Name> <Relationships> <RelationshipResponse> <From> <Id>6e2b64b8-cf42-4bf7-949d-f559751f8f1c</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </From> <Id>c1b8c5b8-fa01-40e0-a581-470bb4378af5</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>6e2b64b8-cf42-4bf7-949d-f559751f8f1c</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </To> </RelationshipResponse> <RelationshipResponse> <From> <Id>6e2b64b8-cf42-4bf7-949d-f559751f8f1c</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </From> <Id>c1b8c5b8-fa01-40e0-a581-470bb4378af5</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>6e2b64b8-cf42-4bf7-949d-f559751f8f1c</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>37af5435-16e1-4fed-a2fc-0938d853553c</Id> <Name>sample string 2</Name> <Validation>sample string 3</Validation> </DataType> <DefaultValue>sample string 5</DefaultValue> <Help>sample string 4</Help> <Id>824c5b40-4fc2-4d52-95ce-6c7bd91deab1</Id> <Label>sample string 6</Label> <Name>sample string 2</Name> <Relationships> <RelationshipResponse> <From> <Id>6e2b64b8-cf42-4bf7-949d-f559751f8f1c</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </From> <Id>c1b8c5b8-fa01-40e0-a581-470bb4378af5</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>6e2b64b8-cf42-4bf7-949d-f559751f8f1c</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </To> </RelationshipResponse> <RelationshipResponse> <From> <Id>6e2b64b8-cf42-4bf7-949d-f559751f8f1c</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </From> <Id>c1b8c5b8-fa01-40e0-a581-470bb4378af5</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>6e2b64b8-cf42-4bf7-949d-f559751f8f1c</Id> <Name>sample string 1</Name> <TableName>sample string 2</TableName> </To> </RelationshipResponse> </Relationships> <Required>true</Required> </FieldsResponse> </Fields> </DefaultFieldsResponse>