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

Update Gas Meter data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/gas_meters/{id}/

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

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Gas Meter to update

Body parameters

Gas Meter attributes and values to be updated

object

Gas meter object. Flat version for patch and post methods

Consumer_id
integer

Consumer Point Id

Gas_meter_duct_size
integer

SnConstant with group name GAS_DUCT_SIZE

Gas_meter_model
integer

SnConstant with group name GAS_METER_MODEL

Gas_modifier_model
integer

SnConstant with group name GAS_MOD_METER_MODEL

Gas_smart_meter_model
integer

SnConstant with group name GAS_S_METER_MODEL

gas_data_number
string

Gas data number

gas_modifier_install_date
string (date)

Gas modifier installation date

gas_modifier_serial_number
string

Gas modifier serial number

id
integer

Primary key

install_date
string (date)

Install date

meter_location
string

Meter location

serial_number
string

Serial number

smart_meter_install_date
string (date)

Smart meter installation date

smart_meter_serial_number
string

Smart meter serial number

Responses
200

Object was updated successfully

object

Gas meter object. Flat version for patch and post methods

Consumer_id
integer

Consumer Point Id

Gas_meter_duct_size
integer

SnConstant with group name GAS_DUCT_SIZE

Gas_meter_model
integer

SnConstant with group name GAS_METER_MODEL

Gas_modifier_model
integer

SnConstant with group name GAS_MOD_METER_MODEL

Gas_smart_meter_model
integer

SnConstant with group name GAS_S_METER_MODEL

gas_data_number
string

Gas data number

gas_modifier_install_date
string (date)

Gas modifier installation date

gas_modifier_serial_number
string

Gas modifier serial number

id
integer

Primary key

install_date
string (date)

Install date

meter_location
string

Meter location

serial_number
string

Serial number

smart_meter_install_date
string (date)

Smart meter installation date

smart_meter_serial_number
string

Smart meter serial number

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?