<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<resources base="https://api.precisely.com">
<resource path="/demographics-segmentation/v1">
<resource path="/demographics/byaddress">
<method name="GET">
<request>
<param name="address" style="query" type="xs:string" required="true"/>
<param name="country" style="query" type="xs:string" />
<param name="profile" style="query" type="xs:string" />
<param name="filter" style="query" type="xs:string" />
<param name="valueFormat" style="query" type="xs:string" />
<param name="variableLevel" style="query" type="xs:string" />
</request>
<response>
<representation mediaType="application/json" element="demographics"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
<resource path="/demographics/bylocation">
<method name="GET">
<request>
<param name="longitude" style="query" type="xs:string" required="true"/>
<param name="latitude" style="query" type="xs:string" required="true"/>
<param name="profile" style="query" type="xs:string" />
<param name="filter" style="query" type="xs:string" />
<param name="valueFormat" style="query" type="xs:string" />
<param name="variableLevel" style="query" type="xs:string" />
</request>
<response>
<representation mediaType="application/json" element="demographics"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
<resource path="/basic/demographics">
<method name="GET">
<request>
<param name="address" style="query" type="xs:string"/>
<param name="longitude" style="query" type="xs:string" />
<param name="latitude" style="query" type="xs:string" />
<param name="searchRadius" style="query" type="xs:string" />
<param name="searchRadiusUnit" style="query" type="xs:string" />
<param name="travelTime" style="query" type="xs:string" />
<param name="travelTimeUnit" style="query" type="xs:string" />
<param name="travelDistance" style="query" type="xs:string" />
<param name="travelDistanceUnit" style="query" type="xs:string" />
<param name="travelMode" style="query" type="xs:string" />
<param name="country" style="query" type="xs:string" />
<param name="profile" style="query" type="xs:string" />
<param name="filter" style="query" type="xs:string" />
<param name="includeGeometry" style="query" type="xs:string" />
</request>
<response>
<representation mediaType="application/json" element="demographics"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
<resource path="/advanced/demographics">
<method name="POST">
<request>
<representation mediaType="application/json"/>
</request>
<response>
<representation mediaType="application/json" element="demographics"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
<resource path="/demographics/byboundaryids">
<method name="GET">
<request>
<param name="boundaryIds" style="query" type="xs:string"/>
<param name="profile" style="query" type="xs:string" />
<param name="filter" style="query" type="xs:string" />
<param name="valueFormat" style="query" type="xs:string" />
<param name="variableLevel" style="query" type="xs:string" />
</request>
<response>
<representation mediaType="application/json" element="demographics"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
<resource path="/segmentation/byaddress">
<method name="GET">
<request>
<param name="address" style="query" type="xs:string" required="true"/>
<param name="country" style="query" type="xs:string"/>
</request>
<response>
<representation mediaType="application/json" element="segmentation"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
<resource path="/segmentation/bylocation">
<method name="GET">
<request>
<param name="longitude" style="query" type="xs:string" required="true"/>
<param name="latitude" style="query" type="xs:string" required="true"/>
</request>
<response>
<representation mediaType="application/json" element="segmentation"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
</resource>
</resources>
</application>