POST api/PageContent/CreatePageContent

Request Information

URI Parameters

None.

Body Parameters

PageContent
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

None.

Contents

string

None.

Image

string

None.

Slug

string

None.

IsActive

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Contents": "sample string 3",
  "Image": "sample string 4",
  "Slug": "sample string 5",
  "IsActive": 1,
  "CreatedBy": 6,
  "CreatedDate": "2025-12-21T09:01:54.4000046+00:00",
  "UpdatedBy": 1,
  "UpdatedDate": "2025-12-21T09:01:54.4000046+00:00"
}

application/xml, text/xml

Sample:
<PageContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDPS">
  <Contents>sample string 3</Contents>
  <CreatedBy>6</CreatedBy>
  <CreatedDate>2025-12-21T09:01:54.4000046+00:00</CreatedDate>
  <Id>1</Id>
  <Image>sample string 4</Image>
  <IsActive>1</IsActive>
  <Slug>sample string 5</Slug>
  <Title>sample string 2</Title>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2025-12-21T09:01:54.4000046+00:00</UpdatedDate>
</PageContent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

data

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.