- Print
- DarkLight
- PDF
Create circuit fault location
NOTE: This API is provided by a separate service.
This API endpoint searches for certain alarm determined by alarmId. If the alarm is already present in KeyCom then it is updated with the values provided in the request. If it is not, it makes a trace for specified distance from certain circuit section (and possibly port id) and using either logical or physical reservations finds the component of network affected by fault. Then the fault is created in the specified location.
Available from product version 3.6.2.
Token issued for API consumer.
Two-letter language code to use for interface translation. Example: Accept-Language=en
Coordinate system to transform location to.
Example: srs=epsg:4326
circuit fault to be traced and created
id of the external object describing the fault, i.e. alarm
circuit fault description
the direction to go through the reservations as of the reservation order to avoid ambiguous results
optical distance for locating the fault
id of circuit fault state, used for Alarm state (New, Updated or Cleared)
id of circuit fault type, used for Severity (Break or Degradation)
Loss (dB) caused by fault
port (cross-connection point) to be traced
specifies if logical or physical reservations of the circuit section are used for locating the fault
circuit section to be traced
created circuit fault and fault location
{
"alarmId": "123456",
"description": "test",
"distance": 30.0,
"faultState": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "CIRCUIT_LOG_STATE",
"id": 6770,
"logical_txt": "Ilmoitettu",
"num_value": null,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "Ilmoitettu"
},
"faultType": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "CIRCUIT_LOG_ENTRY",
"id": 6690,
"logical_txt": "Rätisee",
"num_value": null,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "Rätisee"
},
"id": 15650,
"location": "SRID=4326;POINT Z (60.54678877583297 26.17476424505218 -7.941480726003647e-05)",
"loss": 3.1,
"objectId": 152255,
"objectType": "threaddetail",
"routeEndReached": false,
"routeLocation": "SRID=4326;LINESTRING Z (60.54676895577271 26.17497882752768 -7.941573858261108e-05, 60.62600056457995 26.20147963427254 -7.953960448503494e-05, 60.54676871806093 26.17494091868807 -7.941387593746185e-05, 60.54676415016116 26.17478779664355 -7.941294461488724e-05, 60.54677229193739 26.17476404222064 -7.941573858261108e-05, 60.54678877583297 26.17476424505218 -7.941480726003647e-05)",
"sectionId": 561
}
calculated distance from all objects along the route found (cross-connections, device internal connections, cable total lengths)
calculated location of the fault, taking into account possible loops and coils along the route
id of object affected by fault
type of object affected by fault
is route end reached or route ended preliminary
route from start of trace to object affected by fault (including object affected by fault)
id of the external object describing the fault, i.e. alarm
circuit fault description
Circuit fault 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
Circuit fault 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
id of circuit fault in KeyCom
Loss (dB) caused by fault
There was an error in request. Usually field validation failed.
Fields which failed validation
List of validation errors for this fieldname
Validation error
Authentication credentials are missing or invalid
{
"details": "Authentication credentials were not provided"
}
Detailed description of error