POST api/Document/ActorAttachment
Request Information
URI Parameters
None.
Body Parameters
AttachmentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
IdAttachment | integer |
None. |
|
FileName | string |
None. |
|
Url | string |
None. |
|
IdUser | integer |
None. |
|
IdDocument | integer |
None. |
|
Type | AttachmentType |
None. |
|
CreateDate | date |
None. |
|
UserFullName | string |
None. |
|
UserAvatar | string |
None. |
|
Avatar | string |
None. |
|
Content | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "IdAttachment": 2, "FileName": "sample string 3", "Url": "sample string 4", "IdUser": 5, "IdDocument": 6, "Type": 1, "CreateDate": "2024-10-23T23:46:55.2361827+00:00", "UserFullName": "sample string 8", "UserAvatar": "sample string 9", "Avatar": "sample string 9", "Content": "QEA=" }
application/xml, text/xml
Sample:
<Attachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalMind.AgendaV2.Domain.Transport"> <Content>QEA=</Content> <CreateDate>2024-10-23T23:46:55.2361827+00:00</CreateDate> <FileName>sample string 3</FileName> <Id>1</Id> <IdAttachment>2</IdAttachment> <IdDocument>6</IdDocument> <IdUser>5</IdUser> <Type>Idea</Type> <Url>sample string 4</Url> <UserAvatar>sample string 9</UserAvatar> <UserFullName>sample string 8</UserFullName> </Attachment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.