Account


Click here for a complete list of operations.

TransferCreditsToSubUser

Transfer credits to a sub user.

Test

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

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: moapi.upsidewireless.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://upsidewireless.com/webservice/account/TransferCreditsToSubUser"

<?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>
    <TransferCreditsToSubUser xmlns="http://upsidewireless.com/webservice/account">
      <token>string</token>
      <signature>string</signature>
      <userName>string</userName>
      <credits>double</credits>
      <description>string</description>
    </TransferCreditsToSubUser>
  </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>
    <TransferCreditsToSubUserResponse xmlns="http://upsidewireless.com/webservice/account">
      <TransferCreditsToSubUserResult>
        <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>
      </TransferCreditsToSubUserResult>
    </TransferCreditsToSubUserResponse>
  </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: moapi.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>
    <TransferCreditsToSubUser xmlns="http://upsidewireless.com/webservice/account">
      <token>string</token>
      <signature>string</signature>
      <userName>string</userName>
      <credits>double</credits>
      <description>string</description>
    </TransferCreditsToSubUser>
  </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>
    <TransferCreditsToSubUserResponse xmlns="http://upsidewireless.com/webservice/account">
      <TransferCreditsToSubUserResult>
        <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>
      </TransferCreditsToSubUserResult>
    </TransferCreditsToSubUserResponse>
  </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/TransferCreditsToSubUser?token=string&signature=string&userName=string&credits=string&description=string HTTP/1.1
Host: moapi.upsidewireless.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<TransferCreditsToSubUserResult 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>
</TransferCreditsToSubUserResult>

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/TransferCreditsToSubUser HTTP/1.1
Host: moapi.upsidewireless.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

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

<?xml version="1.0" encoding="utf-8"?>
<TransferCreditsToSubUserResult 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>
</TransferCreditsToSubUserResult>