POST api/Content/UpdatePageContent

Documentation for 'UpdatePageContent'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "item": {
    "ID": "sample string 1",
    "Title": "sample string 2",
    "Description": "sample string 3",
    "Text": "sample string 4",
    "AdminID": "sample string 5",
    "CreateDate": "2025-01-09T11:29:07.9935646+08:00",
    "UpdateDate": "2025-01-09T11:29:07.9935646+08:00",
    "enabled": "sample string 6",
    "deleted": "sample string 7",
    "status": "sample string 8"
  },
  "adminID": "sample string 1"
}

application/xml, text/xml

Sample:
<updatePageContentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SISVServices.Models">
  <adminID>sample string 1</adminID>
  <item xmlns:d2p1="http://schemas.datacontract.org/2004/07/SISVServicesDA.Models">
    <d2p1:AdminID>sample string 5</d2p1:AdminID>
    <d2p1:CreateDate>2025-01-09T11:29:07.9935646+08:00</d2p1:CreateDate>
    <d2p1:Description>sample string 3</d2p1:Description>
    <d2p1:ID>sample string 1</d2p1:ID>
    <d2p1:Text>sample string 4</d2p1:Text>
    <d2p1:Title>sample string 2</d2p1:Title>
    <d2p1:UpdateDate>2025-01-09T11:29:07.9935646+08:00</d2p1:UpdateDate>
    <d2p1:deleted>sample string 7</d2p1:deleted>
    <d2p1:enabled>sample string 6</d2p1:enabled>
    <d2p1:status>sample string 8</d2p1:status>
  </item>
</updatePageContentRequest>

application/x-www-form-urlencoded

Sample:

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