POST api/OpenApi/RemoveAttachment

删除电站图片

Request Information

URI Parameters

None.

Body Parameters

id 文件id

AttachmentByType
NameDescriptionTypeAdditional information
object_id

string

None.

id

string

None.

file_name

string

None.

base64

string

None.

file_type

FileType

None.

Request Formats

application/json, text/json

Sample:
{
  "object_id": "sample string 1",
  "id": "sample string 2",
  "file_name": "sample string 3",
  "base64": "sample string 4",
  "file_type": 1
}

application/xml, text/xml

Sample:
<AttachmentByType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goodwe.Ops.BLL">
  <base64>sample string 4</base64>
  <file_name>sample string 3</file_name>
  <file_type>head_img</file_type>
  <id>sample string 2</id>
  <object_id>sample string 1</object_id>
</AttachmentByType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.