GetNotifications
Draft documentation version
Documentation is partial and not validated !
Return yours
WEvent
Route
Parameters
Parameter |
Required |
Sample |
Description |
Skip |
|
0
|
Number of elements to skip
|
Take |
|
10
|
Number of elements to take
|
Categories |
|
Flux,Reflection
|
Categories as array of WEventCategoryEnum[]. Leave empty if you want to retreive all
|
MyChecksum |
|
54868
|
Checksum returned on previous request
|
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
Skip=0&Take=10&Categories=Flux,Reflection&MyChecksum=54868&
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/jsv" https://api.wit-datacenter.com/Notification/My?Categories=Flux%2cReflection&MyChecksum=54868&Take=10&Skip=0
Returned Entity
WEventsContainer
JSV Sample
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
wType: WEventsContainer,
count: 0,
checkSum: 0,
weVents:
[
{
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
}
]
}