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": "96bc7078-350e-42f4-bddb-6a62be2a9ec3",
  "ParentId": "0533606d-7bcc-452d-9056-41adae8c9182",
  "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-08-04T11:55:08.4874312+08:00",
  "OperatorId": "781dbdd4-4bc2-4385-a624-924c261262d1",
  "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-08-04T11:55:08.4874312+08:00</CreateTime>
  <EntityName>sample string 3</EntityName>
  <FileName>sample string 5</FileName>
  <FileSize>7.1</FileSize>
  <FileType>sample string 6</FileType>
  <Id>96bc7078-350e-42f4-bddb-6a62be2a9ec3</Id>
  <IsJudgment>true</IsJudgment>
  <MediaUrl>sample string 4</MediaUrl>
  <Note>sample string 8</Note>
  <OperatorId>781dbdd4-4bc2-4385-a624-924c261262d1</OperatorId>
  <ParentId>0533606d-7bcc-452d-9056-41adae8c9182</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/" />