LineReportsApi
getCoverageLonLatLineReports
Parameters
Name |
Type |
Note |
lat |
Double |
The latitude of where the coord you want to query |
lon |
Double |
The longitude of where the coord you want to query |
depth |
Int |
The depth of your object [optional] [default to 1] |
count |
Int |
Number of objects per page [optional] [default to 25] |
startPage |
Int |
The current page [optional] |
forbiddenUris |
List |
forbidden uris [optional] |
disableGeojson |
Boolean |
remove geojson from the response [optional] |
since |
DateTime |
use disruptions valid after this date [optional] |
until |
DateTime |
use disruptions valid before this date [optional] |
filterStatus |
List |
filter_status uris [optional] [enum: past, active, future] |
Return
LineReports
Example
ExpertSdk.getInstance().lineReportsApi.getCoverageLonLatLineReports(
lat = 0.0,
lon = 0.0,
depth = 123,
count = 123,
startPage = 123,
forbiddenUris = listOf(),
disableGeojson = true,
since = DateTime.now(),
until = DateTime.now(),
filterStatus = listOf()
)
if (response.isSuccessful && response.body() != null) {
// Success
val content = response.body()
} else {
// Error
}
getCoverageLonLatUriLineReports
Parameters
Name |
Type |
Note |
lat |
Double |
The latitude of where the coord you want to query |
lon |
Double |
The longitude of where the coord you want to query |
uri |
String |
First part of the uri |
depth |
Int |
The depth of your object [optional] [default to 1] |
count |
Int |
Number of objects per page [optional] [default to 25] |
startPage |
Int |
The current page [optional] |
forbiddenUris |
List |
forbidden uris [optional] |
disableGeojson |
Boolean |
remove geojson from the response [optional] |
since |
DateTime |
use disruptions valid after this date [optional] |
until |
DateTime |
use disruptions valid before this date [optional] |
filterStatus |
List |
filter_status uris [optional] [enum: past, active, future] |
Return
LineReports
Example
ExpertSdk.getInstance().lineReportsApi.getCoverageLonLatUriLineReports(
lat = 0.0,
lon = 0.0,
uri = "uri_example",
depth = 123,
count = 123,
startPage = 123,
forbiddenUris = listOf(),
disableGeojson = true,
since = DateTime.now(),
until = DateTime.now(),
filterStatus = listOf()
)
if (response.isSuccessful && response.body() != null) {
// Success
val content = response.body()
} else {
// Error
}
getCoverageRegionLineReports
Parameters
Name |
Type |
Note |
region |
String |
The region you want to query |
depth |
Int |
The depth of your object [optional] [default to 1] |
count |
Int |
Number of objects per page [optional] [default to 25] |
startPage |
Int |
The current page [optional] |
forbiddenUris |
List |
forbidden uris [optional] |
disableGeojson |
Boolean |
remove geojson from the response [optional] |
since |
DateTime |
use disruptions valid after this date [optional] |
until |
DateTime |
use disruptions valid before this date [optional] |
filterStatus |
List |
filter_status uris [optional] [enum: past, active, future] |
Return
LineReports
Example
ExpertSdk.getInstance().lineReportsApi.getCoverageRegionLineReports(
region = "region_example",
depth = 123,
count = 123,
startPage = 123,
forbiddenUris = listOf(),
disableGeojson = true,
since = DateTime.now(),
until = DateTime.now(),
filterStatus = listOf()
)
if (response.isSuccessful && response.body() != null) {
// Success
val content = response.body()
} else {
// Error
}
getCoverageRegionUriLineReports
Parameters
Name |
Type |
Note |
region |
String |
The region you want to query |
uri |
String |
First part of the uri |
depth |
Int |
The depth of your object [optional] [default to 1] |
count |
Int |
Number of objects per page [optional] [default to 25] |
startPage |
Int |
The current page [optional] |
forbiddenUris |
List |
forbidden uris [optional] |
disableGeojson |
Boolean |
remove geojson from the response [optional] |
since |
DateTime |
use disruptions valid after this date [optional] |
until |
DateTime |
use disruptions valid before this date [optional] |
filterStatus |
List |
filter_status uris [optional] [enum: past, active, future] |
Return
LineReports
Example
ExpertSdk.getInstance().lineReportsApi.getCoverageRegionUriLineReports(
region = "region_example",
uri = "uri_example",
depth = 123,
count = 123,
startPage = 123,
forbiddenUris = listOf(),
disableGeojson = true,
since = DateTime.now(),
until = DateTime.now(),
filterStatus = listOf()
)
if (response.isSuccessful && response.body() != null) {
// Success
val content = response.body()
} else {
// Error
}