Update streetlight partially

Prev Next
Patch
/el_streetlights/{id}/

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

Security
API Key: Token
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Streetlight to update

Body parameters

Streetlight attributes and values to be updated

object
additional_information
string

Additional information about warranty fix details. Available from product version 2025.3.

capacitor
integer

Streetlight capacitor type id

capacitor_change_date
string (date-time)

Streetlight capacitor date

choker
integer

Streetlight choker type id

color
integer

Streetlight color type id

color_rendering_index
integer

Streetlight color rendering index. Available from product version 3.2.20.

color_temperature
integer

Streetlight color temperature type id

contractor
integer

Streetlight contractor id

control_device
integer

Streetlight control device type id. Available from product version 3.2.20.

control_profile
integer

Streetlight control profile type id. Available from product version 3.2.20.

cope
integer

Streetlight cope type id

cope_change_date
string (date-time)

Streetlight cope change date

group_change_date
string (date-time)

Streetlight group change date

group_cleaning_date
string (date-time)

Streetlight group cleaning date

height_accuracy
integer

Height accuracy id

ik_class
integer

Streetlight IK class type id. Available from product version 3.2.20.

installation_date
string (date)

Installation date

installation_height
number (float)

Installation height

installation_type
integer

Streetlight installation type id

installation_year
integer

Installation year

ip_class
integer

Streetlight IP class type id. Available from product version 3.2.20.

lamp_change_date
string (date-time)

Streetlight lamp change date

lamp_count
integer

Lamp count

lamp_dimmer
integer

Streetlight lamp dimmer type id

lamp_dimmer_change_date
string (date-time)

Streetlight lamp dimmer change date

lamp_dimming_class
integer

Streetlight lamp dimming class id

lamp_lighter
integer

Streetlight lamp lighter type id

lamp_lighter_change_date
string (date-time)

Streetlight lamp lighter checkout date

lamp_manufacturer
integer

Streetlight lamp manufacturer id

lamp_model
integer

Streetlight lamp model id

lamp_position
string

Lamp position

lamp_power
integer Required

Streetlight lamp power type id. Required field from product version 3.2.22

lamp_shade
integer

Streetlight lamp shade type id

lamp_socket
integer

Streetlight lamp socket type id

lamp_type
integer Required

Streetlight lamp type id

lamp_usage_class
integer

Streetlight lamp usage class id

lamp_warranty_exp_date
string (date-time)

Streetlight lamp warranty expiration date

lamp_warranty_period
integer

Lamp warranty period length

lantern_angle
integer

Available from product version 3.2.22

latest_warranty_fix_date
string (date)

Latest warranty fix date. Available from product version 2025.3.

light_change_date
string (date-time)

Streetlight change date

light_checkout_date
string (date-time)

Streetlight checkout date

light_condition
integer

Streetlight condition id

light_connection
integer

Streetlight connection type id

light_connection_change_date
string (date-time)

Streetlight connection change date

light_distribution
integer

Streetlight distribution type id

light_manufacturer
integer

Streetlight manufacturer id

light_power
integer

Streetlight light power type id

light_specifier
integer

Streetlight specifier type id

light_warranty_exp_date
string (date-time)

Streetlight warranty expiration date

light_warranty_period
integer

Streetlight warranty period length

lightning_class
integer

Streetlight lightning class id

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

luminaire_angle
integer

Available from product version 3.2.22

luminous_flux
integer

Luminous flux

mapper
string

mapper name

mapping_date
string (date-time)

mapping date

mapping_method
integer

Mapping method id

network_area
integer

Network area id

next_group_change_date
string (date-time)

Streetlight group next change date

next_group_cleaning_date
string (date-time)

Streetlight group next cleaning date

owner
integer

Owner id

plan
integer

Plan id

pole
integer

Streetlight pole id

protection
integer

Streetlight protection type id. Available from product version 3.2.20.

purlin_angle
number (float)

purlin angle

purlin_change_date
string (date-time)

Streetlight purlin date

purlin_diameter
number (float)

Purlin diameter

purlin_holder
integer

Streetlight purlin holder type id

purlin_material
integer

Streetlight purlin material id

purlin_phase
integer

Streetlight connection phase type id

purlin_saving
boolean

purlin phase saving enabled

purlin_surface
integer

Streetlight purlin surface type id

purlin_type
integer

Streetlight purlin type id

reflector_position
string

Reflector position

renter
integer

Renter id

riser
integer

Streetlight riser cable type id

riser_change_date
string (date-time)

Streetlight riser change date

survey_amount
integer

unknown

usage_state
integer Required

Usage state id

warranty_fix_type
integer

Warranty fix type id. Available from product version 2025.3.

Responses
200

Object was updated successfully

object
additional_information
string

Additional information about warranty fix details. Available from product version 2025.3.

capacitor
integer

Streetlight capacitor type id

capacitor_change_date
string (date-time)

Streetlight capacitor date

choker
integer

Streetlight choker type id

color
integer

Streetlight color type id

color_rendering_index
integer

Streetlight color rendering index. Available from product version 3.2.20.

color_temperature
integer

Streetlight color temperature type id

contractor
integer

Streetlight contractor id

control_device
integer

Streetlight control device type id. Available from product version 3.2.20.

control_profile
integer

Streetlight control profile type id. Available from product version 3.2.20.

cope
integer

Streetlight cope type id

cope_change_date
string (date-time)

Streetlight cope change date

creation_date
string (date-time)

creation date and time

creator
string

object creator

group_change_date
string (date-time)

Streetlight group change date

group_cleaning_date
string (date-time)

Streetlight group cleaning date

height_accuracy
integer

Height accuracy id

id
integer

Primary key

ik_class
integer

Streetlight IK class type id. Available from product version 3.2.20.

installation_date
string (date)

Installation date

installation_height
number (float)

Installation height

installation_type
integer

Streetlight installation type id

installation_year
integer

Installation year

ip_class
integer

Streetlight IP class type id. Available from product version 3.2.20.

lamp_change_date
string (date-time)

Streetlight lamp change date

lamp_count
integer

Lamp count

lamp_dimmer
integer

Streetlight lamp dimmer type id

lamp_dimmer_change_date
string (date-time)

Streetlight lamp dimmer change date

lamp_dimming_class
integer

Streetlight lamp dimming class id

lamp_lighter
integer

Streetlight lamp lighter type id

lamp_lighter_change_date
string (date-time)

Streetlight lamp lighter checkout date

lamp_manufacturer
integer

Streetlight lamp manufacturer id

lamp_model
integer

Streetlight lamp model id

lamp_position
string

Lamp position

lamp_power
integer

Streetlight lamp power type id. Required field from product version 3.2.22

lamp_shade
integer

Streetlight lamp shade type id

lamp_socket
integer

Streetlight lamp socket type id

lamp_type
integer

Streetlight lamp type id

lamp_usage_class
integer

Streetlight lamp usage class id

lamp_warranty_exp_date
string (date-time)

Streetlight lamp warranty expiration date

lamp_warranty_period
integer

Lamp warranty period length

lantern_angle
integer

Available from product version 3.2.22

latest_warranty_fix_date
string (date)

Latest warranty fix date. Available from product version 2025.3.

light_change_date
string (date-time)

Streetlight change date

light_checkout_date
string (date-time)

Streetlight checkout date

light_condition
integer

Streetlight condition id

light_connection
integer

Streetlight connection type id

light_connection_change_date
string (date-time)

Streetlight connection change date

light_distribution
integer

Streetlight distribution type id

light_manufacturer
integer

Streetlight manufacturer id

light_power
integer

Streetlight light power type id

light_specifier
integer

Streetlight specifier type id

light_warranty_exp_date
string (date-time)

Streetlight warranty expiration date

light_warranty_period
integer

Streetlight warranty period length

lightning_class
integer

Streetlight lightning class id

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

luminaire_angle
integer

Available from product version 3.2.22

luminous_flux
integer

Luminous flux

mapper
string

mapper name

mapping_date
string (date-time)

mapping date

mapping_method
integer

Mapping method id

network_area
integer

Network area id

next_group_change_date
string (date-time)

Streetlight group next change date

next_group_cleaning_date
string (date-time)

Streetlight group next cleaning date

owner
integer

Owner id

plan
integer

Plan id

pole
integer

Streetlight pole id

protection
integer

Streetlight protection type id. Available from product version 3.2.20.

purlin_angle
number (float)

purlin angle

purlin_change_date
string (date-time)

Streetlight purlin date

purlin_diameter
number (float)

Purlin diameter

purlin_holder
integer

Streetlight purlin holder type id

purlin_material
integer

Streetlight purlin material id

purlin_phase
integer

Streetlight connection phase type id

purlin_saving
boolean

purlin phase saving enabled

purlin_surface
integer

Streetlight purlin surface type id

purlin_type
integer

Streetlight purlin type id

reflector_position
string

Reflector position

renter
integer

Renter id

riser
integer

Streetlight riser cable type id

riser_change_date
string (date-time)

Streetlight riser change date

survey_amount
integer

unknown

update_date
string (date-time)

last update date time

updated_by
string

object last updater

usage_state
integer

Usage state id

warranty_fix_type
integer

Warranty fix type id. Available from product version 2025.3.

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