AccountBase Address App AppRequest Authorization Building BusinessAccount Country Culture Data DataContainer DataRequestOrder ExtendedProperty ExtendedPropertyValue FileLTU FileLTUContainer FileLTURequestOrder FileStore Flux FluxContainer FluxRequestOrder InfrastructureBase InfrastructureShortBase IRequestOrderBase LTU LTUBase LTUContainer LTUeWon Message Organization Point PointGroup Preparation QuickStart ReflectionAnalogic ReflectionBase ReflectionCommandAnalogic ReflectionCommandBase ReflectionCommandDigital ReflectionCommandDuret ReflectionCommandEwon ReflectionCommandGroup ReflectionCommandGroupContainer ReflectionCommandGroupExecutionSummary ReflectionCommandGroupItem ReflectionCommandGroupPhaseSummary ReflectionCommandMultiple ReflectionCommandPlanning ReflectionCommandState ReflectionCommandSystem ReflectionCommandText ReflectionCommandUnitOfProd ReflectionContainer ReflectionDataAnalogic ReflectionDataBase ReflectionDataContainer ReflectionDataDigital ReflectionDataDuret ReflectionDataEwon ReflectionDataPlanning ReflectionDataState ReflectionDataSystem ReflectionDataText ReflectionDataUnitOfProd ReflectionDigital ReflectionEvent ReflectionEwon ReflectionFormat ReflectionGeneric ReflectionItemAnalogic ReflectionItemBase ReflectionItemDigital ReflectionItemList ReflectionItemText ReflectionParameterAnalogic ReflectionPlanning ReflectionRequestOrder ReflectionState ReflectionStateReference ReflectionSystem ReflectionTemplate ReflectionText ReflectionUnitOfProd Role RoleStatus Site User ValueAnalogic ValueBase ValueDigital ValueText WAC WBase WCAExceptionResource WDCParameter WDCService WEvent WEventCategory WEventItem WEventsContainer WEventsRequestOrder WEventType WUM WUMFunction WUMMaterial WUMType WUMUnit WUMUnitCategory WUMUnitFamily WUMUnitItem Zone
Preferred message format

GetWEventsOrganization


Return WEvent filtered by parameters


Version V1
Require User context
Authorization
Errors TooManyRequested

Route

GET    /Organization/{WOC}/WEvent    


Parameters

Parameter Required Sample Description
Skip 0 Number of elements to skip
Take 10 Number of elements to take
AccountID 4 OBSOLETE: DO NOT USE
After 2014-09-15T13:59:20.0000000Z Occured after
Before 2014-09-20T13:59:20.0000000Z DateTime.Now or DateTime.Max to get really "last datas" from API. NULL as "no limit date, get current elements"
Categories Flux,Reflection Categories WEventCategoryEnum
Criticity High Criticity CriticityEnum
GroupKey FC002 Relevant to News: provide GroupKey to get detail of News.
Mode Historical Mode WEventModeEnum
Orders Result is ordered by array of WEventsRequestOrder
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

Skip=0&Take=10&AccountID=4&After=2014-09-15T13:59:20.0000000Z&Before=2014-09-20T13:59:20.0000000Z&Categories=Flux,Reflection&Criticity=High&GroupKey=FC002&Mode=Historical&Orders=&

cURL command sample

curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/json" https://api.wit-datacenter.com/Organization/{WOC}/WEvent?AccountID=4&Mode=Historical&Before=2014-09-20T13%3a59%3a20.0000000Z&After=2014-09-15T13%3a59%3a20.0000000Z&Criticity=High&GroupKey=FC002&Categories=Flux%2cReflection&Take=10&Skip=0&Orders=

Returned Entity

WEventsContainer

JSON Sample

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"wType":"WEventsContainer","count":0,"checkSum":0,"weVents":[{"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"}]}