Places WADL

<?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="/places/v1">
            <resource path="/poi/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="name" style="query" type="xs:string"/>
                        <param name="type" style="query" type="xs:string"/>
                        <param name="categoryCode" style="query" type="xs:string"/>
                        <param name="sicCode" style="query" type="xs:string"/>
                        <param name="maxCandidates" 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="sortBy" style="query" type="xs:string"/>
						<param name="fuzzyOnName" style="query" type="xs:string"/>
						<param name="page" style="query" type="xs:string"/>
						<param name="matchMode" style="query" type="xs:string"/>
						<param name="specificMatchOn" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/json" element="pois"/>
						<fault status="400" mediaType="application/json" element="errors"/>
                        <representation mediaType="text/csv"/>
						<fault status="400" mediaType="text/csv" element="errors"/>
                    </response>
                </method>
            </resource>
			<resource path="/poi/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="name" style="query" type="xs:string"/>
                        <param name="type" style="query" type="xs:string"/>
                        <param name="categoryCode" style="query" type="xs:string"/>
                        <param name="sicCode" style="query" type="xs:string"/>
                        <param name="maxCandidates" 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="sortBy" style="query" type="xs:string"/>
						<param name="fuzzyOnName" style="query" type="xs:string"/>
						<param name="page" style="query" type="xs:string"/>
						<param name="matchMode" style="query" type="xs:string"/>
						<param name="specificMatchOn" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/json" element="pois"/>
						<fault status="400" mediaType="application/json" element="errors"/>
                        <representation mediaType="text/csv"/>
						<fault status="400" mediaType="text/csv" element="errors"/>
                    </response>
                </method>
            </resource>
			<resource path="/metadata/sic">
				<method name="GET">
					<request>
                        <param name="sicCode" style="query" type="xs:string"/>
					</request>
					<response>
                        <representation mediaType="application/json" element="metadata"/>
						<fault status="400" mediaType="application/json" element="errors"/>
                        <representation mediaType="text/csv"/>
						<fault status="400" mediaType="text/csv" element="errors"/>
                    </response>
				</method>
			</resource>
			<resource path="/metadata/category">
				<method name="GET">
					<request>
                        <param name="categoryCode" style="query" type="xs:string"/>
					</request>
					<response>
                        <representation mediaType="application/json" element="metadata"/>
						<fault status="400" mediaType="application/json" element="errors"/>
                        <representation mediaType="text/csv"/>
						<fault status="400" mediaType="text/csv" element="errors"/>
                    </response>
				</method>
			</resource>
			<resource path="/poi/autocomplete">
				<method name="GET">
					<request>
						<param name="X-Forwarded-For" style="header" type="xs:string"/>
						<param name="longitude" style="query" type="xs:string"/>
						<param name="latitude" style="query" type="xs:string"/>
						<param name="searchText" 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="areaName1" style="query" type="xs:string"/>
						<param name="areaName3" style="query" type="xs:string"/>
						<param name="postcode1" style="query" type="xs:string"/>
						<param name="postcode2" style="query" type="xs:string"/>
						<param name="ipAddress" style="query" type="xs:string"/>
						<param name="autoDetectLocation" style="query" type="xs:string"/>
						<param name="type" style="query" type="xs:string"/>
						<param name="categoryCode" style="query" type="xs:string"/>
						<param name="sicCode" style="query" type="xs:string"/>
						<param name="maxCandidates" style="query" type="xs:string"/>
						<param name="sortBy" style="query" type="xs:string"/>
						<param name="searchOnNameOnly"  style="query" type="xs:string"/>
						<param name="matchMode" style="query" type="xs:string"/>
						<param name="specificMatchOn" style="query" type="xs:string"/>
					</request>
					<response>
					  <representation mediaType="application/json" element="locations"/>
					  <fault status="400" mediaType="application/json" element="errors"/>
				   </response>
				</method>
			</resource>
			<resource path="/poi/byarea">
				<method name="GET">
					<request>
						<param name="areaName3" style="query" type="xs:string"/>
						<param name="postcode1" style="query" type="xs:string"/>
						<param name="postcode2" style="query" type="xs:string"/>
						<param name="country" style="query" type="xs:string"/>
						<param name="name" style="query" type="xs:string"/>
						<param name="type" style="query" type="xs:string"/>
						<param name="categoryCode" style="query" type="xs:string"/>
						<param name="sicCode" style="query" type="xs:string"/>
						<param name="maxCandidates" style="query" type="xs:string"/>
						<param name="fuzzyOnName" style="query" type="xs:string"/>
						<param name="page" style="query" type="xs:string"/>
						<param name="matchMode" style="query" type="xs:string"/>
						<param name="specificMatchOn" style="query" type="xs:string"/>
					</request>
					<response>
                        <representation mediaType="application/json" element="metadata"/>
						<fault status="400" mediaType="application/json" element="errors"/>
                        <representation mediaType="text/csv"/>
						<fault status="400" mediaType="text/csv" element="errors"/>
                    </response>
				</method>
			</resource>
			<resource path="/poi/byboundary">
				<method name="POST">
				<request>
					<representation mediaType="application/json"/>
				</request>
				<response>
					<representation mediaType="application/json"/>
					<representation mediaType="text/csv"/>
				</response>
				</method>
			</resource>
			<resource path="/poicount">
				<method name="POST">
				<request>
					<representation mediaType="application/json"/>
				</request>
				<response>
					<representation mediaType="application/json"/>
				</response>
				</method>
			</resource>
			<resource path="/poi/{id}">
				<param name="id" style="template" type="xs:string"/>
				<method name="GET">
					<request/>
					<response>
						<representation mediaType="application/json"/>
						<representation mediaType="text/csv"/>
					</response>
				</method>
			</resource>
        </resource>
    </resources>
</application>