POST api/v1/general/attachments/attachment
Request Information
URI Parameters
None.
Body Parameters
AttachmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| OwnerId | globally unique identifier |
Required |
|
| Name | string |
Required Max length: 50 |
|
| Url | string |
Required Max length: 512 |
|
| CreatedAt | date |
None. |
|
| ExternalId | globally unique identifier |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"OwnerId": "dbab1fd2-efe1-41a7-8c3b-69951002e573",
"Name": "sample string 3",
"Url": "sample string 4",
"CreatedAt": "2026-03-13T00:18:13.1536462+02:00",
"ExternalId": "7489c3ec-d009-45fa-a912-823f77f0ba5c",
"IsDeleted": true
}
application/xml, text/xml
Sample:
<AttachmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models"> <CreatedAt>2026-03-13T00:18:13.1536462+02:00</CreatedAt> <ExternalId>7489c3ec-d009-45fa-a912-823f77f0ba5c</ExternalId> <Id>1</Id> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> <OwnerId>dbab1fd2-efe1-41a7-8c3b-69951002e573</OwnerId> <Url>sample string 4</Url> </AttachmentModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>