Skip to main content

GET Location

URL: http://{{server-url}}/api/v1/location

You can fetch the list of locations by calling the above endpoint.

You need the following key-values:

Header

KeyDescription
AuthorizationBearer {access token obtained after authorization or API Key}

Example (Request & Response)

Request

curl --location 'http://172.16.12.232/api/v1/location' \
--header 'Authorization: Apikey KPVhkfL9w7%2FLMn3k%40VPQNOa8kNQFwtkWWnsx5ogGGoujb1G9BKJh9UwYSP0IKdF1BF8Q9Ug%3D%3D'

Response

{"objectList":
[{"node":
{"id":1,"name":"Asia"},
"childrens":null},
{"node":
{"id":2,"name":"USA"},
"childrens":null}
],"totalCount":2
}