AI-generated Key Takeaways
-
This API endpoint allows VR partners to verify listings and identify data issues and serving eligibilities.
-
The API uses a POST request to the specified URL, including the account resource name as a path parameter.
-
The request body includes the listing information in XML format.
-
The response body contains a parsed version of the listing.
-
Authorization is required using the
https://www.googleapis.com/auth/travelpartnerOAuth scope.
Returns verified listings with data issues and serving eligibilities for VR partners only.
HTTP request
POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/listings:verify
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
The resource name of the account being queried. The format is |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "xmlListing": string } |
| Fields | |
|---|---|
xmlListing |
A listing that follows the XML format specified in https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed. |
Response body
Response message for VRPartnerListingVerificationService.VerifyPartnerListings.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"parsedListing": {
object ( |
| Fields | |
|---|---|
parsedListing |
The parsed listing output. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/travelpartner
For more information, see the OAuth 2.0 Overview.