TicketUserServices

<back to all web services

EventSendGuardRequest

The following routes are available for this service:
GET/EventSendGuard/{EventId}
EventSendGuardRequest Parameters:
NameParameterData TypeRequiredDescription
EventIdpathintNo
AssumedTimeUtcqueryDateTime?No
ChangeLookbackHoursqueryint?No
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 .xml suffix or ?format=xml

HTTP + XML

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

GET /EventSendGuard/{EventId} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EventSendGuardResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <AlreadyStarted>false</AlreadyStarted>
  <AssumedTimeUtc>0001-01-01T00:00:00</AssumedTimeUtc>
  <CurrentTimeOfEventUtc>0001-01-01T00:00:00</CurrentTimeOfEventUtc>
  <EventActive>false</EventActive>
  <EventId>0</EventId>
  <EventName>String</EventName>
  <HideEvent>false</HideEvent>
  <LastChangeAt>0001-01-01T00:00:00</LastChangeAt>
  <Message>String</Message>
  <PostponedNoDate>false</PostponedNoDate>
  <Reasons xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Reasons>
  <RecentChanges>
    <EventSendGuardChange>
      <AlertHandled>false</AlertHandled>
      <ChangedAt>0001-01-01T00:00:00</ChangedAt>
      <LocationHasChanged>false</LocationHasChanged>
      <NewTimeOfEvent>0001-01-01T00:00:00</NewTimeOfEvent>
      <OldTimeOfEvent>0001-01-01T00:00:00</OldTimeOfEvent>
      <TimeHasChanged>false</TimeHasChanged>
    </EventSendGuardChange>
  </RecentChanges>
  <Sendable>false</Sendable>
  <StatusCode>0</StatusCode>
  <TimeChangedSincePlanned>false</TimeChangedSincePlanned>
</EventSendGuardResult>