POST api/people/sendnotification

Sends a user notification to the specified user

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.External.Api.People.Command.SendNotification.SendNotificationToPersonCommandDataContract
NameDescriptionTypeAdditional information
NotificationTitle

string

None.

MessageContent

string

None.

AssociatedLinks

Collection of Dezrez.Core.DataContracts.External.SecurityAwareLink

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "NotificationTitle": "sample string 1",
  "MessageContent": "sample string 2",
  "AssociatedLinks": [
    {
      "LinkText": "sample string 1",
      "LinkAddress": "sample string 2",
      "RequiresAuthentication": true,
      "OpenInNewTab": true
    },
    {
      "LinkText": "sample string 1",
      "LinkAddress": "sample string 2",
      "RequiresAuthentication": true,
      "OpenInNewTab": true
    }
  ],
  "Id": 3
}

Response Information

Resource Description

No Content

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.