Importante:non accettiamo più nuove registrazioni per l'API Play EMM.
Scopri di più.
Webapps: insert
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Crea una nuova app web per l'azienda.
Richiesta
Richiesta HTTP
POST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/webApps
Parametri
Nome del parametro |
Valore |
Descrizione |
Parametri percorso |
enterpriseId |
string |
L'ID dell'azienda.
|
Autorizzazione
Questa richiesta richiede l'autorizzazione con il seguente ambito:
Ambito |
https://www.googleapis.com/auth/androidenterprise |
Per ulteriori informazioni, consulta la pagina Autenticazione e autorizzazione.
Corpo della richiesta
Nel corpo della richiesta, indica una risorsa Webapps.
Risposta
In caso di esito positivo, questo metodo restituisce una risorsa Webapps nel corpo della risposta.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003eCreates a new web app for the enterprise using a POST request to a specific endpoint.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a Webapps resource, and a successful response will return the same resource type.\u003c/p\u003e\n"],["\u003cp\u003eIncludes \u003ccode\u003eenterpriseId\u003c/code\u003e as a path parameter to specify the target enterprise.\u003c/p\u003e\n"]]],[],null,["# Webapps: insert\n\n| **Note:** Requires [authorization](#auth).\n\nCreates a new web app for the enterprise.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/webApps\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------------|\n| **Path parameters** |||\n| `enterpriseId` | `string` | The ID of the enterprise. |\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/androidenterprise` |\n\nFor more information, see the [authentication and authorization](/android/work/play/emm-api/v1/how-tos/authorizing) page.\n\n### Request body\n\nIn the request body, supply a [Webapps resource](/android/work/play/emm-api/v1/webapps#resource).\n\nResponse\n--------\n\nIf successful, this method returns a [Webapps resource](/android/work/play/emm-api/v1/webapps#resource) in the response body."]]