Update Error Report data partially
  • 17 Jan 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Update Error Report data partially

  • Dark
    Light
  • PDF

Article summary

Patch
/error-report/{id}/

Operation is used to update specific fields in existing Error Report data.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of Error Report to update

Body parameters

Error Report attributes and values to be updated

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
200

Object was updated successfully

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

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?