POST api/AttachmentSave

“Save”的文档。

Request Information

Parameters

NameDescriptionAdditional information
model
“model”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": "062bb122-6fb9-435e-adf6-5b51e6142d5b",
  "ParentId": "28a72a4c-4e6b-4380-bebb-f8f7da87a9e6",
  "EntityName": "sample string 3",
  "MediaUrl": "sample string 4",
  "FileName": "sample string 5",
  "FileType": "sample string 6",
  "FileSize": 7.1,
  "Note": "sample string 8",
  "CreateTime": "2026-10-29T10:44:26.9788611+08:00",
  "OperatorId": "e79517df-6e4d-4e77-a336-36df32534b83",
  "IsJudgment": true
}

application/xml, text/xml

Sample:
<AttachmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SCWC.DPTMP.Model">
  <CreateTime>2026-10-29T10:44:26.9788611+08:00</CreateTime>
  <EntityName>sample string 3</EntityName>
  <FileName>sample string 5</FileName>
  <FileSize>7.1</FileSize>
  <FileType>sample string 6</FileType>
  <Id>062bb122-6fb9-435e-adf6-5b51e6142d5b</Id>
  <IsJudgment>true</IsJudgment>
  <MediaUrl>sample string 4</MediaUrl>
  <Note>sample string 8</Note>
  <OperatorId>e79517df-6e4d-4e77-a336-36df32534b83</OperatorId>
  <ParentId>28a72a4c-4e6b-4380-bebb-f8f7da87a9e6</ParentId>
</AttachmentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />