UnregisterCallback

Stops the M2M Platform from sending callback messages for the specified account and service.

Request Parameters

Parameter Type Description
AccountName
required
string The name of the account that has registered for callback messages.
ServiceName
required
string

The name of the callback service type that you want to stop. Valid values are:

  • CarrierService
  • DevicePRLInformation
  • DeviceService
  • DeviceSuspensionStatus
  • DeviceUsage
  • EnhancedConnectivityService
  • ExternalProvisioningChanges
  • PromoChange
  • ResumeTrackingNotification
  • SMSDeliveryConfirmation

Response Parameters

Parameter Type Description
AccountName string The name of the account that was unregistered for the specified type of callback messages.
ServiceName string The callback service type that was unregistered.

Example SOAP Request

<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
  xmlns:v2="http://nphase.com/unifiedwebservice/v2" 
  xmlns:nph="http://schemas.datacontract.org/2004/07/NPhase.UnifiedWebService.APIs.v2.Contract.CallbackRegistrationService">
  <soapenv:Header>
    <v2:token>current_session_token</v2:token>
  </soapenv:Header>
  <soapenv:Body>
    <v2:UnregisterCallback>
      <v2:Input>
        <nph:AccountName>account_name</nph:AccountName> 
        <nph:ServiceName>DeviceUsage</nph:ServiceName>
      </v2:Input>
    </v2:UnregisterCallback>
  </soapenv:Body>
</soapenv:Envelope>

Example SOAP Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <UnregisterCallbackResponse xmlns="http://nphase.com/unifiedwebservice/v2">
      <Output xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:a="http://schemas.datacontract.org/2004/07/NPhase.UnifiedWebService.APIs.v2.Contract.CallbackRegistrationService">
        <a:AccountName>account_name</a:AccountName>
        <a:ServiceName>DeviceUsage</a:ServiceName>
      </Output>
    </UnregisterCallbackResponse>
  </s:Body>
</s:Envelope>

Request Schema Diagram

Response Schema Diagram