Update electric duct partially
  • 29 Aug 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update electric duct partially

  • Dark
    Light
  • PDF

Article summary

Patch
/el_ducts/{id}/

Operation is used to update specific fields in existing electric duct. Available from product version 3.2.2.

Security
API Key
Header parameter nameAuthorization
Token issued for API consumer.
Path parameters
id
integer Required

Id of electric duct to update

Body parameters

Electric Duct attributes and values to be updated

object
cables
Array of string

Electric Cables in the duct

string
conduit
Array of string

Electric Conduit the duct is in

string
id
integer

Primary key

identification
string

Identification

installation_year
integer

Installation year

owner
integer

Electric Duct owner id

plan
integer

Plan id

remarks
string

Remarks. Available from product version 3.2.14.

renter
integer

Electric Duct renter id

type
integer Required

Electric Duct type id

usage_state
integer Required

Electric Duct usage state id

Responses
200

Object was updated successfully

object
cables
Array of string

Electric Cables in the duct

string
conduit
Array of string

Electric Conduit the duct is in

string
id
integer

Primary key

identification
string

Identification

installation_year
integer

Installation year

owner
integer

Electric Duct owner id

plan
integer

Plan id

remarks
string

Remarks. Available from product version 3.2.14.

renter
integer

Electric Duct renter id

type
integer

Electric Duct type id

usage_state
integer

Electric Duct usage state 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?