<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<application xmlns="http://wadl.dev.java.net/2009/02">
    <doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 2.45 2024-08-27 13:07:04"/>
    <doc xmlns:jersey="http://jersey.java.net/" jersey:hint="This is simplified WADL with user and core resources only. To get full WADL with extended resources use the query parameter detail. Link: http://spoy-gx-eun-1-api-1-app.azurewebsites.net/api/rest/application.wadl?detail=true"/>
    <grammars/>
    <resources base="http://spoy-gx-eun-1-api-1-app.azurewebsites.net/api/rest/">
        <resource path="survey/{surveyId}/answer/sms">
            <resource path="/invite/batch">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="batchInvite" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="localeId" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="anonymous" style="query" type="xs:boolean" default="false"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="unique" style="query" type="xs:boolean" default="true"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="message" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="sendAt" style="query" type="xs:string" default="now"/>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/invite">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="invite" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="phoneNumber" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="unique" style="query" type="xs:boolean" default="true"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="anonymous" style="query" type="xs:boolean" default="false"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="localeId" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="meta" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="message" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="sendAt" style="query" type="xs:string" default="now"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
        <resource path="answer/{answerId}">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="template" type="xs:long"/>
            <method id="getAnswer" name="GET">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
            <resource path="/element/{elementId}/json">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="template" type="xs:long"/>
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="elementId" style="template" type="xs:string"/>
                <method id="addJsonData" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="value" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/element/{elementId}">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="template" type="xs:long"/>
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="elementId" style="template" type="xs:string"/>
                <method id="addData" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="value" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/sendReminder">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="template" type="xs:long"/>
                <method id="sendReminder" name="POST">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="sendAt" style="query" type="xs:string" default="now"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="filter" style="query" type="xs:string" default="incomplete"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="senderProfileId" style="query" type="xs:long"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="author" style="query" type="xs:string" default="noreply@surveypal.com"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="replyTo" style="query" type="xs:string" default="noreply@surveypal.com"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="subject" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="html" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="plainText" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="message" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/state">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="template" type="xs:long"/>
                <method id="setState" name="POST">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="value" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/data">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="template" type="xs:long"/>
                <method id="getData" name="GET">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="useQuestionId" style="query" type="xs:boolean" default="false"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="preferredLocaleId" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
                <method id="batchInsert" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="elements" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="state" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="modifiedTime" style="query" type="xs:string" default="now"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/meta">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="template" type="xs:long"/>
                <method id="setMeta" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/element/{elementId}/{index}">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="template" type="xs:long"/>
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="elementId" style="template" type="xs:string"/>
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="index" style="template" type="xs:int"/>
                <method id="addData" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="value" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
        <resource path="survey/{surveyId}/answer">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
            <method id="insert" name="PUT">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="source" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="state" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="startTime" style="query" type="xs:string" default="now"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="localeId" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="meta" style="query" type="xs:string"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
            <resource path="/count">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="getAnswerCount" name="GET">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="channel" style="query" type="xs:string" default="all"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="state" style="query" type="xs:string" default="[complete]"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="from" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="to" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/batch">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="batchInsert" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <representation mediaType="application/json"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
        <resource path="emailtask/{emailTaskId}">
            <resource path="/templates">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="emailTaskId" style="template" type="xs:long"/>
                <method id="createTemplates" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="localeId" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="recipients" style="query" type="xs:string" default="current"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="senderProfileId" style="query" type="xs:long"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="author" style="query" type="xs:string" default="noreply@surveypal.com"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="replyTo" style="query" type="xs:string" default="noreply@surveypal.com"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="subject" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="html" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="plainText" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="message" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="anonymous" style="query" type="xs:boolean" default="false"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/answers">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="emailTaskId" style="template" type="xs:long"/>
                <method id="addAnswer" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerId" style="query" type="xs:long"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/activate">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="emailTaskId" style="template" type="xs:long"/>
                <method id="activate" name="POST">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
        <resource path="shorturl">
            <method id="getShortUrlList" name="GET">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
            <method id="createShortUrl" name="PUT">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <representation mediaType="application/json"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
            <resource path="/{id}">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="id" style="template" type="xs:long"/>
                <method id="getShortUrlById" name="GET">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
                <method id="updateShortUrlById" name="POST">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
                <method id="deleteShortUrlById" name="DELETE">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
        <resource path="surveys">
            <method id="listSurveys" name="GET">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="published" style="query" type="xs:boolean"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="styleRevision" style="query" type="xs:string" default=""/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="from" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="to" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="offset" style="query" type="xs:int"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="limit" style="query" type="xs:int"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
        </resource>
        <resource path="survey/{surveyId}">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
            <method id="getSurvey" name="GET">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
            <resource path="/result/public/access">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="createPublicResultAccess" name="POST">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="enabled" style="query" type="xs:boolean" default="true"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
                <method id="deletePublicResultAccess" name="DELETE">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/merges">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="listMerges" name="GET">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="offset" style="query" type="xs:int"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="limit" style="query" type="xs:int"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/clone">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="clone" name="POST">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="name" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="includeTemplates" style="query" type="xs:boolean" default="false"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/languages">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="getSurveyLanguages" name="GET">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/elements">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="getSurveyElements" name="GET">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="useQuestionId" style="query" type="xs:boolean" default="false"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="preferredLocaleId" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/preview">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="getSurveyPreview" name="GET">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/answerCount">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="getAnswerCount" name="GET">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="channel" style="query" type="xs:string" default="all"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="state" style="query" type="xs:string" default="[complete]"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/result/export/ppt/theme/default">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="setDefaultPowerPointTheme" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="id" style="query" type="xs:long"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="name" style="query" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/publish">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="publish" name="POST">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
        <resource path="survey/{surveyId}/layout">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
            <method id="updateLayout" name="POST">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="clear" style="query" type="xs:boolean" default="false"/>
                    <representation mediaType="application/json"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
            <method id="clearLayout" name="DELETE">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
        </resource>
        <resource path="survey/{surveyId}/image">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
            <method id="addImage" name="PUT">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <representation mediaType="multipart/form-data"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
        </resource>
        <resource path="survey/{surveyId}/answer/email">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
            <method id="insert" name="PUT">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="email" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="meta" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="anonymous" style="query" type="xs:boolean" default="false"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="localeId" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="unique" style="query" type="xs:boolean" default="true"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
            <resource path="/invite/batch">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="batchInvite" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="localeId" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="anonymous" style="query" type="xs:boolean" default="false"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="unique" style="query" type="xs:boolean" default="true"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="senderProfileId" style="query" type="xs:long"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="author" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="replyTo" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="subject" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="html" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="plainText" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="message" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="sendAt" style="query" type="xs:string" default="now"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/batch">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="batchInsert" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="anonymous" style="query" type="xs:boolean" default="false"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="unique" style="query" type="xs:boolean" default="true"/>
                        <representation mediaType="application/json"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="/invite">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="invite" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="email" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="unique" style="query" type="xs:boolean" default="true"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="anonymous" style="query" type="xs:boolean"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="localeId" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="meta" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="senderProfileId" style="query" type="xs:long"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="author" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="replyTo" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="subject" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="html" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="plainText" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="message" style="query" type="xs:string"/>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="sendAt" style="query" type="xs:string" default="now"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
        <resource path="survey/{surveyId}/answers">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
            <method id="listAnswers" name="GET">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="useQuestionId" style="query" type="xs:boolean" default="false"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="preferredLocaleId" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="merge" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="answerState" style="query" type="xs:string" default="[complete]"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="elements" style="query" type="xs:string" default="all"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="from" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="to" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="offset" style="query" type="xs:int"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="limit" style="query" type="xs:int"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="hierarchy" style="query" type="xs:string" default="RECIPIENTS"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="javax.ws.rs.container.Suspended" type="xs:string"/>
                </request>
            </method>
        </resource>
        <resource path="survey/{surveyId}/answer/external">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
            <method id="insert" name="PUT">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="sourceId" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="externalId" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="localeId" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="meta" style="query" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="startTime" style="query" type="xs:string" default="now"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
            <resource path="/batch">
                <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
                <method id="batchInsert" name="PUT">
                    <request>
                        <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                        <representation mediaType="application/json"/>
                    </request>
                    <response>
                        <representation mediaType="application/xml"/>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
        <resource path="survey/{surveyId}/emailtask">
            <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="surveyId" style="template" type="xs:long"/>
            <method id="createEmailTask" name="PUT">
                <request>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="X-Auth-Token" style="header" type="xs:string"/>
                    <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="date" style="query" type="xs:string" default="now"/>
                </request>
                <response>
                    <representation mediaType="application/xml"/>
                    <representation mediaType="application/json"/>
                </response>
            </method>
        </resource>
    </resources>
</application>
