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

Topics by subcontractId.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

Entity identifier

integer

Required

Body Parameters

Filters

TopicListOrderFilter
NameDescriptionTypeAdditional information
SubcontractorTopicId

integer

None.

SubcontractorTopicTitle

string

None.

LastNotificationDateMin

date

None.

LastNotificationDateMax

date

None.

Orders

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "subcontractorTopicId": 1,
  "subcontractorTopicTitle": "sample string 1",
  "lastNotificationDateMin": "2026-05-09T14:04:04.0775652+02:00",
  "lastNotificationDateMax": "2026-05-09T14:04:04.0775652+02:00",
  "orders": [
    {
      "name": "sample string 1",
      "descending": true
    },
    {
      "name": "sample string 1",
      "descending": true
    }
  ]
}

text/html

Sample:
{"subcontractorTopicId":1,"subcontractorTopicTitle":"sample string 1","lastNotificationDateMin":"2026-05-09T14:04:04.0775652+02:00","lastNotificationDateMax":"2026-05-09T14:04:04.0775652+02:00","orders":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}]}

application/xml, text/xml

Sample:
<TopicListOrderFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.NotificationModule.Application.Dtos.Dtos.NotificationAgg">
  <Orders xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
    <Order>
      <Descending>true</Descending>
      <Name>sample string 1</Name>
    </Order>
    <Order>
      <Descending>true</Descending>
      <Name>sample string 1</Name>
    </Order>
  </Orders>
  <LastNotificationDateMax>2026-05-09T14:04:04.0775652+02:00</LastNotificationDateMax>
  <LastNotificationDateMin>2026-05-09T14:04:04.0775652+02:00</LastNotificationDateMin>
  <SubcontractorTopicId>1</SubcontractorTopicId>
  <SubcontractorTopicTitle>sample string 1</SubcontractorTopicTitle>
</TopicListOrderFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfIEnumerableOfNotificationTopicsDto
NameDescriptionTypeAdditional information
Data

Collection of NotificationTopicsDto

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.