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": "f61296ea-d523-4ad8-9031-dca3c8e6c68b",
"ParentId": "1c7446c4-ddab-4f41-9e44-4fbe575a103d",
"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-02-09T14:42:02.2169113+08:00",
"OperatorId": "3d480c53-888f-4196-8ddd-d661e04c82bd"
}
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-02-09T14:42:02.2169113+08:00</CreateTime> <EntityName>sample string 3</EntityName> <FileName>sample string 5</FileName> <FileSize>7.1</FileSize> <FileType>sample string 6</FileType> <Id>f61296ea-d523-4ad8-9031-dca3c8e6c68b</Id> <MediaUrl>sample string 4</MediaUrl> <Note>sample string 8</Note> <OperatorId>3d480c53-888f-4196-8ddd-d661e04c82bd</OperatorId> <ParentId>1c7446c4-ddab-4f41-9e44-4fbe575a103d</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/" />