Contents

Apply Redemption Code

Complete the installation of an app using a redemption code.

URL

PUT https://yourmdmhost.example.com/mdm#ApplyRedemptionCodeCommand

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/xml
ApplyRedemptionCodeResponse

The response object the system returns for the Apply Redemption Code Command.

Discussion

This command provides a redemption code to complete installing an app. Use this when InstallApplication returns NeedsRedemption, or when ManagedApplicationList returns NeedsRedemption for the status of the app.

Sending a redemption code to an app that doesn’t need it produces an error.

Refer to the following sections to determine supported channels and requirements, and to see an example request and response.

Command availability

Device channel

iOS

User channel

NA

Requires supervision

NA

Allowed in user enrollment

NA

Required access right

AllowAppInstallation

Example request and response

HTTP Body

The request object the server returns for the Apply Redemption Code Command.

Topics

Commands and responses

See Also

Managed Apps