Get Place list
1 min
GET
https://dev1.frontu.com//client/api/v2/places
Header Parameters
- acceptstringDescriptionDefaultapplication/jsonAllowedapplication/jsonExampleExample with real data
Responses
200
- object
- next_pagenumber
- itemsobject[]
- versionnumber
- titlestringMin Length1
- scanCodestringMin Length1
- workspaceobject
- titlestringMin Length1
- serialNumberstringMin Length1
- guidstringMin Length1
- systemIdstringMin Length1
- typestringMin Length1
- notestringMin Length1
- guidstringMin Length1
- createdstringMin Length1
- updatedstringMin Length1
- deletedboolean
- systemIdstringMin Length1
- longitudestringMin Length1
- latitudestringMin Length1
curl
curl --request GET \
--url https://dev1.frontu.com//client/api/v2/places \
--header 'accept: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://dev1.frontu.com//client/api/v2/places", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://dev1.frontu.com//client/api/v2/places")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://dev1.frontu.com//client/api/v2/places"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// OK
{
"next_page": 0,
"items": [
{
"version": 0,
"title": "",
"scanCode": "",
"workspace": {
"title": "",
"serialNumber": "",
"guid": "",
"systemId": "",
"type": ""
},
"note": "",
"guid": "",
"created": "",
"updated": "",
"deleted": false,
"systemId": "",
"longitude": "",
"latitude": ""
}
]
}