Places
Search Places
Search places within an account by keyword, refId, or office.
GET/api/v1/workspace/places/search
Search for places matching a keyword.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
keyword | string | Optional | Search by name, address, or reference ID (refId). |
Example Request
curl -X GET \
"https://live.fleetwork.vn/api/v1/workspace/places/search?keyword=main" \
-H "API-KEY: <your-key>"Example Response
{
"code": "OK",
"message": null,
"data": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"refId": "REF1001",
"name": "Main Warehouse",
"address": "100 Industrial Road, District 1",
"lat": 10.7719,
"lng": 106.698",
},
]
}Each place contains a refId to use in other APIs, such as Create Job.