POST api/Upload/picture

圖片上傳操作

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

圖片上傳操作

Img_Output
NameDescriptionTypeAdditional information
flag

是否上傳成功

boolean

None.

msg

消息

string

None.

DocId

文檔ID

globally unique identifier

None.

path

返回文件顯示路徑

string

None.

oldFileName

上傳的文件名

string

None.

Response Formats

application/json, text/json

Sample:
{
  "flag": true,
  "msg": "sample string 2",
  "DocId": "adaad1f2-03cc-412e-b09d-583b6d96b792",
  "path": "sample string 3",
  "oldFileName": "sample string 4"
}

text/html

Sample:
{"flag":true,"msg":"sample string 2","DocId":"adaad1f2-03cc-412e-b09d-583b6d96b792","path":"sample string 3","oldFileName":"sample string 4"}