GET api/Notifications/{nid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
nid

integer

Required

Body Parameters

None.

Response Information

Resource Description

NotificationDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ToAppUserId

integer

None.

ToFirstName

string

None.

ToLastName

string

None.

FromAppUserId

integer

None.

FromFirstName

string

None.

FromLastName

string

None.

Subject

string

None.

Message

string

None.

NotificationPriorityId

NotificationPriorityEnum

None.

NotificationTypeId

NotificationTypeEnum

None.

IsRead

boolean

None.

IsDeleted

boolean

None.

OrderId

integer

None.

CustomerId

integer

None.

CreatedOn

date

None.

LastUpdatedOn

date

None.

ToFullName

string

None.

FromFullName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ToAppUserId": 2,
  "ToFirstName": "sample string 3",
  "ToLastName": "sample string 4",
  "FromAppUserId": 5,
  "FromFirstName": "sample string 6",
  "FromLastName": "sample string 7",
  "Subject": "sample string 8",
  "Message": "sample string 9",
  "NotificationPriorityId": 1,
  "NotificationTypeId": 1,
  "IsRead": true,
  "IsDeleted": true,
  "OrderId": 1,
  "CustomerId": 1,
  "CreatedOn": "2025-08-29T01:17:47.6420058+00:00",
  "LastUpdatedOn": "2025-08-29T01:17:47.6420058+00:00",
  "ToFullName": "sample string 3 sample string 4",
  "FromFullName": "sample string 6 sample string 7"
}

text/html, multipart/form-data, application/zip

Sample:
{"Id":1,"ToAppUserId":2,"ToFirstName":"sample string 3","ToLastName":"sample string 4","FromAppUserId":5,"FromFirstName":"sample string 6","FromLastName":"sample string 7","Subject":"sample string 8","Message":"sample string 9","NotificationPriorityId":1,"NotificationTypeId":1,"IsRead":true,"IsDeleted":true,"OrderId":1,"CustomerId":1,"CreatedOn":"2025-08-29T01:17:47.6420058+00:00","LastUpdatedOn":"2025-08-29T01:17:47.6420058+00:00","ToFullName":"sample string 3 sample string 4","FromFullName":"sample string 6 sample string 7"}

application/xml, text/xml

Sample:
<NotificationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DentaCad.DTO">
  <CreatedOn>2025-08-29T01:17:47.6420058+00:00</CreatedOn>
  <CustomerId>1</CustomerId>
  <FromAppUserId>5</FromAppUserId>
  <FromFirstName>sample string 6</FromFirstName>
  <FromLastName>sample string 7</FromLastName>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <IsRead>true</IsRead>
  <LastUpdatedOn>2025-08-29T01:17:47.6420058+00:00</LastUpdatedOn>
  <Message>sample string 9</Message>
  <NotificationPriorityId>Low</NotificationPriorityId>
  <NotificationTypeId>Default</NotificationTypeId>
  <OrderId>1</OrderId>
  <Subject>sample string 8</Subject>
  <ToAppUserId>2</ToAppUserId>
  <ToFirstName>sample string 3</ToFirstName>
  <ToLastName>sample string 4</ToLastName>
</NotificationDTO>