Create new Dh Cable
  • 17 Jan 2024
  • 3 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Create new Dh Cable

  • Dark
    Light
  • PDF

Article summary

Post
/dh-cable/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Dh Cable to be created

object
CableType
integer Required

Cable type id

Contractor
integer

TxtConstant with group name DH_CABLE_CONTRACTOR

InstallationType
integer Required

TxtConstant with group name CABLE_TYPE

Insulation_resistance_1_m_unit
integer

Insulation resistance unit

Insulation_resistance_1_p_unit
integer

Insulation resistance unit

Insulation_resistance_2_m_unit
integer

Insulation resistance unit

Insulation_resistance_2_p_unit
integer

Insulation resistance unit

Loop_manhole
integer

Loop manhole id

Measure
integer

TxtConstant with group name CABLE_MEASURE

Measurement_manhole
integer

Measurement manhole id

NetType
integer

TxtConstant with group name NET_TYPE

Owner
integer Required

TxtConstant with group name CABLE_OWNER

Plan
integer

Plan id

Renter
integer

TxtConstant with group name CABLE_RENTER

State
integer Required

TxtConstant with group name CABLE_STATE

accuracy_id
integer

SnConstant with group name ACCURACY

created_by
string

Created by

created_ts
string (date-time)

Date created

false_cable
boolean

If false cable or not

h_accuracy
integer

TxtConstant with group name H_ACCURACY

history_date
string (date)

History date

identification
string

Identification

install_date
string (date)

Install date

install_year
integer

Install year

insul_resist_1_m
string

Insulation resistance

insul_resist_1_p
string

Insulation resistance

insul_resist_2_m
string

Insulation resistance

insul_resist_2_p
string

Insulation resistance

lbl_angle_exp
string

Export label angle

lbl_color_exp
string

Export label color

lbl_size_exp
string

Export size color

length
number (float)

Length

location
string (ewkt)

Geographical location

location_accuracy
integer

TxtConstant with group name LOCATION_ACCURACY

loop_circuit
string

Loop circuit

loop_notes_m
string

Loop notes

loop_notes_p
string

Loop notes

loop_resist_m
string

Loop resistance

loop_resist_p
string

Loop resistance

mapid
integer

Map id

mapper
string

Mapper

mapping_method_id
integer

TxtConstant with group name MAPPING_METHOD

measure_circuit
string

Measure circuit

measure_notes_m
string

Measure notes

measure_notes_p
string

Measure notes

measure_voltage_m
string

Measurement voltage

measure_voltage_m2
string

Measurement voltage

measure_voltage_p
string

Measurement voltage

measure_voltage_p2
string

Measurement voltage

measurement_date
string (date-time)

Measurement date

mslink
integer

Primary key

note
string

Additional details

pulse
string

Pulse

survey_amount
string

Survey amount

sym_angle_exp
string

Export symbol angle

sym_code_gt
string

Symbol code

sym_color_exp
string

Export symbol color

sym_name_exp
string

Export symbol name

sym_size_exp
string

Export symbol size

sym_text_exp
string

Export symbol text

sym_width_exp
string

Export symbol width

t_area_id
integer

Network area id

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

Responses
201

A newly created Dh Cable

{
  "CableType": [
    "610"
  ],
  "InstallationType": [
    "17480"
  ],
  "Owner": [
    "8790"
  ],
  "State": [
    "10220"
  ],
  "identification": [
    "test12345"
  ],
  "install_year": [
    "2021"
  ],
  "mslink": [
    "123456"
  ]
}
object
CableType
integer

Cable type id

Contractor
integer

TxtConstant with group name DH_CABLE_CONTRACTOR

InstallationType
integer

TxtConstant with group name CABLE_TYPE

Insulation_resistance_1_m_unit
integer

Insulation resistance unit

Insulation_resistance_1_p_unit
integer

Insulation resistance unit

Insulation_resistance_2_m_unit
integer

Insulation resistance unit

Insulation_resistance_2_p_unit
integer

Insulation resistance unit

Loop_manhole
integer

Loop manhole id

Measure
integer

TxtConstant with group name CABLE_MEASURE

Measurement_manhole
integer

Measurement manhole id

NetType
integer

TxtConstant with group name NET_TYPE

Owner
integer

TxtConstant with group name CABLE_OWNER

Plan
integer

Plan id

Renter
integer

TxtConstant with group name CABLE_RENTER

State
integer

TxtConstant with group name CABLE_STATE

accuracy_id
integer

SnConstant with group name ACCURACY

created_by
string

Created by

created_ts
string (date-time)

Date created

false_cable
boolean

If false cable or not

h_accuracy
integer

TxtConstant with group name H_ACCURACY

history_date
string (date)

History date

identification
string

Identification

install_date
string (date)

Install date

install_year
integer

Install year

insul_resist_1_m
string

Insulation resistance

insul_resist_1_p
string

Insulation resistance

insul_resist_2_m
string

Insulation resistance

insul_resist_2_p
string

Insulation resistance

lbl_angle_exp
string

Export label angle

lbl_color_exp
string

Export label color

lbl_size_exp
string

Export size color

length
number (float)

Length

location
string (ewkt)

Geographical location

location_accuracy
integer

TxtConstant with group name LOCATION_ACCURACY

loop_circuit
string

Loop circuit

loop_notes_m
string

Loop notes

loop_notes_p
string

Loop notes

loop_resist_m
string

Loop resistance

loop_resist_p
string

Loop resistance

mapid
integer

Map id

mapper
string

Mapper

mapping_method_id
integer

TxtConstant with group name MAPPING_METHOD

measure_circuit
string

Measure circuit

measure_notes_m
string

Measure notes

measure_notes_p
string

Measure notes

measure_voltage_m
string

Measurement voltage

measure_voltage_m2
string

Measurement voltage

measure_voltage_p
string

Measurement voltage

measure_voltage_p2
string

Measurement voltage

measurement_date
string (date-time)

Measurement date

mslink
integer

Primary key

note
string

Additional details

pulse
string

Pulse

survey_amount
string

Survey amount

sym_angle_exp
string

Export symbol angle

sym_code_gt
string

Symbol code

sym_color_exp
string

Export symbol color

sym_name_exp
string

Export symbol name

sym_size_exp
string

Export symbol size

sym_text_exp
string

Export symbol text

sym_width_exp
string

Export symbol width

t_area_id
integer

Network area id

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

400

There was an error in request. Usually field validation failed.

{
  "CableType": [
    "This field is required."
  ],
  "InstallationType": [
    "This field is required."
  ],
  "Owner": [
    "This field is required."
  ],
  "State": [
    "This field is required."
  ]
}

Fields which failed validation

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error


Was this article helpful?