Telecomm WADL

Refer 'RateCenter.xsd' and 'Errors.xsd' for XML schema definition.

<?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="/telecomm/v1/ratecenter">
			<resource path="/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="areaCodeInfo" style="query" type="xs:string" />
						<param name="level" style="query" type="xs:string" />

					</request>
					<response>
						<representation mediaType="application/json" element="ratecenter"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
				</method>
			</resource>
		</resource>

		<resource path="/telecomm/v1/ratecenter">
			<resource path="/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="areaCodeInfo" style="query" type="xs:string" />
						<param name="level" style="query" type="xs:string" />
					</request>					
					<response>
						<representation mediaType="application/json" element="ratecenter"/>
						<fault status="400" mediaType="application/json" element="errors"/>
					</response>
				</method>
			</resource>
		</resource>
	</resources>
</application>