POST api/PdfPageCategories

Request Information

URI Parameters

None.

Body Parameters

PdfPageCategory
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

PdfPages

Collection of PdfPage

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",
  "Description": "sample string 2",
  "PdfPages": [
    {
      "Title": "sample string 1",
      "FileUrl": "sample string 2",
      "Url": "sample string 3",
      "Content": "sample string 4",
      "Heading": "sample string 5",
      "MetaDescription": "sample string 6",
      "Description": "sample string 7",
      "SrNo": 8,
      "IsArchived": true,
      "IsGrouped": true,
      "PdfPageCategoryId": 11,
      "Id": 12,
      "IsActive": true,
      "CreatedDate": "2024-10-05T18:37:13.7050859+05:30",
      "ModifiedDate": "2024-10-05T18:37:13.7050859+05:30",
      "CreatedById": "sample string 14",
      "ModifiedById": "sample string 15"
    },
    {
      "Title": "sample string 1",
      "FileUrl": "sample string 2",
      "Url": "sample string 3",
      "Content": "sample string 4",
      "Heading": "sample string 5",
      "MetaDescription": "sample string 6",
      "Description": "sample string 7",
      "SrNo": 8,
      "IsArchived": true,
      "IsGrouped": true,
      "PdfPageCategoryId": 11,
      "Id": 12,
      "IsActive": true,
      "CreatedDate": "2024-10-05T18:37:13.7050859+05:30",
      "ModifiedDate": "2024-10-05T18:37:13.7050859+05:30",
      "CreatedById": "sample string 14",
      "ModifiedById": "sample string 15"
    }
  ],
  "Id": 3,
  "IsActive": true,
  "CreatedDate": "2024-10-05T18:37:13.7050859+05:30",
  "ModifiedDate": "2024-10-05T18:37:13.7050859+05:30",
  "CreatedById": "sample string 5",
  "ModifiedById": "sample string 6"
}

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

Response Information

Resource Description

PdfPageCategory
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

PdfPages

Collection of PdfPage

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",
  "Description": "sample string 2",
  "PdfPages": [
    {
      "Title": "sample string 1",
      "FileUrl": "sample string 2",
      "Url": "sample string 3",
      "Content": "sample string 4",
      "Heading": "sample string 5",
      "MetaDescription": "sample string 6",
      "Description": "sample string 7",
      "SrNo": 8,
      "IsArchived": true,
      "IsGrouped": true,
      "PdfPageCategoryId": 11,
      "Id": 12,
      "IsActive": true,
      "CreatedDate": "2024-10-05T18:37:13.7050859+05:30",
      "ModifiedDate": "2024-10-05T18:37:13.7050859+05:30",
      "CreatedById": "sample string 14",
      "ModifiedById": "sample string 15"
    },
    {
      "Title": "sample string 1",
      "FileUrl": "sample string 2",
      "Url": "sample string 3",
      "Content": "sample string 4",
      "Heading": "sample string 5",
      "MetaDescription": "sample string 6",
      "Description": "sample string 7",
      "SrNo": 8,
      "IsArchived": true,
      "IsGrouped": true,
      "PdfPageCategoryId": 11,
      "Id": 12,
      "IsActive": true,
      "CreatedDate": "2024-10-05T18:37:13.7050859+05:30",
      "ModifiedDate": "2024-10-05T18:37:13.7050859+05:30",
      "CreatedById": "sample string 14",
      "ModifiedById": "sample string 15"
    }
  ],
  "Id": 3,
  "IsActive": true,
  "CreatedDate": "2024-10-05T18:37:13.7050859+05:30",
  "ModifiedDate": "2024-10-05T18:37:13.7050859+05:30",
  "CreatedById": "sample string 5",
  "ModifiedById": "sample string 6"
}