PUT api/Notifications/Subcontracts/{subcontractId}/Communications/SetThread
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
CommunicationModifyThreadDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ThreadId | integer |
None. |
|
| Communications | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"threadId": 1,
"communications": [
1,
2
]
}
text/html
Sample:
{"threadId":1,"communications":[1,2]}
application/xml, text/xml
Sample:
<CommunicationModifyThreadDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.NotificationModule.Application.Dtos.Dtos.NotificationAgg">
<Communications xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</Communications>
<ThreadId>1</ThreadId>
</CommunicationModifyThreadDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | string |
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.