PBX API : PUT /Personal/Presence/location

To update a personal presence, make an HTTP PUT request with basic authorization, resource URI:

http(s)://{PBX}/api/v1/Personal/Presence/location

PUT Parameters

Optional Parameters:

NameDefaultPossible valuesDescription
lat XX.XXXXlatitude
lng XX.XXXXlongitude
address stringtext address

Example:

cURL
curl --user user:password -X PUT --url "http(s)://{PBX}/api/v1/personal/presence/location/?lat=46.4789&lng=30.7415&address=Pushkins%27ka%20St,%2024-26,%20Odesa,%20Odesa%20Oblast,%20Ukraine"
PUT http://{PBX}/api/v1/Personal/Presence/location
 {
"type":"result","result":"Success"
}