POST api/AttachmentSave
“Save”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | “model”的文档。 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Id": "d94d29dc-296c-4f29-82f5-6440759170e5",
"ParentId": "7d136894-6d81-4636-a4a6-9bd02ddaded0",
"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-05-07T23:24:28.7759106+08:00",
"OperatorId": "96a983e7-b488-4fee-8630-100ff701dcec",
"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-05-07T23:24:28.7759106+08:00</CreateTime> <EntityName>sample string 3</EntityName> <FileName>sample string 5</FileName> <FileSize>7.1</FileSize> <FileType>sample string 6</FileType> <Id>d94d29dc-296c-4f29-82f5-6440759170e5</Id> <IsJudgment>true</IsJudgment> <MediaUrl>sample string 4</MediaUrl> <Note>sample string 8</Note> <OperatorId>96a983e7-b488-4fee-8630-100ff701dcec</OperatorId> <ParentId>7d136894-6d81-4636-a4a6-9bd02ddaded0</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/" />