Update Electric premises partially
  • 29 Aug 2023
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Update Electric premises partially

  • Dark
    Light
  • PDF

Article summary

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
Header parameter nameAuthorization
Token issued for API consumer.
Path parameters
id
integer Required

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

creation_date
string

Creation date and time

creator
string

Premises creator

deployment_date
string

deployment date

ground
integer

Electric Premises Ground id

group_fuse
Array of string

Group of fuses

string
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 Required

Identification

installation_date
string

Installation date

installation_location
integer

Installation location

installation_year
integer

Installation year

location
string

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

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

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

update_date
string

Last update date time

updated_by
string

Last updater of premises data

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

Creation date and time

creator
string

Premises creator

deployment_date
string

deployment date

ground
integer

Electric Premises Ground id

group_fuse
Array of string

Group of fuses

string
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

Installation date

installation_location
integer

Installation location

installation_year
integer

Installation year

location
string

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

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

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

update_date
string

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


Was this article helpful?