post https://api.azuga.com/azuga-ws/v1/landmark/create.json
Use this API to create a Landmark. Landmark is a guide to an easily recognizable address that can be configured over an area. These are locations saved in Azuga that you can classify as home, client addresses, job locations etc. Landmarks help you determine if your vehicle is within 1 mile surrounding the landmark and stops and trips that occur to and fro.
Sample Request
{
"name":"Supplier-7779",
"latitude":36.36669,
"longitude":-121.91816,
"radiusUnit":"metres",
"radius":4.1234,
"icon":"Default",
"type":"Customer",
"groupName":"San Jose",
"color":"#999999",
"firstName":"Gary",
"lastName":"Brown",
"phoneNumber":"4084804433",
"email":null
}
API Response explanation
Field | Description |
---|---|
code | API Status Code |
message | API Message (Success/Failure) |
generatedAt | API generation timestamp in UTC |
reason | The reason for failure |
currentPage | The current page |
totalPages | The total number of pages in the result |