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

Update Water Measuring Point data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/water-measuring-point/{id}/

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

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Water Measuring Point to update

Body parameters

Water Measuring Point attributes and values to be updated

Water measuring point object. Flat version for patch and post methods

accuracy
string

Water measuring point accuracy

address
string

Water measuring point address

id
integer

Primary key

node
integer Required

Water node id

pnt_size
string

Point size

scale_wmp
string

Water measuring point scale

Responses
200

Object was updated successfully

Water measuring point object. Flat version for patch and post methods

accuracy
string

Water measuring point accuracy

address
string

Water measuring point address

id
integer

Primary key

node
integer

Water node id

pnt_size
string

Point size

scale_wmp
string

Water measuring point scale

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?