POST api/Editor/GetEditorConfig

'GetEditorConfig' 的文件。

Request Information

Parameters

NameDescriptionAdditional information
qSite
'qSite' 的文件。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Name": "sample string 1"
}

application/xml, text/xml

Sample:
<EditorController.QuerySite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Controllers">
  <Name>sample string 1</Name>
</EditorController.QuerySite>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "title": "sample string 1",
  "comment": "sample string 2",
  "vTnm_sImgRoot": "sample string 3",
  "vTnm_sImgUploadSourceFolder": "sample string 4",
  "vTnm_sImgUploadResizeFolder": "sample string 5",
  "vTnm_sImgResizeFileNamePrefix": "sample string 6",
  "vTnm_sArrImgSize": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "vTnm_sImgWaterMarkFile": "sample string 7",
  "vTnm_sArrImgSizeWaterMark": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "vTnm_sImgReturnDisplayFolder": "sample string 8",
  "vTnm_sImgSourceDisplayFolder": "sample string 9",
  "vTnm_sImgPathUploadSourcePattern": "sample string 10",
  "vTnm_sImgPathUploadResizePattern": "sample string 11",
  "vTnm_sImgPathReturnDisplayPattern": "sample string 12",
  "vTnm_sImgCropSourceFolder": "sample string 13",
  "vTnm_sImgCropSourcePattern": "sample string 14",
  "vTnm_ImgCropTypes": [
    {
      "vTnm_CropType": "sample string 1",
      "vTnm_CropSize": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "vTnm_CropTargetFolder": "sample string 2",
      "vTnm_CropDisplayFolder": "sample string 3",
      "vTnm_CropPathPattern": "sample string 4"
    },
    {
      "vTnm_CropType": "sample string 1",
      "vTnm_CropSize": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "vTnm_CropTargetFolder": "sample string 2",
      "vTnm_CropDisplayFolder": "sample string 3",
      "vTnm_CropPathPattern": "sample string 4"
    },
    {
      "vTnm_CropType": "sample string 1",
      "vTnm_CropSize": [
        "sample string 1",
        "sample string 2",
        "sample string 3"
      ],
      "vTnm_CropTargetFolder": "sample string 2",
      "vTnm_CropDisplayFolder": "sample string 3",
      "vTnm_CropPathPattern": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<TnmEditorConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CnaWebBackendApi.Models">
  <comment>sample string 2</comment>
  <title>sample string 1</title>
  <vTnm_ImgCropTypes>
    <vTnm_ImgCropTypes>
      <vTnm_CropDisplayFolder>sample string 3</vTnm_CropDisplayFolder>
      <vTnm_CropPathPattern>sample string 4</vTnm_CropPathPattern>
      <vTnm_CropSize xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </vTnm_CropSize>
      <vTnm_CropTargetFolder>sample string 2</vTnm_CropTargetFolder>
      <vTnm_CropType>sample string 1</vTnm_CropType>
    </vTnm_ImgCropTypes>
    <vTnm_ImgCropTypes>
      <vTnm_CropDisplayFolder>sample string 3</vTnm_CropDisplayFolder>
      <vTnm_CropPathPattern>sample string 4</vTnm_CropPathPattern>
      <vTnm_CropSize xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </vTnm_CropSize>
      <vTnm_CropTargetFolder>sample string 2</vTnm_CropTargetFolder>
      <vTnm_CropType>sample string 1</vTnm_CropType>
    </vTnm_ImgCropTypes>
    <vTnm_ImgCropTypes>
      <vTnm_CropDisplayFolder>sample string 3</vTnm_CropDisplayFolder>
      <vTnm_CropPathPattern>sample string 4</vTnm_CropPathPattern>
      <vTnm_CropSize xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
        <d4p1:string>sample string 3</d4p1:string>
      </vTnm_CropSize>
      <vTnm_CropTargetFolder>sample string 2</vTnm_CropTargetFolder>
      <vTnm_CropType>sample string 1</vTnm_CropType>
    </vTnm_ImgCropTypes>
  </vTnm_ImgCropTypes>
  <vTnm_sArrImgSize xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </vTnm_sArrImgSize>
  <vTnm_sArrImgSizeWaterMark xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </vTnm_sArrImgSizeWaterMark>
  <vTnm_sImgCropSourceFolder>sample string 13</vTnm_sImgCropSourceFolder>
  <vTnm_sImgCropSourcePattern>sample string 14</vTnm_sImgCropSourcePattern>
  <vTnm_sImgPathReturnDisplayPattern>sample string 12</vTnm_sImgPathReturnDisplayPattern>
  <vTnm_sImgPathUploadResizePattern>sample string 11</vTnm_sImgPathUploadResizePattern>
  <vTnm_sImgPathUploadSourcePattern>sample string 10</vTnm_sImgPathUploadSourcePattern>
  <vTnm_sImgResizeFileNamePrefix>sample string 6</vTnm_sImgResizeFileNamePrefix>
  <vTnm_sImgReturnDisplayFolder>sample string 8</vTnm_sImgReturnDisplayFolder>
  <vTnm_sImgRoot>sample string 3</vTnm_sImgRoot>
  <vTnm_sImgSourceDisplayFolder>sample string 9</vTnm_sImgSourceDisplayFolder>
  <vTnm_sImgUploadResizeFolder>sample string 5</vTnm_sImgUploadResizeFolder>
  <vTnm_sImgUploadSourceFolder>sample string 4</vTnm_sImgUploadSourceFolder>
  <vTnm_sImgWaterMarkFile>sample string 7</vTnm_sImgWaterMarkFile>
</TnmEditorConfig>