Update Gas Cable data partially
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update Gas Cable data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/gas-cable/{id}/

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

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Gas Cable to update

Body parameters

Gas Cable attributes and values to be updated

object

Gas cable object. Flat version for patch and post methods

CableType
integer Required

Gas cable type id

Contractor
integer

Contractor id

InstallationType
integer Required

Installation type id

Measure
integer

Measure id

NetType
integer

Network type id

Owner
integer Required

Owner id

Plan
integer

Plan id

Renter
integer

Renter id

State
integer Required

Usage state id

accuracy_id
integer

Accuracy id

created_by
string

Name of the user created the cable

created_ts
string (date-time)

Date created

false_cable
integer

False cable

h_accuracy_id
integer

Height accuracy id

history_date
string (date)

History date

identification
string

Identification

install_date
string (date)

Install date

install_year
integer

Install year

length
number (float)

Cable length

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

mapid
integer

Map id

mapper
string

Mapper

mapping_method_id
integer

Mapping method id

mslink
integer

Primary key

note
string

Additional details

survey_amaunt
integer

Survey amount

t_area_id
integer

Gas division id

updated_by
string

Name of the user updated the cable

updated_ts
string (date-time)

Date updated

Responses
200

Object was updated successfully

object

Gas cable object. Flat version for patch and post methods

CableType
integer

Gas cable type id

Contractor
integer

Contractor id

InstallationType
integer

Installation type id

Measure
integer

Measure id

NetType
integer

Network type id

Owner
integer

Owner id

Plan
integer

Plan id

Renter
integer

Renter id

State
integer

Usage state id

accuracy_id
integer

Accuracy id

created_by
string

Name of the user created the cable

created_ts
string (date-time)

Date created

false_cable
integer

False cable

h_accuracy_id
integer

Height accuracy id

history_date
string (date)

History date

identification
string

Identification

install_date
string (date)

Install date

install_year
integer

Install year

length
number (float)

Cable length

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

mapid
integer

Map id

mapper
string

Mapper

mapping_method_id
integer

Mapping method id

mslink
integer

Primary key

note
string

Additional details

survey_amaunt
integer

Survey amount

t_area_id
integer

Gas division id

updated_by
string

Name of the user updated the cable

updated_ts
string (date-time)

Date updated

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?