Update Electric premises partially

Prev Next
Patch
/el_premises/{id}/

Operation is used to update specific fields in existing Electric premises. 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 Electric premises to update

Body parameters

Electric Premises attributes and values to be updated

object
address
integer

Apartment address id

capacity
integer

capacity

connection
integer

Electric Premises Connection id

contractor
integer

Electric Premises Contractor id

deployment_date
string (date-time)

deployment date

ground
integer

Electric Premises Ground id

group_fuse
Array of string

Group of fuses

string (url)
guidance_address
integer

Unique Electric Premises guidance address id

guiding_type
integer

Electric Premises guiding type id

height_accuracy
integer

Height accuracy id

identification
string Required

Identification

installation_date
string (date)

Installation date

installation_location
integer

Installation location

installation_year
integer

Installation year

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

main_fuse
integer

Electric Premises Main fuse type id

manufacturer
integer

Electric Premises Manufacturer id

mapper
string

mapper name

mapping_date
string (date-time)

mapping date

mapping_method
integer

Mapping method id

network_area
integer

Network area id

owner
integer

Premises Owner id

plan
integer

Plan id

remarks
string

Remarks. Available from product version 3.2.14.

renter
integer

Premises Renter id

safety_distance
integer

Safety Distance id. Available from product version 3.6.4

shade
integer

Electric Premises Shade id

supplier
integer

Electric Premises Supplier id

surface
integer

Electric Premises Surface type id

surge_install_date
string (date)

Surge protector installation date. Available from product version 3.2.22

surge_protector
integer

Electric Surge Protector id. Available from product version 3.2.22

survey_amount
integer

unknown

type
integer Required

Electric Premises type id

usage_state
integer Required

Usage state id

Responses
200

Object was updated successfully

object
address
integer

Apartment address id

capacity
integer

capacity

connection
integer

Electric Premises Connection id

contractor
integer

Electric Premises Contractor id

creation_date
string (date-time)

Creation date and time

creator
string

Premises creator

deployment_date
string (date-time)

deployment date

ground
integer

Electric Premises Ground id

group_fuse
Array of string

Group of fuses

string (url)
guidance_address
integer

Unique Electric Premises guidance address id

guiding_type
integer

Electric Premises guiding type id

height_accuracy
integer

Height accuracy id

id
integer

Primary key

identification
string

Identification

installation_date
string (date)

Installation date

installation_location
integer

Installation location

installation_year
integer

Installation year

location
string (ewkt)

Geographical location

location_accuracy
integer

Location accuracy id

main_fuse
integer

Electric Premises Main fuse type id

manufacturer
integer

Electric Premises Manufacturer id

mapper
string

mapper name

mapping_date
string (date-time)

mapping date

mapping_method
integer

Mapping method id

network_area
integer

Network area id

owner
integer

Premises Owner id

plan
integer

Plan id

remarks
string

Remarks. Available from product version 3.2.14.

renter
integer

Premises Renter id

safety_distance
integer

Safety Distance id. Available from product version 3.6.4

shade
integer

Electric Premises Shade id

supplier
integer

Electric Premises Supplier id

surface
integer

Electric Premises Surface type id

surge_install_date
string (date)

Surge protector installation date. Available from product version 3.2.22

surge_protector
integer

Electric Surge Protector id. Available from product version 3.2.22

survey_amount
integer

unknown

type
integer

Electric Premises type id

update_date
string (date-time)

Last update date time

updated_by
string

Last updater of premises data

usage_state
integer

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