Update iosVppEBook

Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported. Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Update the properties of a iosVppEBook object.

Prerequisites

One of the following permission scopes is required to execute this API:

DeviceManagementApps.ReadWrite.All

HTTP Request

PATCH /deviceAppManagement/managedEBooks{managedEBookId}
PATCH /deviceAppManagement/managedEBooks{managedEBookId}/groupAssignments{eBookGroupAssignmentId}/eBook

Request headers

Header Value
Authorization Bearer <token> Required.
Accept application/json

Request body

In the request body, supply a JSON representation of a iosVppEBook object. The following table shows the properties that are required when you create a 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 teh 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.

Response

If successful, this method returns a 200 OK response code and an updated iosVppEBook object in the response body.

Example

Request

Here is an example of the request.

PATCH https://graph.microsoft.com/beta/deviceAppManagement/managedEBooks{managedEBookId}
Content-type: application/json
Content-length: 803

{
  "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="
  },
  "lastModifiedDateTime": "2017-01-01T00:00:35.1329464-08:00",
  "informationUrl": "https://example.com/informationUrl/",
  "privacyInformationUrl": "https://example.com/privacyInformationUrl/",
  "vppTokenId": "<Unknown Primitive Type Edm.Guid>",
  "appleId": "Apple Id value",
  "vppOrganizationName": "Vpp Organization Name value",
  "genres": [
    "Genres value"
  ],
  "language": "Language value",
  "seller": "Seller value",
  "totalLicenseCount": 1,
  "usedLicenseCount": 0
}

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 200 OK
Content-Type: application/json
Content-Length: 961

{
  "@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": "<Unknown Primitive Type Edm.Guid>",
  "appleId": "Apple Id value",
  "vppOrganizationName": "Vpp Organization Name value",
  "genres": [
    "Genres value"
  ],
  "language": "Language value",
  "seller": "Seller value",
  "totalLicenseCount": 1,
  "usedLicenseCount": 0
}