Update Service area partially
  • 28 Oct 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update Service area partially

  • Dark
    Light
  • PDF

Article summary

Patch
/serviceareas/{id}/

Operation is used to update specific fields in existing Service area. Available from product version 3.0.22.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of service area to update

Body parameters

Service area attributes and values to be updated

object
areaSize
number (float)

Service area size

category
integer

Service area category id

location
string (ewkt) Required

Geographical location

name
string

Service area name

perimeter
number (float)

Service area perimeter length

Responses
200

Object was updated successfully

object
areaSize
number (float)

Service area size

category
integer

Service area category id

createdBy
string

creator

createdTs
string (date-time)

Creation date and time

id
integer

Primary key

location
string (ewkt)

Geographical location

name
string

Service area name

perimeter
number (float)

Service area perimeter length

updatedBy
string

Last updater

updatedTs
string (date-time)

Last update date time

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?