POST notification/AddNotification

Request Information

URI Parameters

None.

Body Parameters

Notification
NameDescriptionTypeAdditional information
UserNotificationID

integer

None.

NotificationMessage

string

None.

FormID

integer

None.

FormTemplateID

integer

None.

UserID

integer

None.

CompanyID

integer

None.

CompanyName

string

None.

CreatedDate

date

None.

SeenDate

date

None.

ShowUntilDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserNotificationID": 1,
  "NotificationMessage": "sample string 2",
  "FormID": 1,
  "FormTemplateID": 1,
  "UserID": 3,
  "CompanyID": 4,
  "CompanyName": "sample string 5",
  "CreatedDate": "2025-07-03T21:05:10.4898421+00:00",
  "SeenDate": "2025-07-03T21:05:10.4898421+00:00",
  "ShowUntilDate": "2025-07-03T21:05:10.4898421+00:00"
}

text/html

Sample:
{"UserNotificationID":1,"NotificationMessage":"sample string 2","FormID":1,"FormTemplateID":1,"UserID":3,"CompanyID":4,"CompanyName":"sample string 5","CreatedDate":"2025-07-03T21:05:10.4898421+00:00","SeenDate":"2025-07-03T21:05:10.4898421+00:00","ShowUntilDate":"2025-07-03T21:05:10.4898421+00:00"}

application/xml, text/xml

Sample:
<Notification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <CompanyID>4</CompanyID>
  <CompanyName>sample string 5</CompanyName>
  <CreatedDate>2025-07-03T21:05:10.4898421+00:00</CreatedDate>
  <FormID>1</FormID>
  <FormTemplateID>1</FormTemplateID>
  <NotificationMessage>sample string 2</NotificationMessage>
  <SeenDate>2025-07-03T21:05:10.4898421+00:00</SeenDate>
  <ShowUntilDate>2025-07-03T21:05:10.4898421+00:00</ShowUntilDate>
  <UserID>3</UserID>
  <UserNotificationID>1</UserNotificationID>
</Notification>

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 'Notification'.

Response Information

Resource Description

None.