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": "d4c0813c-3b9b-4b7e-ad1f-a955ac397426",
"Name": "sample string 3",
"Url": "sample string 4",
"CreatedAt": "2026-08-22T12:36:17.7122837+03:00",
"ExternalId": "bb7d9b03-1947-4399-b685-17fe23ff3ae8",
"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-08-22T12:36:17.7122837+03:00</CreatedAt> <ExternalId>bb7d9b03-1947-4399-b685-17fe23ff3ae8</ExternalId> <Id>1</Id> <IsDeleted>true</IsDeleted> <Name>sample string 3</Name> <OwnerId>d4c0813c-3b9b-4b7e-ad1f-a955ac397426</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>