Update Water Hydrant data partially
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update Water Hydrant data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/water-hydrant/{id}/

Operation is used to update specific fields in existing Water Hydrant data.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Water Hydrant to update

Body parameters

Water Hydrant attributes and values to be updated

object

Water hydrant object. Flat version for patch and post methods

address
string

Address

id
integer

Primary key

key_type_id
integer

Key type id

manufacturer
string

Manufacturer

manufacturer_id
integer

Manufacturer id

node
integer Required

Water node id

Responses
200

Object was updated successfully

object

Water hydrant object. Flat version for patch and post methods

address
string

Address

id
integer

Primary key

key_type_id
integer

Key type id

manufacturer
string

Manufacturer

manufacturer_id
integer

Manufacturer id

node
integer

Water node 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?