POST api/Notifications/Subcontracts/{subcontractId}/Threads

Create subcontract thread.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

integer

Required

Body Parameters

CreateOrUpdateThreadDto
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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.