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

Verify the AppleMDM signature presented by the device, verifies the PKCS7 signature and verify the Certificate is valid for the specific device.

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.

signature
Signature and message

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Signature": "sample string 2"
}

text/javascript

Sample:
{"Message":"sample string 1","Signature":"sample string 2"}

application/xml, text/xml

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

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 'AppleMDMSignature'.

application/bson

Sample:
AMessagesample string 1Signaturesample string 2

Response Information

True if verified

Response body formats

application/json, text/json

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

text/javascript

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

application/xml, text/xml

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

application/bson

Sample:
eSuccessDataErrorCodeErrorDescriptionsample string 4Metasample string 5