Difference between revisions of "USA Web Service"

From Netsville Support
Jump to navigation Jump to search
Line 1: Line 1:
 +
= Development Server =
 +
 +
Requests are RESTful URL calls combined with XML sent as raw Standard Input (non-urlencoded POST Requests).  To reach the Web Service, use this URL:
 +
http://signals.thewhiteroom.com/cgi-bin/ws
 +
The URL must be combined with a command such as '''login''', '''shipping''', '''tax''', or '''checkout'''. So a full request will look like one of these:
 +
* http://signals.thewhiteroom.com/cgi-bin/ws/login
 +
* http://signals.thewhiteroom.com/cgi-bin/ws/shipping
 +
* http://signals.thewhiteroom.com/cgi-bin/ws/tax
 +
* http://signals.thewhiteroom.com/cgi-bin/ws/checkout
 +
 
= User Login =
 
= User Login =
  
 
Allow access to membership database so mobile app can authenticate existing accounts.  Calls will be made directly to MySQL database to authenticate user login. Response will be name, address, phone, etc of customer table.
 
Allow access to membership database so mobile app can authenticate existing accounts.  Calls will be made directly to MySQL database to authenticate user login. Response will be name, address, phone, etc of customer table.
  
# Sample  
+
# '''Sample RESTful Request'''
 +
#: http://signals.thewhiteroom.com/cgi-bin/ws
 +
#:
 +
#:
  
 
= Shipping Info =
 
= Shipping Info =

Revision as of 13:29, 20 January 2012

Development Server

Requests are RESTful URL calls combined with XML sent as raw Standard Input (non-urlencoded POST Requests). To reach the Web Service, use this URL:

http://signals.thewhiteroom.com/cgi-bin/ws

The URL must be combined with a command such as login, shipping, tax, or checkout. So a full request will look like one of these:

User Login

Allow access to membership database so mobile app can authenticate existing accounts. Calls will be made directly to MySQL database to authenticate user login. Response will be name, address, phone, etc of customer table.

  1. Sample RESTful Request
    http://signals.thewhiteroom.com/cgi-bin/ws

Shipping Info

Tax Calculator

Checkout

Order Status

Testing