Method: accounts.priceCoverageViews.getLatest
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Restituisce la visualizzazione della copertura dei prezzi più recente in dettaglio.
Richiesta HTTP
GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/priceCoverageViews:latest
L'URL utilizza la sintassi gRPC Transcoding.
Parametri del percorso
Parametri |
parent |
string
Il nome della risorsa dell'account su cui viene eseguita la query. Il formato è accounts/{account_id} .
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di PriceCoverageView
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/travelpartner
Per scoprire di più, consulta la Panoramica di OAuth 2.0.
Tutti i diritti riservati. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2022-08-23 UTC.
[null,null,["Ultimo aggiornamento 2022-08-23 UTC."],[[["\u003cp\u003eRetrieves the latest price coverage view for a specified account with full details.\u003c/p\u003e\n"],["\u003cp\u003eUses a GET request with the parent parameter indicating the account ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns a PriceCoverageView object in the response.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/travelpartner\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.priceCoverageViews.getLatest\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nReturns the latest price coverage view in full detail.\n\n### HTTP request\n\n`GET https://travelpartner.googleapis.com/v3/{parent=accounts/*}/priceCoverageViews:latest`\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 must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [PriceCoverageView](/hotels/hotel-prices/api-reference/rest/v3/accounts.priceCoverageViews#PriceCoverageView).\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)."]]