- Print
- DarkLight
- PDF
Operation is used to retrieve details of a route and it's components with given parameters. Required parameters are either 1. source_ids and object_name or 2. object_id and object_name/ctid. Example request url would be /routefollower/?object_id=2576290&object_name=terminal&over_cc=True, where object_id refers to the primary key (id) Terminal where route following starts from. You can also use thread or connector primary keys as source_ids, example: /routefollower/?source_ids=103920,103930&object_name=terminal&over_cc=True, where source_ids refer to ccp primary keys (id).
Available from product version 3.0.24.
Token issued for API consumer.
Primary key (id) of the object which contains the thread/connector to follow. For example id of a cable
Primary keys (id) of the threads or connectors to follow. Can be multiple, comma separated
Name of the object type which contains the thread/connector to follow, lowercase. For example, "cable"
ContentType id for the cable or terminal used, use /api/v2/object-types/ endpoint to get these
Logical direction to follow. 1 for ascending, 2 for descending. For both directions default is -1.
Follow over physical connections
Follow over cross connections
Follow over logical connections
Show loops and/or coils
Numeric length to stop following route
Number of the thread/connector to start route following with
Number of the thread/connector to end route following to
Name of the device connector to follow
Stop to nearest cross connection point of the route
Coordinate system to transform location to.
Example: srs=epsg:4326
List of routes
{
"Results": [
{
"components": [
{
"attenuation": 0.05,
"connectionObject": {
"connectionConstState": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "KN_CONST_STATE",
"id": 6070,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/KN_CONST_STATE/",
"logical_txt": "Suunniteltu",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "Suunniteltu"
},
"connectionNo": 1,
"connectionOwner": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "CABLE_OWNER",
"id": 250770,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/CABLE_OWNER/",
"logical_txt": "Keypro",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "Keypro"
},
"connectionType": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "THREAD_TYPE",
"id": 413070,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/THREAD_TYPE/",
"logical_txt": "SM 9/125",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "SM 9/125"
},
"connectionUsageState": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": null,
"groupname": null,
"id": null,
"list_url": null,
"logical_txt": null,
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": null
},
"id": 17637054,
"type": "threaddetail",
"url": null
},
"detailConnection": {
"detailConnId": null,
"url": null
},
"id": "1|root - 17637054",
"location": "SRID=4326;LINESTRING Z (26.3676653649416863 60.4971100458688227 0.0000000000000000, 26.3680253882916169 60.4970638176940980 0.0000000000000000)",
"relatedCircuits": [],
"routeLength": 20.4,
"routeObject": {
"id": 3336230,
"identification": "omcable",
"length": 20.4,
"owner": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "CABLE_OWNER",
"id": 250770,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/CABLE_OWNER/",
"logical_txt": "Keypro",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "Keypro"
},
"subType": "https://keycom.example.com/api/v2/cabletypes/35370/",
"type": "Kaapeli",
"url": "https://keycom.example.com/api/v2/cables/3336230/",
"usageState": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": null,
"groupname": null,
"id": null,
"list_url": null,
"logical_txt": null,
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": null
}
}
},
{
"attenuation": 0.02,
"connectionObject": {
"connectionConstState": null,
"connectionNo": "1",
"connectionOwner": null,
"connectionType": null,
"connectionUsageState": null,
"id": 75129370,
"type": "crossconnectionpoint",
"url": null
},
"detailConnection": {
"detailConnId": 2473613,
"url": null
},
"id": "2473613 - 75129370",
"location": "SRID=4326;POINT Z (26.3684861544175497 60.4970046522498563 0.0000000000000000)",
"relatedCircuits": [
{
"relatedCircuitId": "YHT-178760:test",
"url": "https://keycom.example.com/api/v2/circuits/178760/"
}
],
"routeLength": 67.0,
"routeObject": {
"id": 2913570,
"identification": "om3",
"length": 46.6,
"owner": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "PREM_OWNER",
"id": 550,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/PREM_OWNER/",
"logical_txt": "Elisa",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "Elisa"
},
"subType": "https://keycom.example.com/api/v2/types/33250/",
"type": "Tilaajapiste",
"url": "https://keycom.example.com/api/v2/premises/2913570/",
"usageState": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "PREM_STATE",
"id": 14601,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/PREM_STATE/",
"logical_txt": "Käytössä",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "Käytössä"
}
}
}
],
"connectionIds": [
{
"id": 17637054,
"type": "threaddetail",
"url": null
},
{
"id": 75128410,
"type": "crossconnectionpoint",
"url": null
},
{
"id": 75129370,
"type": "crossconnectionpoint",
"url": null
},
{
"id": 75129670,
"type": "crossconnectionpoint",
"url": null
},
{
"id": 75128710,
"type": "crossconnectionpoint",
"url": null
},
{
"id": 17637069,
"type": "threaddetail",
"url": null
},
{
"id": 1108330,
"type": "splice",
"url": null
},
{
"id": 18512402,
"type": "threaddetail",
"url": null
}
],
"endpoint": {
"identification": "Kaapeli omcable",
"location": "SRID=4326;LINESTRING Z (26.3680253882916169 60.4970638176940980 0.0000000000000000, 26.3684861544196600 60.4970046522067832 0.0000000000000000)",
"objectId": 3480650,
"thread": 16,
"url_main": "https://keycom.example.com/api/v2/cables/3480650/",
"url_sub": null
}
},
{
"components": [
{
"attenuation": null,
"connectionObject": {
"connectionConstState": null,
"connectionNo": "",
"connectionOwner": null,
"connectionType": null,
"connectionUsageState": null,
"id": 1108330,
"type": "splice",
"url": null
},
"detailConnection": {
"detailConnId": 2587554,
"url": null
},
"id": "2587554 - 1108330",
"location": "SRID=4326;POINT Z (26.3680253882958624 60.4970638176586135 0.0000000000000000)",
"relatedCircuits": [],
"routeLength": 20.4,
"routeObject": {
"id": 1108330,
"identification": "43652",
"length": 0.0,
"owner": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": null,
"groupname": null,
"id": null,
"list_url": null,
"logical_txt": null,
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": null
},
"subType": null,
"type": "Jatkos",
"url": null,
"usageState": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "SPLICE_STATE",
"id": 15001,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/SPLICE_STATE/",
"logical_txt": "Suunniteltu",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "Suunniteltu"
}
}
},
{
"attenuation": null,
"connectionObject": {
"connectionConstState": null,
"connectionNo": "1",
"connectionOwner": null,
"connectionType": null,
"connectionUsageState": null,
"id": 75129370,
"type": "crossconnectionpoint",
"url": null
},
"detailConnection": {
"detailConnId": 2587538,
"url": null
},
"id": "2587538 - 75129370",
"location": "SRID=4326;POINT Z (26.3684861544175497 60.4970046522498563 0.0000000000000000)",
"relatedCircuits": [
{
"relatedCircuitId": "YHT-178760:test",
"url": "https://keycom.example.com/api/v2/circuits/178760/"
}
],
"routeLength": 46.6,
"routeObject": {
"id": 2913570,
"identification": "om3",
"length": 0.0,
"owner": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "PREM_OWNER",
"id": 550,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/PREM_OWNER/",
"logical_txt": "Elisa",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "Elisa"
},
"subType": "https://keycom.example.com/api/v2/types/33250/",
"type": "Tilaajapiste",
"url": "https://keycom.example.com/api/v2/premises/2913570/",
"usageState": {
"availability_end_ts": "2020-12-31",
"availability_start_ts": "2020-01-01",
"available": true,
"groupname": "PREM_STATE",
"id": 14601,
"list_url": "https://keycom.example.com/api/v2/txt_constants/groupname/PREM_STATE/",
"logical_txt": "Käytössä",
"num_value": 10.1,
"num_value2": 20.2,
"num_value3": 30.3,
"num_value4": 40.4,
"txt": "Käytössä"
}
}
}
],
"connectionIds": [
{
"id": 17637054,
"type": "threaddetail",
"url": null
},
{
"id": 1108330,
"type": "splice",
"url": null
},
{
"id": 18512387,
"type": "threaddetail",
"url": null
},
{
"id": 75129370,
"type": "crossconnectionpoint",
"url": null
},
{
"id": 75128410,
"type": "crossconnectionpoint",
"url": null
}
],
"endpoint": {
"identification": "Tilaajapiste om1 > om1-dev",
"location": "SRID=4326;POINT Z (26.3676653649416863 60.4971100458688227 0.0000000000000000)",
"objectId": 2913510,
"thread": "1",
"url_main": "https://keycom.example.com/api/v2/premises/2913510/",
"url_sub": "https://keycom.example.com/api/v2/devices/2576290/"
}
}
]
}
Attenuation at this point of the route
Txt constants construction state
Ending date time for availability
Beginning date time for availability
Is object deemed as available. Based on availability_start_ts and availability_end_ts values.
Group name of constant
Unique id of constant
Url to fetch all contants from this group
Logical textual value
Numeric value
Numeric value 2
Numeric value 3
Numeric value 4
Human readable textual representation
Connector/thread number
Connection usage state
Ending date time for availability
Beginning date time for availability
Is object deemed as available. Based on availability_start_ts and availability_end_ts values.
Group name of constant
Unique id of constant
Url to fetch all contants from this group
Logical textual value
Numeric value
Numeric value 2
Numeric value 3
Numeric value 4
Human readable textual representation
Connection type
Ending date time for availability
Beginning date time for availability
Is object deemed as available. Based on availability_start_ts and availability_end_ts values.
Group name of constant
Unique id of constant
Url to fetch all contants from this group
Logical textual value
Numeric value
Numeric value 2
Numeric value 3
Numeric value 4
Human readable textual representation
Connection usage state
Ending date time for availability
Beginning date time for availability
Is object deemed as available. Based on availability_start_ts and availability_end_ts values.
Group name of constant
Unique id of constant
Url to fetch all contants from this group
Logical textual value
Numeric value
Numeric value 2
Numeric value 3
Numeric value 4
Human readable textual representation
Primary key for a connection object of a route component
Connector/thread type as text
Link to the API endpoint of a connection object or null if endpoint not active
Primary key of detail connection
Link to Detail connection API endpoint or null if endpoint not active
Identifier for the current route
Geographical location
Identification of a circuit and it's section
Link to Circuit API or null if endpoint not active
Total length of the route
Primary key of the main route object
Name/identification for the main route object
Length of the object
Owner of the main object
Ending date time for availability
Beginning date time for availability
Is object deemed as available. Based on availability_start_ts and availability_end_ts values.
Group name of constant. Same as groupname parameter.
Unique id of constant
Link to corresponding owner endpoint
Logical textual value
Numeric value
Numeric value 2
Numeric value 3
Numeric value 4
Human readable textual representation (translated)
Link to the API endpoint of an object subtype, for example device type
Main object type of the route object (Cable, Premise...)
Link to the API endpoint of a main route object or null if endpoint not active
Usage state of the main object
Ending date time for availability
Beginning date time for availability
Is object deemed as available. Based on availability_start_ts and availability_end_ts values.
Group name of constant. Same as groupname parameter.
Unique id of constant
Link to corresponding usageState endpoint
Logical textual value
Numeric value
Numeric value 2
Numeric value 3
Numeric value 4
Human readable textual representation (translated)
Primary key of a connection
Type of a connection
Link to the API endpoint of a connection or null if endpoint not active
Name/identification of the endpoint object and it's device hierarchy if any
Geographical location
Primary key of endpoint object
Name or number of the endpoint thread/connector
Link to the API endpoint of a route endpoint object or null if endpoint not active
Link to the API endpoint of a route endpoint sub object (such as device) or null if endpoint not active
Authentication credentials are missing or invalid
{
"details": "Authentication credentials were not provided"
}
Detailed description of error
Object was not found
{
"details": "Not found."
}
Detailed description of error