POST api/notifications/send

Request Information

URI Parameters

None.

Body Parameters

NotificationsTable
NameDescriptionTypeAdditional information
notificationId

integer

None.

senderId

integer

None.

senderType

integer

None.

receiverId

integer

None.

receiverType

integer

None.

sendDate

date

None.

description

string

None.

status

integer

None.

readDate

date

None.

tag

string

None.

id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "notificationId": 1,
  "senderId": 1,
  "senderType": 1,
  "receiverId": 1,
  "receiverType": 1,
  "sendDate": "2025-11-21T16:48:18.7924619-08:00",
  "description": "sample string 2",
  "status": 1,
  "readDate": "2025-11-21T16:48:18.7924619-08:00",
  "tag": "sample string 3",
  "id": 1
}

application/xml, text/xml

Sample:
<NotificationsTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/projectalminha.Models">
  <description>sample string 2</description>
  <id>1</id>
  <notificationId>1</notificationId>
  <readDate>2025-11-21T16:48:18.7924619-08:00</readDate>
  <receiverId>1</receiverId>
  <receiverType>1</receiverType>
  <sendDate>2025-11-21T16:48:18.7924619-08:00</sendDate>
  <senderId>1</senderId>
  <senderType>1</senderType>
  <status>1</status>
  <tag>sample string 3</tag>
</NotificationsTable>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NotificationsTable'.

Response Information

Resource Description

NotificationsTable
NameDescriptionTypeAdditional information
notificationId

integer

None.

senderId

integer

None.

senderType

integer

None.

receiverId

integer

None.

receiverType

integer

None.

sendDate

date

None.

description

string

None.

status

integer

None.

readDate

date

None.

tag

string

None.

id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "notificationId": 1,
  "senderId": 1,
  "senderType": 1,
  "receiverId": 1,
  "receiverType": 1,
  "sendDate": "2025-11-21T16:48:18.7935087-08:00",
  "description": "sample string 2",
  "status": 1,
  "readDate": "2025-11-21T16:48:18.7935087-08:00",
  "tag": "sample string 3",
  "id": 1
}

application/xml, text/xml

Sample:
<NotificationsTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/projectalminha.Models">
  <description>sample string 2</description>
  <id>1</id>
  <notificationId>1</notificationId>
  <readDate>2025-11-21T16:48:18.7935087-08:00</readDate>
  <receiverId>1</receiverId>
  <receiverType>1</receiverType>
  <sendDate>2025-11-21T16:48:18.7935087-08:00</sendDate>
  <senderId>1</senderId>
  <senderType>1</senderType>
  <status>1</status>
  <tag>sample string 3</tag>
</NotificationsTable>