POST Api/PC/UploadPic

CS往BS上传图片(BC,XD)

Request Information

URI Parameters

None.

Body Parameters

BaseRequestOfListOfVW_Picture
NameDescriptionTypeAdditional information
QueryType

string

None.

OrgCold

string

None.

Data

Collection of VW_Picture

None.

Request Formats

application/json, text/json

Sample:
{
  "QueryType": "sample string 1",
  "OrgCold": "sample string 2",
  "Data": [
    {
      "ColdID": "sample string 1",
      "ID": "7a07abce-3f33-4c45-b38a-0f9057c1bf61",
      "DocumentID": "2f30dab1-f02c-4035-b439-33aed721c464",
      "CardID": "sample string 3",
      "UserAutograph": "sample string 4",
      "UserPhotoPath": "sample string 5",
      "UserFPPhoto": "sample string 6",
      "BCPic1": "sample string 7",
      "BCPic2": "sample string 8",
      "BCPic3": "sample string 9",
      "BCPic4": "sample string 10",
      "BCDoctorName": "sample string 11",
      "BCLookDoctorName": "sample string 12",
      "XDPic": "sample string 13",
      "XDDoctorName": "sample string 14",
      "XDLookDoctorName": "sample string 15",
      "BPPicBuf": "sample string 16",
      "BPPicBuf2": "sample string 17",
      "HDPicBuf": "sample string 18",
      "StaturePicBuf": "sample string 19",
      "QAPicBuf": "sample string 20"
    },
    {
      "ColdID": "sample string 1",
      "ID": "7a07abce-3f33-4c45-b38a-0f9057c1bf61",
      "DocumentID": "2f30dab1-f02c-4035-b439-33aed721c464",
      "CardID": "sample string 3",
      "UserAutograph": "sample string 4",
      "UserPhotoPath": "sample string 5",
      "UserFPPhoto": "sample string 6",
      "BCPic1": "sample string 7",
      "BCPic2": "sample string 8",
      "BCPic3": "sample string 9",
      "BCPic4": "sample string 10",
      "BCDoctorName": "sample string 11",
      "BCLookDoctorName": "sample string 12",
      "XDPic": "sample string 13",
      "XDDoctorName": "sample string 14",
      "XDLookDoctorName": "sample string 15",
      "BPPicBuf": "sample string 16",
      "BPPicBuf2": "sample string 17",
      "HDPicBuf": "sample string 18",
      "StaturePicBuf": "sample string 19",
      "QAPicBuf": "sample string 20"
    }
  ]
}

application/xml, text/xml

Sample:
<BaseRequestOfArrayOfVW_Picture5TI2ngjK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.MobileAPI.Areas.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/GT.WebModels">
    <d2p1:VW_Picture>
      <d2p1:BCDoctorName>sample string 11</d2p1:BCDoctorName>
      <d2p1:BCLookDoctorName>sample string 12</d2p1:BCLookDoctorName>
      <d2p1:BCPic1>sample string 7</d2p1:BCPic1>
      <d2p1:BCPic2>sample string 8</d2p1:BCPic2>
      <d2p1:BCPic3>sample string 9</d2p1:BCPic3>
      <d2p1:BCPic4>sample string 10</d2p1:BCPic4>
      <d2p1:BPPicBuf>sample string 16</d2p1:BPPicBuf>
      <d2p1:BPPicBuf2>sample string 17</d2p1:BPPicBuf2>
      <d2p1:CardID>sample string 3</d2p1:CardID>
      <d2p1:ColdID>sample string 1</d2p1:ColdID>
      <d2p1:DocumentID>2f30dab1-f02c-4035-b439-33aed721c464</d2p1:DocumentID>
      <d2p1:HDPicBuf>sample string 18</d2p1:HDPicBuf>
      <d2p1:ID>7a07abce-3f33-4c45-b38a-0f9057c1bf61</d2p1:ID>
      <d2p1:QAPicBuf>sample string 20</d2p1:QAPicBuf>
      <d2p1:StaturePicBuf>sample string 19</d2p1:StaturePicBuf>
      <d2p1:UserAutograph>sample string 4</d2p1:UserAutograph>
      <d2p1:UserFPPhoto>sample string 6</d2p1:UserFPPhoto>
      <d2p1:UserPhotoPath>sample string 5</d2p1:UserPhotoPath>
      <d2p1:XDDoctorName>sample string 14</d2p1:XDDoctorName>
      <d2p1:XDLookDoctorName>sample string 15</d2p1:XDLookDoctorName>
      <d2p1:XDPic>sample string 13</d2p1:XDPic>
    </d2p1:VW_Picture>
    <d2p1:VW_Picture>
      <d2p1:BCDoctorName>sample string 11</d2p1:BCDoctorName>
      <d2p1:BCLookDoctorName>sample string 12</d2p1:BCLookDoctorName>
      <d2p1:BCPic1>sample string 7</d2p1:BCPic1>
      <d2p1:BCPic2>sample string 8</d2p1:BCPic2>
      <d2p1:BCPic3>sample string 9</d2p1:BCPic3>
      <d2p1:BCPic4>sample string 10</d2p1:BCPic4>
      <d2p1:BPPicBuf>sample string 16</d2p1:BPPicBuf>
      <d2p1:BPPicBuf2>sample string 17</d2p1:BPPicBuf2>
      <d2p1:CardID>sample string 3</d2p1:CardID>
      <d2p1:ColdID>sample string 1</d2p1:ColdID>
      <d2p1:DocumentID>2f30dab1-f02c-4035-b439-33aed721c464</d2p1:DocumentID>
      <d2p1:HDPicBuf>sample string 18</d2p1:HDPicBuf>
      <d2p1:ID>7a07abce-3f33-4c45-b38a-0f9057c1bf61</d2p1:ID>
      <d2p1:QAPicBuf>sample string 20</d2p1:QAPicBuf>
      <d2p1:StaturePicBuf>sample string 19</d2p1:StaturePicBuf>
      <d2p1:UserAutograph>sample string 4</d2p1:UserAutograph>
      <d2p1:UserFPPhoto>sample string 6</d2p1:UserFPPhoto>
      <d2p1:UserPhotoPath>sample string 5</d2p1:UserPhotoPath>
      <d2p1:XDDoctorName>sample string 14</d2p1:XDDoctorName>
      <d2p1:XDLookDoctorName>sample string 15</d2p1:XDLookDoctorName>
      <d2p1:XDPic>sample string 13</d2p1:XDPic>
    </d2p1:VW_Picture>
  </Data>
  <OrgCold>sample string 2</OrgCold>
  <QueryType>sample string 1</QueryType>
</BaseRequestOfArrayOfVW_Picture5TI2ngjK>

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 'BaseRequest`1'.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
ResponseCode

返回Code

integer

None.

ResponseMsg

返回信息

string

None.

ResponseData

返回数据Json字符串

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMsg": "sample string 2",
  "ResponseData": "sample string 3"
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.MobileAPI.Areas.Models">
  <ResponseCode>1</ResponseCode>
  <ResponseData>sample string 3</ResponseData>
  <ResponseMsg>sample string 2</ResponseMsg>
</BaseResponse>