TicketUserServices

<back to all web services

EventSendGuardBatchRequest

The following routes are available for this service:
POST/EventSendGuard
EventSendGuardBatchRequest Parameters:
NameParameterData TypeRequiredDescription
EventIdsbodyList<int>No
ChangeLookbackHoursbodyint?No
EventSendGuardBatchResult Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<EventSendGuardResult>No
SendableCountformintNo
BlockedCountformintNo
StatusCodeformintNo
MessageformstringNo
EventSendGuardResult Parameters:
NameParameterData TypeRequiredDescription
EventIdformintNo
EventNameformstringNo
SendableformboolNo
ReasonsformList<string>No
CurrentTimeOfEventUtcformDateTime?No
AssumedTimeUtcformDateTime?No
TimeChangedSincePlannedformboolNo
PostponedNoDateformboolNo
EventActiveformboolNo
HideEventformboolNo
AlreadyStartedformboolNo
LastChangeAtformDateTime?No
RecentChangesformList<EventSendGuardChange>No
StatusCodeformintNo
MessageformstringNo
EventSendGuardChange Parameters:
NameParameterData TypeRequiredDescription
ChangedAtformDateTimeNo
TimeHasChangedformboolNo
LocationHasChangedformboolNo
OldTimeOfEventformDateTime?No
NewTimeOfEventformDateTime?No
AlertHandledformboolNo

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 /EventSendGuard HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	eventIds: 
	[
		0
	],
	changeLookbackHours: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	items: 
	[
		{
			eventId: 0,
			eventName: String,
			sendable: False,
			reasons: 
			[
				String
			],
			currentTimeOfEventUtc: 0001-01-01,
			assumedTimeUtc: 0001-01-01,
			timeChangedSincePlanned: False,
			postponedNoDate: False,
			eventActive: False,
			hideEvent: False,
			alreadyStarted: False,
			lastChangeAt: 0001-01-01,
			recentChanges: 
			[
				{
					changedAt: 0001-01-01,
					timeHasChanged: False,
					locationHasChanged: False,
					oldTimeOfEvent: 0001-01-01,
					newTimeOfEvent: 0001-01-01,
					alertHandled: False
				}
			],
			statusCode: 0,
			message: String
		}
	],
	sendableCount: 0,
	blockedCount: 0,
	statusCode: 0,
	message: String
}