Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
id - String!
begin - Float!
- Unix timestamp in milliseconds pointing to date when to start the chart. For example,to draw a monthly chart starting in January 2021, use 1609459200000.
n - Int!
- Number of objects to be returned for chart. For example, to draw a monthly chart, use 30.
length - Float!
- Amount of time in milliseconds from one time period to another. For example, to draw a monthly chart, use 1 day (86400000 milliseconds).
[DeviceChartDocument!]!
{"id": "abc123", "begin": 987.65, "n": 987, "length": 123.45}
order - String
- Order in which records will be sorted. Correct values are "asc
" for ascending and "desc
" for descending . Default = "asc
"
orderBy - String
- Field name used for sorting. For example { order: "desc
", orderBy: "updatedAt
" } returns most recently updated items first
search - String
- Used to search for match in multiple fields. It appends a new field (score) to returned items. For example query devices { search: "teltonika
", order: "desc
", orderby: "score
" } returns devices that have "teltonika" string in one of the fields and places best matches first
skip - Int
- Used for pagination. Indicates how many records starting from the first one should be skipped. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. Default = 0
take - Int
- Used for pagination. Indicates how many records should be returned in the current request. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. Default value is 25. Maximum amount is 1000 . Default = 25
filter - DevicesFilter
Default = {}
geoSearch - GeoSearchInput
- Returns list of devices that are inside of selected rectangle. For example, for points [lat:49, lng: 16] as bottomLeft and [lat:54, lng:24] as upperRight, it's going to return all devices in Poland
geoSearchCircle - GeoSearchCircleInput
- Returns list of devices within radius of a selected point
keysOwner - String
- Returns list of devices to which an address has keys. For example, User with address user_1 is the owner of keys key_1 and key_2, key_1 is for device_1 and key_2 is for device_2. There are also user_2, device_3 and key_3. The method will return [device_1, device_2]. This is helpful when user need a list of devices he can interact with
includeRemoved - Boolean
- By default the list will not include Devices which have been removed by the Supplier. To also get Devices removed, set this flag to true. Default = false
Returns a PaginatedDevices!
order - String
- Order in which records will be sorted. Correct values are "asc" for ascending and "desc" for descending . Default = "asc
"
orderBy - String
- Field name used for sorting. For example { order: "desc", orderBy: "updatedAt" } returns most recently updated items first
search - String
- Used to search for match in multiple fields. It appends a new field (score) to returned items. For example query devices { search: "teltonika", order: "desc", orderby: "score" } returns devices that have "teltonika" string in one of the fields and places best matches first
skip - Int
- Used for pagination. Indicates how many records starting from the first one should be skipped. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. Default = 0
take - Int
- Used for pagination. Indicates how many records should be returned in the current request. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. Default value is 25. Maximum amount is 1000 . Default = 25
filter - EventsFilter
Default = {}
PaginatedEvents!
id - String!
begin - Float!
- Unix timestamp in milliseconds establishing the date when to start the chart. For example,to draw a monthly chart starting in January 2021 use 1609459200000
n - Int!
- Number of objects to be returned for chart. For example, to draw a monthly chart, use 30
length - Float!
- Amount of time in milliseconds from one time period to another. For example, to draw a monthly chart, use 1 day (86400000 milliseconds)
[KeyChartDocument!]!
{"id": "abc123", "begin": 987.65, "n": 123, "length": 123.45}
order - String
- Order in which records will be sorted. Correct values are "asc" for ascending and "desc" for descending . Default = "asc
"
orderBy - String
- Field name used for sorting. For example { order: "desc", orderBy: "updatedAt" } returns last updated items first
search - String
- Used to search for match in multiple fields. It appends a new field (score) to returned items. For example query devices { search: "teltonika", order: "desc", orderby: "score" } returns devices that have "teltonika" string in one of the fields and places best matches first
skip - Int
- Used for pagination. Indicates how many records starting from the first one should be skipped. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. . Default = 0
take - Int
- Used for pagination. Indicates how many records should be returned in the current request. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. Default value is 25. Maximum amount is 1000 . Default = 25
filter - KeysFilte
r - Default = {}
PaginatedKeys!
id - String!
begin - Float!
- Unix timestamp in milliseconds indicating the date when to start the chart. For example, to draw a monthly chart starting in January 2021 use 1609459200000
n - Int!
- Number of objects to be returned for chart. For example, to draw a monthly chart, use 30
length - Float!
- Amount of time in milliseconds from one time period to another. For example, to draw a monthly chart, use 1 day (86400000 milliseconds)
[SupplierChartDocument!]!
{"id": "xyz789", "begin": 123.45, "n": 987, "length": 123.45}
skip - Int
- Used for pagination. Indicates how many records starting from the first one should be skipped. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. . Default = 0
take - Int
- Used for pagination. Indicates how many records should be returned in the current request. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. Default value is 25. Maximum amount is 1000 . Default = 25
input - String!
SearchResults!
{"skip": 0, "take": 25, "input": "xyz789"}
order - String
- Order in which records will be sorted. Correct values are "asc" for ascending and "desc" for descending . Default = "asc
"
orderBy - String
- Field name used for sorting. For example { order: "desc", orderBy: "updatedAt" } returns most recently updated items first
search - String
- Used to search for match in multiple fields. It appends a new field (score) to returned items. For example query devices { search: "teltonika", order: "desc", orderby: "score" } returns devices that have "teltonika" string in one of the fields and places best matches first
skip - Int
- Used for pagination. Indicates how many records starting from the first one should be skipped. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. Default = 0
take - Int
- Used for pagination. Indicates how many records should be returned in the current request. For example, { skip: 20, take: 10 } equals 3 page and 10 items for each page. Default value is 25. Maximum amount is 1000 . Default = 25
;
filter - SuppliersFilter
Default = {}
PaginatedSuppliers!