GetNotification
Draft documentation version
Documentation is partial and not validated !
Return your
WEvent
Version |
V1
|
Require User context
|
|
Authorization |
|
Errors |
|
Route
GET
/Notification/{NotificationID}
Parameters
Parameter |
Required |
Sample |
Description |
NotificationID |
|
546
|
ID of notification
|
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.json
suffix or ?format=json
- To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/json" https://api.wit-datacenter.com/Notification/546-
Returned Entity
WEvent
JSON Sample
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"wType":"WEvent","nameShort":"String","dateOccur":"0001-01-01T00:00:00.0000000Z","dateOpposite":"0001-01-01T00:00:00.0000000Z","isViewed":false,"isInProgress":false,"operation":"0","criticity":"VeryHigh","type":"OneShot","wEventType":"Organization_NotValidated","category":"None","relatedEntities":[{"wType":"WEventItem","key":"Role","entityRole":"0"}],"groupKey":"String","groupCount":0,"id":0,"picture":"00000000000000000000000000000000","name":"String"}