Account


Click here for a complete list of operations.

RegisterDeviceForSubUser

Register device for sub user. (a forwarding rule for this device will also be created if set createForwardRule to true)

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
token:
signature:
userName:
device:
type:
createForwardRule:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /soap/Account.asmx HTTP/1.1
Host: api.upsidewireless.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://upsidewireless.com/webservice/account/RegisterDeviceForSubUser"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RegisterDeviceForSubUser xmlns="http://upsidewireless.com/webservice/account">
      <token>string</token>
      <signature>string</signature>
      <userName>string</userName>
      <device>string</device>
      <type>SMS or Email or URL</type>
      <createForwardRule>boolean</createForwardRule>
    </RegisterDeviceForSubUser>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RegisterDeviceForSubUserResponse xmlns="http://upsidewireless.com/webservice/account">
      <RegisterDeviceForSubUserResult>
        <isOk>boolean</isOk>
        <errorCode>GENERAL_ERROR or UNAUTHORIZED_ACCESS or USERNAME_IN_USE or EMAIL_ADDRESS_IN_USE or DEVICE_IN_USE or SMSIN_IN_USE or WEBTEXT_IN_USE or INVALID_USERNAME or INVALID_PASSWORD or INVALID_FISTNAME or INVALID_LASTNAME or INVALID_EMAIL_ADDRESS or INVALID_SMSIN or INVALID_WEBTEXT or INVALID_PARAMETER or NO_ERROR</errorCode>
        <message>string</message>
      </RegisterDeviceForSubUserResult>
    </RegisterDeviceForSubUserResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /soap/Account.asmx HTTP/1.1
Host: api.upsidewireless.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RegisterDeviceForSubUser xmlns="http://upsidewireless.com/webservice/account">
      <token>string</token>
      <signature>string</signature>
      <userName>string</userName>
      <device>string</device>
      <type>SMS or Email or URL</type>
      <createForwardRule>boolean</createForwardRule>
    </RegisterDeviceForSubUser>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RegisterDeviceForSubUserResponse xmlns="http://upsidewireless.com/webservice/account">
      <RegisterDeviceForSubUserResult>
        <isOk>boolean</isOk>
        <errorCode>GENERAL_ERROR or UNAUTHORIZED_ACCESS or USERNAME_IN_USE or EMAIL_ADDRESS_IN_USE or DEVICE_IN_USE or SMSIN_IN_USE or WEBTEXT_IN_USE or INVALID_USERNAME or INVALID_PASSWORD or INVALID_FISTNAME or INVALID_LASTNAME or INVALID_EMAIL_ADDRESS or INVALID_SMSIN or INVALID_WEBTEXT or INVALID_PARAMETER or NO_ERROR</errorCode>
        <message>string</message>
      </RegisterDeviceForSubUserResult>
    </RegisterDeviceForSubUserResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /soap/Account.asmx/RegisterDeviceForSubUser?token=string&signature=string&userName=string&device=string&type=string&createForwardRule=string HTTP/1.1
Host: api.upsidewireless.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<RegisterDeviceForSubUserResult xmlns="http://upsidewireless.com/webservice/account">
  <isOk>boolean</isOk>
  <errorCode>GENERAL_ERROR or UNAUTHORIZED_ACCESS or USERNAME_IN_USE or EMAIL_ADDRESS_IN_USE or DEVICE_IN_USE or SMSIN_IN_USE or WEBTEXT_IN_USE or INVALID_USERNAME or INVALID_PASSWORD or INVALID_FISTNAME or INVALID_LASTNAME or INVALID_EMAIL_ADDRESS or INVALID_SMSIN or INVALID_WEBTEXT or INVALID_PARAMETER or NO_ERROR</errorCode>
  <message>string</message>
</RegisterDeviceForSubUserResult>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /soap/Account.asmx/RegisterDeviceForSubUser HTTP/1.1
Host: api.upsidewireless.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

token=string&signature=string&userName=string&device=string&type=string&createForwardRule=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<RegisterDeviceForSubUserResult xmlns="http://upsidewireless.com/webservice/account">
  <isOk>boolean</isOk>
  <errorCode>GENERAL_ERROR or UNAUTHORIZED_ACCESS or USERNAME_IN_USE or EMAIL_ADDRESS_IN_USE or DEVICE_IN_USE or SMSIN_IN_USE or WEBTEXT_IN_USE or INVALID_USERNAME or INVALID_PASSWORD or INVALID_FISTNAME or INVALID_LASTNAME or INVALID_EMAIL_ADDRESS or INVALID_SMSIN or INVALID_WEBTEXT or INVALID_PARAMETER or NO_ERROR</errorCode>
  <message>string</message>
</RegisterDeviceForSubUserResult>