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

GetPointGroupsPeriod


Return PointGroup: group of Point. Usefull to return limited amount of PointGroup instead of large set of Point.
Method applyed by operation group by period.

Remark

Example: you have one year of datas with a 10 minutes sampling, these represent 52560 Point (6 * 24 * 365). Of course, you can not (and do not need if you want to render in a chart per exemple) request all these points. Instead, you can pass a period of 2 months, operation return 6 PointGroup (= 12 months / 2 months) and each group is based on about 8760 Point.
Main difference with GetPointGroupsSplit usage is to provide consolidated datas by logical period. Ex: request between 1.1.2013 and 1.1.2014 with one month period return one PointGroup per month


Version V1
Require User context
Authorization
Errors

Route

GET    /{WAC}/PointGroup/Period/{DataID}    


Parameters

Parameter Required Sample Description
DataID 34 ID of Data
Period 1Mo Period of grouping. Ex: 7 Days, 1 Month.
WAC WAC123456789012 Code of BusinessAccount
From 2014-09-15T13:59:20.0000000Z From Date
To 2014-09-20T13:59:20.0000000Z To Date
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

From=2014-09-15T13:59:20.0000000Z&To=2014-09-20T13:59:20.0000000Z&

cURL command sample

curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/json" https://api.wit-datacenter.com/WAC123456789012/PointGroup/Period/34?From=2014-09-15T13%3a59%3a20.0000000Z&To=2014-09-20T13%3a59%3a20.0000000Z

Returned Entity

Array of PointGroup

JSON Sample

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

[{"wType":"PointGroup","T":"0001-01-01T00:00:00.0000000Z","L":0,"U":0,"I":0,"O":0,"A":0,"P":0,"D":0}]