POST api/notification/toast?personIds={personIds}

Will put a toast on a list of negotiators desktops

Request Information

URI Parameters

NameDescriptionTypeAdditional information
personIds

comma separated parameter list of person ids to send the notification to

string

Required

Body Parameters

notification data contract

Dezrez.Core.DataContracts.External.NotificationService.UserNotification.UserNotification
NameDescriptionTypeAdditional information
NotificationTitle

string

None.

MessageContent

string

None.

AssociatedLinks

Collection of Dezrez.Core.DataContracts.External.SecurityAwareLink

None.

JobReference

globally unique identifier

None.

JobStatusText

string

None.

JobStatus

string

None.

JobPercentageCompleted

integer

None.

MessageType

string

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
    }
  ],
  "JobReference": "1088ef1a-6d71-40d4-902c-995e3db9240e",
  "JobStatusText": "sample string 4",
  "JobStatus": "sample string 5",
  "JobPercentageCompleted": 6,
  "MessageType": "Dezrez.Core.DataContracts.External.NotificationService.UserNotification.UserNotification"
}

Response Information

Resource Description

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.