POST api/Articles/PostGetView/{securityCode}/{storeCode}
Returns an UpView JSON object that can be used for presentation purposes (html/pdf) based on the UpArticle that matches the supplied Guid and that is generated by the supplied template and parameters. The IgnoreCache switch determs if cached content is legit or if a live content generation may be enforced (mandatory body field[s]: Guid (or alternativeliy Name can be supplied), DataSheetName, TemplateGroup, TemplateName, Variables, IgnoreCache - optional body field[s]: StateApproved, StatePublished and StateReferenceDate can be supplied to influence the default handling of non published/approved or expired entities)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| securityCode |
Used for authorization |
globally unique identifier |
Required |
| storeCode |
Used to specify target database |
string |
Required |
Body Parameters
Mandatory body field(s): Guid, DataSheetName, TemplateGroupName, TemplateName, Variables, IgnoreCache
ApiRequestObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Guid | globally unique identifier |
None. |
|
| Language | string |
None. |
|
| IgnoreCache | boolean |
None. |
|
| Clean | boolean |
None. |
|
| Range | integer |
None. |
|
| Filter | string |
None. |
|
| DataContractName | string |
None. |
|
| Name | string |
None. |
|
| DataSheetName | string |
None. |
|
| TemplateName | string |
None. |
|
| TemplateGroupName | string |
None. |
|
| Variables | string |
None. |
|
| SubDirectories | string |
None. |
|
| Channel | string |
None. |
|
| View | string |
None. |
|
| Search | string |
None. |
|
| Configuration | string |
None. |
|
| Type | string |
None. |
|
| Delimiter | string |
None. |
|
| City | string |
None. |
|
| Country | string |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| PropertyTypes | string |
None. |
|
| EntityTypes | string |
None. |
|
| StateApproved | ExpressionFilterState |
None. |
|
| StatePublished | ExpressionFilterState |
None. |
|
| StateReferenceDate | ExpressionFilterState |
None. |
Request Formats
application/json, text/json
{
"Guid": "f2065f35-1368-4520-81a4-affa017a70e3",
"Language": "sample string 2",
"IgnoreCache": true,
"Clean": true,
"Range": 5,
"Filter": "sample string 6",
"DataContractName": "sample string 7",
"Name": "sample string 8",
"DataSheetName": "sample string 9",
"TemplateName": "sample string 10",
"TemplateGroupName": "sample string 11",
"Variables": "sample string 12",
"SubDirectories": "sample string 13",
"Channel": "sample string 14",
"View": "sample string 15",
"Search": "sample string 16",
"Configuration": "sample string 17",
"Type": "sample string 18",
"Delimiter": "sample string 19",
"City": "sample string 20",
"Country": "sample string 21",
"Latitude": "sample string 22",
"Longitude": "sample string 23",
"PropertyTypes": "sample string 24",
"EntityTypes": "sample string 25",
"StateApproved": 0,
"StatePublished": 0,
"StateReferenceDate": 0
}
application/xml, text/xml
<ApiRequestObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Up.Engine.Service.WebAPI.Models"> <Channel>sample string 14</Channel> <City>sample string 20</City> <Clean>true</Clean> <Configuration>sample string 17</Configuration> <Country>sample string 21</Country> <DataContractName>sample string 7</DataContractName> <DataSheetName>sample string 9</DataSheetName> <Delimiter>sample string 19</Delimiter> <EntityTypes>sample string 25</EntityTypes> <Filter>sample string 6</Filter> <Guid>f2065f35-1368-4520-81a4-affa017a70e3</Guid> <IgnoreCache>true</IgnoreCache> <Language>sample string 2</Language> <Latitude>sample string 22</Latitude> <Longitude>sample string 23</Longitude> <Name>sample string 8</Name> <PropertyTypes>sample string 24</PropertyTypes> <Range>5</Range> <Search>sample string 16</Search> <StateApproved>True</StateApproved> <StatePublished>True</StatePublished> <StateReferenceDate>True</StateReferenceDate> <SubDirectories>sample string 13</SubDirectories> <TemplateGroupName>sample string 11</TemplateGroupName> <TemplateName>sample string 10</TemplateName> <Type>sample string 18</Type> <Variables>sample string 12</Variables> <View>sample string 15</View> </ApiRequestObject>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
UpView
UpView| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| TextValue | string |
None. |
|
| XmlConfig | string |
None. |
Response Formats
application/json, text/json
{
"Name": "sample string 1",
"TextValue": "sample string 2",
"XmlConfig": "sample string 3"
}
application/xml, text/xml
<UpView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Up.Engine.Service.Data.Model"> <Name>sample string 1</Name> <TextValue>sample string 2</TextValue> <XmlConfig>sample string 3</XmlConfig> </UpView>