PUT api/Notifications/Subcontracts/{subcontractId}/Communications/{communicationId}/Documentation/{documentId}
Update a comunication documentation.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
|
| communicationId | integer |
Required |
|
| documentId | integer |
Required |
Body Parameters
CommunicationUpdateDocumentationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CommunicationTypeId | CommunicationTypeId |
None. |
|
| DocumentId | integer |
None. |
|
| HasAttachments | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"communicationTypeId": 1,
"documentId": 1,
"hasAttachments": true
}
text/html
Sample:
{"communicationTypeId":1,"documentId":1,"hasAttachments":true}
application/xml, text/xml
Sample:
<CommunicationUpdateDocumentationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.NotificationModule.Application.Dtos.Dtos.NotificationAgg"> <CommunicationTypeId>MainLetter</CommunicationTypeId> <DocumentId>1</DocumentId> <HasAttachments>true</HasAttachments> </CommunicationUpdateDocumentationDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.