Update Gas Valve data partially
  • 17 Jan 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Update Gas Valve data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/gas-valve/{id}/

Operation is used to update specific fields in existing Gas Valve data.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Gas Valve to update

Body parameters

Gas Valve attributes and values to be updated

Gas valve object. Flat version for patch and post methods

Plan
integer

Plan id

angle
string (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

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 Required

Keygas valve model id

mslink
integer

Primary key

node_type
string Required

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
string (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 Required

Gas valve type id

z_coord1
string (float)

Lid elevation

z_coord2
string (float)

Bottom elevation

Responses
200

Object was updated successfully

Gas valve object. Flat version for patch and post methods

Plan
integer

Plan id

angle
string (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
string (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
string (float)

Lid elevation

z_coord2
string (float)

Bottom elevation

401

Authentication credentials are missing or invalid

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

Detailed description of error

404

Object was not found

{
  "details": "Not found."
}
object
details
string

Detailed description of error


Was this article helpful?