POST api/XmhHr/UploadImg

上传图片

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UploadFileResponse
NameDescriptionTypeAdditional information
filePath

保存路径

string

None.

picName

图片名称

string

None.

doc_picName

string

None.

msg

消息

string

None.

result

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "filePath": "sample string 1",
  "picName": "sample string 2",
  "doc_picName": "sample string 3",
  "msg": "sample string 4",
  "result": true
}

application/xml, text/xml

Sample:
<UploadFileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">
  <msg>sample string 4</msg>
  <result>true</result>
  <doc_picName>sample string 3</doc_picName>
  <filePath>sample string 1</filePath>
  <picName>sample string 2</picName>
</UploadFileResponse>