POST api/Notifications/ByBusinessEntityType/{businessEntityTypeId}/{entityId}

Notifications by businessEntityTipeId.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
businessEntityTypeId

Business entity type identifier

BusinessEntityTypeId

Required

entityId

Entity identifier

integer

Required

Body Parameters

Filters

NotificationListFilter
NameDescriptionTypeAdditional information
BussinessEntityTypeId

BusinessEntityTypeId

None.

EntityId

integer

None.

EntityCode

string

None.

Date

date

None.

Title

string

None.

Body

string

None.

IsRegistered

boolean

None.

IsFormal

boolean

None.

UserRecipientsName

string

None.

NotifTypeId

NotificationTypeId

None.

SubcontractorTopicId

integer

None.

Page

Page

None.

SortedColumns

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "bussinessEntityTypeId": 1,
  "entityId": 1,
  "entityCode": "sample string 1",
  "date": "2026-05-09T14:06:17.2168168+02:00",
  "title": "sample string 2",
  "body": "sample string 3",
  "isRegistered": true,
  "isFormal": true,
  "userRecipientsName": "sample string 4",
  "notifTypeId": 1,
  "subcontractorTopicId": 1,
  "page": {
    "number": 1,
    "size": 2,
    "skip": 0
  },
  "sortedColumns": [
    {
      "name": "sample string 1",
      "descending": true
    },
    {
      "name": "sample string 1",
      "descending": true
    }
  ]
}

text/html

Sample:
{"bussinessEntityTypeId":1,"entityId":1,"entityCode":"sample string 1","date":"2026-05-09T14:06:17.2168168+02:00","title":"sample string 2","body":"sample string 3","isRegistered":true,"isFormal":true,"userRecipientsName":"sample string 4","notifTypeId":1,"subcontractorTopicId":1,"page":{"number":1,"size":2,"skip":0},"sortedColumns":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}]}

application/xml, text/xml

Sample:
<NotificationListFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.NotificationModule.Application.Dtos.Dtos.NotificationAgg">
  <Page xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
    <Number>1</Number>
    <Size>2</Size>
  </Page>
  <SortedColumns 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>
  </SortedColumns>
  <Body>sample string 3</Body>
  <BussinessEntityTypeId>Subcontract</BussinessEntityTypeId>
  <Date>2026-05-09T14:06:17.2168168+02:00</Date>
  <EntityCode>sample string 1</EntityCode>
  <EntityId>1</EntityId>
  <IsFormal>true</IsFormal>
  <IsRegistered>true</IsRegistered>
  <NotifTypeId>Notice</NotifTypeId>
  <SubcontractorTopicId>1</SubcontractorTopicId>
  <Title>sample string 2</Title>
  <UserRecipientsName>sample string 4</UserRecipientsName>
</NotificationListFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfIPagedListOfNotificationBusinessEntityTypeDto
NameDescriptionTypeAdditional information
Data

IPagedListOfNotificationBusinessEntityTypeDto

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.