POST api/ArchivePages

Request Information

URI Parameters

None.

Body Parameters

ArchivePage
NameDescriptionTypeAdditional information
Name

string

None.

FileUrl

string

None.

PageUrl

string

None.

ArchiveCategoryId

integer

None.

ArchiveCategory

ArchiveCategory

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",
  "FileUrl": "sample string 2",
  "PageUrl": "sample string 3",
  "ArchiveCategoryId": 4,
  "ArchiveCategory": {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ArchivePages": [],
    "Id": 3,
    "IsActive": true,
    "CreatedDate": "2024-10-07T15:53:16.5990917+05:30",
    "ModifiedDate": "2024-10-07T15:53:16.5990917+05:30",
    "CreatedById": "sample string 5",
    "ModifiedById": "sample string 6"
  },
  "Id": 5,
  "IsActive": true,
  "CreatedDate": "2024-10-07T15:53:16.5990917+05:30",
  "ModifiedDate": "2024-10-07T15:53:16.5990917+05:30",
  "CreatedById": "sample string 7",
  "ModifiedById": "sample string 8"
}

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

Response Information

Resource Description

ArchivePage
NameDescriptionTypeAdditional information
Name

string

None.

FileUrl

string

None.

PageUrl

string

None.

ArchiveCategoryId

integer

None.

ArchiveCategory

ArchiveCategory

None.

Id

integer

None.

IsActive

boolean

None.

CreatedDate

date

None.

ModifiedDate

date

None.

CreatedById

string

None.

ModifiedById

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "FileUrl": "sample string 2",
  "PageUrl": "sample string 3",
  "ArchiveCategoryId": 4,
  "ArchiveCategory": {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ArchivePages": [],
    "Id": 3,
    "IsActive": true,
    "CreatedDate": "2024-10-07T15:53:16.5990917+05:30",
    "ModifiedDate": "2024-10-07T15:53:16.5990917+05:30",
    "CreatedById": "sample string 5",
    "ModifiedById": "sample string 6"
  },
  "Id": 5,
  "IsActive": true,
  "CreatedDate": "2024-10-07T15:53:16.5990917+05:30",
  "ModifiedDate": "2024-10-07T15:53:16.5990917+05:30",
  "CreatedById": "sample string 7",
  "ModifiedById": "sample string 8"
}