Addresses 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="/addresses/v1">
			<resource path="/address/byboundary">
				<method name="POST">
					<request>
						<representation mediaType="application/json"/>
					</request>
					<response>
						<representation mediaType="application/json" element="addresses"/>
						<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="/address/byboundaryname">
                <method name="GET">
                    <request>
                        <param name="areaName1" style="query" type="xs:string"/>
                        <param name="areaName2" style="query" type="xs:string"/>
                        <param name="areaName3" style="query" type="xs:string"/>
                        <param name="areaName4" style="query" type="xs:string"/>
                        <param name="postCode" style="query" type="xs:string"/>
                        <param name="country" style="query" type="xs:string" required="true"/>
						<param name="maxCandidates" style="query" type="xs:string"/>
						<param name="page" style="query" type="xs:string" />
                    </request>
					<response>
						<representation mediaType="application/json" element="addresses"/>
						<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="/addresscount/byboundary">
				<method name="POST">
					<request>
						<representation mediaType="application/json"/>
					</request>
					<response>
						<representation mediaType="application/json" element="addressesCount"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
				</method>
			</resource>
			<resource path="/addresscount/byboundaryname">
                <method name="GET">
                    <request>
                        <param name="areaName1" style="query" type="xs:string"/>
                        <param name="areaName2" style="query" type="xs:string"/>
                        <param name="areaName3" style="query" type="xs:string"/>
                        <param name="areaName4" style="query" type="xs:string"/>
                        <param name="postCode" style="query" type="xs:string"/>
                        <param name="country" style="query" type="xs:string" required="true"/>
                    </request>
					<response>
						<representation mediaType="application/json" element="addressesCount"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
                </method>
            </resource>
		</resource>
	</resources>
</application>