POST api/PortalPages/UpdateHomePage

Request Information

URI Parameters

None.

Body Parameters

HomePage
NameDescriptionTypeAdditional information
HomePageId

integer

None.

HaId

integer

None.

PageName

string

None.

TemplateId

integer

None.

LastUpdated

date

None.

LastUpdatedBy

integer

None.

LastUpdatedByName

string

None.

Status

integer

None.

HeaderJson

string

None.

BodyJson

string

None.

FooterJson

string

None.

PublshedHeaderJson

string

None.

PublshedBodyJson

string

None.

PublishedStatus

integer

None.

DraftStatus

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HomePageId": 1,
  "HaId": 2,
  "PageName": "sample string 3",
  "TemplateId": 4,
  "LastUpdated": "2026-01-22T23:17:46.7530884-05:00",
  "LastUpdatedBy": 5,
  "LastUpdatedByName": "sample string 6",
  "Status": 7,
  "HeaderJson": "sample string 8",
  "BodyJson": "sample string 9",
  "FooterJson": "sample string 10",
  "PublshedHeaderJson": "sample string 11",
  "PublshedBodyJson": "sample string 12",
  "PublishedStatus": 13,
  "DraftStatus": 14
}

text/html

Sample:
{"HomePageId":1,"HaId":2,"PageName":"sample string 3","TemplateId":4,"LastUpdated":"2026-01-22T23:17:46.7530884-05:00","LastUpdatedBy":5,"LastUpdatedByName":"sample string 6","Status":7,"HeaderJson":"sample string 8","BodyJson":"sample string 9","FooterJson":"sample string 10","PublshedHeaderJson":"sample string 11","PublshedBodyJson":"sample string 12","PublishedStatus":13,"DraftStatus":14}

application/xml, text/xml

Sample:
<HomePage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortalEditor.Model.Models">
  <BodyJson>sample string 9</BodyJson>
  <DraftStatus>14</DraftStatus>
  <FooterJson>sample string 10</FooterJson>
  <HaId>2</HaId>
  <HeaderJson>sample string 8</HeaderJson>
  <HomePageId>1</HomePageId>
  <LastUpdated>2026-01-22T23:17:46.7530884-05:00</LastUpdated>
  <LastUpdatedBy>5</LastUpdatedBy>
  <LastUpdatedByName>sample string 6</LastUpdatedByName>
  <PageName>sample string 3</PageName>
  <PublishedStatus>13</PublishedStatus>
  <PublshedBodyJson>sample string 12</PublshedBodyJson>
  <PublshedHeaderJson>sample string 11</PublshedHeaderJson>
  <Status>7</Status>
  <TemplateId>4</TemplateId>
</HomePage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.