Create new electric conduit
  • 29 Aug 2023
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Create new electric conduit

  • Dark
    Light
  • PDF

Article summary

Post
/el_conduits/

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

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

Electric Conduit to be created

object
cables
Array of string

Electric Cables in the conduit

string
creation_date
string

Creation date and time

creator
string

creator

depth_class
integer

Electric Conduit depth class id

duct_count
integer

Electric Conduit duct count

ducts
Array of string

Electric Ducts in the conduit

string
height_accuracy
integer

Height accuracy id

id
integer

Primary key

identification
string

Identification

length
number

Electric Conduit length

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

measure
integer

Electric Conduit measure id

network_area
integer

Network area id

plan
integer

Plan id

profile_status
integer

Electric Conduit profile status id

remarks
string

Remarks. Available from product version 3.2.14.

safety_distance
integer

Safety Distance id. Available from product version 3.6.4

survey_amount
integer

unknown

type
integer Required

Electric Conduit type id

update_date
string

Last update date time

updated_by
string

Last updater

usage_state
integer Required

Electric Conduit usage state id

width
number

Electric Conduit width

Responses
201

A created Electric Conduit

{
  "cables": [],
  "creation_date": "2019-04-08T11:10:42.893072Z",
  "creator": "api@keypro.fi",
  "depth_class": null,
  "duct_count": null,
  "ducts": [],
  "height_accuracy": null,
  "id": 51420,
  "identification": "ABC",
  "length": 106.65689386087129,
  "location": "SRID=3067;LINESTRING Z (459543.7256747800274752 6702833.1888885004445910 0.0000000000000000, 459649.5589509598794393 6702819.9597289999946952 0.0000000000000000)",
  "location_accuracy": null,
  "mapper": "",
  "mapping_date": null,
  "mapping_method": null,
  "measure": 305010,
  "network_area": null,
  "plan": null,
  "profile_status": null,
  "safety_distance": 2060123445,
  "survey_amount": "",
  "type": 430,
  "update_date": "2019-04-08T11:10:42.893072Z",
  "updated_by": "api@keypro.fi",
  "usage_state": 710,
  "width": null
}
object
cables
Array of string

Electric Cables in the conduit

string
creation_date
string

Creation date and time

creator
string

creator

depth_class
integer

Electric Conduit depth class id

duct_count
integer

Electric Conduit duct count

ducts
Array of string

Electric Ducts in the conduit

string
height_accuracy
integer

Height accuracy id

id
integer

Primary key

identification
string

Identification

length
number

Electric Conduit length

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

measure
integer

Electric Conduit measure id

network_area
integer

Network area id

plan
integer

Plan id

profile_status
integer

Electric Conduit profile status id

remarks
string

Remarks. Available from product version 3.2.14.

safety_distance
integer

Safety Distance id. Available from product version 3.6.4

survey_amount
integer

unknown

type
integer

Electric Conduit type id

update_date
string

Last update date time

updated_by
string

Last updater

usage_state
integer

Electric Conduit usage state id

width
number

Electric Conduit width

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?