Create new KeyDh Observation
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create new KeyDh Observation

  • Dark
    Light
  • PDF

Article summary

Post
/keydh-observation/
Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Body parameters

KeyDH Observation to be created

object

KeyDh Observation object. Flat version for patch and post methods

Address
integer

Address ID

Condition
integer

Condition ID

Side
integer

Side ID

State
integer Required

State ID

Type
integer Required

Type ID

content
string

Content

content_type
integer

Content Type ID

created_by
string

Created by

created_ts
string (date)

Created timestamp

id
integer

Primary key

location
string (EWKT)

Location

object_id
integer

Object id

observed_ts
string (date)

Observer timestamp

observer
string

Observer

restricted_type
integer

Restricted Type ID

updated_by
string

Updated by

updated_ts
string (date)

Updated timestamp

Responses
201

A newly created KeyDH Observation

{
  "content": [
    "test content"
  ],
  "id": [
    "123"
  ],
  "observer": [
    "test_observer"
  ]
}
object

KeyDh Observation object. Flat version for patch and post methods

Address
integer

Address ID

Condition
integer

Condition ID

Side
integer

Side ID

State
integer

State ID

Type
integer

Type ID

content
string

Content

content_type
integer

Content Type ID

created_by
string

Created by

created_ts
string (date)

Created timestamp

id
integer

Primary key

location
string (EWKT)

Location

object_id
integer

Object id

observed_ts
string (date)

Observer timestamp

observer
string

Observer

restricted_type
integer

Restricted Type ID

updated_by
string

Updated by

updated_ts
string (date)

Updated timestamp

400

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

{
  "flow_number": [
    "This field is required."
  ],
  "install_date": [
    "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?