Update Dh Duct data partially
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update Dh Duct data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/dh-duct/{id}/

Operation is used to update specific fields in existing Dh Duct data.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Dh Duct to update

Body parameters

Dh Duct attributes and values to be updated

object

Dh duct object. Flat version for patch and post methods

hole
integer

Hole

identification
string

Identification

install_year
integer

Install year

mslink
integer

Primary key

n_subducts
integer

Number of subducts

owner
integer

Owner id

rent_paid
integer

Rent paid

role
integer

Role id

state
integer

Usage state id

type
integer Required

Duct type id

Responses
200

Object was updated successfully

object

Dh duct object. Flat version for patch and post methods

hole
integer

Hole

identification
string

Identification

install_year
integer

Install year

mslink
integer

Primary key

n_subducts
integer

Number of subducts

owner
integer

Owner id

rent_paid
integer

Rent paid

role
integer

Role id

state
integer

Usage state id

type
integer

Duct 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?