יצירת לקוח להרשמה דרך הארגון. אחרי שהשיטה תוחזר בהצלחה, משתמשים עם הרשאת אדמין ובעלים יוכלו לנהל את המכשירים ואת הגדרות ה-EMM באמצעות קריאה ל-methods של ה-API או באמצעות פורטל ההרשמה דרך הארגון. הלקוח מקבל אימייל ברכה להרשמה דרך הארגון ומסביר איך להיכנס לפורטל.
בקשת HTTP
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers
חובה. נתוני החברה שצריך לאכלס את הלקוח החדש. חייב להכיל ערך של companyName ולפחות ערך אחד מסוג owner_email שמשויך לחשבון Google. הערכים של companyId ושל name חייבים להיות ריקים.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע חדש של Company.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThis endpoint creates a new customer for zero-touch enrollment, enabling them to manage devices and EMM configurations via API or the zero-touch portal.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003ePOST\u003c/code\u003e to \u003ccode\u003ehttps://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers\u003c/code\u003e, using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required and identifies the reseller in the format \u003ccode\u003epartners/[PARTNER_ID]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include a \u003ccode\u003ecustomer\u003c/code\u003e object with the company name and at least one owner email associated with a Google Account.\u003c/p\u003e\n"],["\u003cp\u003eSuccessfully creating a customer returns a \u003ccode\u003eCompany\u003c/code\u003e instance, and the operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/androidworkprovisioning\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This describes how to create a zero-touch enrollment customer using a POST request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers`. The `parent` path parameter specifies the reseller. The request body must include a `customer` object with a `companyName` and at least one `owner_email`. Upon success, a new `Company` instance is returned. Authorization requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. The created customer can then manage devices and EMM configs.\n"],null,[]]