EMUN1 ASP.NET

<back to all web services

NotifyAll

The following routes are available for this service:
All Verbs/service/NotifyAll
All Verbs/service/util/NotifyAll
All Verbs/service/Notification/NotifyAll
Notification Parameters:
NameParameterData TypeRequiredDescription
ChannelformstringNo
TitleformstringNo
TextformstringNo
StickyformboolNo
CountdownformboolNo
ImageformstringNo
IconformstringNo
HueformHuesNo
HorizontalAlignmentformHorizontalAlignmentsNo
VerticalAlignmentformVerticalAlignmentsNo
ShownformTimeSpanNo
TimeToLiveformdoubleNo
TypeformNotificationTypesNo
SentformDateTimeNo
Notification Parameters:
NameParameterData TypeRequiredDescription
ChannelformstringNo
TitleformstringNo
TextformstringNo
StickyformboolNo
CountdownformboolNo
ImageformstringNo
IconformstringNo
HueformHuesNo
HorizontalAlignmentformHorizontalAlignmentsNo
VerticalAlignmentformVerticalAlignmentsNo
ShownformTimeSpanNo
TimeToLiveformdoubleNo
TypeformNotificationTypesNo
SentformDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/NotifyAll HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	channel: String,
	title: String,
	text: String,
	sticky: False,
	countdown: False,
	image: String,
	icon: String,
	hue: Light,
	horizontalAlignment: Left,
	verticalAlignment: Top,
	shown: PT0S,
	timeToLive: 0,
	type: Verbose,
	sent: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	channel: String,
	title: String,
	text: String,
	sticky: False,
	countdown: False,
	image: String,
	icon: String,
	hue: Light,
	horizontalAlignment: Left,
	verticalAlignment: Top,
	shown: PT0S,
	timeToLive: 0,
	type: Verbose,
	sent: 0001-01-01
}