Perform geo coding based on user input.
Get GeoCode with Address
| street_address | string Street Address |
| country | string Country Address |
{- "value": {
- "id": "000000000000000000000000",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo"
}
}Update status to Placed from Created
| street_address required | string |
| city | string |
| state | string |
| country | string |
| zip_code | string |
{- "street_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string"
}{- "value": {
- "id": "000000000000000000000000",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}
}Post distance between two addresses
object (address-with-latlng) | |
object (address-with-latlng) |
{- "from_address": {
- "building_name": "string",
- "street_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string",
- "source": "one-map",
- "location_type": "sea",
- "lat": 0,
- "lng": 0
}, - "to_address": {
- "building_name": "string",
- "street_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string",
- "source": "one-map",
- "location_type": "sea",
- "lat": 0,
- "lng": 0
}
}{- "value": {
- "distance_data": null,
- "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
- "from_address": {
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.3029215203045674,
- "lng": 103.8342568106769
}, - "to_address": {
- "street_address": "1 Stadium Dr",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "397629",
- "lat": 1.3047148352132107,
- "lng": 103.87487389321092
}, - "distance_in_meters": 6612,
- "source": "one-map"
}
}Post distance between multiple addresses
| order_type required | any Enum: "all" "marine" |
required | Array of objects (address-with-latlng) |
{- "order_type": "all",
- "stops": [
- {
- "building_name": "string",
- "street_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "zip_code": "string",
- "source": "one-map",
- "location_type": "sea",
- "lat": 0,
- "lng": 0
}
]
}{- "multi-distance_data": null
}Get Saved Address List
| page | integer <int64> >= 1 Default: 1 |
| per_page | integer <int64> >= 1 Default: 200 |
{- "meta": {
- "page": 1,
- "per_page": 200
}, - "geo_datas": [
- {
- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}
]
}Post new saved address
| id required | string |
| building_name required | string |
| street_address required | string |
| city required | string |
| state required | string |
| country required | string |
| zip_code required | string |
| lat required | number |
| lng required | number |
| status | string |
| source | string |
| source_reference | string |
| is_default_pickup | boolean |
| is_default_delivery | boolean |
{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}Update saved address
| id required | string ID of saved address |
| building_name required | string |
{- "building_name": "string"
}{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}Get Saved Address Detail
| id required | string ID of saved address |
{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}Get Saved Address List
| org_id | string Organization IDs |
| page | integer <int64> >= 1 Default: 1 |
| per_page | integer <int64> >= 1 Default: 200 |
{- "meta": {
- "page": 1,
- "per_page": 200
}, - "geo_datas": [
- {
- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}
]
}Sys Post new saved address
| id | string |
| building_name required | string |
| street_address required | string |
| city required | string |
| state required | string |
| country required | string |
| zip_code required | string |
| lat required | number |
| lng required | number |
| status | string |
| source | string |
| source_reference | string |
| org_id required | string |
| is_default_pickup | boolean |
| is_default_delivery | boolean |
{- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed",
- "org_id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "is_default_pickup": true
}{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}Saved Address By Ops
| id required | string ID of saved address |
{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}Update saved address
| id required | string ID of saved address |
| building_name required | string |
{- "building_name": "string"
}{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}Get saved address detail by name
| orgID required | string Organization IDs |
| name required | string Name of saved address |
{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}Delete saved address
| orgID required | string Organization IDs |
| id required | string ID of saved address |
{- "id": "xxxxx-xxxxx-xxxxxxx-xxxxxx-xxxxx",
- "building_name": "Venue Building",
- "street_address": "391a orchard rd",
- "city": "singapore",
- "state": "singapore",
- "country": "singapore",
- "zip_code": "238873",
- "lat": 1.302707,
- "lng": 103.834289,
- "source": "google-map",
- "source_reference": "ChIJj6KI8ZEZ2jER5dtmqBYIAuo",
- "status": "placed"
}Get Marine Location
| page | integer <int64> >= 1 Default: 1 |
| per_page | integer <int64> >= 1 Default: 200 |
| term | string Search term |
{- "meta": {
- "page": 1,
- "per_page": 200
}, - "geo_datas": [
- {
- "id": "string",
- "name_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "lat": 0,
- "lng": 0,
- "source": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}Post new marine location
| id | string |
| name_address required | string |
| city | string |
| state | string |
| country required | string |
| lat required | number |
| lng required | number |
| source | string |
| created_at | string |
| updated_at | string |
{- "id": "string",
- "name_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "lat": 0,
- "lng": 0,
- "source": "string",
- "created_at": "string",
- "updated_at": "string"
}{- "code": "string",
- "message": "string",
- "server_time": "string"
}Update marine location
| id required | string ID of marine location |
| id | string |
| name_address required | string |
| city | string |
| state | string |
| country required | string |
| lat required | number |
| lng required | number |
| source | string |
| created_at | string |
| updated_at | string |
{- "id": "string",
- "name_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "lat": 0,
- "lng": 0,
- "source": "string",
- "created_at": "string",
- "updated_at": "string"
}{- "code": "string",
- "message": "string",
- "server_time": "string"
}Get Marine Location Detail
| id required | string ID of marine location |
{- "id": "string",
- "name_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "lat": 0,
- "lng": 0,
- "source": "string",
- "created_at": "string",
- "updated_at": "string"
}Get Marine Location
| page | integer <int64> >= 1 Default: 1 |
| per_page | integer <int64> >= 1 Default: 200 |
| term | string Search term |
{- "meta": {
- "page": 1,
- "per_page": 200
}, - "geo_datas": [
- {
- "id": "string",
- "name_address": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "lat": 0,
- "lng": 0,
- "source": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}