| GET | /EventSendGuard/{EventId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | path | int | No | |
| AssumedTimeUtc | query | DateTime? | No | |
| ChangeLookbackHours | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| EventId | form | int | No | |
| EventName | form | string | No | |
| Sendable | form | bool | No | |
| Reasons | form | List<string> | No | |
| CurrentTimeOfEventUtc | form | DateTime? | No | |
| AssumedTimeUtc | form | DateTime? | No | |
| TimeChangedSincePlanned | form | bool | No | |
| PostponedNoDate | form | bool | No | |
| EventActive | form | bool | No | |
| HideEvent | form | bool | No | |
| AlreadyStarted | form | bool | No | |
| LastChangeAt | form | DateTime? | No | |
| RecentChanges | form | List<EventSendGuardChange> | No | |
| StatusCode | form | int | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChangedAt | form | DateTime | No | |
| TimeHasChanged | form | bool | No | |
| LocationHasChanged | form | bool | No | |
| OldTimeOfEvent | form | DateTime? | No | |
| NewTimeOfEvent | form | DateTime? | No | |
| AlertHandled | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"eventId":0,"eventName":"String","sendable":false,"reasons":["String"],"currentTimeOfEventUtc":"0001-01-01T00:00:00.0000000","assumedTimeUtc":"0001-01-01T00:00:00.0000000","timeChangedSincePlanned":false,"postponedNoDate":false,"eventActive":false,"hideEvent":false,"alreadyStarted":false,"lastChangeAt":"0001-01-01T00:00:00.0000000","recentChanges":[{"changedAt":"0001-01-01T00:00:00.0000000","timeHasChanged":false,"locationHasChanged":false,"oldTimeOfEvent":"0001-01-01T00:00:00.0000000","newTimeOfEvent":"0001-01-01T00:00:00.0000000","alertHandled":false}],"statusCode":0,"message":"String"}