Enterprises: generateSignupUrl
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kaydolma URL'si oluşturur.
İstek
HTTP isteği
POST https://www.googleapis.com/androidenterprise/v1/enterprises/signupUrl
Parametreler
Parametre adı |
Değer |
Açıklama |
İsteğe bağlı sorgu parametreleri |
adminEmail |
string |
İsteğe bağlı. Kuruluş kayıt formunun yönetici alanını önceden doldurmak için kullanılan e-posta adresi. Bu değer yalnızca bir ipucu niteliğindedir ve kullanıcı tarafından değiştirilebilir.
"allowedDomains" boş değilse bu, "allowedDomains" değerlerinden birine ait olmalıdır.
|
allowedDomains |
string |
İsteğe bağlı. Yönetici e-postası için izin verilen alanların listesi. BT yöneticisi, bu listede bulunmayan bir alan adının yer aldığı bir e-posta adresi giremez. Bu listedeki alanların alt alan adlarına izin verilmez ancak alan adının önüne "*." ön ekiyle ikinci bir giriş ekleyerek izin verilebilir (ör. *.example.com). Alan mevcut değilse veya boş bir listedeyse BT yöneticisi geçerli bir alan adı kullanabilir. Kişisel e-posta alan adlarına her zaman izin verilir ancak bu, Managed Google Play Accounts grubu oluşturulmasına neden olur.
|
callbackUrl |
string |
Yöneticinin, kuruluşu başarıyla oluşturduktan sonra yönlendirileceği geri çağırma URL'si. Sistem, bu URL'ye yönlendirmeden önce "enterpriseToken" adlı tek bir sorgu parametresi ekler. Bu parametre, CompleteSignup isteği için kullanılacak opak bir jeton içerir.
Bunun, URL'nin ayrıştırılacağı, parametrenin ekleneceği ve ardından yeni bir URL biçimlendirileceği anlamına geldiğine dikkat edin. Yani bazı küçük biçimlendirme değişiklikleri olabilir ve daha da önemlisi, URL'nin ayrıştırılabilmesi için iyi biçimlendirilmiş olması gerekir.
|
Yetkilendirme
Bu istek için aşağıdaki kapsamda yetkilendirme gerekir:
Kapsam |
https://www.googleapis.com/auth/androidenterprise |
Daha fazla bilgi için kimlik doğrulama ve yetkilendirme sayfasına bakın.
İstek içeriği
Bu yöntemle istek gövdesi göndermeyin.
Yanıt
Başarılı olursa bu yöntem aşağıdaki yapıya sahip bir yanıt metni döndürür:
{
"kind": string,
"url": string,
"completionToken": string
}
Mülk adı |
Değer |
Açıklama |
Notlar |
url |
string |
Yöneticinin bir kuruluşa kaydolabildiğini belirten URL. İşaretlenen sayfa bir iframe'de oluşturulamaz. |
|
completionToken |
string |
CompleteSignup'dan kurumsal kaynağı elde etmek için Enterprise Token ile birlikte gerekli olan opak jeton. |
|
kind |
string |
Desteği sonlandırıldı.
|
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-03-27 UTC.
[null,null,["Son güncelleme tarihi: 2025-03-27 UTC."],[[["\u003cp\u003eGenerates a sign-up URL for Android enterprise enrollment using the \u003ccode\u003esignupUrl\u003c/code\u003e endpoint with an optional admin email and callback URL.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful signup, a response provides a sign-up URL for the admin and a completion token for finalizing the process with the \u003ccode\u003eCompleteSignup\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidenterprise\u003c/code\u003e scope is necessary to use this endpoint.\u003c/p\u003e\n"]]],[],null,["# Enterprises: generateSignupUrl\n\n| **Note:** Requires [authorization](#auth).\n\nGenerates a sign-up URL.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/androidenterprise/v1/enterprises/signupUrl\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Optional query parameters** |||\n| `adminEmail` | `string` | Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user. If \\`allowedDomains\\` is non-empty then this must belong to one of the \\`allowedDomains\\`. |\n| `allowedDomains` | `string` | Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email address with a domain name that is not in this list. Subdomains of domains in this list are not allowed but can be allowed by adding a second entry which has \\`\\*.\\` prefixed to the domain name (e.g. \\*.example.com). If the field is not present or is an empty list then the IT admin is free to use any valid domain name. Personal email domains are always allowed, but will result in the creation of a managed Google Play Accounts enterprise. |\n| `callbackUrl` | `string` | The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named \"enterpriseToken\" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed. |\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\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```text\n{\n \"kind\": string,\n \"url\": string,\n \"completionToken\": string\n}\n```\n\n| Property name | Value | Description | Notes |\n|-------------------|----------|------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `url` | `string` | A URL under which the Admin can sign up for an enterprise. The page pointed to cannot be rendered in an iframe. | |\n| `completionToken` | `string` | An opaque token that will be required, along with the Enterprise Token, for obtaining the enterprise resource from CompleteSignup. | |\n| `kind` | `string` | Deprecated. | |"]]