Lodging locations
Ask
List lodging location profiles
GET/v1/teams/{teamId}/lodging-locationsList lodging location profiles. Core attributes are top-level. Profiles contain current shared name, address, property contacts, amenities, and nearby places. Profile edits do not rewrite linked stays' booked name/location/timezone snapshots or booking contacts. Read lodgingLocationId on a stay to fetch this profile separately; profiles are not embedded in stay responses. Creating a profile does not create or link a stay.
Required scopes: lodging:read
Parameters
path.teamIdrequired | string:uuidTeam identifier. |
|---|---|
query.limit | integerMaximum number of records to return. Defaults to 50 and is capped at 200. |
query.cursor | stringOpaque cursor returned by page.nextCursor. Reuse the same credential, endpoint, and filters within 24 hours; restart pagination after expiration or credential changes. |
Response 200
data | object[]One page of team lodging location profiles, including archived profiles. |
|---|---|
data[].name | stringName of the lodging location, including hotels, rental homes, and private residences. |
data[].location | objectProperty address, optional Google Place ID, coordinates, and timezone. |
data[].location.name | stringLodging location display name. |
data[].location.address | stringStreet address or human-readable lodging location address. |
data[].location.placeId | stringGoogle Places ID when available. |
data[].location.latitude | numberOptional lodging latitude in decimal degrees. |
data[].location.longitude | numberOptional lodging longitude in decimal degrees. |
data[].location.timezone | stringIANA timezone identifier for the lodging location, such as America/Chicago. RoadOps uses this timezone to display check-in and check-out UTC timestamps in local time. |
data[].contact | objectPrimary property contact. |
data[].contact.name | stringContact person's name. |
data[].contact.title | stringContact person's role or job title. |
data[].contact.phone | stringContact phone number. |
data[].contact.email | string:emailContact email address. |
data[].contact.notes | stringShort notes about this contact. |
data[].contacts | object[]Property contacts, including reservations and security. |
data[].contacts[].name | stringContact person's name. |
data[].contacts[].title | stringContact person's role or job title. |
data[].contacts[].phone | stringContact phone number. |
data[].contacts[].email | string:emailContact email address. |
data[].contacts[].notes | stringShort notes about this contact. |
data[].phone | stringMain lodging location phone number. |
data[].website | string:uriLodging location website URL. |
data[].starRating | numberUser-entered lodging location star classification from one to five stars. |
data[].notes | stringGeneral property information shared with the team, excluding booking or guest details. |
data[].access | objectArrival, parking, and building access information. |
data[].access.checkInHours | stringStandard lodging location check-in hours, expressed in local time at the lodging location. |
data[].access.checkOutHours | stringStandard lodging location check-out hours, expressed in local time at the lodging location. |
data[].access.earlyLateArrival | stringEarly check-in, late arrival, or late check-out instructions. |
data[].access.carParking | stringCar parking availability, location, restrictions, and fees. |
data[].access.busParking | stringBus parking availability, location, restrictions, and fees. |
data[].access.serviceEntrance | stringService entrance location and access instructions. |
data[].access.elevatorAccess | stringElevator key requirements and access instructions. |
data[].access.accessibility | stringAccessible rooms and property access information. |
data[].access.notes | stringAdditional arrival and access notes. |
data[].amenities | objectRoom features and amenities. |
data[].amenities.suiteDetails | stringSuite layouts and available features. |
data[].amenities.balcony | booleanWhether rooms with a balcony are available. |
data[].amenities.bathtub | booleanWhether rooms with a bathtub are available. |
data[].amenities.blackoutCurtains | booleanWhether rooms have blackout curtains. |
data[].amenities.refrigerator | booleanWhether rooms have a refrigerator. |
data[].amenities.drinkingWater | stringDrinking water availability and replenishment details. |
data[].amenities.wifi | stringWi-Fi availability and connection instructions. |
data[].amenities.crib | booleanWhether cribs are available. |
data[].amenities.notes | stringRoom amenity details, restrictions, and exceptions. |
data[].services | objectFood, laundry, fitness, and other lodging location services. |
data[].services.breakfast | stringBreakfast options, inclusion in room rate, and location. |
data[].services.breakfastHours | stringBreakfast service hours in local time at the lodging location. |
data[].services.roomService | booleanWhether room service is available. |
data[].services.roomServiceHours | stringRoom service hours in local time at the lodging location. |
data[].services.laundry | stringLaundry facilities, service, hours, and fees. |
data[].services.gym | booleanWhether a gym is available. |
data[].services.gymHours | stringGym opening hours in local time at the lodging location. |
data[].services.notes | stringAdditional food and lodging location service notes. |
data[].policies | objectLodging location policies and property conditions. |
data[].policies.smoking | stringSmoking policy and permitted areas. |
data[].policies.smokingFee | objectLodging location smoking violation fee. |
data[].policies.smokingFee.amountMinor | integerAmount in the currency's minor units, such as cents for USD. |
data[].policies.smokingFee.currency | stringThree-letter ISO 4217 currency code. |
data[].policies.noise | stringNoise conditions, quiet-room requests, and quiet hours. |
data[].policies.renovations | stringKnown renovations and their impact on the stay. |
data[].policies.notes | stringOther property policies and conditions. |
data[].pets | objectPet policies and facilities. |
data[].pets.petFriendly | booleanWhether the lodging location accepts pets. |
data[].pets.restrictions | stringPet size, breed, count, and other restrictions. |
data[].pets.fee | objectLodging location pet fee. |
data[].pets.fee.amountMinor | integerAmount in the currency's minor units, such as cents for USD. |
data[].pets.fee.currency | stringThree-letter ISO 4217 currency code. |
data[].pets.reliefArea | stringLocation and access instructions for the pet relief area. |
data[].pets.notes | stringAdditional pet policy details. |
data[].pointsOfInterest | object[]Custom destinations used for driving and walking planning estimates. |
data[].pointsOfInterest[].id | string:uuidStable identifier for this lodging location's point of interest. |
data[].pointsOfInterest[].label | stringUser-defined label, such as Venue, Airport, or Hospital. |
data[].pointsOfInterest[].placeId | stringGoogle Place ID of the selected destination. |
data[].pointsOfInterest[].notes | stringUser-authored notes about this destination. |
data[].id | string:uuidLodging location profile identifier. |
data[].orgId | string:uuidTeam that owns this reusable lodging location profile. |
data[].archived | booleanWhether this lodging directory entry is archived. |
data[].isDeleted | booleanWhether this lodging location profile has been deleted. |
data[].version | integerCurrent aggregate version. |
data[].createdAt | string:date-timeCreation timestamp. |
data[].createdBy | stringCreator identifier. |
data[].updatedAt | string:date-timeLast update timestamp. |
data[].updatedBy | stringLast editor identifier. |
page | object |
page.limit | integerRequested page size, default 50 and maximum 100. |
page.nextCursor | string | nullOpaque continuation token, or null at the end. |
Create a lodging location profile
POST/v1/teams/{teamId}/lodging-locationsCreate a lodging location profile. Core attributes are top-level. Profiles contain current shared name, address, property contacts, amenities, and nearby places. Profile edits do not rewrite linked stays' booked name/location/timezone snapshots or booking contacts. Read lodgingLocationId on a stay to fetch this profile separately; profiles are not embedded in stay responses. Creating a profile does not create or link a stay.
Required scopes: lodging:write
Parameters
path.teamIdrequired | string:uuidTeam identifier. |
|---|---|
header.Idempotency-Key | string:uuidOptional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request. |
Request body (application/json)
namerequired | stringName of the lodging location, including hotels, rental homes, and private residences. |
|---|---|
locationrequired | objectProperty address, optional Google Place ID, coordinates, and timezone. |
location.name | stringLodging location display name. |
location.addressrequired | stringStreet address or human-readable lodging location address. |
location.placeId | stringGoogle Places ID when available. |
location.latitude | numberOptional lodging latitude in decimal degrees. |
location.longitude | numberOptional lodging longitude in decimal degrees. |
location.timezone | stringIANA timezone identifier for the lodging location, such as America/Chicago. RoadOps uses this timezone to display check-in and check-out UTC timestamps in local time. |
contact | objectPrimary property contact. |
contact.namerequired | stringContact person's name. |
contact.title | stringContact person's role or job title. |
contact.phone | stringContact phone number. |
contact.email | string:emailContact email address. |
contact.notes | stringShort notes about this contact. |
contacts | object[]Property contacts, including reservations and security. |
contacts[].namerequired | stringContact person's name. |
contacts[].title | stringContact person's role or job title. |
contacts[].phone | stringContact phone number. |
contacts[].email | string:emailContact email address. |
contacts[].notes | stringShort notes about this contact. |
phone | stringMain lodging location phone number. |
website | string:uriLodging location website URL. |
starRating | numberUser-entered lodging location star classification from one to five stars. |
notes | stringGeneral property information shared with the team, excluding booking or guest details. |
access | objectArrival, parking, and building access information. |
access.checkInHours | stringStandard lodging location check-in hours, expressed in local time at the lodging location. |
access.checkOutHours | stringStandard lodging location check-out hours, expressed in local time at the lodging location. |
access.earlyLateArrival | stringEarly check-in, late arrival, or late check-out instructions. |
access.carParking | stringCar parking availability, location, restrictions, and fees. |
access.busParking | stringBus parking availability, location, restrictions, and fees. |
access.serviceEntrance | stringService entrance location and access instructions. |
access.elevatorAccess | stringElevator key requirements and access instructions. |
access.accessibility | stringAccessible rooms and property access information. |
access.notes | stringAdditional arrival and access notes. |
amenities | objectRoom features and amenities. |
amenities.suiteDetails | stringSuite layouts and available features. |
amenities.balcony | booleanWhether rooms with a balcony are available. |
amenities.bathtub | booleanWhether rooms with a bathtub are available. |
amenities.blackoutCurtains | booleanWhether rooms have blackout curtains. |
amenities.refrigerator | booleanWhether rooms have a refrigerator. |
amenities.drinkingWater | stringDrinking water availability and replenishment details. |
amenities.wifi | stringWi-Fi availability and connection instructions. |
amenities.crib | booleanWhether cribs are available. |
amenities.notes | stringRoom amenity details, restrictions, and exceptions. |
services | objectFood, laundry, fitness, and other lodging location services. |
services.breakfast | stringBreakfast options, inclusion in room rate, and location. |
services.breakfastHours | stringBreakfast service hours in local time at the lodging location. |
services.roomService | booleanWhether room service is available. |
services.roomServiceHours | stringRoom service hours in local time at the lodging location. |
services.laundry | stringLaundry facilities, service, hours, and fees. |
services.gym | booleanWhether a gym is available. |
services.gymHours | stringGym opening hours in local time at the lodging location. |
services.notes | stringAdditional food and lodging location service notes. |
policies | objectLodging location policies and property conditions. |
policies.smoking | stringSmoking policy and permitted areas. |
policies.smokingFee | objectLodging location smoking violation fee. |
policies.smokingFee.amountMinorrequired | integerAmount in the currency's minor units, such as cents for USD. |
policies.smokingFee.currencyrequired | stringThree-letter ISO 4217 currency code. |
policies.noise | stringNoise conditions, quiet-room requests, and quiet hours. |
policies.renovations | stringKnown renovations and their impact on the stay. |
policies.notes | stringOther property policies and conditions. |
pets | objectPet policies and facilities. |
pets.petFriendly | booleanWhether the lodging location accepts pets. |
pets.restrictions | stringPet size, breed, count, and other restrictions. |
pets.fee | objectLodging location pet fee. |
pets.fee.amountMinorrequired | integerAmount in the currency's minor units, such as cents for USD. |
pets.fee.currencyrequired | stringThree-letter ISO 4217 currency code. |
pets.reliefArea | stringLocation and access instructions for the pet relief area. |
pets.notes | stringAdditional pet policy details. |
pointsOfInterest | object[]Custom destinations used for driving and walking planning estimates. |
pointsOfInterest[].idrequired | string:uuidStable identifier for this lodging location's point of interest. |
pointsOfInterest[].labelrequired | stringUser-defined label, such as Venue, Airport, or Hospital. |
pointsOfInterest[].placeIdrequired | stringGoogle Place ID of the selected destination. |
pointsOfInterest[].notes | stringUser-authored notes about this destination. |
id | string:uuidOptional caller-supplied lodging location profile identifier. |
Response 202
commandId | string:uuidCommand identifier accepted into the RoadOps command ledger. |
|---|---|
resourceId | string:uuidIdentifier of the resource targeted by the command. |
resourceType | stringResource type targeted by the command. |
status | "applied"Command dispatch status. |
aggregateVersion | integerAggregate version produced by the accepted command. |
cursor | integerCursor for the accepted update. Refetch until returned records reach this cursor. |
links | object |
links.refetch | stringRelative URL to refetch the affected resource. |
Retrieve a lodging location profile
GET/v1/teams/{teamId}/lodging-locations/{lodgingLocationId}Retrieve a lodging location profile. Core attributes are top-level. Profiles contain current shared name, address, property contacts, amenities, and nearby places. Profile edits do not rewrite linked stays' booked name/location/timezone snapshots or booking contacts. Read lodgingLocationId on a stay to fetch this profile separately; profiles are not embedded in stay responses. Creating a profile does not create or link a stay.
Required scopes: lodging:read
Parameters
path.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.lodgingLocationIdrequired | string:uuidLodging location profile identifier. |
Response 200
data | objectReusable team lodging location profile. |
|---|---|
data.name | stringName of the lodging location, including hotels, rental homes, and private residences. |
data.location | objectProperty address, optional Google Place ID, coordinates, and timezone. |
data.location.name | stringLodging location display name. |
data.location.address | stringStreet address or human-readable lodging location address. |
data.location.placeId | stringGoogle Places ID when available. |
data.location.latitude | numberOptional lodging latitude in decimal degrees. |
data.location.longitude | numberOptional lodging longitude in decimal degrees. |
data.location.timezone | stringIANA timezone identifier for the lodging location, such as America/Chicago. RoadOps uses this timezone to display check-in and check-out UTC timestamps in local time. |
data.contact | objectPrimary property contact. |
data.contact.name | stringContact person's name. |
data.contact.title | stringContact person's role or job title. |
data.contact.phone | stringContact phone number. |
data.contact.email | string:emailContact email address. |
data.contact.notes | stringShort notes about this contact. |
data.contacts | object[]Property contacts, including reservations and security. |
data.contacts[].name | stringContact person's name. |
data.contacts[].title | stringContact person's role or job title. |
data.contacts[].phone | stringContact phone number. |
data.contacts[].email | string:emailContact email address. |
data.contacts[].notes | stringShort notes about this contact. |
data.phone | stringMain lodging location phone number. |
data.website | string:uriLodging location website URL. |
data.starRating | numberUser-entered lodging location star classification from one to five stars. |
data.notes | stringGeneral property information shared with the team, excluding booking or guest details. |
data.access | objectArrival, parking, and building access information. |
data.access.checkInHours | stringStandard lodging location check-in hours, expressed in local time at the lodging location. |
data.access.checkOutHours | stringStandard lodging location check-out hours, expressed in local time at the lodging location. |
data.access.earlyLateArrival | stringEarly check-in, late arrival, or late check-out instructions. |
data.access.carParking | stringCar parking availability, location, restrictions, and fees. |
data.access.busParking | stringBus parking availability, location, restrictions, and fees. |
data.access.serviceEntrance | stringService entrance location and access instructions. |
data.access.elevatorAccess | stringElevator key requirements and access instructions. |
data.access.accessibility | stringAccessible rooms and property access information. |
data.access.notes | stringAdditional arrival and access notes. |
data.amenities | objectRoom features and amenities. |
data.amenities.suiteDetails | stringSuite layouts and available features. |
data.amenities.balcony | booleanWhether rooms with a balcony are available. |
data.amenities.bathtub | booleanWhether rooms with a bathtub are available. |
data.amenities.blackoutCurtains | booleanWhether rooms have blackout curtains. |
data.amenities.refrigerator | booleanWhether rooms have a refrigerator. |
data.amenities.drinkingWater | stringDrinking water availability and replenishment details. |
data.amenities.wifi | stringWi-Fi availability and connection instructions. |
data.amenities.crib | booleanWhether cribs are available. |
data.amenities.notes | stringRoom amenity details, restrictions, and exceptions. |
data.services | objectFood, laundry, fitness, and other lodging location services. |
data.services.breakfast | stringBreakfast options, inclusion in room rate, and location. |
data.services.breakfastHours | stringBreakfast service hours in local time at the lodging location. |
data.services.roomService | booleanWhether room service is available. |
data.services.roomServiceHours | stringRoom service hours in local time at the lodging location. |
data.services.laundry | stringLaundry facilities, service, hours, and fees. |
data.services.gym | booleanWhether a gym is available. |
data.services.gymHours | stringGym opening hours in local time at the lodging location. |
data.services.notes | stringAdditional food and lodging location service notes. |
data.policies | objectLodging location policies and property conditions. |
data.policies.smoking | stringSmoking policy and permitted areas. |
data.policies.smokingFee | objectLodging location smoking violation fee. |
data.policies.smokingFee.amountMinor | integerAmount in the currency's minor units, such as cents for USD. |
data.policies.smokingFee.currency | stringThree-letter ISO 4217 currency code. |
data.policies.noise | stringNoise conditions, quiet-room requests, and quiet hours. |
data.policies.renovations | stringKnown renovations and their impact on the stay. |
data.policies.notes | stringOther property policies and conditions. |
data.pets | objectPet policies and facilities. |
data.pets.petFriendly | booleanWhether the lodging location accepts pets. |
data.pets.restrictions | stringPet size, breed, count, and other restrictions. |
data.pets.fee | objectLodging location pet fee. |
data.pets.fee.amountMinor | integerAmount in the currency's minor units, such as cents for USD. |
data.pets.fee.currency | stringThree-letter ISO 4217 currency code. |
data.pets.reliefArea | stringLocation and access instructions for the pet relief area. |
data.pets.notes | stringAdditional pet policy details. |
data.pointsOfInterest | object[]Custom destinations used for driving and walking planning estimates. |
data.pointsOfInterest[].id | string:uuidStable identifier for this lodging location's point of interest. |
data.pointsOfInterest[].label | stringUser-defined label, such as Venue, Airport, or Hospital. |
data.pointsOfInterest[].placeId | stringGoogle Place ID of the selected destination. |
data.pointsOfInterest[].notes | stringUser-authored notes about this destination. |
data.id | string:uuidLodging location profile identifier. |
data.orgId | string:uuidTeam that owns this reusable lodging location profile. |
data.archived | booleanWhether this lodging directory entry is archived. |
data.isDeleted | booleanWhether this lodging location profile has been deleted. |
data.version | integerCurrent aggregate version. |
data.createdAt | string:date-timeCreation timestamp. |
data.createdBy | stringCreator identifier. |
data.updatedAt | string:date-timeLast update timestamp. |
data.updatedBy | stringLast editor identifier. |
Update a lodging location profile
PATCH/v1/teams/{teamId}/lodging-locations/{lodgingLocationId}Update a lodging location profile. Core attributes are top-level. Profiles contain current shared name, address, property contacts, amenities, and nearby places. Profile edits do not rewrite linked stays' booked name/location/timezone snapshots or booking contacts. Read lodgingLocationId on a stay to fetch this profile separately; profiles are not embedded in stay responses. Creating a profile does not create or link a stay.
Required scopes: lodging:write
Parameters
path.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.lodgingLocationIdrequired | string:uuidLodging location profile identifier. |
header.Idempotency-Key | string:uuidOptional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request. |
Request body (application/json)
expectedVersion | integerOptional aggregate version guard. |
|---|---|
updatesrequired | objectAt least one lodging location field to change. Null clears optional fields; provided groups and lists replace their previous value. |
updates.name | stringName of the lodging location, including hotels, rental homes, and private residences. |
updates.location | objectProperty address, optional Google Place ID, coordinates, and timezone. |
updates.location.name | stringLodging location display name. |
updates.location.addressrequired | stringStreet address or human-readable lodging location address. |
updates.location.placeId | stringGoogle Places ID when available. |
updates.location.latitude | numberOptional lodging latitude in decimal degrees. |
updates.location.longitude | numberOptional lodging longitude in decimal degrees. |
updates.location.timezone | stringIANA timezone identifier for the lodging location, such as America/Chicago. RoadOps uses this timezone to display check-in and check-out UTC timestamps in local time. |
updates.contact | object | nullPrimary property contact. |
updates.contact.namerequired | stringContact person's name. |
updates.contact.title | stringContact person's role or job title. |
updates.contact.phone | stringContact phone number. |
updates.contact.email | string:emailContact email address. |
updates.contact.notes | stringShort notes about this contact. |
updates.contacts | object[]Property contacts, including reservations and security. |
updates.contacts[].namerequired | stringContact person's name. |
updates.contacts[].title | stringContact person's role or job title. |
updates.contacts[].phone | stringContact phone number. |
updates.contacts[].email | string:emailContact email address. |
updates.contacts[].notes | stringShort notes about this contact. |
updates.phone | string | nullMain lodging location phone number. |
updates.website | string:uriLodging location website URL. |
updates.starRating | number | nullUser-entered lodging location star classification from one to five stars. |
updates.notes | string | nullGeneral property information shared with the team, excluding booking or guest details. |
updates.access | object | nullArrival, parking, and building access information. |
updates.access.checkInHours | stringStandard lodging location check-in hours, expressed in local time at the lodging location. |
updates.access.checkOutHours | stringStandard lodging location check-out hours, expressed in local time at the lodging location. |
updates.access.earlyLateArrival | stringEarly check-in, late arrival, or late check-out instructions. |
updates.access.carParking | stringCar parking availability, location, restrictions, and fees. |
updates.access.busParking | stringBus parking availability, location, restrictions, and fees. |
updates.access.serviceEntrance | stringService entrance location and access instructions. |
updates.access.elevatorAccess | stringElevator key requirements and access instructions. |
updates.access.accessibility | stringAccessible rooms and property access information. |
updates.access.notes | stringAdditional arrival and access notes. |
updates.amenities | object | nullRoom features and amenities. |
updates.amenities.suiteDetails | stringSuite layouts and available features. |
updates.amenities.balcony | booleanWhether rooms with a balcony are available. |
updates.amenities.bathtub | booleanWhether rooms with a bathtub are available. |
updates.amenities.blackoutCurtains | booleanWhether rooms have blackout curtains. |
updates.amenities.refrigerator | booleanWhether rooms have a refrigerator. |
updates.amenities.drinkingWater | stringDrinking water availability and replenishment details. |
updates.amenities.wifi | stringWi-Fi availability and connection instructions. |
updates.amenities.crib | booleanWhether cribs are available. |
updates.amenities.notes | stringRoom amenity details, restrictions, and exceptions. |
updates.services | object | nullFood, laundry, fitness, and other lodging location services. |
updates.services.breakfast | stringBreakfast options, inclusion in room rate, and location. |
updates.services.breakfastHours | stringBreakfast service hours in local time at the lodging location. |
updates.services.roomService | booleanWhether room service is available. |
updates.services.roomServiceHours | stringRoom service hours in local time at the lodging location. |
updates.services.laundry | stringLaundry facilities, service, hours, and fees. |
updates.services.gym | booleanWhether a gym is available. |
updates.services.gymHours | stringGym opening hours in local time at the lodging location. |
updates.services.notes | stringAdditional food and lodging location service notes. |
updates.policies | object | nullLodging location policies and property conditions. |
updates.policies.smoking | stringSmoking policy and permitted areas. |
updates.policies.smokingFee | objectLodging location smoking violation fee. |
updates.policies.smokingFee.amountMinorrequired | integerAmount in the currency's minor units, such as cents for USD. |
updates.policies.smokingFee.currencyrequired | stringThree-letter ISO 4217 currency code. |
updates.policies.noise | stringNoise conditions, quiet-room requests, and quiet hours. |
updates.policies.renovations | stringKnown renovations and their impact on the stay. |
updates.policies.notes | stringOther property policies and conditions. |
updates.pets | object | nullPet policies and facilities. |
updates.pets.petFriendly | booleanWhether the lodging location accepts pets. |
updates.pets.restrictions | stringPet size, breed, count, and other restrictions. |
updates.pets.fee | objectLodging location pet fee. |
updates.pets.fee.amountMinorrequired | integerAmount in the currency's minor units, such as cents for USD. |
updates.pets.fee.currencyrequired | stringThree-letter ISO 4217 currency code. |
updates.pets.reliefArea | stringLocation and access instructions for the pet relief area. |
updates.pets.notes | stringAdditional pet policy details. |
updates.pointsOfInterest | object[]Custom destinations used for driving and walking planning estimates. |
updates.pointsOfInterest[].idrequired | string:uuidStable identifier for this lodging location's point of interest. |
updates.pointsOfInterest[].labelrequired | stringUser-defined label, such as Venue, Airport, or Hospital. |
updates.pointsOfInterest[].placeIdrequired | stringGoogle Place ID of the selected destination. |
updates.pointsOfInterest[].notes | stringUser-authored notes about this destination. |
Response 202
commandId | string:uuidCommand identifier accepted into the RoadOps command ledger. |
|---|---|
resourceId | string:uuidIdentifier of the resource targeted by the command. |
resourceType | stringResource type targeted by the command. |
status | "applied"Command dispatch status. |
aggregateVersion | integerAggregate version produced by the accepted command. |
cursor | integerCursor for the accepted update. Refetch until returned records reach this cursor. |
links | object |
links.refetch | stringRelative URL to refetch the affected resource. |
Archive a lodging location profile
POST/v1/teams/{teamId}/lodging-locations/{lodgingLocationId}/archiveArchive a lodging location profile. Core attributes are top-level. Profiles contain current shared name, address, property contacts, amenities, and nearby places. Profile edits do not rewrite linked stays' booked name/location/timezone snapshots or booking contacts. Read lodgingLocationId on a stay to fetch this profile separately; profiles are not embedded in stay responses. Creating a profile does not create or link a stay.
Required scopes: lodging:write
Parameters
path.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.lodgingLocationIdrequired | string:uuidLodging location profile identifier. |
header.Idempotency-Key | string:uuidOptional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request. |
Request body (application/json)
expectedVersion | integerOptional aggregate version guard. |
|---|
Response 202
commandId | string:uuidCommand identifier accepted into the RoadOps command ledger. |
|---|---|
resourceId | string:uuidIdentifier of the resource targeted by the command. |
resourceType | stringResource type targeted by the command. |
status | "applied"Command dispatch status. |
aggregateVersion | integerAggregate version produced by the accepted command. |
cursor | integerCursor for the accepted update. Refetch until returned records reach this cursor. |
links | object |
links.refetch | stringRelative URL to refetch the affected resource. |
Get cached driving and walking planning estimates
POST/v1/teams/{teamId}/lodging-locations/{lodgingLocationId}/poi-estimatesGet cached driving and walking planning estimates. Core attributes are top-level. Profiles contain current shared name, address, property contacts, amenities, and nearby places. Profile edits do not rewrite linked stays' booked name/location/timezone snapshots or booking contacts. Read lodgingLocationId on a stay to fetch this profile separately; profiles are not embedded in stay responses. Creating a profile does not create or link a stay.
Required scopes: lodging:read
Parameters
path.teamIdrequired | string:uuidTeam identifier. |
|---|---|
path.lodgingLocationIdrequired | string:uuidLodging location profile identifier. |
Request body (application/json)
poiIds | string:uuid[]Saved lodging location POI identifiers to estimate; omit to include all saved POIs. |
|---|---|
refresh | booleanRecalculate successful cached planning estimates. |
Response 200
sourceFingerprint | stringFingerprint of the origin and saved destinations used for these estimates. Clients must match it to their displayed endpoints before showing results. |
|---|---|
estimates | object[]Independent driving and walking results for each requested saved destination. |
estimates[].poiId | string:uuidSaved lodging location point of interest identifier. |
estimates[].drive | objectDriving planning estimate. |
estimates[].drive.status | "ok" | "unavailable" | "error"Whether this travel mode has an estimate, has no route, or encountered a lookup failure. |
estimates[].drive.distanceMeters | numberRoute distance in meters. |
estimates[].drive.durationSeconds | numberTraffic-independent planning duration in seconds. |
estimates[].drive.calculatedAt | string:date-timeWhen the planning estimate was calculated. |
estimates[].drive.refreshFailed | booleanThe refresh failed and this response retains the previous successful estimate. |
estimates[].walk | objectWalking planning estimate. |
estimates[].walk.status | "ok" | "unavailable" | "error"Whether this travel mode has an estimate, has no route, or encountered a lookup failure. |
estimates[].walk.distanceMeters | numberRoute distance in meters. |
estimates[].walk.durationSeconds | numberTraffic-independent planning duration in seconds. |
estimates[].walk.calculatedAt | string:date-timeWhen the planning estimate was calculated. |
estimates[].walk.refreshFailed | booleanThe refresh failed and this response retains the previous successful estimate. |