AutoGRAPH.NET Service Methods en — различия между версиями
Admin (обсуждение | вклад) (Новая страница: «=== Base methods === *Login – login and get access token *EnumSchemas – enumer…») |
Albina (обсуждение | вклад) |
||
(не показаны 2 промежуточные версии 2 участников) | |||
Строка 1: | Строка 1: | ||
=== Base methods === |
=== Base methods === |
||
− | *[[AutoGRAPH.NET Service Login (EN)|Login]] – |
+ | *[[AutoGRAPH.NET Service Login (EN)|Login]] – log in and get access token |
*[[AutoGRAPH.NET Service EnumSchemas (EN)|EnumSchemas]] – enumerate allowed schemas |
*[[AutoGRAPH.NET Service EnumSchemas (EN)|EnumSchemas]] – enumerate allowed schemas |
||
*[[AutoGRAPH.NET Service EnumDevices (EN)|EnumDevices]] – enumerate devices in schema |
*[[AutoGRAPH.NET Service EnumDevices (EN)|EnumDevices]] – enumerate devices in schema |
||
Строка 11: | Строка 11: | ||
*[[AutoGRAPH.NET Service GetDevicesInfo (EN)|GetDevicesInfo]] – get information about devices in schema |
*[[AutoGRAPH.NET Service GetDevicesInfo (EN)|GetDevicesInfo]] – get information about devices in schema |
||
*[[AutoGRAPH.NET Service GetOnlineInfo (EN)|GetOnlineInfo]] – get device(s) last position and last date/time information |
*[[AutoGRAPH.NET Service GetOnlineInfo (EN)|GetOnlineInfo]] – get device(s) last position and last date/time information |
||
− | *[[AutoGRAPH.NET Service |
+ | *[[AutoGRAPH.NET Service GetOnlineInfo (EN)|GetOnlineInfoAll]] - get device(s) last position and last date/time information (for ALL devices in schema) |
*''GetDataRanges – get allowed data files from devices'' |
*''GetDataRanges – get allowed data files from devices'' |
||
*[[AutoGRAPH.NET Service GetTrips (EN)|GetTrips]] – get trips information for specified device(s) |
*[[AutoGRAPH.NET Service GetTrips (EN)|GetTrips]] – get trips information for specified device(s) |
||
Строка 20: | Строка 20: | ||
*[[AutoGRAPH.NET Service GetTrack (EN)|GetTrack]] – get track information (date/time/coordinates/speed/...) of specified device(s) |
*[[AutoGRAPH.NET Service GetTrack (EN)|GetTrack]] – get track information (date/time/coordinates/speed/...) of specified device(s) |
||
− | === |
+ | === Access to properties === |
*[[AutoGRAPH.NET Service GetProperties (EN)|GetProperties]] – get property and values list of specified device(s) |
*[[AutoGRAPH.NET Service GetProperties (EN)|GetProperties]] – get property and values list of specified device(s) |
||
*[[AutoGRAPH.NET Service GetProperty (EN)|GetProperty]] – get single property value of specified device(s) |
*[[AutoGRAPH.NET Service GetProperty (EN)|GetProperty]] – get single property value of specified device(s) |
||
Строка 28: | Строка 28: | ||
*[[AutoGRAPH.NET Service GetReports (EN)|GetReports]] - run reports and download in XML/PDF/DOCX/XLS/.../ZIP-file |
*[[AutoGRAPH.NET Service GetReports (EN)|GetReports]] - run reports and download in XML/PDF/DOCX/XLS/.../ZIP-file |
||
*[[AutoGRAPH.NET Service ExecuteReports (EN)|ExecuteReports]] - run report asynchronously |
*[[AutoGRAPH.NET Service ExecuteReports (EN)|ExecuteReports]] - run report asynchronously |
||
− | *[[AutoGRAPH.NET Service GetReportsStatus (EN)|GetReportsStatus]] - get report |
+ | *[[AutoGRAPH.NET Service GetReportsStatus (EN)|GetReportsStatus]] - get report running status (for asynchronous running) |
*''CancelReports - cancel report creating'' |
*''CancelReports - cancel report creating'' |
||
=== Get information from DDD-files (tachograph card files) === |
=== Get information from DDD-files (tachograph card files) === |
||
*[[AutoGRAPH.NET_Service_GetCardStatistic (EN)|GetCardStatistic]] - get information about DDD-files of specified driver card |
*[[AutoGRAPH.NET_Service_GetCardStatistic (EN)|GetCardStatistic]] - get information about DDD-files of specified driver card |
||
− | *[[AutoGRAPH.NET_Service_GetCardStatisticAll (EN)|GetCardStatisticAll]] - get list of available cards |
+ | *[[AutoGRAPH.NET_Service_GetCardStatisticAll (EN)|GetCardStatisticAll]] - get the list of available cards |
*[[AutoGRAPH.NET_Service_GetCardRecords (EN)|GetCardRecords]] - get information from specified driver cards |
*[[AutoGRAPH.NET_Service_GetCardRecords (EN)|GetCardRecords]] - get information from specified driver cards |
||
*[[AutoGRAPH.NET_Service_GetCardStatByDrivers (EN)|GetCardStatByDrivers]] - get information from driver cards grouped by driver |
*[[AutoGRAPH.NET_Service_GetCardStatByDrivers (EN)|GetCardStatByDrivers]] - get information from driver cards grouped by driver |
||
Строка 43: | Строка 43: | ||
− | Also service |
+ | Also service supports uploading and downloading schemas from. AutoGRAPH.Pro (since 2015.8.6 version) supports working with AutoGRAPH.NET Service. [[AutoGRAPH.NET_Service_WorkingSchemas (EN)|Look here to get additional information]]. |
=== Examples === |
=== Examples === |
||
− | (C#, .NET 4, Visual Studio 2013 |
+ | (C#, .NET 4, Visual Studio 2013 or Visual Studio Express) |
[[AutoGRAPH.NET_Service_Examples (EN)|Examples (WCF)]] |
[[AutoGRAPH.NET_Service_Examples (EN)|Examples (WCF)]] |
Текущая версия на 16:04, 11 февраля 2016
Содержание
Base methods
- Login – log in and get access token
- EnumSchemas – enumerate allowed schemas
- EnumDevices – enumerate devices in schema
- EnumDrivers – enumerate drivers in schema
- EnumParameters – get schema parameters
- EnumGeoFences – enumerate geofences in schema
- GetGeoFences – get information about geofences (points, polygons, etc)
Get information from devices
- GetDevicesInfo – get information about devices in schema
- GetOnlineInfo – get device(s) last position and last date/time information
- GetOnlineInfoAll - get device(s) last position and last date/time information (for ALL devices in schema)
- GetDataRanges – get allowed data files from devices
- GetTrips – get trips information for specified device(s)
- GetTripsTotal – get only summary trips information for specified device(s)
- GetTripTables – get detailed trips information
- GetTripsCustom – get trips information with custom geofences
- GetStage – get single stage information of specified device(s)
- GetTrack – get track information (date/time/coordinates/speed/...) of specified device(s)
Access to properties
- GetProperties – get property and values list of specified device(s)
- GetProperty – get single property value of specified device(s)
Run reports
- EnumReports - get allowed reports
- GetReports - run reports and download in XML/PDF/DOCX/XLS/.../ZIP-file
- ExecuteReports - run report asynchronously
- GetReportsStatus - get report running status (for asynchronous running)
- CancelReports - cancel report creating
Get information from DDD-files (tachograph card files)
- GetCardStatistic - get information about DDD-files of specified driver card
- GetCardStatisticAll - get the list of available cards
- GetCardRecords - get information from specified driver cards
- GetCardStatByDrivers - get information from driver cards grouped by driver
- GetCardStatByVehicles - get information from driver cards grouped by vehicle
Other
Also service supports uploading and downloading schemas from. AutoGRAPH.Pro (since 2015.8.6 version) supports working with AutoGRAPH.NET Service. Look here to get additional information.
Examples
(C#, .NET 4, Visual Studio 2013 or Visual Studio Express)
Examples with Powershell (JSON and export different information to CSV)