Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

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

...

Expand
Code Block
languagejson
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 objects, every object being a series of key-value pairs. For the description of the data, please refer to Using API to Create Get All Landing PageLayoutsPage Layout

POST Methods

  • POST api/v9/LandingPage

    Add new Landing Page.

    Parameters

    • value: Landing Page object (FromBody)

    • version: (FromUri)

  • POST api/v9/LandingPage/bulk

    Add multiple Landing Pages at once

    Parameters

    • pages: Collection of Landing Page objects (FromBody)

    • version: (FromUri)