ChangeDeviceContactInfo

Changes the name and address associated with a device.

NOTE: This API is currently in limited release, and it must be enabled for your organization before you can use it. You can contact Customer Support or your Verizon Sales Representative to learn about enabling the API for your organization.

Uses and Requirements

The M2M Platform sends a CarrierService callback message when the device contact information has been changed, or if there was a problem and the change could not be completed.

Request Parameters

Parameter Type Description
DeviceList
required
DeviceIdentifierCollection

A list of the devices for which you want to change or remove the cost center code, specified by device identifier. You only need to provide one identifier per device. Do not pass DeviceGroupName, AccountName, DeviceCustomFieldFilter, or DeviceServicePlanFilter if you use this parameter.

You can use GetDeviceList to get a list of all devices in the account.

For each device in DeviceList, use this structure of nested parameters:

<DeviceIdentifierCollection>
  <DeviceIndentifiers>
    <DeviceIdentifier>
      <Kind></Kind>
      <Identifier></Identifier>
    </DeviceIdentifier>
  </DeviceIndentifiers>
</DeviceIdentifierCollection>
Kind
required for DeviceList
string The type of the device identifier. Valid types of identifiers are:
  • ESN (decimal)
  • ICCID (up to 20 digits)
  • IMEI (up to 15 digits)
  • MDN
  • MEID (hexadecimal)
  • MSISDN
Identifier
required for DeviceList
string The value of the device identifier.
AccountName
required
string

The name of a billing account. An account name is usually numeric, and must include any leading zeroes.

PrimaryPlaceOfUse
optional
PrimaryPlaceOfUse

The customer name and the address of the device's primary place of use. These values will be applied to all devices in the request.

The Primary Place of Use location may affect taxation or have other legal implications. You may want to speak with legal and/or financial advisers before entering values for these fields.

CustomerName
required for PrimaryPlaceOfUse
PrimaryPlaceOfUseCustomerName The customer name to be used for line usage taxation.
Title
optional
string An optional title for the customer, such as "Mr." or "Dr."
FirstName
required for CustomerName
string The customer's first name.
MiddleName
optional
string The customer's middle name.
LastName
required for CustomerName
string The customer's last name.
Address
required for PrimaryPlaceOfUse
PrimaryPlaceOfUseAddress The customer address for the line's primary place of use, for line usage taxation.
AddressLine1
required for Address
string The street address for the line's primary place of use. This must be a physical address for taxation; it cannot be a P.O. box.
AddressLine2
optional
string Optional additional street address information.
City
required for Address
string The city for the line's primary place of use.
State
required for Address
string The state for the line's primary place of use.
ZipCode
required for Address
string The Zip code for the line's primary place of use.
Country
required for Address
string Either "US" or "USA" for the country of the line's primary place of use.

Response Parameters

Parameter Type Description
RequestId string A unique string that associates the request with the results that are sent via a callback service.

The M2M Platform will send a separate callback message for each device that matched the request criteria, indicating whether the operation succeeded for that device and containing any requested information. All of the callback messages will have the same RequestId.

Callback Response Parameters

Parameter Type Description
CallbackRequest CallbackRequest Wrapper element for all callback elements.
Username string The username defined when a URL was registered for the callback service, or an empty element if no username was defined.
Password string The password defined when a registered for the callback service, or an empty element if no password was defined.
RequestId string A unique string that matches the RequestId returned in the synchronous response to the original API request.

A separate callback message is sent for each device that matched the request criteria, indicating whether the operation succeeded for that device. All of the callback messages will have the same RequestId.

Device DeviceIdentifier The device that was changed.
Kind string The type of the device identifier. Valid types of identifiers are:
  • ESN (decimal)
  • ICCID (up to 20 digits)
  • IMEI (up to 15 digits)
  • MDN
  • MEID (hexadecimal)
  • MIN
  • MSISDN
Identifier string The value of the device identifier.
Data CallbackData The data elements for this callback.
CarrierService CarrierServiceCallbackRequest The data returned from a CarrierService API request.
ChangeDeviceState ChangeDeviceStateResponse Null for ChangeDeviceContactInfo requests.
ChangeDeviceFeatureCodes ChangeDevicefeatureCodesResponse Null for ChangeDeviceContactInfo requests.
ChangeDeviceServicePlan ChangeDeviceServicePlanResponse Null for ChangeDeviceContactInfo requests.
ChangeDeviceCostCenter ChangeDeviceCostCenter Response Null for ChangeDeviceContactInfo requests.
ChangeDeviceCustomFields ChangeDeviceCustomFieldsResponse Null for ChangeDeviceContactInfo requests.
ChangeDeviceIdentifier ChangeDeviceIdentifierResponse Null for ChangeDeviceContactInfo requests.
Change4GDeviceIdentifier Change4GDeviceIdentifierResponse Null for ChangeDeviceContactInfo requests.
MoveDevice MoveDeviceResponse Null for ChangeDeviceContactInfo requests.
ChangeDeviceContactInfo ChangeDeviceContactInfoResponse Empty in callback messages for ChangeDeviceContactInfo requests. Null for other CarrierService callback messages.
ExternalProvisioningChange ExternalProvisioningChange Null for this callback service.
PromoChange PromoChange Null for this callback service.
SMSDelivery SMSDelivery Null for this callback service.
PRLInformation PRLInformation Null for this callback service.
DeviceSuspendStatus DeviceSuspendStatus Null for this callback service.
Fault SoapFault Information about any errors that may have occurred.
faultcode QName
faultstring string
faultfactor anyURI
detail
Comment string Null for this callback type.
Summary SummaryReport Null for this callback service.
Status string Null for this callback type.
CallbackCount integer The number of times this callback message has been sent.
MaxCallbackThreshold integer The maximum number of times this callback message will be sent if it is not correctly acknowledged.

Example SOAP Request

<soapenv:Header>
  <v2:token>4b48257b-dea0-4f93-a1d2-4e7faa15f59d</v2:token>
</soapenv:Header>
<soapenv:Body>
  <v2:ChangeDeviceContactInfo>
    <v2:Input>
      <nph:DeviceList>
        <nph1:DeviceIdentifierCollection>
          <nph1:DeviceIdentifiers>
            <nph1:DeviceIdentifier>
              <nph1:Kind>mdn</nph1:Kind>
              <nph1:Identifier>8587757416</nph1:Identifier>
            </nph1:DeviceIdentifier>
          </nph1:DeviceIdentifiers>
        </nph1:DeviceIdentifierCollection>
      </nph:DeviceList>
      <nph:AccountName>0212398765-00001</nph:AccountName<
      <nph:PrimaryPlaceOfUse>
        <nph1:CustomerName>
          <nph1:Title>President</Title>
          <nph1:FirstName>Zaffod</FirstName>
          <nph1:MiddleName>P</MiddleName>
          <nph1:LastName>Beeblebrox</LastName>
          <nph1:Suffix>I</Suffix>
        </nph1:CustomerName>
        <nph1:Address>
          <nph1:AddressLine1>9868 Scranton Rd</AddressLine1>
          <nph1:AddressLine2>Suite A</AddressLine2>
          <nph1:City>San Diego</City>
          <nph1:State>CA</State>
          <nph1:ZipCode>92121</ZipCode>
          <nph1:Country>US</Country>
          <nph1:ZipCode4>0001</ZipCode4>
          <nph1:CBRPhone>1234567890</CBRPhone>
          <nph1:CBRPhoneType>P</CBRPhoneType>
          <nph1:EmailAddress>zaffod@theinternet.com</EmailAddress>
        </nph1:Address>
      </nph:PrimaryPlaceOfUse>
    </v2:Input>
  </v2:ChangeDeviceContactInfo>
</soapenv:Body>

Example SOAP Response

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <ChangeDeviceContactInfoResponse 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.CarrierService">
        <a:RequestId>fb4a29ac-a3a6-4db2-8188-4cca1a77b2f3</a:RequestId>
      </Output>
    </ChangeDeviceContactInfoResponse>
  </s:Body>
</s:Envelope>

Example SOAP Callback

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <CallbackRequest xmlns="http://nphase.com/unifiedwebservice/v2">
      <Username/>
      <Password/>
      <RequestId>c8de7c1d-59b9-4cf3-b969-db76cb2ce509</RequestId>
      <Device>
        <Kind>mdn</Kind>
        <Identifier>8586928930</Identifier>
      </Device>
      <Data>
        <Data>
          <CarrierService>
            <ChangeDeviceState xsi:nil="true"/>
            <ChangeDeviceFeatureCodes xsi:nil="true"/>
            <ChangeDeviceServicePlan xsi:nil="true"/>
            <ChangeDeviceCostCenter xsi:nil="true"/>
            <ChangeDeviceContactInfo />
            <ChangeDeviceIdentifier xsi:nil="true"/>
            <Change4GDeviceIdentifier xsi:nil="true"/>
            <MoveDevice xsi:nil="true"/>
          </CarrierService>
          <ExternalProvisioningChange xsi:nil="true"/>
          <PromoChange xsi:nil="true"/>
          <SMSDelivery xsi:nil="true"/>
          <PRLInformation xsi:nil="true"/>
          <DeviceSuspendStatus xsi:nil="true"/>
          <Fault xsi:nil="true"/>
          <Comment>Success</Comment>
          <Summary xsi:nil="true"/>
        </Data>
      </Data>
    </CallbackRequest>
  </s:Body>
</s:Envelope>

Request Schema Diagram

Response Schema Diagram