PUT api/MainPages/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Page
NameDescriptionTypeAdditional information
Name

string

None.

Content

string

None.

PageViewType

string

None.

Title

string

None.

Url

string

None.

MetaDescription

string

None.

Description

string

None.

LinkFile

boolean

None.

FileName

string

None.

FileUrl

string

None.

Id

integer

None.

IsActive

boolean

None.

CreatedDate

date

None.

ModifiedDate

date

None.

CreatedById

string

None.

ModifiedById

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Content": "sample string 2",
  "PageViewType": "sample string 3",
  "Title": "sample string 4",
  "Url": "sample string 5",
  "MetaDescription": "sample string 6",
  "Description": "sample string 7",
  "LinkFile": true,
  "FileName": "sample string 9",
  "FileUrl": "sample string 10",
  "Id": 11,
  "IsActive": true,
  "CreatedDate": "2024-10-05T07:48:58.9047988+05:30",
  "ModifiedDate": "2024-10-05T07:48:58.9047988+05:30",
  "CreatedById": "sample string 13",
  "ModifiedById": "sample string 14"
}

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 'Page'.

Response Information

Resource Description

None.