POST WebObject/UpdateWebObject

Request Information

URI Parameters

None.

Body Parameters

WebObject
NameDescriptionTypeAdditional information
webObjectKey

integer

None.

webPortalKey

integer

Required

Range: inclusive between 0 and 10000

contentTypeKey

integer

Required

Range: inclusive between 1000 and 1000000

contentTypeDesc

string

None.

loginTypeKey

integer

Range: inclusive between 0 and 1000000

loginTypeDesc

string

None.

isVisible

integer

Required

displayOrder

integer

None.

pageTitle

string

None.

bannerText

string

None.

breadcrumbText

string

None.

headerHtml

string

None.

footerHtml

string

None.

css

string

None.

layout

string

None.

contentViewName

string

None.

controller

string

None.

routeAction

string

None.

portalName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "webObjectKey": 1,
  "webPortalKey": 2,
  "contentTypeKey": 3,
  "contentTypeDesc": "sample string 4",
  "loginTypeKey": 5,
  "loginTypeDesc": "sample string 6",
  "isVisible": 7,
  "displayOrder": 8,
  "pageTitle": "sample string 9",
  "bannerText": "sample string 10",
  "breadcrumbText": "sample string 11",
  "headerHtml": "sample string 12",
  "footerHtml": "sample string 13",
  "css": "sample string 14",
  "layout": "sample string 15",
  "contentViewName": "sample string 16",
  "controller": "sample string 17",
  "routeAction": "sample string 18",
  "portalName": "sample string 19"
}

application/xml, text/xml

Sample:
<WebObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models">
  <bannerText>sample string 10</bannerText>
  <breadcrumbText>sample string 11</breadcrumbText>
  <contentTypeDesc>sample string 4</contentTypeDesc>
  <contentTypeKey>3</contentTypeKey>
  <contentViewName>sample string 16</contentViewName>
  <controller>sample string 17</controller>
  <css>sample string 14</css>
  <displayOrder>8</displayOrder>
  <footerHtml>sample string 13</footerHtml>
  <headerHtml>sample string 12</headerHtml>
  <isVisible>7</isVisible>
  <layout>sample string 15</layout>
  <loginTypeDesc>sample string 6</loginTypeDesc>
  <loginTypeKey>5</loginTypeKey>
  <pageTitle>sample string 9</pageTitle>
  <portalName>sample string 19</portalName>
  <routeAction>sample string 18</routeAction>
  <webObjectKey>1</webObjectKey>
  <webPortalKey>2</webPortalKey>
</WebObject>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WebObject'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.