POST v1/core/accounts/{accId}/devices/apndevices/{apnDevId}/mdm/apple/wakeupcall

Request a device be woken up by APNS to check server for MDM commands

Request Information

Parameters

NameDescriptionAdditional information
accId
Account ID

Define this parameter in the request URI.

apnDevId
APN Device ID

Define this parameter in the request URI.

wakeup
Payload - used for compliance with REST / HTTP, value is not used.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Payload": "sample string 1"
}

text/javascript

Sample:
{"Payload":"sample string 1"}

application/xml, text/xml

Sample:
<AppleMDMWakeupCall xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Payload>sample string 1</Payload>
</AppleMDMWakeupCall>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AppleMDMWakeupCall'.

application/bson

Sample:
"Payloadsample string 1

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "Payload": "sample string 1"
  },
  "ErrorCode": 2,
  "ErrorDescription": "sample string 3",
  "Meta": "sample string 4"
}

text/javascript

Sample:
{"Success":true,"Data":{"Payload":"sample string 1"},"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}

application/xml, text/xml

Sample:
<PBNBReturnOfAppleMDMWakeupCallCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models">
  <Data>
    <Payload>sample string 1</Payload>
  </Data>
  <ErrorCode>2</ErrorCode>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Meta>sample string 4</Meta>
  <Success>true</Success>
</PBNBReturnOfAppleMDMWakeupCallCA1DLPoZ>

application/bson

Sample:
�SuccessData"Payloadsample string 1ErrorCodeErrorDescriptionsample string 3Metasample string 4