| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.AndroidEnterprise.Enterprises.Insert
Description
Establishes the binding between the EMM and an enterprise. This is now deprecated; use enroll instead.
See: Google Play EMM API Reference for androidenterprise.enterprises.insert.
- type EnterprisesInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (QueryParam "token" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Enterprise :> Post '[JSON] Enterprise)))))
- enterprisesInsert :: Text -> Enterprise -> EnterprisesInsert
- data EnterprisesInsert
- eiToken :: Lens' EnterprisesInsert Text
- eiPayload :: Lens' EnterprisesInsert Enterprise
REST Resource
type EnterprisesInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (QueryParam "token" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Enterprise :> Post '[JSON] Enterprise))))) Source #
A resource alias for androidenterprise.enterprises.insert method which the
EnterprisesInsert request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Enterprise | |
| -> EnterprisesInsert |
Creates a value of EnterprisesInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesInsert Source #
Establishes the binding between the EMM and an enterprise. This is now deprecated; use enroll instead.
See: enterprisesInsert smart constructor.
Request Lenses
eiToken :: Lens' EnterprisesInsert Text Source #
The token provided by the enterprise to register the EMM.
eiPayload :: Lens' EnterprisesInsert Enterprise Source #
Multipart request metadata.