POST api/Agent/Platform/Broadcast/DeleteOrCancel

删除或撤回一个公告,生产商的公告只能由生产商删除或撤回,运营商的公告只能由当前运营商删除或撤回。已审核的公告不能删除,只能撤回。

Request Information

URI Parameters

None.

Body Parameters

被删除或撤回的公告的ID。

integer

Request Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

删除或撤回一个公告,生产商的公告只能由生产商删除或撤回,运营商的公告只能由当前运营商删除或撤回。已审核的公告不能删除,只能撤回。

CommonOperationResultWithTagOfString
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": "sample string 3"
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag>sample string 3</tag>
</CommonOperationResultWithTagOfstring>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.