Creating a REST Request

Satio Solutions' Web Services are all REST services. That means you can easily construct request URLs that will work in your browser, on the command line, and in your code. Supported languages include Java, Javascript, Perl, Python and PHP. See below for sample PHP code.

URL Construction

All search request URLs start with the hostname and resemble the following sample:
http://services.satio.com/dq/

Next is the method followed by a question mark.
wservice.aspx?

Those components form the base URL.
http://services.satio.com/dq/wservice.aspx?

The method is followed by the parameters, which take the form argument=value. Multiple parameters are separated by an ampersand (&). The following example submits a Firm name to the dQ-Biz service for upper/lower casing:

http://services.satio.com/dq/wservice.aspx?userid=satiouser&service=dqbiz&linein=satio%solutions&uplow=Y

The documentation for each service provides the service name and lists all of the mandatory and optional parameters, in addition to describing the XML response structure, etc.


Sample PHP code






 
Copyright © 2015 Satio Solutions All rights reserved.