POST api/Subcontracts/{subcontractId}/Topics
Create subcontract topic
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
SubcontractTopicCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1"
}
text/html
Sample:
{"title":"sample string 1"}
application/xml, text/xml
Sample:
<SubcontractTopicCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SubcontractAgg"> <Title>sample string 1</Title> </SubcontractTopicCreateDto>
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.