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
.xml
suffix or ?format=xml
- 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/xml" https://api.wit-datacenter.com/WEventType?Categories=Flux%2cReflection
Returned Entity
Array of
WEventType
XML Sample
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfWEventType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.wit-datacenter.com/">
<WEventType>
<ID>0</ID>
<Name>String</Name>
<Picture>00000000-0000-0000-0000-000000000000</Picture>
<Category>None</Category>
<DefaultPolicy>SendByMail</DefaultPolicy>
</WEventType>
</ArrayOfWEventType>