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": "2079438b-fcfe-4ea2-96e5-1ab346f5355d", "Name": "sample string 2", "Required": true, "Help": "sample string 4", "DefaultValue": "sample string 5", "Label": "sample string 6", "DataType": { "Id": "803f6387-d617-4927-8e6b-20ebc9e78a33", "Name": "sample string 2", "Validation": "sample string 3", "Format": "sample string 4" }, "Relationships": [ { "Id": "03bbe21c-506d-4edb-a9ab-515873201795", "From": { "Id": "7995c68e-9ae0-48b7-8131-afaca8fe3b2f", "Name": "sample string 1" }, "To": { "Id": "7995c68e-9ae0-48b7-8131-afaca8fe3b2f", "Name": "sample string 1" }, "LinkEditStyle": 0, "ShowClearButton": true, "ShowRefreshButton": true, "ShowAddButton": true, "Link": { "Page": "sample string 1", "Template": "sample string 2", "EditTemplate": "sample string 3" } }, { "Id": "03bbe21c-506d-4edb-a9ab-515873201795", "From": { "Id": "7995c68e-9ae0-48b7-8131-afaca8fe3b2f", "Name": "sample string 1" }, "To": { "Id": "7995c68e-9ae0-48b7-8131-afaca8fe3b2f", "Name": "sample string 1" }, "LinkEditStyle": 0, "ShowClearButton": true, "ShowRefreshButton": true, "ShowAddButton": true, "Link": { "Page": "sample string 1", "Template": "sample string 2", "EditTemplate": "sample string 3" } } ] }, { "Id": "2079438b-fcfe-4ea2-96e5-1ab346f5355d", "Name": "sample string 2", "Required": true, "Help": "sample string 4", "DefaultValue": "sample string 5", "Label": "sample string 6", "DataType": { "Id": "803f6387-d617-4927-8e6b-20ebc9e78a33", "Name": "sample string 2", "Validation": "sample string 3", "Format": "sample string 4" }, "Relationships": [ { "Id": "03bbe21c-506d-4edb-a9ab-515873201795", "From": { "Id": "7995c68e-9ae0-48b7-8131-afaca8fe3b2f", "Name": "sample string 1" }, "To": { "Id": "7995c68e-9ae0-48b7-8131-afaca8fe3b2f", "Name": "sample string 1" }, "LinkEditStyle": 0, "ShowClearButton": true, "ShowRefreshButton": true, "ShowAddButton": true, "Link": { "Page": "sample string 1", "Template": "sample string 2", "EditTemplate": "sample string 3" } }, { "Id": "03bbe21c-506d-4edb-a9ab-515873201795", "From": { "Id": "7995c68e-9ae0-48b7-8131-afaca8fe3b2f", "Name": "sample string 1" }, "To": { "Id": "7995c68e-9ae0-48b7-8131-afaca8fe3b2f", "Name": "sample string 1" }, "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":"2079438b-fcfe-4ea2-96e5-1ab346f5355d","Name":"sample string 2","Required":true,"Help":"sample string 4","DefaultValue":"sample string 5","Label":"sample string 6","DataType":{"Id":"803f6387-d617-4927-8e6b-20ebc9e78a33","Name":"sample string 2","Validation":"sample string 3","Format":"sample string 4"},"Relationships":[{"Id":"03bbe21c-506d-4edb-a9ab-515873201795","From":{"Id":"7995c68e-9ae0-48b7-8131-afaca8fe3b2f","Name":"sample string 1"},"To":{"Id":"7995c68e-9ae0-48b7-8131-afaca8fe3b2f","Name":"sample string 1"},"LinkEditStyle":0,"ShowClearButton":true,"ShowRefreshButton":true,"ShowAddButton":true,"Link":{"Page":"sample string 1","Template":"sample string 2","EditTemplate":"sample string 3"}},{"Id":"03bbe21c-506d-4edb-a9ab-515873201795","From":{"Id":"7995c68e-9ae0-48b7-8131-afaca8fe3b2f","Name":"sample string 1"},"To":{"Id":"7995c68e-9ae0-48b7-8131-afaca8fe3b2f","Name":"sample string 1"},"LinkEditStyle":0,"ShowClearButton":true,"ShowRefreshButton":true,"ShowAddButton":true,"Link":{"Page":"sample string 1","Template":"sample string 2","EditTemplate":"sample string 3"}}]},{"Id":"2079438b-fcfe-4ea2-96e5-1ab346f5355d","Name":"sample string 2","Required":true,"Help":"sample string 4","DefaultValue":"sample string 5","Label":"sample string 6","DataType":{"Id":"803f6387-d617-4927-8e6b-20ebc9e78a33","Name":"sample string 2","Validation":"sample string 3","Format":"sample string 4"},"Relationships":[{"Id":"03bbe21c-506d-4edb-a9ab-515873201795","From":{"Id":"7995c68e-9ae0-48b7-8131-afaca8fe3b2f","Name":"sample string 1"},"To":{"Id":"7995c68e-9ae0-48b7-8131-afaca8fe3b2f","Name":"sample string 1"},"LinkEditStyle":0,"ShowClearButton":true,"ShowRefreshButton":true,"ShowAddButton":true,"Link":{"Page":"sample string 1","Template":"sample string 2","EditTemplate":"sample string 3"}},{"Id":"03bbe21c-506d-4edb-a9ab-515873201795","From":{"Id":"7995c68e-9ae0-48b7-8131-afaca8fe3b2f","Name":"sample string 1"},"To":{"Id":"7995c68e-9ae0-48b7-8131-afaca8fe3b2f","Name":"sample string 1"},"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>803f6387-d617-4927-8e6b-20ebc9e78a33</Id> <Name>sample string 2</Name> <Validation>sample string 3</Validation> </DataType> <DefaultValue>sample string 5</DefaultValue> <Help>sample string 4</Help> <Id>2079438b-fcfe-4ea2-96e5-1ab346f5355d</Id> <Label>sample string 6</Label> <Name>sample string 2</Name> <Relationships> <RelationshipResponse> <From> <Id>7995c68e-9ae0-48b7-8131-afaca8fe3b2f</Id> <Name>sample string 1</Name> </From> <Id>03bbe21c-506d-4edb-a9ab-515873201795</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>7995c68e-9ae0-48b7-8131-afaca8fe3b2f</Id> <Name>sample string 1</Name> </To> </RelationshipResponse> <RelationshipResponse> <From> <Id>7995c68e-9ae0-48b7-8131-afaca8fe3b2f</Id> <Name>sample string 1</Name> </From> <Id>03bbe21c-506d-4edb-a9ab-515873201795</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>7995c68e-9ae0-48b7-8131-afaca8fe3b2f</Id> <Name>sample string 1</Name> </To> </RelationshipResponse> </Relationships> <Required>true</Required> </FieldsResponse> <FieldsResponse> <DataType> <Format>sample string 4</Format> <Id>803f6387-d617-4927-8e6b-20ebc9e78a33</Id> <Name>sample string 2</Name> <Validation>sample string 3</Validation> </DataType> <DefaultValue>sample string 5</DefaultValue> <Help>sample string 4</Help> <Id>2079438b-fcfe-4ea2-96e5-1ab346f5355d</Id> <Label>sample string 6</Label> <Name>sample string 2</Name> <Relationships> <RelationshipResponse> <From> <Id>7995c68e-9ae0-48b7-8131-afaca8fe3b2f</Id> <Name>sample string 1</Name> </From> <Id>03bbe21c-506d-4edb-a9ab-515873201795</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>7995c68e-9ae0-48b7-8131-afaca8fe3b2f</Id> <Name>sample string 1</Name> </To> </RelationshipResponse> <RelationshipResponse> <From> <Id>7995c68e-9ae0-48b7-8131-afaca8fe3b2f</Id> <Name>sample string 1</Name> </From> <Id>03bbe21c-506d-4edb-a9ab-515873201795</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>7995c68e-9ae0-48b7-8131-afaca8fe3b2f</Id> <Name>sample string 1</Name> </To> </RelationshipResponse> </Relationships> <Required>true</Required> </FieldsResponse> </Fields> </DefaultFieldsResponse>