POST api/PreviewImage/Add

Request Information

URI Parameters

None.

Body Parameters

PreviewImage
NameDescriptionTypeAdditional information
Id

integer

None.

BackdropName

string

None.

FileName

string

None.

Relation

Collection of Previewimage_Pagesize_Relation

None.

HttpImg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BackdropName": "sample string 2",
  "FileName": "sample string 3",
  "Relation": [
    {
      "Id": 1,
      "PrevieName": "sample string 2",
      "PreviewImageId": 3,
      "PageSizeId": 4
    },
    {
      "Id": 1,
      "PrevieName": "sample string 2",
      "PreviewImageId": 3,
      "PageSizeId": 4
    }
  ],
  "HttpImg": "http://erp2-print.cnfth.com/CustomPicking/Previewimage/sample string 3?357323"
}

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

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
}