PUT api/page/update

Request Information

URI Parameters

None.

Body Parameters

PageViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Alias

string

None.

Content

string

None.

CreatedDate

date

None.

CreatedBy

string

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

MetaKeyword

string

None.

MetaDescription

string

None.

Status

boolean

None.

ForSEO

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Alias": "sample string 3",
  "Content": "sample string 4",
  "CreatedDate": "2020-04-06T21:23:27.7254479+07:00",
  "CreatedBy": "sample string 5",
  "UpdatedDate": "2020-04-06T21:23:27.7254479+07:00",
  "UpdatedBy": "sample string 6",
  "MetaKeyword": "sample string 7",
  "MetaDescription": "sample string 8",
  "Status": true,
  "ForSEO": true
}

application/xml, text/xml

Sample:
<PageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeduShop.Web.Models">
  <Alias>sample string 3</Alias>
  <Content>sample string 4</Content>
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedDate>2020-04-06T21:23:27.7254479+07:00</CreatedDate>
  <ForSEO>true</ForSEO>
  <ID>1</ID>
  <MetaDescription>sample string 8</MetaDescription>
  <MetaKeyword>sample string 7</MetaKeyword>
  <Name>sample string 2</Name>
  <Status>true</Status>
  <UpdatedBy>sample string 6</UpdatedBy>
  <UpdatedDate>2020-04-06T21:23:27.7254479+07:00</UpdatedDate>
</PageViewModel>

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.