Method: accounts.listings.verify
Stay organized with collections
Save and categorize content based on your preferences.
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 |
string
The resource name of the account being queried. The format is accounts/{account_id} .
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"xmlListing": string
} |
Response body
Response message for VRPartnerListingVerificationService.VerifyPartnerListings
.
If successful, the response body contains data with the following structure:
JSON representation |
{
"parsedListing": {
object (ParsedListing )
}
} |
Fields |
parsedListing |
object (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.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-20 UTC.
[null,null,["Last updated 2025-03-20 UTC."],[[["\u003cp\u003eVerifies listings for data issues and serving eligibility using an XML listing as input.\u003c/p\u003e\n"],["\u003cp\u003eThe request is sent to \u003ccode\u003ehttps://travelpartner.googleapis.com/v3/{parent=accounts/*}/listings:verify\u003c/code\u003e with the account ID in the path.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a parsed version of the listing and information about its verification status.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/travelpartner\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.listings.verify\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.VerifyListingsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns verified listings with data issues and serving eligibilities for VR partners only.\n\n### HTTP request\n\n`POST https://travelpartner.googleapis.com/v3/{parent=accounts/*}/listings:verify`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------|\n| `parent` | `string` The resource name of the account being queried. The format is `accounts/{account_id}`. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------|\n| ``` { \"xmlListing\": string } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| `xmlListing` | `string` A listing that follows the XML format specified in \u003chttps://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed\u003e. |\n\n### Response body\n\nResponse message for [VRPartnerListingVerificationService.VerifyPartnerListings](/hotels/hotel-prices/api-reference/rest/v3/accounts.listings/verify#google.travel.travelpartner.v3.VRPartnerListingVerificationService.VerifyPartnerListings).\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------|\n| ``` { \"parsedListing\": { object (/hotels/hotel-prices/api-reference/rest/v3/accounts.listings#ParsedListing) } } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| `parsedListing` | `object (`[ParsedListing](/hotels/hotel-prices/api-reference/rest/v3/accounts.listings#ParsedListing)`)` The parsed listing output. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/travelpartner`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]