Get list of circuit faults
  • 28 Aug 2024
  • 19 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Get list of circuit faults

  • Dark
    Light
  • PDF

Article summary

Get
/circuit-faults/

Operation is used to get a list of circuit faults. Available from product version 3.6.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Query parameters
offset
integer

Offset to start returning results.

Minimum0
limit
integer

Limit number of results returned. Set to -1 to use maximum limit set in the environment. Default limit will be used if parameter is not specified. Special value -1 is available from product version 3.2.18.

Minimum1
srs
string

Coordinate system to transform location to.

Example: srs=epsg:4326

__any of the object fields__
string

Filters list by selected object field value. Supports structured queries via +__+ delimiter. Supports ending keywords via +__+ delimiter:

  • For string fields: istartswith, startswith, iendswith, endswith, contains, icontains, isnull
  • For numerics: gt, lt, gte, lte, isnull
  • For spatial fields: contains, isnull, within, intersects, disjoint, touches, overlaps, covers, coveredby Examples: +++usage_state__txt__istartswith=in+++ , +++plan__state__txt__startswith=In+++ , +++creation_date__gte=2019-01-02T15:32:01+++, +++location__within=POLYGON ((641503.89 6944059.81, 641406.52 6943933.87, 641369.48 6943772.48, 641474.25 6943704.74, 641873.78 6943735.96, 641848.38 6943975.15, 641607.08 6944167.76, 641653.11 6944102.15, 641503.89 6944059.81))+++ Supports exclusive queries by field value using a not-operator preceeding the field lookup: Examples: +++not__type__txt__istartswith=Tie+++ , +++not__id=1390+++
orderby
string

Selects the object field to order the returned objects by. Can be used to sort in reverse order with '-' prefix. Can have several ordering rules separated by comma. Can be used only for object own fields and does not supports structured queries. Example: orderby=creator,-creation_date

Responses
200

A result response object.

{
  "Next": "https://keycom.example.fi/api/v2/circuit-faults/?limit=10&offset=10",
  "Previous": null,
  "Results": [
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "54321",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2017-01-11T06:00:19Z",
        "customer": {
          "address": {
            "address": {
              "apartments": [
                "https://keycom.example.fi/api/v2/apartments/14096/"
              ],
              "buildingId": "",
              "city": "PORVOO",
              "cityAlt": "",
              "country": "",
              "createdBy": "keycom.user@keypro.fi",
              "createdTs": "2018-01-11T06:00:21Z",
              "district": "",
              "empty": 0,
              "id": 230950,
              "listUrl": "https://keycom.example.fi/api/v2/addresses/",
              "location": null,
              "municipality": "",
              "propertyId": "",
              "province": "",
              "sourceSystem": null,
              "sourceSystemKey": null,
              "streetname": "ERÄMIEHENKATU",
              "streetnameAlt": "",
              "streetno": "10",
              "subdivision": "",
              "updatedBy": "keycom.user@keypro.fi",
              "updatedTs": "2018-01-11T06:00:21Z",
              "usagePurpose": {
                "availability_end_ts": null,
                "availability_start_ts": null,
                "available": true,
                "groupname": "BUILDING_USAGE",
                "id": 233970,
                "list_url": "https://keycom.example.fi/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": "06100"
            },
            "apartmentDivision": "",
            "apartmentLetter": "",
            "apartmentNumber": "",
            "empty": 1,
            "id": 14096,
            "listUrl": "/api/v2/apartments/",
            "originProperty": "//0000000014096",
            "originalStreetno": "10",
            "sourceSystem": null,
            "sourceSystemKey": null,
            "usagePurpose": null,
            "usagePurposeAlt": null,
            "usageState": null
          },
          "addressAlt": {
            "address": {
              "apartments": [
                "https://keycom.example.fi/api/v2/apartments/1615/"
              ],
              "buildingId": "",
              "city": "",
              "cityAlt": "",
              "country": "",
              "createdBy": "keycom.user@keypro.fi",
              "createdTs": "2017-01-11T06:00:19Z",
              "district": "",
              "empty": 0,
              "id": 505030,
              "listUrl": "https://keycom.example.fi/api/v2/addresses/",
              "location": null,
              "municipality": "",
              "propertyId": "",
              "province": "",
              "sourceSystem": null,
              "sourceSystemKey": null,
              "streetname": "",
              "streetnameAlt": "",
              "streetno": "",
              "subdivision": "",
              "updatedBy": "keycom.user@keypro.fi",
              "updatedTs": "2018-01-11T06:00:19Z",
              "usagePurpose": {
                "availability_end_ts": null,
                "availability_start_ts": null,
                "available": true,
                "groupname": "BUILDING_USAGE",
                "id": 233970,
                "list_url": "https://keycom.example.fi/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": 1615,
            "listUrl": "/api/v2/apartments/",
            "originProperty": "//0000000001615",
            "originalStreetno": "",
            "sourceSystem": null,
            "sourceSystemKey": null,
            "usagePurpose": null,
            "usagePurposeAlt": null,
            "usageState": null
          },
          "billingName": "",
          "businessId": "",
          "createdBy": "",
          "createdTs": null,
          "email": "",
          "id": 35954461,
          "listUrl": "https://keycom.example.fi/api/v2/customers/",
          "mobilePhone": "",
          "name": "& Lpo-Lta",
          "number": "35954461",
          "phone": "019 5230928",
          "smsProhibited": null,
          "telefax": "",
          "type": {
            "availability_end_ts": null,
            "availability_start_ts": null,
            "available": true,
            "groupname": "KN_CUST_TYPE",
            "id": 6010,
            "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_CUST_TYPE/",
            "logical_txt": "Yksityishenkilö",
            "num_value": 1.0,
            "num_value2": null,
            "num_value3": null,
            "num_value4": null,
            "txt": "Private"
          },
          "updatedBy": "",
          "updatedTs": null
        },
        "directLength": null,
        "id": 56376,
        "identifier": "LTEST_YHT-56376",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [
          "https://keycom.example.fi/api/v2/circuitlocations/40918870/"
        ],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "12345",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_CONST_STATE",
              "id": 6050,
              "list_url": "https://keycom.example.fi/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": 62201,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "A",
            "usagePurpose": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "USAGE",
              "id": 236930,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/USAGE/",
              "logical_txt": "LAAJAK 8/1",
              "num_value": 99.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "LAAJAK 8/1"
            },
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6310,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Käytössä",
              "num_value": 2.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "In use"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2018-01-11T06:00:19Z"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2013-05-13T04:02:59Z",
      "description": "test",
      "distance": null,
      "id": 410,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6770,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Ilmoitettu",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Informed"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 6690,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Rätisee",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Cracking"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "keycom.user@keypro.fi",
      "updatedTs": "2014-05-13T04:02:59Z"
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "54321",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2013-03-26",
        "customer": {
          "address": {
            "address": {
              "apartments": [
                "https://keycom.example.fi/api/v2/apartments/14096/"
              ],
              "buildingId": "",
              "city": "PORVOO",
              "cityAlt": "",
              "country": "",
              "createdBy": "keycom.user@keypro.fi",
              "createdTs": "2013-05-13T04:02:59Z",
              "district": "",
              "empty": 0,
              "id": 230950,
              "listUrl": "https://keycom.example.fi/api/v2/addresses/",
              "location": null,
              "municipality": "",
              "propertyId": "",
              "province": "",
              "sourceSystem": null,
              "sourceSystemKey": null,
              "streetname": "ERÄMIEHENKATU",
              "streetnameAlt": "",
              "streetno": "10",
              "subdivision": "",
              "updatedBy": "keycom.user@keypro.fi",
              "updatedTs": "2018-01-11T06:00:21Z",
              "usagePurpose": {
                "availability_end_ts": null,
                "availability_start_ts": null,
                "available": true,
                "groupname": "BUILDING_USAGE",
                "id": 233970,
                "list_url": "https://keycom.example.fi/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": "06100"
            },
            "apartmentDivision": "",
            "apartmentLetter": "",
            "apartmentNumber": "",
            "empty": 1,
            "id": 14096,
            "listUrl": "/api/v2/apartments/",
            "originProperty": "//0000000014096",
            "originalStreetno": "10",
            "sourceSystem": null,
            "sourceSystemKey": null,
            "usagePurpose": null,
            "usagePurposeAlt": null,
            "usageState": null
          },
          "addressAlt": {
            "address": {
              "apartments": [
                "https://keycom.example.fi/api/v2/apartments/1615/"
              ],
              "buildingId": "",
              "city": "",
              "cityAlt": "",
              "country": "",
              "createdBy": "keycom.user@keypro.fi",
              "createdTs": "2013-05-13T04:02:59Z",
              "district": "",
              "empty": 0,
              "id": 505030,
              "listUrl": "https://keycom.example.fi/api/v2/addresses/",
              "location": null,
              "municipality": "",
              "propertyId": "",
              "province": "",
              "sourceSystem": null,
              "sourceSystemKey": null,
              "streetname": "",
              "streetnameAlt": "",
              "streetno": "",
              "subdivision": "",
              "updatedBy": "keycom.user@keypro.fi",
              "updatedTs": "2018-01-11T06:00:19Z",
              "usagePurpose": {
                "availability_end_ts": null,
                "availability_start_ts": null,
                "available": true,
                "groupname": "BUILDING_USAGE",
                "id": 233970,
                "list_url": "https://keycom.example.fi/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": 1615,
            "listUrl": "/api/v2/apartments/",
            "originProperty": "//0000000001615",
            "originalStreetno": "",
            "sourceSystem": null,
            "sourceSystemKey": null,
            "usagePurpose": null,
            "usagePurposeAlt": null,
            "usageState": null
          },
          "billingName": "",
          "businessId": "",
          "createdBy": "",
          "createdTs": null,
          "email": "",
          "id": 35954461,
          "listUrl": "https://keycom.example.fi/api/v2/customers/",
          "mobilePhone": "",
          "name": "& Lpo-Lta",
          "number": "35954461",
          "phone": "019 5230928",
          "smsProhibited": null,
          "telefax": "",
          "type": {
            "availability_end_ts": null,
            "availability_start_ts": null,
            "available": true,
            "groupname": "KN_CUST_TYPE",
            "id": 6010,
            "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_CUST_TYPE/",
            "logical_txt": "Yksityishenkilö",
            "num_value": 1.0,
            "num_value2": null,
            "num_value3": null,
            "num_value4": null,
            "txt": "Private"
          },
          "updatedBy": "",
          "updatedTs": null
        },
        "directLength": null,
        "id": 56376,
        "identifier": "LTEST_YHT-56376",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [
          "https://keycom.example.fi/api/v2/circuitlocations/40918870/"
        ],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "12345",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_CONST_STATE",
              "id": 6050,
              "list_url": "https://keycom.example.fi/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": 62201,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "A",
            "usagePurpose": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "USAGE",
              "id": 236930,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/USAGE/",
              "logical_txt": "LAAJAK 8/1",
              "num_value": 99.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "LAAJAK 8/1"
            },
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6310,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Käytössä",
              "num_value": 2.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "In use"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2017-09-19"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2013-05-13T04:11:07Z",
      "description": "",
      "distance": null,
      "id": 430,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6790,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Työn alla",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Under work"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 6710,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Ylikuuluminen",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Crosstalk"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "",
      "updatedTs": null
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "12345",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2013-03-26",
        "customer": null,
        "directLength": null,
        "id": 56375,
        "identifier": "LTEST_YHT-56375",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [
          "https://keycom.example.fi/api/v2/circuitlocations/40919310/",
          "https://keycom.example.fi/api/v2/circuitlocations/40918470/"
        ],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "54321",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": null,
            "id": 62181,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "A",
            "usagePurpose": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "USAGE",
              "id": 236930,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/USAGE/",
              "logical_txt": "LAAJAK 8/1",
              "num_value": 99.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "LAAJAK 8/1"
            },
            "usageState": null
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2013-06-17"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2013-05-13T04:11:22Z",
      "description": "",
      "distance": null,
      "id": 450,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6810,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Valmis",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Ready"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 6730,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Yhteys poikki",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Circuit disconnected"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "",
      "updatedTs": null
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2014-02-26",
        "customer": null,
        "directLength": null,
        "id": 56785,
        "identifier": "testiyhteys2",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_CONST_STATE",
              "id": 6050,
              "list_url": "https://keycom.example.fi/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": 71441,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "1",
            "usagePurpose": null,
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6310,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Käytössä",
              "num_value": 2.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "In use"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2014-03-28"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2014-03-07",
      "description": "",
      "distance": 5.555,
      "id": 810,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6810,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Valmis",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Ready"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 6690,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Rätisee",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Cracking"
      },
      "loss": 3.6,
      "routeLocation": null,
      "sourceSystem": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "SOURCE_SYSTEM",
        "id": 260471,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/SOURCE_SYSTEM/",
        "logical_txt": "Test",
        "num_value": 1.0,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Test"
      },
      "sourceSystemKey": 555,
      "updatedBy": "keycom.user@keypro.fi",
      "updatedTs": "2022-08-03T06:00:27Z"
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2014-02-26",
        "customer": null,
        "directLength": null,
        "id": 56785,
        "identifier": "testiyhteys2",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_CONST_STATE",
              "id": 6050,
              "list_url": "https://keycom.example.fi/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": 71441,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "1",
            "usagePurpose": null,
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6310,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Käytössä",
              "num_value": 2.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "In use"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2014-03-28"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2014-03-07",
      "description": "",
      "distance": null,
      "id": 830,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6770,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Ilmoitettu",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Informed"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 6710,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Ylikuuluminen",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Crosstalk"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "",
      "updatedTs": null
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2014-05-08",
        "customer": null,
        "directLength": null,
        "id": 56950,
        "identifier": "YHT-56950",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [
          "https://keycom.example.fi/api/v2/circuitlocations/40925790/"
        ],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": null,
            "id": 77541,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "VB14",
            "usagePurpose": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "USAGE",
              "id": 14870,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/USAGE/",
              "logical_txt": "15 Laajakaista PLUS",
              "num_value": 15.0,
              "num_value2": null,
              "num_value3": null,
              "num_value4": null,
              "txt": "15 Laajakaista PLUS"
            },
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6370,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Nimikko",
              "num_value": 5.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "Pre-connected"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2014-05-09"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2014-05-08",
      "description": "",
      "distance": null,
      "id": 1210,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6770,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Ilmoitettu",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Informed"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 6690,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Rätisee",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Cracking"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "keycom.user@keypro.fi",
      "updatedTs": "2015-05-13T04:02:59Z"
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2014-08-08",
        "customer": null,
        "directLength": null,
        "id": 57148,
        "identifier": "YHT_UKON1",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_CONST_STATE",
              "id": 6050,
              "list_url": "https://keycom.example.fi/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": 81501,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "",
            "usagePurpose": null,
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6310,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Käytössä",
              "num_value": 2.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "In use"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2014-08-14"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2014-08-14",
      "description": "",
      "distance": null,
      "id": 1610,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6770,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Ilmoitettu",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Informed"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 6690,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Rätisee",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Cracking"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "keycom.user@keypro.fi",
      "updatedTs": "2015-05-13T04:02:59Z"
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2013-05-13",
        "customer": {
          "address": {
            "address": {
              "apartments": [
                "https://keycom.example.fi/api/v2/apartments/2419/"
              ],
              "buildingId": "1",
              "city": "LOVIISA",
              "cityAlt": "",
              "country": "",
              "createdBy": "keycom.user@keypro.fi",
              "createdTs": "2013-05-13T04:02:59Z",
              "district": "",
              "empty": 0,
              "id": 72330,
              "listUrl": "https://keycom.example.fi/api/v2/addresses/",
              "location": "SRID=3067;POINT (457067.9121 6702636.342)",
              "municipality": "",
              "propertyId": "43400100010008",
              "province": "",
              "sourceSystem": null,
              "sourceSystemKey": null,
              "streetname": "JAKOB FORSELLINKATU",
              "streetnameAlt": "",
              "streetno": "8",
              "subdivision": "",
              "updatedBy": "keycom.user@keypro.fi",
              "updatedTs": "2015-05-13T04:02:59Z",
              "usagePurpose": {
                "availability_end_ts": null,
                "availability_start_ts": null,
                "available": true,
                "groupname": "BUILDING_USAGE",
                "id": 233970,
                "list_url": "https://keycom.example.fi/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
            },
            "apartmentDivision": "",
            "apartmentLetter": "",
            "apartmentNumber": "",
            "empty": 1,
            "id": 2419,
            "listUrl": "/api/v2/apartments/",
            "originProperty": "//4340000002419",
            "originalStreetno": "8",
            "sourceSystem": null,
            "sourceSystemKey": null,
            "usagePurpose": null,
            "usagePurposeAlt": null,
            "usageState": null
          },
          "addressAlt": null,
          "billingName": "",
          "businessId": "",
          "createdBy": "",
          "createdTs": null,
          "email": "",
          "id": 35766021,
          "listUrl": "https://keycom.example.fi/api/v2/customers/",
          "mobilePhone": "",
          "name": "Myrskylän Kunta",
          "number": "35766021",
          "phone": "019 509180",
          "smsProhibited": null,
          "telefax": "",
          "type": {
            "availability_end_ts": null,
            "availability_start_ts": null,
            "available": true,
            "groupname": "KN_CUST_TYPE",
            "id": 6030,
            "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_CUST_TYPE/",
            "logical_txt": "Yritys",
            "num_value": 2.0,
            "num_value2": null,
            "num_value3": null,
            "num_value4": null,
            "txt": "Company"
          },
          "updatedBy": "",
          "updatedTs": null
        },
        "directLength": null,
        "id": 38911681,
        "identifier": "019 509180",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [
          "https://keycom.example.fi/api/v2/circuitlocations/40754030/"
        ],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_CONST_STATE",
              "id": 6050,
              "list_url": "https://keycom.example.fi/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": 41259562,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "0",
            "usagePurpose": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "USAGE",
              "id": 14890,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/USAGE/",
              "logical_txt": "16 perusliittymä",
              "num_value": 16.0,
              "num_value2": null,
              "num_value3": null,
              "num_value4": null,
              "txt": "16 perusliittymä"
            },
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6310,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Käytössä",
              "num_value": 2.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "In use"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2014-10-27"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2014-10-06",
      "description": "Yhteys hidastelee, asiakas kokeillut kahdella päätelaitteella.",
      "distance": null,
      "id": 2410,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6770,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Ilmoitettu",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Informed"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 275990,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Yhteys hidas",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Slow connection"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "keycom.user@keypro.fi",
      "updatedTs": "2015-05-13T04:02:59Z"
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2013-05-13",
        "customer": {
          "address": {
            "address": {
              "apartments": [
                "https://keycom.example.fi/api/v2/apartments/5254/"
              ],
              "buildingId": "1",
              "city": "LOVIISA",
              "cityAlt": "",
              "country": "",
              "createdBy": "",
              "createdTs": null,
              "district": "",
              "empty": 0,
              "id": 7610,
              "listUrl": "https://keycom.example.fi/api/v2/addresses/",
              "location": "SRID=3067;POINT (457307.8178 6702306.4775)",
              "municipality": "",
              "propertyId": "43400300370180",
              "province": "",
              "sourceSystem": null,
              "sourceSystemKey": null,
              "streetname": "KIRKKOKATU",
              "streetnameAlt": "",
              "streetno": "9",
              "subdivision": "",
              "updatedBy": "",
              "updatedTs": null,
              "usagePurpose": {
                "availability_end_ts": null,
                "availability_start_ts": null,
                "available": true,
                "groupname": "BUILDING_USAGE",
                "id": 233970,
                "list_url": "https://keycom.example.fi/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
            },
            "apartmentDivision": "",
            "apartmentLetter": "",
            "apartmentNumber": "",
            "empty": 1,
            "id": 5254,
            "listUrl": "/api/v2/apartments/",
            "originProperty": "//4340000005254",
            "originalStreetno": "9",
            "sourceSystem": null,
            "sourceSystemKey": null,
            "usagePurpose": null,
            "usagePurposeAlt": null,
            "usageState": null
          },
          "addressAlt": {
            "address": {
              "apartments": [
                "https://keycom.example.fi/api/v2/apartments/919/"
              ],
              "buildingId": "",
              "city": "PORVOO",
              "cityAlt": "",
              "country": "",
              "createdBy": "keycom.user@keypro.fi",
              "createdTs": "2013-05-13T04:02:59Z",
              "district": "",
              "empty": 0,
              "id": 97290,
              "listUrl": "https://keycom.example.fi/api/v2/addresses/",
              "location": null,
              "municipality": "",
              "propertyId": "",
              "province": "",
              "sourceSystem": null,
              "sourceSystemKey": null,
              "streetname": "PL 23",
              "streetnameAlt": "",
              "streetno": "",
              "subdivision": "",
              "updatedBy": "keycom.user@keypro.fi",
              "updatedTs": "2018-01-11T06:00:19Z",
              "usagePurpose": {
                "availability_end_ts": null,
                "availability_start_ts": null,
                "available": true,
                "groupname": "BUILDING_USAGE",
                "id": 233970,
                "list_url": "https://keycom.example.fi/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": "06101"
            },
            "apartmentDivision": "",
            "apartmentLetter": "",
            "apartmentNumber": "",
            "empty": 1,
            "id": 919,
            "listUrl": "/api/v2/apartments/",
            "originProperty": "//0000000000919",
            "originalStreetno": "",
            "sourceSystem": null,
            "sourceSystemKey": null,
            "usagePurpose": null,
            "usagePurposeAlt": null,
            "usageState": null
          },
          "billingName": "PORVOON KAUPUNKI",
          "businessId": "",
          "createdBy": "keycom.user@keypro.fi",
          "createdTs": "2013-05-13T04:02:59Z",
          "email": "",
          "id": 35825101,
          "listUrl": "https://keycom.example.fi/api/v2/customers/",
          "mobilePhone": "",
          "name": "Simolin Raimo",
          "number": "35825101",
          "phone": "019 531278",
          "smsProhibited": null,
          "telefax": "",
          "type": {
            "availability_end_ts": null,
            "availability_start_ts": null,
            "available": true,
            "groupname": "KN_CUST_TYPE",
            "id": 6010,
            "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_CUST_TYPE/",
            "logical_txt": "Yksityishenkilö",
            "num_value": 1.0,
            "num_value2": null,
            "num_value3": null,
            "num_value4": null,
            "txt": "Private"
          },
          "updatedBy": "keycom.user@keypro.fi",
          "updatedTs": "2014-05-13T04:02:59Z"
        },
        "directLength": null,
        "id": 38934561,
        "identifier": "019 531278",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [
          "https://keycom.example.fi/api/v2/circuitlocations/40797670/"
        ],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_CONST_STATE",
              "id": 6050,
              "list_url": "https://keycom.example.fi/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": 41282782,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "0",
            "usagePurpose": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "USAGE",
              "id": 14890,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/USAGE/",
              "logical_txt": "16 perusliittymä",
              "num_value": 16.0,
              "num_value2": null,
              "num_value3": null,
              "num_value4": null,
              "txt": "16 perusliittymä"
            },
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6310,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Käytössä",
              "num_value": 2.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "In use"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2014-10-27"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2014-10-21",
      "description": "Yhteys lopettanut toimintansa aamulla.",
      "distance": null,
      "id": 2450,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6770,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Ilmoitettu",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Informed"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 6730,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Yhteys poikki",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Circuit disconnected"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "keycom.user@keypro.fi",
      "updatedTs": "2015-05-13T04:02:59Z"
    },
    {
      "circuit": {
        "areaCode": "",
        "contractLength": null,
        "contractNumber": "",
        "createdBy": "keycom.user@keypro.fi",
        "createdTs": "2013-05-13",
        "customer": {
          "address": {
            "address": {
              "apartments": [
                "https://keycom.example.fi/api/v2/apartments/3874/"
              ],
              "buildingId": "",
              "city": "LOVISA",
              "cityAlt": "",
              "country": "",
              "createdBy": "keycom.user@keypro.fi",
              "createdTs": "2013-05-13T04:02:59Z",
              "district": "",
              "empty": 0,
              "id": 102170,
              "listUrl": "https://keycom.example.fi/api/v2/addresses/",
              "location": null,
              "municipality": "",
              "propertyId": "",
              "province": "",
              "sourceSystem": null,
              "sourceSystemKey": null,
              "streetname": "KLAPPHUSGATAN",
              "streetnameAlt": "",
              "streetno": "4",
              "subdivision": "",
              "updatedBy": "keycom.user@keypro.fi",
              "updatedTs": "2018-01-11T06:00:20Z",
              "usagePurpose": {
                "availability_end_ts": null,
                "availability_start_ts": null,
                "available": true,
                "groupname": "BUILDING_USAGE",
                "id": 233970,
                "list_url": "https://keycom.example.fi/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": 7940
            },
            "apartmentDivision": "",
            "apartmentLetter": "",
            "apartmentNumber": "",
            "empty": 1,
            "id": 3874,
            "listUrl": "/api/v2/apartments/",
            "originProperty": "//0000000003874",
            "originalStreetno": "4",
            "sourceSystem": null,
            "sourceSystemKey": null,
            "usagePurpose": null,
            "usagePurposeAlt": null,
            "usageState": null
          },
          "addressAlt": null,
          "billingName": "",
          "businessId": "",
          "createdBy": "keycom.user@keypro.fi",
          "createdTs": "2013-05-13T04:02:59Z",
          "email": "",
          "id": 35763881,
          "listUrl": "https://keycom.example.fi/api/v2/customers/",
          "mobilePhone": "",
          "name": "Schrowe Von Hellevi",
          "number": "35763881",
          "phone": "019 509067",
          "smsProhibited": null,
          "telefax": "",
          "type": {
            "availability_end_ts": null,
            "availability_start_ts": null,
            "available": true,
            "groupname": "KN_CUST_TYPE",
            "id": 6010,
            "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_CUST_TYPE/",
            "logical_txt": "Yksityishenkilö",
            "num_value": 1.0,
            "num_value2": null,
            "num_value3": null,
            "num_value4": null,
            "txt": "Private"
          },
          "updatedBy": "keycom.user@keypro.fi",
          "updatedTs": "2014-05-13T04:02:59Z"
        },
        "directLength": null,
        "id": 38899291,
        "identifier": "019 509067",
        "identifierAlt": "",
        "importance": null,
        "installationAddresses": [
          "https://keycom.example.fi/api/v2/circuitlocations/40752610/"
        ],
        "length": null,
        "listUrl": "https://keycom.example.fi/api/v2/circuits/",
        "orderNumber": "",
        "organisation": null,
        "redundancy": null,
        "sections": [
          {
            "constructionState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_CONST_STATE",
              "id": 6050,
              "list_url": "https://keycom.example.fi/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": 41246102,
            "listUrl": "https://keycom.example.fi/api/v2/sections/",
            "name": "0",
            "usagePurpose": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "USAGE",
              "id": 14890,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/USAGE/",
              "logical_txt": "16 perusliittymä",
              "num_value": 16.0,
              "num_value2": null,
              "num_value3": null,
              "num_value4": null,
              "txt": "16 perusliittymä"
            },
            "usageState": {
              "availability_end_ts": null,
              "availability_start_ts": null,
              "available": true,
              "groupname": "KN_USAGE_STATE",
              "id": 6310,
              "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/KN_USAGE_STATE/",
              "logical_txt": "Käytössä",
              "num_value": 2.0,
              "num_value2": 1.0,
              "num_value3": null,
              "num_value4": null,
              "txt": "In use"
            }
          }
        ],
        "updatedBy": "keycom.user@keypro.fi",
        "updatedTs": "2014-10-27"
      },
      "createdBy": "keycom.user@keypro.fi",
      "createdTs": "2014-10-22",
      "description": "Hidastelee satunnainnesti.",
      "distance": null,
      "id": 2470,
      "location": null,
      "logState": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_STATE",
        "id": 6770,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_STATE/",
        "logical_txt": "Ilmoitettu",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Informed"
      },
      "logType": {
        "availability_end_ts": null,
        "availability_start_ts": null,
        "available": true,
        "groupname": "CIRCUIT_LOG_ENTRY",
        "id": 275990,
        "list_url": "https://keycom.example.fi/api/v2/txt_constants/groupname/CIRCUIT_LOG_ENTRY/",
        "logical_txt": "Yhteys hidas",
        "num_value": null,
        "num_value2": null,
        "num_value3": null,
        "num_value4": null,
        "txt": "Slow connection"
      },
      "loss": null,
      "routeLocation": null,
      "sourceSystem": null,
      "sourceSystemKey": null,
      "updatedBy": "keycom.user@keypro.fi",
      "updatedTs": "2014-11-22"
    }
  ],
  "Total": 33
}
Expand All
object
Next
string (url)

Url to next page of circuits. Null if No next page exist

Prev
string (url)

Url to previous page of circuits. Null if No previous page exist

Results
Array of object (CircuitFault)

List of fetched circuits

object
circuit
string (url)

Circuit related to circuit fault

createdBy
string

creator

createdTs
string (date-time)

Creation date and time

description
string

circuit fault detail description in text

distance
number (float)

distance to the fault location

id
integer

Primary key

location
string (ewkt)

Geographical location for circuit fault

logState
object (CircuitLogState)

Circuit fault state

availability_end_ts
string (date-time)

Ending date time for availability

availability_start_ts
string (date-time)

Beginning date time for availability

available
boolean

Is object deemed as available. Based on availability_start_ts and availability_end_ts values.

groupname

Group name of constant

Valid values[ "CIRCUIT_LOG_STATE" ]
id
integer

Unique id of constant

list_url
string (url)

Url to fetch all contants from this group

logical_txt
string

Logical textual value

num_value
number (float)

Numeric value

num_value2
number (float)

Numeric value 2

num_value3
number (float)

Numeric value 3

num_value4
number (float)

Numeric value 4

txt
string

Human readable textual representation

logType
object (CircuitLogType)

Circuit fault type

availability_end_ts
string (date-time)

Ending date time for availability

availability_start_ts
string (date-time)

Beginning date time for availability

available
boolean

Is object deemed as available. Based on availability_start_ts and availability_end_ts values.

groupname

Group name of constant

Valid values[ "CIRCUIT_LOG_ENTRY" ]
id
integer

Unique id of constant

list_url
string (url)

Url to fetch all contants from this group

logical_txt
string

Logical textual value

num_value
number (float)

Numeric value

num_value2
number (float)

Numeric value 2

num_value3
number (float)

Numeric value 3

num_value4
number (float)

Numeric value 4

txt
string

Human readable textual representation

loss
number (float)

circuit fault loss

routeLocation
string (ewkt)

Geographical location for route

sourceSystem
object (SourceSystem)

External source system

availability_end_ts
string (date-time)

Ending date time for availability

availability_start_ts
string (date-time)

Beginning date time for availability

available
boolean

Is object deemed as available. Based on availability_start_ts and availability_end_ts values.

groupname

Group name of constant

Valid values[ "SOURCE_SYSTEM" ]
id
integer

Unique id of constant

list_url
string (url)

Url to fetch all contants from this group

logical_txt
string

Logical textual value

num_value
number (float)

Numeric value

num_value2
number (float)

Numeric value 2

num_value3
number (float)

Numeric value 3

num_value4
number (float)

Numeric value 4

txt
string

Human readable textual representation

sourceSystemKey
integer

External source key

updatedBy
string

Last updater

updatedTs
string (date-time)

Last update date time

Total
integer

Total number of circuit

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error


Was this article helpful?