Update Keygas Duct data partially
  • 17 Jan 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Update Keygas Duct data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/keygas-duct/{id}/

Operation is used to update specific fields in existing Keygas Duct data.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Keygas Duct to update

Body parameters

Keygas Duct attributes and values to be updated

object
Plan
integer

Plan id

accuracy_id
integer

TxtConstant with group name LOCATION_ACCURACY

begin_node_id
integer

Start node id

begin_z_coord
string (float)

Start z coordinate

build_year
integer

Build year

created_by
string

Name of the user created the cable

created_ts
string (date-time)

Date created

duct_type
integer

Duct type id

end_node_id
integer

End node id

end_z_coord
string (float)

End z coordinate

feature
string

feature

h_accuracy_id
integer

TxtConstant with group name H_ACCURACY

history_date
string (date)

History date

identification
string

Identification

lbl_angle_exp
string

Export label angle

lbl_color_exp
string

Export label color

lbl_size_exp
string

Export size color

length
number (float)

Cable length

location
string (ewkt)

Geographical location

location_accuracy
integer

TxtConstant with group name LOCATION_ACCURACY

location_id
integer Required

SnConstant with group name DUCT_LOCATION

mapper
string

Mapper

mapping_method_id
integer

TxtConstant with group name MAPPING_METHOD

mslink
integer

Primary key

note
string

Additional details

owner_id
integer Required

SnConstant with group name DUCT_OWNER

plan_number
string

Plan number

removal_date
string (date)

Removal date

state_id
integer Required

SnConstant with group name DUCT_STATE

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_text_exp
string

Export symbol text

sym_width_exp
string

Export symbol width

t_area_id
integer

Gas division id

type
integer

Keygas duct type id

updated_by
string

Name of the user updated the cable

updated_ts
string (date-time)

Date updated

user_id
string

User ID

Responses
200

Object was updated successfully

object
Plan
integer

Plan id

accuracy_id
integer

TxtConstant with group name LOCATION_ACCURACY

begin_node_id
integer

Start node id

begin_z_coord
string (float)

Start z coordinate

build_year
integer

Build year

created_by
string

Name of the user created the cable

created_ts
string (date-time)

Date created

duct_type
integer

Duct type id

end_node_id
integer

End node id

end_z_coord
string (float)

End z coordinate

feature
string

feature

h_accuracy_id
integer

TxtConstant with group name H_ACCURACY

history_date
string (date)

History date

identification
string

Identification

lbl_angle_exp
string

Export label angle

lbl_color_exp
string

Export label color

lbl_size_exp
string

Export size color

length
number (float)

Cable length

location
string (ewkt)

Geographical location

location_accuracy
integer

TxtConstant with group name LOCATION_ACCURACY

location_id
integer

SnConstant with group name DUCT_LOCATION

mapper
string

Mapper

mapping_method_id
integer

TxtConstant with group name MAPPING_METHOD

mslink
integer

Primary key

note
string

Additional details

owner_id
integer

SnConstant with group name DUCT_OWNER

plan_number
string

Plan number

removal_date
string (date)

Removal date

state_id
integer

SnConstant with group name DUCT_STATE

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_text_exp
string

Export symbol text

sym_width_exp
string

Export symbol width

t_area_id
integer

Gas division id

type
integer

Keygas duct type id

updated_by
string

Name of the user updated the cable

updated_ts
string (date-time)

Date updated

user_id
string

User ID

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?