- Print
- DarkLight
- PDF
NOTE: This API is provided by a separate service.
Operation is used to search existing circuits from KeyCom with given search attributes and return information including location and reserved components. Available from product version 3.4.0.
Token issued for API consumer.
search criterias for circuit
circuit contract number as alternative search criteria
circuit identifier as alternative search criteria
circuit alternate identifier as alternative search criteria
circuit order number as alternative search criteria
ID of circuit as primary search criteria
ID of circuit section as primary search criteria
ID of section bitrate which is related to the speed of section
section connect date planned
section connect date real
ID of section construction state
section disconnect date planned
section disconnect date real
section name
ID of section usage purpose
ID of section usage state
ID of apartment related to circuit installation address
circuit comments
ID of customer related to circuit customer
ID of importance
ID of organisation
ID of redundancy
Circuits with location and sections with reservation data.
[
{
"areaCode": "",
"comments": "",
"contractLength": null,
"contractNumber": "100",
"createdBy": "KEYCOM_STAGE",
"createdTs": "2021-09-03",
"customer": {
"address": {
"address": {
"apartments": [
"http://keycom.example.com/api/v2/apartments/3281/"
],
"buildingId": "",
"city": "",
"cityAlt": "",
"country": "",
"createdBy": "",
"createdTs": null,
"district": "",
"empty": 1,
"id": 390,
"listUrl": "http://keycom.example.com/api/v2/addresses/",
"location": null,
"municipality": "",
"propertyId": "",
"province": "",
"sourceSystem": null,
"sourceSystemKey": null,
"streetname": "",
"streetnameAlt": "",
"streetno": "",
"subdivision": "",
"updatedBy": "KEYCOM_STAGE30",
"updatedTs": "2018-01-11T06:00:20Z",
"usagePurpose": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "BUILDING_USAGE",
"id": 233970,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/BUILDING_USAGE/",
"logical_txt": "Asuinrakennus",
"num_value": null,
"num_value2": null,
"num_value3": 1.0,
"num_value4": null,
"txt": "Residential building"
},
"usagePurposeAlt": null,
"zipcode": ""
},
"apartmentDivision": "",
"apartmentLetter": "",
"apartmentNumber": "",
"empty": 1,
"id": 3281,
"listUrl": "/api/v2/apartments/",
"originProperty": "//0000000003281",
"originalStreetno": "",
"sourceSystem": null,
"sourceSystemKey": null,
"usagePurpose": null,
"usagePurposeAlt": null,
"usageState": null
},
"addressAlt": null,
"billingName": "",
"businessId": "",
"createdBy": "",
"createdTs": null,
"email": "",
"id": 2810,
"listUrl": "http://keycom.example.com/api/v2/customers/",
"mobilePhone": "",
"name": "Testi Testinen",
"number": "A-2810",
"phone": "",
"smsProhibited": null,
"telefax": "",
"type": null,
"updatedBy": "KEYCOM_STAGE30",
"updatedTs": "2018-01-03T11:02:58Z"
},
"directLength": null,
"id": 287214,
"identifier": "circuitName",
"identifierAlt": "circuitOtherName",
"importance": null,
"installationAddresses": [
{
"apartment": "http://keycom-default-py3.tests2.keypro.fi/api/v2/apartments/3281/",
"circuit": "http://keycom-default-py3.tests2.keypro.fi/api/v2/circuits/287214/",
"id": 1526413,
"installationType": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "KN_LOCATION_TYPE",
"id": 6210,
"list_url": "http://keycom-default-py3.tests2.keypro.fi/api/v2/txt_constants/groupname/KN_LOCATION_TYPE/",
"logical_txt": "AAAAAA",
"num_value": 1.0,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "Beginning"
}
}
],
"length": null,
"orderNumber": "100",
"organisation": null,
"redundancy": null,
"sections": [
{
"constructionState": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "KN_CONST_STATE",
"id": 6050,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/KN_CONST_STATE/",
"logical_txt": "Valmis",
"num_value": 1.0,
"num_value2": 1.0,
"num_value3": null,
"num_value4": null,
"txt": "Ready"
},
"id": 3369941,
"listUrl": "http://keycom.example.com/api/v2/sections/",
"name": "sectionName",
"reservations": {
"logical": [
{
"address": {
"apartments": [
"http://keycom.example.com/api/v2/apartments/4289/"
],
"buildingId": "",
"city": "LOVIISA",
"cityAlt": "",
"country": "",
"createdBy": "",
"createdTs": null,
"district": "",
"empty": 0,
"id": 80750,
"listUrl": "http://keycom.example.com/api/v2/addresses/",
"location": null,
"municipality": "",
"propertyId": "",
"province": "",
"sourceSystem": null,
"sourceSystemKey": null,
"streetname": "PUISTIKKOKATU",
"streetnameAlt": "",
"streetno": "1",
"subdivision": "",
"updatedBy": "KEYCOM_STAGE30",
"updatedTs": "2018-01-11T06:00:22Z",
"usagePurpose": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "BUILDING_USAGE",
"id": 233970,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/BUILDING_USAGE/",
"logical_txt": "Asuinrakennus",
"num_value": null,
"num_value2": null,
"num_value3": 1.0,
"num_value4": null,
"txt": "Residential building"
},
"usagePurposeAlt": null,
"zipcode": 7900
},
"ccp": {
"bitrate": null,
"ccpOwner": null,
"channelType": null,
"connectorNumber": 1,
"connectorType": null,
"constState": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "KN_CONST_STATE",
"id": 6050,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/KN_CONST_STATE/",
"logical_txt": "Valmis",
"num_value": 1.0,
"num_value2": 1.0,
"num_value3": null,
"num_value4": null,
"txt": "Ready"
},
"device": [
{
"comments": "",
"connectorCount": 6,
"createdBy": "",
"createdTs": null,
"id": 21050,
"identification": "1",
"interface": "",
"managementAddress": "",
"managementAddress2": "",
"orderNo": null,
"owner": null,
"parent": null,
"premise": "http://keycom.example.com/api/v2/premises/23610/",
"renter": null,
"sourceSystem": null,
"sourceSystemKey": null,
"startPin": 1,
"type": "http://keycom.example.com/api/v2/terminal-types/2810/",
"updatedBy": "KEYCOM_STAGE",
"updatedTs": "2010-08-31T09:50:01Z",
"usageState": null
}
],
"freeStatus": 0,
"functionality": "",
"id": 1319590,
"listUrl": "http://keycom.example.com/api/v2/ccps/",
"name": "1",
"parent": null,
"premises": [
{
"address": "http://keycom.example.com/api/v2/apartments/4289/",
"angle": 258.690210012265,
"capacity": 6,
"createdBy": "",
"createdTs": null,
"deviceRoom": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "PREM_PLACEMENT",
"id": 5381,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/PREM_PLACEMENT/",
"logical_txt": "Huone",
"num_value": null,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "Room"
},
"diagramConfirm": null,
"heightAccuracy": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "H_ACCURACY",
"id": 117210,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/H_ACCURACY/",
"logical_txt": "Ei määritelty",
"num_value": 1.0,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "Not defined"
},
"historyDate": null,
"id": 23610,
"identification": "PUISTIKKOKATU 1",
"importance": null,
"install_year": null,
"location": "SRID=3067;POINT Z (456644.3093 6702520.3081 0)",
"locationAccuracy": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "LOCATION_ACCURACY",
"id": 8301,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/LOCATION_ACCURACY/",
"logical_txt": "2.0m",
"num_value": 2.0,
"num_value2": null,
"num_value3": null,
"num_value4": 2.0,
"txt": "2.0m"
},
"manhole": null,
"mapper": "",
"mappingMethod": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "MAPPING_METHOD",
"id": 390,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/MAPPING_METHOD/",
"logical_txt": "Digitoitu",
"num_value": 4.0,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "Digitized"
},
"name": "",
"owner": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "PREM_OWNER",
"id": 2010,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/PREM_OWNER/",
"logical_txt": "Loviisan Puhelin",
"num_value": 1.0,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "Loviisan Puhelin"
},
"plan": null,
"pole": null,
"remarks": "",
"renter": null,
"scale": 4.0,
"sourceSystem": null,
"sourceSystemKey": null,
"survey_amount": "",
"technicalId": null,
"technicalInfo": "",
"telecomArea": "http://keycom.example.com/api/v2/telecom-areas/10/",
"type": {
"cost": null,
"id": 12,
"listUrl": "http://keycom.example.com/api/v2/premtypes/",
"manufacturer": "Tuntematon",
"productCode": "",
"type": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "PREM_TYPE",
"id": 3290,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/PREM_TYPE/",
"logical_txt": "Tilaajapiste",
"num_value": null,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "Subscriber point"
}
},
"updatedBy": "KEYCOM_STAGE",
"updatedTs": "2021-08-31T10:27:12Z",
"usageState": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "PREM_STATE",
"id": 14601,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/PREM_STATE/",
"logical_txt": "Käytössä",
"num_value": 1.0,
"num_value2": 1.0,
"num_value3": null,
"num_value4": null,
"txt": "In use"
}
}
],
"priority": null,
"remarks": "",
"services": [],
"signalDirection": null,
"startThread": 1,
"subCcpOrder": null,
"subchannelsExist": "",
"technology": 0,
"terminal": "http://keycom.example.com/api/v2/devices/21050/"
},
"circuit": "http://keycom.example.com/api/v2/circuits/287214/",
"connection": null,
"details": "",
"device": "http://keycom.example.com/api/v2/devices/21050/",
"hierarchy": null,
"id": 2413490,
"order": 1,
"premises": "http://keycom.example.com/api/v2/premises/23610/",
"section": "http://keycom.example.com/api/v2/sections/3369941/"
}
],
"physical": [
{
"circuit": "http://keycom.example.com/api/v2/circuits/287214/",
"circuitOrder": 1,
"component": "1",
"componentAttenuation": 0.5,
"componentLength": null,
"componentState": "Ready",
"componentType": "connector",
"container": "1",
"containerId": 21050,
"containerState": "",
"containerType": "device",
"section": "http://keycom.example.com/api/v2/sections/3369941/",
"topContainer": "PUISTIKKOKATU 1",
"topContainerState": "In use",
"topContainerType": "telecom premises"
}
]
},
"usagePurpose": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "USAGE",
"id": 15050,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/USAGE/",
"logical_txt": "62 Vaihde kutsu",
"num_value": 62.0,
"num_value2": null,
"num_value3": null,
"num_value4": null,
"txt": "62 Vaihde kutsu"
},
"usageState": {
"availability_end_ts": null,
"availability_start_ts": null,
"available": true,
"groupname": "KN_USAGE_STATE",
"id": 6350,
"list_url": "http://keycom.example.com/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
"logical_txt": "Pian käytössä",
"num_value": 4.0,
"num_value2": 1.0,
"num_value3": null,
"num_value4": null,
"txt": "Soon in use"
}
}
],
"updatedBy": "KEYCOM_STAGE",
"updatedTs": "2021-09-03"
}
]
Circuit area code
Circuit comments. Available from product version 3.2.8.
Circuit contract length
Circuit contract number
creator
Creation date and time
Building id
Building name
Building city name
Building city name in alternative language
Building country
creator
Creation date and time
Building district
Address with this value as 1 is default address. Modifying or deleting such address is prohibited.
Primary key
Geographical location
Building municipality
Property number
Building province
External source system
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
source system key
Building street name
Building street name in alternative language
Building number
Building municipality subdivision
Last updater
Last update date time
Building usage purpose
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
Address usage purpose
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
Building zipcode
apartment division
apartment letter
apartment number
Apartment with this value as 1 is default apartment. Modifying or deleting such apartment is prohibited.
Primary key
apartment original property id
apartment original streen number
External source system
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
source system key
Apartment Usage purpose
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
Address usage purpose
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
Apartment status
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
Building id
Building name
Building city name
Building city name in alternative language
Building country
creator
Creation date and time
Building district
Address with this value as 1 is default address. Modifying or deleting such address is prohibited.
Primary key
Geographical location
Building municipality
Property number
Building province
External source system
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
source system key
Building street name
Building street name in alternative language
Building number
Building municipality subdivision
Last updater
Last update date time
Building usage purpose
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
Address usage purpose
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
Building zipcode
apartment division
apartment letter
apartment number
Apartment with this value as 1 is default apartment. Modifying or deleting such apartment is prohibited.
Primary key
apartment original property id
apartment original streen number
External source system
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
source system key
Apartment Usage purpose
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
Address usage purpose
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
Apartment status
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
Customer billing name
Customer bussiness id
creator
Creation date and time
Customer email
Primary key
Customer mobile phone number name
Customer name
Customer number
Customer phone number
Sending sms is prohibited to customer
Customer fax number
Customer 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
Last updater
Last update date time
Circuit direct length
Primary key
Circuit identifier
Circuit alternative identifier
Circuit importance
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 installations addresses
Circuit length
Circuit order number
Circuit organisation
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 redundancy
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 sections
Bitrate description
Primary key
Bitrate value
Circuit the section is in
actual section connection date
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
actual section disconnection date
Primary key
Section name
planned section connection date
planned section disconnection date
Circuit usage
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 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
Last updater
Last update date time
Circuit not found
{
"details": "Circuit not found"
}
Detailed description of error