Create new Dh Manhole
  • 17 Jan 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Create new Dh Manhole

  • Dark
    Light
  • PDF

Article summary

Post
/dh-manhole/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Dh Manhole to be created

object

DhManhole

Addres
integer

Apartment id

Plan
integer

Plan id

accuracy_id
integer

Accuracy id

angle
number (float)

Angle

connection_url
string

Connection url

created_by
string

Created by

created_ts
string (date-time)

Date created

deleted
boolean

If deleted or not

dn_size_id
integer

Manhole size id

electricity
boolean

If electricity or not

foamed
boolean

If foamed or not

h_accuracy_id
integer

Height accuracy id

history_date
string (date)

History date

hmit
number (float)

HMIT

id
integer

Primary key

install_year
integer

Install year

lbl_angle_exp
string

Export label angle

lbl_color_exp
string

Export label color

lbl_size_exp
string

Export size color

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

manhole_id
string

Manhole identification

manhole_name
string

Manhole name

mapper
string

Mapper

mapping_method_id
integer

Mapping method id

net_type_id
integer

Network type id

network_id
integer Required

Network id

note
string

Additional details

owner_id
integer Required

Owner id

pump
boolean

If pump or not

pump_id
integer

Pump id

pumped_water_amount
integer

Amount of pumped water

remote_moisture_control
boolean

If remote moisture control or not

remote_usage_mh
boolean

If manhole remote usage or not

rent_paid
integer

Rent paid

rotation
integer

location

scale
number (float)

Scale

sewer
boolean

If sewer connection or not

state_id
integer Required

State id

survey_amount
string

Survey amount

sym_angle_exp
string

Export symbol angle

sym_code_gt
string

Symbol code

sym_color_exp
string

Export symbol color

sym_name_exp
string

Export symbol name

sym_size_exp
string

Export symbol size

sym_text_exp
string

Export symbol text

sym_width_exp
string

Export symbol width

t_area_id
integer

Area id

type_id
integer Required

Type id

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

url
string

Url

z_coord1
number (float)

Lid elevation

z_coord1_estimated
boolean

If lid elevation estimated or not

z_coord2
number (float)

Bottom elevation

z_coord2_estimated
boolean

If bottom elevation estimated or not

Responses
201

A newly created Dh Manhole

{
  "install_year": [
    "2021"
  ],
  "mslink": [
    "123456"
  ],
  "network_id": [
    "20178002"
  ],
  "owner_id": [
    "8740"
  ],
  "state_id": [
    "290"
  ],
  "type_id": [
    "5361"
  ]
}
object

DhManhole

Addres
integer

Apartment id

Plan
integer

Plan id

accuracy_id
integer

Accuracy id

angle
number (float)

Angle

connection_url
string

Connection url

created_by
string

Created by

created_ts
string (date-time)

Date created

deleted
boolean

If deleted or not

dn_size_id
integer

Manhole size id

electricity
boolean

If electricity or not

foamed
boolean

If foamed or not

h_accuracy_id
integer

Height accuracy id

history_date
string (date)

History date

hmit
number (float)

HMIT

id
integer

Primary key

install_year
integer

Install year

lbl_angle_exp
string

Export label angle

lbl_color_exp
string

Export label color

lbl_size_exp
string

Export size color

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

manhole_id
string

Manhole identification

manhole_name
string

Manhole name

mapper
string

Mapper

mapping_method_id
integer

Mapping method id

net_type_id
integer

Network type id

network_id
integer

Network id

note
string

Additional details

owner_id
integer

Owner id

pump
boolean

If pump or not

pump_id
integer

Pump id

pumped_water_amount
integer

Amount of pumped water

remote_moisture_control
boolean

If remote moisture control or not

remote_usage_mh
boolean

If manhole remote usage or not

rent_paid
integer

Rent paid

rotation
integer

location

scale
number (float)

Scale

sewer
boolean

If sewer connection or not

state_id
integer

State id

survey_amount
string

Survey amount

sym_angle_exp
string

Export symbol angle

sym_code_gt
string

Symbol code

sym_color_exp
string

Export symbol color

sym_name_exp
string

Export symbol name

sym_size_exp
string

Export symbol size

sym_text_exp
string

Export symbol text

sym_width_exp
string

Export symbol width

t_area_id
integer

Area id

type_id
integer

Type id

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

url
string

Url

z_coord1
number (float)

Lid elevation

z_coord1_estimated
boolean

If lid elevation estimated or not

z_coord2
number (float)

Bottom elevation

z_coord2_estimated
boolean

If bottom elevation estimated or not

400

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

{
  "network_id": [
    "This field is required."
  ],
  "owner_id": [
    "This field is required."
  ],
  "state_id": [
    "This field is required."
  ],
  "type_id": [
    "This field is required."
  ]
}

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?