Create new Error Report
  • 17 Jan 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Create new Error Report

  • Dark
    Light
  • PDF

Article summary

Post
/error-report/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

Error Report to be created

object
Address
integer

Address id

DistrictId
integer

District id

FailureCause
integer

Failure cause id

FailureType
integer

Failure type id

FaultCode
integer

Fault code code id

ReportState
integer

Report state id

SnErrorRestictedType
integer

TxtConstant with group name KU_RESTRCITED_TYPE This field determines protection level of data under GDPR

angle
number (float)

Angle

announcer
string

Username of the announcer GDPR protected field

announcer_tel
string

Telephone number of the announcer GDPR protected field

consumer_point_count
integer

Number of consumer point

created_by
string

Created by

created_ts
string (date-time)

Date created

damaged_part
integer

Damaged part id

distance
number (float)

Distance

district
string

District

e_coord
number (float)

Coordinate

error_message
string

Error message

failure_address
string

Failure address

failure_cause
string

Failure cause

failure_type
string

Failure type

fault_code
integer

Fault code

flush
boolean

Flush

ground_plan
string

Ground plan

joint_power
number (float)

Joint power

location
string (ewkt)

Geographical location

manhole
string

Manhole

mapid
integer

Map id

mslink
integer

Primary key

n_coord
number (float)

Coordinate

notes
string

Additional information

noticed_by
boolean

If the report is noticed or not

orderno
integer

Order number

point_distance
string

Point distance

receivedDate_ts
string (date-time) Required

Received date

received_by
string

Username of the person received the report GDPR protected field

repair_belong_to
boolean
repair_type
integer

Repair type id

scale
number (float)

Scale

symbol_added
integer

If report has location or not

type_orderno
integer

Type order number

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

volume
number (float)

Volume

water
integer

Water id

Responses
201

A created Error Report

{
  "error_message": [
    "Test error message"
  ],
  "mslink": [
    "123456"
  ]
}
object
Address
integer

Address id

DistrictId
integer

District id

FailureCause
integer

Failure cause id

FailureType
integer

Failure type id

FaultCode
integer

Fault code code id

ReportState
integer

Report state id

SnErrorRestictedType
integer

TxtConstant with group name KU_RESTRCITED_TYPE This field determines protection level of data under GDPR

angle
number (float)

Angle

announcer
string

Username of the announcer GDPR protected field

announcer_tel
string

Telephone number of the announcer GDPR protected field

consumer_point_count
integer

Number of consumer point

created_by
string

Created by

created_ts
string (date-time)

Date created

damaged_part
integer

Damaged part id

distance
number (float)

Distance

district
string

District

e_coord
number (float)

Coordinate

error_message
string

Error message

failure_address
string

Failure address

failure_cause
string

Failure cause

failure_type
string

Failure type

fault_code
integer

Fault code

flush
boolean

Flush

ground_plan
string

Ground plan

joint_power
number (float)

Joint power

location
string (ewkt)

Geographical location

manhole
string

Manhole

mapid
integer

Map id

mslink
integer

Primary key

n_coord
number (float)

Coordinate

notes
string

Additional information

noticed_by
boolean

If the report is noticed or not

orderno
integer

Order number

point_distance
string

Point distance

receivedDate_ts
string (date-time)

Received date

received_by
string

Username of the person received the report GDPR protected field

repair_belong_to
boolean
repair_type
integer

Repair type id

scale
number (float)

Scale

symbol_added
integer

If report has location or not

type_orderno
integer

Type order number

updated_by
string

Updated by

updated_ts
string (date-time)

Date updated

volume
number (float)

Volume

water
integer

Water id

400

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

null

Fields which failed validation

[
  "This field is required."
]
401

Authentication credentials are missing or invalid

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

Detailed description of error


Was this article helpful?