Versions Compared

Key

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

Overview

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

Request

Expand
Code Block
languagejson
PUT /api/v10/LandingPageLayout/1234 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

PUT Methods

  • PUT api/v9/landingPageLayout/{id}

    Updates a landing page content

    Parameters

    • id: Id of an entity to update (FromUri)

    • pageLayout: An entity with updated properties (FromBody)