Reference data
Locations
GET /locations returns.| Code | Type | Name | City | IATA | Pickup | Drop-off | One-way |
|---|---|---|---|---|---|---|---|
| HCM-CITY | city | Ho Chi Minh City | Ho Chi Minh City | null | Yes | Yes | Yes |
| HCM-APT | airport | Tan Son Nhat International Airport | Ho Chi Minh City | SGN | Yes | Yes | Yes |
| HN-CITY | city | Hanoi | Hanoi | null | Yes | Yes | Yes |
| HN-APT | airport | Noi Bai International Airport | Hanoi | HAN | Yes | Yes | Yes |
| DN-CITY | city | Da Nang | Da Nang | null | Yes | Yes | Yes |
| DN-APT | airport | Da Nang International Airport | Da Nang | DAD | Yes | Yes | Yes |
| PQ-CITY | city | Phu Quoc | Phu Quoc | null | Yes | Yes | Yes |
| PQ-APT | airport | Phu Quoc International Airport | Phu Quoc | PQC | Yes | Yes | Yes |
| NT-CITY | city | Nha Trang | Nha Trang | null | Yes | Yes | Yes |
| NT-APT | airport | Cam Ranh International Airport | Nha Trang | CXR | Yes | Yes | Yes |
Two namespaces, never interchangeable
locationCode and iataCode are different fields
HCM-APT is Rocket's own code. SGN is the IATA code for the same airport. Every request in this API takes the Rocket locationCode — never the IATA code. Swapping them is a request error, not a fallback path.City stations return null for IATA — HCM-CITY, HN-CITY, DN-CITY, PQ-CITY and NT-CITY have no airport identifier because they are not airports. That null is correct, not missing data.
Da Lat exists, and is not returned
Da Lat (DL-CITY, DL-APT, IATA DLI) is in Rocket's system but is inactive and not returned by GET /locations, because no vehicle is currently assigned there. It will appear when it is real — it is a status flag, not an omission from this table.
One-way rentals
One-way is supported between any two active locations and is priced with its own one-way fee, returned as a separate line rather than folded into the rental total.
What is not populated yet
Address, coordinates and opening hours currently return null for every location. They are optional fields in the contract; Rocket is populating them, not inventing them in the meantime.