POST Api/Notification/Create

Request Information

URI Parameters

None.

Body Parameters

NotificationMessageCreateView
NameDescriptionTypeAdditional information
Title

string

None.

Description

string

None.

ReceiverUserId

integer

None.

ReceiverUserIds

Collection of integer

None.

NotificationTypeCode

Object

None.

RelatedId

integer

None.

ReminderPeopleRemindTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Title": "sample string 1",
  "Description": "sample string 2",
  "ReceiverUserId": 3,
  "ReceiverUserIds": [
    1,
    2
  ],
  "NotificationTypeCode": {},
  "RelatedId": 5,
  "ReminderPeopleRemindTypeId": 1
}

application/xml, text/xml

Sample:
<NotificationMessageCreateView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.NotificationMessageView">
  <Description>sample string 2</Description>
  <NotificationTypeCode />
  <ReceiverUserId>3</ReceiverUserId>
  <ReceiverUserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ReceiverUserIds>
  <RelatedId>5</RelatedId>
  <ReminderPeopleRemindTypeId>1</ReminderPeopleRemindTypeId>
  <Title>sample string 1</Title>
</NotificationMessageCreateView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.