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

Update Water Branch data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/water-branch/{id}/

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

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Water Branch to update

Body parameters

Water Branch attributes and values to be updated

object

Water branch object. Flat version for patch and post methods

id
integer

Primary key

material_type
integer

Material type id

node
integer Required

Water node id

size
string

Branch size

type_id
integer Required

Branch type id

Responses
200

Object was updated successfully

object

Water branch object. Flat version for patch and post methods

id
integer

Primary key

material_type
integer

Material type id

node
integer

Water node id

size
string

Branch size

type_id
integer

Branch type 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?