Get service area details
  • 28 Oct 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Get service area details

  • Dark
    Light
  • PDF

Article summary

Get
/serviceareas/{id}/

Operation is used to retrieve full details of given service area id. 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

Responses
200

Service Area

Expand All
object
areaSize
number (float)

Service area size

category
object (ServiceAreaCategory)

Service area category

availability_end_ts
string (date-time)

Ending date time for availability

availability_start_ts
string (date-time)

Beginning date time for availability

available
boolean

Is object deemed as available. Based on availability_start_ts and availability_end_ts values.

groupname

Group name of constant

Valid values[ "SERVICE_A_CATEGORY" ]
id
integer

Unique id of constant

list_url
string (url)

Url to fetch all contants from this group

logical_txt
string

Logical textual value

num_value
number (float)

Numeric value

num_value2
number (float)

Numeric value 2

num_value3
number (float)

Numeric value 3

num_value4
number (float)

Numeric value 4

txt
string

Human readable textual representation

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?