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
.jsv
suffix or ?format=jsv
- 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/jsv" https://api.wit-datacenter.com/Notification/546-
Returned Entity
WEvent
JSV Sample
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
wType: WEvent,
nameShort: String,
dateOccur: 0001-01-01,
dateOpposite: 0001-01-01,
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
}