Using API to Create Landing Page Layout

Overview

This API allows you to create a landing page layout in Hawksearch dashboard.

Request: POST request to the API below:

POST /api/v10/LandingPage HTTP/1.1 Host: dashboard-na.hawksearch.com X-HawkSearch-ApiKey: USE_YOUR_API_KEY Cache-Control: no-cache Postman-Token: cd457184-4c00-a650-62f2-530f22a9a384 { "PageLayoutId": 3, "Name": "3 Images (Top), 1 Zone (Bottom)", "Layout": "<div class=\"grid_12\">\r\n <div class=\"grid_4\">\r\n {{Image1}}\r\n </div>\r\n <div class=\"grid_4\">\r\n {{Image2}}\r\n </div> \r\n <div class=\"grid_4\">\r\n {{Image3}}\r\n </div> \r\n</div>\r\n<div class=\"grid_12\">\r\n {{WidgetZone}}\r\n</div>", "AssetName": "icon_Column_25.gif", "CreateDate": "01-01-0001", "ModifyDate": "01-01-0001" }

Response

The response is an array of landing page layout objects, every object being a series of key-value pairs. For the description of the data, please refer to Using API to Get All Landing Page Layout

 

POST Methods

  • POST api/v9/landingPageLayout

    No Documentation Found.

    Parameters

    • newLayout: No Documentation Found. (FromBody)