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": "b1dda771-4b12-4cd1-8a62-7a61fed4bf32",
"Name": "sample string 3",
"Url": "sample string 4",
"CreatedAt": "2025-12-10T17:31:27.9604682+02:00",
"ExternalId": "b485ea56-e162-481c-802b-247cafcf933b",
"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>2025-12-10T17:31:27.9604682+02:00</CreatedAt> <ExternalId>b485ea56-e162-481c-802b-247cafcf933b</ExternalId> <Id>1</Id> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> <OwnerId>b1dda771-4b12-4cd1-8a62-7a61fed4bf32</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>