GetWEventTypes
Draft documentation version
Documentation is partial and not validated !
Get list of
WEventType. WEventType represent a type of
WEvent. Example:
Fluxis connected to WIT-DataCenter Plateform
| Version |
V1
|
|
Require User context
|
|
| Authorization |
|
| Errors |
|
Route
Parameters
| Parameter |
Required |
Sample |
Description |
|
Categories |
|
Flux,Reflection
|
Categories as array of WEventCategoryEnum[]. Leave empty if you want to retreive all
|
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
Categories=Flux,Reflection&
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/json" https://api.wit-datacenter.com/WEventType?Categories=Flux%2cReflection
Returned Entity
Array of
WEventType
JSON Sample
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"wType":"WEventType","category":"None","defaultPolicy":"SendByMail","id":0,"picture":"00000000000000000000000000000000","name":"String"}]