Update partial KeyDh Observation data
  • 17 Jan 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update partial KeyDh Observation data

  • Dark
    Light
  • PDF

Article summary

Patch
/keydh-observation/{id}/

Operation updates given KeyDh Observation fields.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of KeyDh Observation to update

Body parameters

KeyDh Observation attributes and values to be updated

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
200

Object was updated successfully

{
  "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

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?