- Print
- DarkLight
- PDF
Create new circuit with port
NOTE: This API is provided by a separate service.
Creates a new circuit into KeyCom with port reservation information based on parameters given in request. Required parameters for this endpoint are: (a) addressId or (sourceSystem and sourceSystemKey) (a.a) addressId can either be apartment-level or address-level. Also supports optional source system and source system key parameters for both levels. Priority is as follows: apartment >> address >> apartment-level source system >> address-level source system. Available from product version 3.6.3. (b) premId (c) deviceId Also either: (d) portId or portName must be provided to correctly resrve a port Available from product version 3.4.0.
If logical_res is true, the service will create logical reservations. The service will only create physical reservations if both logical_res and logical_physical_res are true. Available from product version 3.6.3.
Token issued for API consumer.
properties to create circuit with and device with port to reserve to it
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 real
section disconnect date planned
section name
ID of section usage purpose. REQUIRED for circuit section and created if countOfSections is greater than 1.
ID of section usage state
Circuit contract length for new or update circuit
circuit contract number for new or update circuit
ID of customer related to circuit customer for new or update circuit
Internal ID of circuit importance information for new or update circuit
circuit identifier for new or update circuit
circuit alternate identifier for new or update circuit
circuit order number for new or update circuit
Internal ID of circuit organisation information for new or update circuit
Internal ID of circuit redundancy information for new or update circuit
addressId with portId as search criteria for which automatic reservation is connected to new circuit.
The number of sections to be created. 0 indicates no section level information to be created. Default of 1 if not provided.
deviceId with portName as alternative to PortId in search criteria.
indicates if port will be reserved only for physical reservations
indicates if port will be reserved only for logical reservations
portId with addressId as search criteria for which automatic reservation is connected to new circuit.
portName with deviceId as alternative to PortId in search criteria.
Direction in which reservation is ordered. Default of 1 if not provided. Available from product version 3.6.8. 1 - Ascending (Customer premise to Central office), 2 - Descending (Central office to Customer premise)
alternative to addressId together with sourceSystemKey. Available from product version 3.6.3.
alternative to addressId together with sourceSystem. Available from product version 3.6.3.
premiseId for connected port.
New Circuit with port, section and location. Section also has logical and physical reservations if there is a preconnected logical route.
[
{
"areaCode": "",
"comments": "",
"contractLength": null,
"contractNumber": "100",
"createdBy": "KEYCOM_STAGE",
"createdTs": "2021-10-07",
"customer": 2810,
"directLength": null,
"id": 293957,
"identifier": "circuitName",
"identifierAlt": "circuitOtherName",
"importance": null,
"installationAddresses": [
{
"apartment": 4289,
"circuit": 293957,
"id": 43305850,
"installationType": 6410
}
],
"length": null,
"orderNumber": "100",
"organisation": null,
"redundancy": null,
"sections": [
{
"bitrate": 2850,
"circuit": 293957,
"connectionDate": null,
"constructionState": 6050,
"disconnectionDate": null,
"id": 3508801,
"name": "sectionName",
"plannedConnectionDate": null,
"plannedDisconnectionDate": null,
"reservations": [
{
"logical": [
{
"address": 80750,
"ccp": 1319590,
"circuit": 293957,
"connection": null,
"details": "",
"device": 21050,
"hierarchy": null,
"id": 2449550,
"order": 1,
"premises": 23610,
"section": 3508801
}
],
"physical": [
{
"circuit": "https://keycom.example.com/api/v2/circuits/293957/",
"circuitOrder": 1,
"component": "1",
"componentAttenuation": 0.5,
"componentLength": null,
"componentState": "Ready",
"componentType": "connector",
"container": "1",
"containerId": 21050,
"containerState": "",
"containerType": "device",
"section": "https://keycom.example.com/api/v2/sections/3508801/",
"topContainer": "PUISTIKKOKATU 1",
"topContainerState": "In use",
"topContainerType": "telecom premises"
}
]
}
],
"usagePurpose": 15050,
"usageState": 6350
}
],
"updatedBy": "KEYCOM_STAGE",
"updatedTs": "2021-10-07"
}
]
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 list of errors when it is partially created
Fields which failed validation
Field error code
List of validation errors for this fieldname
Validation error
Bad Request
{
"details": "Bad request syntax or unsupported method"
}
Detailed description of error
Authentication credentials are missing or invalid
{
"details": "Authentication credentials were not provided"
}
Detailed description of error