POST api/AttachmentAPI/DeleteAttachment

删除附件

Request Information

URI Parameters

None.

Body Parameters

附件GID

EntityForDelete
NameDescriptionTypeAdditional information
GID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "GID": "a12765df-d296-415f-9b4b-9e538e73f9ae"
}

application/xml, text/xml

Sample:
<EntityForDelete xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <GID>a12765df-d296-415f-9b4b-9e538e73f9ae</GID>
</EntityForDelete>

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 'EntityForDelete'.

Response Information

Resource Description

删除附件

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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