Create new Gas Mahole
  • 17 Jan 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Create new Gas Mahole

  • Dark
    Light
  • PDF

Article summary

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

Token issued for API consumer.

Body parameters

Gas Mahole to be created

object
Plan
integer

Plan id

angle
number (float)

Point rotation

build_year
integer

Build year

condition_class_id
integer

Keygas manhole condition class id

created_by
string

Username of the user created the node

created_ts
string (date)

Date created

feature
string Required

Feature

h_accuracy_id
integer

Height accuracy id

history_date
string (date)

History date

identification
string

Identification

install_year
integer

Install year

lbl_angle_exp
string

Export label angle

lbl_color_exp
string

Export label color

lbl_size_exp
string

Export label size

lid_type
integer Required

Keygas Lid type id

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

manhole
integer Required

Keygas manhole type id

manhole_type_id
integer Required

Manhole type id

mapper
string

Mapper

mapping_method
integer

Mapping method id

model_id
integer

Keygas valve model id

mslink
integer

Primary key

node_type
string

Node type

note
string

Additional details

open_state
integer

Keygas valve open state id

owner_id
integer Required

Owner Id

plan_date
string (date)

Plan date

plan_number
string

Plan number

removal_year
integer

Removal year

scale
number (float)

Point scale

state_id
integer Required

Keygas node usage state id

survey_amaunt
integer

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

Keygas division id

updated_by
string

Username of the user updated the node

updated_ts
string (date)

Date updated

valve
integer

Keygas Valve id

valve_type
integer

Gas valve type id

z_coord1
number (float)

Lid elevation

z_coord2
number (float)

Bottom elevation

Responses
201

A created Gas Mahole

{
  "feature": [
    "1234"
  ],
  "id": [
    "123"
  ],
  "identification": [
    "TestId"
  ],
  "node_type": [
    "Manhole"
  ]
}
object
Plan
integer

Plan id

angle
number (float)

Point rotation

build_year
integer

Build year

condition_class_id
integer

Keygas manhole condition class id

created_by
string

Username of the user created the node

created_ts
string (date)

Date created

feature
string

Feature

h_accuracy_id
integer

Height accuracy id

history_date
string (date)

History date

identification
string

Identification

install_year
integer

Install year

lbl_angle_exp
string

Export label angle

lbl_color_exp
string

Export label color

lbl_size_exp
string

Export label size

lid_type
integer

Keygas Lid type id

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

manhole
integer

Keygas manhole type id

manhole_type_id
integer

Manhole type id

mapper
string

Mapper

mapping_method
integer

Mapping method id

model_id
integer

Keygas valve model id

mslink
integer

Primary key

node_type
string

Node type

note
string

Additional details

open_state
integer

Keygas valve open state id

owner_id
integer

Owner Id

plan_date
string (date)

Plan date

plan_number
string

Plan number

removal_year
integer

Removal year

scale
number (float)

Point scale

state_id
integer

Keygas node usage state id

survey_amaunt
integer

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

Keygas division id

updated_by
string

Username of the user updated the node

updated_ts
string (date)

Date updated

valve
integer

Keygas Valve id

valve_type
integer

Gas valve type id

z_coord1
number (float)

Lid elevation

z_coord2
number (float)

Bottom elevation

400

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

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