POST api/Tasks/EditEventTaskAttachments
Request Information
URI Parameters
None.
Body Parameters
EditEventTaskAttachmentModelViewName | Description | Type | Additional information |
---|---|---|---|
Attachments | Collection of AttachmentShort |
None. |
|
ParentId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Attachments": [ { "Id": 1, "ParentId": "sample string 2", "Source": 0, "SourceId": "sample string 3", "SourceName": "sample string 4", "ApplicationId": 1 }, { "Id": 1, "ParentId": "sample string 2", "Source": 0, "SourceId": "sample string 3", "SourceName": "sample string 4", "ApplicationId": 1 } ], "ParentId": "sample string 1" }
application/xml, text/xml
Sample:
<AttachmentsModel.EditEventTaskAttachmentModelView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models"> <Attachments> <AttachmentsModel.AttachmentShort> <ApplicationId>1</ApplicationId> <Id>1</Id> <ParentId>sample string 2</ParentId> <Source>Undefined</Source> <SourceId>sample string 3</SourceId> <SourceName>sample string 4</SourceName> </AttachmentsModel.AttachmentShort> <AttachmentsModel.AttachmentShort> <ApplicationId>1</ApplicationId> <Id>1</Id> <ParentId>sample string 2</ParentId> <Source>Undefined</Source> <SourceId>sample string 3</SourceId> <SourceName>sample string 4</SourceName> </AttachmentsModel.AttachmentShort> </Attachments> <ParentId>sample string 1</ParentId> </AttachmentsModel.EditEventTaskAttachmentModelView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |