Account
Click here for a complete list of operations.
AddUser_Extended
Use this function to create a new user. Fields such as smsIN, webText and comment are optional.
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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/AddUser_Extended"
<?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>
<AddUser_Extended xmlns="http://upsidewireless.com/webservice/account">
<token>string</token>
<signature>string</signature>
<userName>string</userName>
<passWord>string</passWord>
<firstName>string</firstName>
<lastName>string</lastName>
<emailAddress>string</emailAddress>
<smsIN>string</smsIN>
<webText>string</webText>
<comment>string</comment>
<externalId>string</externalId>
<companyName>string</companyName>
</AddUser_Extended>
</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>
<AddUser_ExtendedResponse xmlns="http://upsidewireless.com/webservice/account">
<AddUser_ExtendedResult>
<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>
</AddUser_ExtendedResult>
</AddUser_ExtendedResponse>
</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>
<AddUser_Extended xmlns="http://upsidewireless.com/webservice/account">
<token>string</token>
<signature>string</signature>
<userName>string</userName>
<passWord>string</passWord>
<firstName>string</firstName>
<lastName>string</lastName>
<emailAddress>string</emailAddress>
<smsIN>string</smsIN>
<webText>string</webText>
<comment>string</comment>
<externalId>string</externalId>
<companyName>string</companyName>
</AddUser_Extended>
</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>
<AddUser_ExtendedResponse xmlns="http://upsidewireless.com/webservice/account">
<AddUser_ExtendedResult>
<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>
</AddUser_ExtendedResult>
</AddUser_ExtendedResponse>
</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/AddUser_Extended?token=string&signature=string&userName=string&passWord=string&firstName=string&lastName=string&emailAddress=string&smsIN=string&webText=string&comment=string&externalId=string&companyName=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"?> <AddUserResult 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> </AddUserResult>
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/AddUser_Extended HTTP/1.1 Host: api.upsidewireless.com Content-Type: application/x-www-form-urlencoded Content-Length: length token=string&signature=string&userName=string&passWord=string&firstName=string&lastName=string&emailAddress=string&smsIN=string&webText=string&comment=string&externalId=string&companyName=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <AddUserResult 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> </AddUserResult>