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

Update Gas Meter Reading data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/gas-meter-reading/{id}/

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

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Gas Meter Reading to update

Body parameters

Gas Meter Reading attributes and values to be updated

object

Gas meter reading object. Flat version for patch and post methods

GasMeter_id
integer

Gas meter id

id
integer

Primary key

modifier_q
integer

Parameter use for computing gas consumption

modifier_qntp
integer

Parameter use for computing gas consumption

reading
number (float)

Gas meter reading

reading_date
string (date) Required

Reading date

save_date
string (date)

Save date

save_user
string

Save user

Responses
200

Object was updated successfully

object

Gas meter reading object. Flat version for patch and post methods

GasMeter_id
integer

Gas meter id

id
integer

Primary key

modifier_q
integer

Parameter use for computing gas consumption

modifier_qntp
integer

Parameter use for computing gas consumption

reading
number (float)

Gas meter reading

reading_date
string (date)

Reading date

save_date
string (date)

Save date

save_user
string

Save user

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?