PUT api/Notifications/Subcontracts/{subcontractId}/Threads/{notificationThreadId}
Create subcontract thread.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
|
| notificationThreadId | integer |
Required |
Body Parameters
CreateOrUpdateThreadDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| ThreadStatusId | ThreadStatusId |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"threadStatusId": 1
}
text/html
Sample:
{"title":"sample string 1","threadStatusId":1}
application/xml, text/xml
Sample:
<CreateOrUpdateThreadDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.NotificationModule.Application.Dtos.Dtos.ThreadAgg"> <ThreadStatusId>Open</ThreadStatusId> <Title>sample string 1</Title> </CreateOrUpdateThreadDto>
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.