Logo
DeltaTrak API Documentation

airport Duplicate iD

POST {{baseUrl}}/account/:accountID/location

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Authorization
string (Required)




RESPONSES

status Created

{ "message": "Location successfully created!" }



Curl
curl -X POST 'https://7qzar0u2yd.execute-api.us-east-1.amazonaws.com/test//account/:accountID/location' -H 'Authorization: eyJhbGciOiJub25lIn0.eyJhZG1pbiI6dHJ1ZSwidXNlcklEIjoiNjM5NzViZDRkY2Q2OTMwMDJjMzgxMDMzIiwiaWF0IjoxNjg1MDIwNTE4LCJpc3MiOiJ1cm46Zmxhc2h0cmFrOmlzc3VlciIsImF1ZCI6InVybjp1c2VyOmF1ZGllbmNlIiwiZXhwIjoyMDAwNTk2NTE4fQ.' -d '{"name":"Test duplicate id","address":"7 Hillsborough St, Raleigh, NC 27603, USA","location_id":"L1685470333513","type":"airport","location":{"lat":35.78036005423038,"lng":-78.64030765118511,"radius_meter":100},"alerts":{"silence_in_geofence":"false","completion_in_geofence":"false","completion_in_geofence_after_light_detection":"true","light_lx":0,"completion_delay_minutes":0}}'

ENDPOINTS