<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<grammars>
<resources base="https://api.precisely.com">
<resource path="/timezone/v1">
<resource path="timezone/byaddress">
<method name="GET">
<request>
<param name="timestamp" style="query" type="xs:string"/>
<param name="address" style="query" type="xs:string"/>
<param name="matchMode" style="query" type="xs:string"/>
<param name="country" style="query" type="xs:string"/>
</request>
<response>
<representation mediaType="application/json" element="timezone"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
<method name="POST">
<request>
<representation mediaType="application/json"/>
<representation mediaType="application/xml"/>
</request>
<response>
<representation mediaType="application/json" element="timezoneResponse"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
<resource path="timezone/bylocation">
<method name="GET">
<request>
<param name="timestamp" style="query" type="xs:string"/>
<param name="longitude" style="query" type="xs:string"/>
<param name="latitude" style="query" type="xs:string"/>
</request>
<response>
<representation mediaType="application/json" element="timezone"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
<method name="POST">
<request>
<representation mediaType="application/json"/>
</request>
<response>
<representation mediaType="application/json" element="timezoneResponse"/>
<fault status="400" mediaType="application/json" element="errors"/>
</response>
</method>
</resource>
</resource>
</resources>
</application>