Update External Document partially
  • 28 Oct 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update External Document partially

  • Dark
    Light
  • PDF

Article summary

Patch
/externaldocs/{id}/

Operation is used to update specific fields in existing External Document. Available from product version 3.2.8.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of External Document to update

Body parameters

External Document to be created

object
angle
number (float)

External document angle

description
string

Description

file
string (binary)

File to attach to External Document. Either file or url must be set.

fileSize
integer

File size in bytes

location
string (ewkt)

Geographical location

type
integer Required

External document type id

url
string

Document url. Either file or url must be set.

Responses
200

Object was updated successfully

object
angle
number (float)

External document angle

createdBy
string

Creator

createdTs
string (date-time)

Creation date time

description
string

Description

downloadUrl
string (url)

Url to download document from

fileSize
integer

File size in bytes

filename
string

Name of the uploaded file or url

id
integer

Primary key

location
string (ewkt)

Geographical location

type
integer

External document type id

url
string

Document url

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?