Create iosVppEBook
Namespace: microsoft.graph
Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.
Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.
Create a new iosVppEBook object.
This API is available in the following national cloud deployments.
Global service | US Government L4 | US Government L5 (DOD) | China operated by 21Vianet |
---|---|---|---|
✅ | ✅ | ✅ | ✅ |
Permissions
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | DeviceManagementApps.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | DeviceManagementApps.ReadWrite.All |
HTTP Request
POST /deviceAppManagement/managedEBooks
Request headers
Header | Value |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Accept | application/json |
Request body
In the request body, supply a JSON representation for the iosVppEBook object.
The following table shows the properties that are required when you create the iosVppEBook.
Property | Type | Description |
---|---|---|
id | String | Key of the entity. Inherited from managedEBook |
displayName | String | Name of the eBook. Inherited from managedEBook |
description | String | Description. Inherited from managedEBook |
publisher | String | Publisher. Inherited from managedEBook |
publishedDateTime | DateTimeOffset | The date and time when the eBook was published. Inherited from managedEBook |
largeCover | mimeContent | Book cover. Inherited from managedEBook |
createdDateTime | DateTimeOffset | The date and time when the eBook file was created. Inherited from managedEBook |
lastModifiedDateTime | DateTimeOffset | The date and time when the eBook was last modified. Inherited from managedEBook |
informationUrl | String | The more information Url. Inherited from managedEBook |
privacyInformationUrl | String | The privacy statement Url. Inherited from managedEBook |
vppTokenId | Guid | The Vpp token ID. |
appleId | String | The Apple ID associated with Vpp token. |
vppOrganizationName | String | The Vpp token's organization name. |
genres | String collection | Genres. |
language | String | Language. |
seller | String | Seller. |
totalLicenseCount | Int32 | Total license count. |
usedLicenseCount | Int32 | Used license count. |
roleScopeTagIds | String collection | List of Scope Tags for this Entity instance. |
Response
If successful, this method returns a 201 Created
response code and a iosVppEBook object in the response body.
Example
Request
Here is an example of the request.
POST https://graph.microsoft.com/beta/deviceAppManagement/managedEBooks
Content-type: application/json
Content-length: 854
{
"@odata.type": "#microsoft.graph.iosVppEBook",
"displayName": "Display Name value",
"description": "Description value",
"publisher": "Publisher value",
"publishedDateTime": "2016-12-31T23:58:16.1180489-08:00",
"largeCover": {
"@odata.type": "microsoft.graph.mimeContent",
"type": "Type value",
"value": "dmFsdWU="
},
"informationUrl": "https://example.com/informationUrl/",
"privacyInformationUrl": "https://example.com/privacyInformationUrl/",
"vppTokenId": "9148ac60-ac60-9148-60ac-489160ac4891",
"appleId": "Apple Id value",
"vppOrganizationName": "Vpp Organization Name value",
"genres": [
"Genres value"
],
"language": "Language value",
"seller": "Seller value",
"totalLicenseCount": 1,
"usedLicenseCount": 0,
"roleScopeTagIds": [
"Role Scope Tag Ids value"
]
}
Response
Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 1026
{
"@odata.type": "#microsoft.graph.iosVppEBook",
"id": "3b9f627e-627e-3b9f-7e62-9f3b7e629f3b",
"displayName": "Display Name value",
"description": "Description value",
"publisher": "Publisher value",
"publishedDateTime": "2016-12-31T23:58:16.1180489-08:00",
"largeCover": {
"@odata.type": "microsoft.graph.mimeContent",
"type": "Type value",
"value": "dmFsdWU="
},
"createdDateTime": "2017-01-01T00:02:43.5775965-08:00",
"lastModifiedDateTime": "2017-01-01T00:00:35.1329464-08:00",
"informationUrl": "https://example.com/informationUrl/",
"privacyInformationUrl": "https://example.com/privacyInformationUrl/",
"vppTokenId": "9148ac60-ac60-9148-60ac-489160ac4891",
"appleId": "Apple Id value",
"vppOrganizationName": "Vpp Organization Name value",
"genres": [
"Genres value"
],
"language": "Language value",
"seller": "Seller value",
"totalLicenseCount": 1,
"usedLicenseCount": 0,
"roleScopeTagIds": [
"Role Scope Tag Ids value"
]
}