Create new electric manhole
  • 29 Aug 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new electric manhole

  • Dark
    Light
  • PDF

Article summary

Post
/el_manholes/

Operation is used to create new electric manhole. Available from product version 3.2.2.

Security
API Key
Header parameter nameAuthorization
Token issued for API consumer.
Body parameters

Electric Manhole to be created

object
address
integer

Apartment address id

creation_date
string

Creation date and time

creator
string

creator

height_accuracy
integer

Height accuracy id

id
integer

Primary key

identification
string Required

Identification

installation_year
integer

Installation year

location
string

Geographical location

location_accuracy
integer

Location accuracy id

mapper
string

mapper name

mapping_date
string

mapping date

mapping_method
integer

Mapping method id

network_area
integer

Network area id

owner
integer

Owner id

plan
integer

Plan id

remarks
string

Remarks. Available from product version 3.2.14.

rent_paid
boolean

Is rent paid or not

renter
integer

Renter id

safety_distance
integer

Safety Distance id. Available from product version 3.6.4

survey_amount
integer

unknown

type
integer Required

Type id

update_date
string

Last update date time

updated_by
string

Last updater

usage_state
integer Required

Usage state id

Responses
201

A created Electric Manhole

{
  "address": null,
  "creation_date": "2019-05-06T10:34:04.659654Z",
  "creator": "api@keypro.fi",
  "height_accuracy": null,
  "id": 89081,
  "identification": "ABC",
  "installation_year": null,
  "location": null,
  "location_accuracy": null,
  "mapper": "",
  "mapping_date": null,
  "mapping_method": null,
  "network_area": null,
  "owner": null,
  "plan": null,
  "rent_paid": null,
  "renter": null,
  "safety_distance": 2060123445,
  "survey_amount": "",
  "type": 302310,
  "update_date": "2019-05-06T10:34:04.659654Z",
  "updated_by": "api@keypro.fi",
  "usage_state": 610
}
object
address
integer

Apartment address id

creation_date
string

Creation date and time

creator
string

creator

height_accuracy
integer

Height accuracy id

id
integer

Primary key

identification
string

Identification

installation_year
integer

Installation year

location
string

Geographical location

location_accuracy
integer

Location accuracy id

mapper
string

mapper name

mapping_date
string

mapping date

mapping_method
integer

Mapping method id

network_area
integer

Network area id

owner
integer

Owner id

plan
integer

Plan id

remarks
string

Remarks. Available from product version 3.2.14.

rent_paid
boolean

Is rent paid or not

renter
integer

Renter id

safety_distance
integer

Safety Distance id. Available from product version 3.6.4

survey_amount
integer

unknown

type
integer

Type id

update_date
string

Last update date time

updated_by
string

Last updater

usage_state
integer

Usage state id

400

There was an error in request. Usually field validation failed.

{
  "type": [
    "This field is required."
  ],
  "usage_state": [
    "This field is required."
  ]
}
object

Fields which failed validation

401

Authentication credentials are missing or invalid

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

Detailed description of error


Was this article helpful?