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

Create new Dh Valve

  • Dark
    Light
  • PDF

Article summary

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

Token issued for API consumer.

Body parameters

Dh Valve to be created

object
Address
integer

Apartment id

Plan
integer

Plan id

accuracy_id
integer

Accuracy id

angle
number (float)

Angle

created_by
string

Created by

created_ts
string (date-time)

Date created

diameter
integer

Integer

dn_size_id
integer

Manhole size id

h_accuracy_id
integer

Height accuracy id

history_date
string (date)

Mapping date

install_year
integer

Install year

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

manhole_id
integer

Manhole id

manufacturer_id
integer

Manufacturer id

mapper
string

Mapper

mapping_method_id
integer

Mapping method id

model_id
integer Required

Model id

mslink
integer

Primary key

net_type_id
integer

Network type id

network_id
integer Required

Network id

note
string

Additional details

open_state
integer

Open state id

owner_id
integer Required

Owner id

rotation
integer

Rotation

scale
number (float)

Scale

state_id
integer Required

Usage state id

survey_amount
string

Survey amount

t_area_id
integer

Area id

type_id
integer Required

Type id

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

valve_diameter
integer

Valve diameter

valve_id
string

Identification

z_coord1
number (float)

Lid elevation

z_coord1_estimated
boolean

If lid elevation estimated or not

Responses
201

A newly created Dh Valve

{
  "accuracy_id": [
    "3881"
  ],
  "diameter": [
    "250"
  ],
  "dn_size_id": [
    "20178003"
  ],
  "h_accuracy_id": [
    "2000378"
  ],
  "install_year": [
    "2021"
  ],
  "location_accuracy": [
    "2000354"
  ],
  "manhole_id": [
    "2003422"
  ],
  "manufacturer_id": [
    "9050"
  ],
  "mapping_method_id": [
    "2000350"
  ],
  "model_id": [
    "9010"
  ],
  "net_type_id": [
    "840"
  ],
  "network_id": [
    "20178001"
  ],
  "note": [
    "this is a test additional detail"
  ],
  "open_state": [
    "2000513"
  ],
  "owner_id": [
    "8770"
  ],
  "rotation": [
    "180"
  ],
  "state_id": [
    "2130"
  ],
  "type_id": [
    "2010"
  ],
  "valve_id": [
    "test12345"
  ]
}
object
Address
integer

Apartment id

Plan
integer

Plan id

accuracy_id
integer

Accuracy id

angle
number (float)

Angle

created_by
string

Created by

created_ts
string (date-time)

Date created

diameter
integer

Integer

dn_size_id
integer

Manhole size id

h_accuracy_id
integer

Height accuracy id

history_date
string (date)

Mapping date

install_year
integer

Install year

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

manhole_id
integer

Manhole id

manufacturer_id
integer

Manufacturer id

mapper
string

Mapper

mapping_method_id
integer

Mapping method id

model_id
integer

Model id

mslink
integer

Primary key

net_type_id
integer

Network type id

network_id
integer

Network id

note
string

Additional details

open_state
integer

Open state id

owner_id
integer

Owner id

rotation
integer

Rotation

scale
number (float)

Scale

state_id
integer

Usage state id

survey_amount
string

Survey amount

t_area_id
integer

Area id

type_id
integer

Type id

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

valve_diameter
integer

Valve diameter

valve_id
string

Identification

z_coord1
number (float)

Lid elevation

z_coord1_estimated
boolean

If lid elevation estimated or not

400

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

{
  "model_id": [
    "This field is required."
  ],
  "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?