POST api/PageSize/Edit

Request Information

URI Parameters

None.

Body Parameters

PageSizeDto
NameDescriptionTypeAdditional information
Id

integer

None.

PageSize

string

None.

Width

integer

None.

Heigth

integer

None.

Relation

Collection of Previewimage_Pagesize_Relation

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PageSize": "sample string 2",
  "Width": 3,
  "Heigth": 4,
  "Relation": [
    {
      "Id": 1,
      "PrevieName": "sample string 2",
      "PreviewImageId": 3,
      "PageSizeId": 4
    },
    {
      "Id": 1,
      "PrevieName": "sample string 2",
      "PreviewImageId": 3,
      "PageSizeId": 4
    }
  ]
}

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

Response Information

Resource Description

ResponseResultOfBoolean
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": true
}