Created
February 12, 2012 09:40
-
-
Save jdennes/1807513 to your computer and use it in GitHub Desktop.
Campaign Monitor API WADL - for use with https://apigee.com/jdennes/embed/console/campaignmonitor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
| xmlns:apigee="http://api.apigee.com/wadl/2010/07/" | |
| xmlns="http://wadl.dev.java.net/2009/02" | |
| xsi:schemaLocation="http://wadl.dev.java.net/2009/02 http://apigee.com/schemas/wadl-schema.xsd http://api.apigee.com/wadl/2010/07/ http://apigee.com/schemas/apigee-wadl-extensions.xsd"> | |
| <resources base="https://api.createsend.com/api/v3"> | |
| <resource path="clients.{format}"> | |
| <param name="format" type="xsd:string" style="template" required="true" default="json"> | |
| <option value="json" mediaType="application/json"/> | |
| <option value="xml" mediaType="application/xml"/> | |
| </param> | |
| <method id="clients_get" name="GET"> | |
| <apigee:tags xmlns:apigee="http://api.apigee.com/wadl/2010/07/"> | |
| <apigee:tag primary="true">Account</apigee:tag> | |
| <apigee:tag>Clients</apigee:tag> | |
| </apigee:tags> | |
| <apigee:authentication required="true" /> | |
| <apigee:example url="/clients.{format}" /> | |
| <doc title=""> | |
| <![CDATA[ | |
| Contains a list of all the clients in your account, including their name and ID. | |
| ]]> | |
| </doc> | |
| </method> | |
| <method id="clients_post" name="POST"> | |
| <apigee:tags xmlns:apigee="http://api.apigee.com/wadl/2010/07/"> | |
| <apigee:tag primary="true">Clients</apigee:tag> | |
| </apigee:tags> | |
| <apigee:authentication required="true" /> | |
| <apigee:example url="/clients.{format}" /> | |
| <doc title=""> | |
| <![CDATA[ | |
| Creates a new client in your account with basic contact information and no access to the application. Client access settings and billing are set once the client is created. | |
| ]]> | |
| </doc> | |
| </method> | |
| </resource> | |
| <resource path="apikey.{format}"> | |
| <param name="format" type="xsd:string" style="template" required="true" default="json"> | |
| <option value="json" mediaType="application/json"/> | |
| <option value="xml" mediaType="application/xml"/> | |
| </param> | |
| <param name="siteurl" required="true" type="xsd:string" style="query" default="myaccount.createsend.com"/> | |
| <method id="apikey_get" name="GET"> | |
| <apigee:tags xmlns:apigee="http://api.apigee.com/wadl/2010/07/"> | |
| <apigee:tag primary="true">Account</apigee:tag> | |
| </apigee:tags> | |
| <apigee:authentication required="true" /> | |
| <apigee:example url="/apikey.{format}?siteurl={siteurl}" /> | |
| <doc title=""> | |
| <![CDATA[ | |
| Allows a client or designer to retrieve their API key, given their username, password, and site URL. This is the only API request which requires that you provide your username and password using HTTP basic authentication rather than passing in your API key as the username for basic authentication. | |
| So, instead of providing your API key as the username portion and a dummy password as you would for regular authentication, you'll need to provide the actual username and password you use to login to your account. It is strongly recommended that you use the secure API endpoint for all calls to this method: https://api.createsend.com/api/v3/ | |
| ]]> | |
| </doc> | |
| </method> | |
| </resource> | |
| <resource path="countries.{format}"> | |
| <param name="format" type="xsd:string" style="template" required="true" default="json"> | |
| <option value="json" mediaType="application/json"/> | |
| <option value="xml" mediaType="application/xml"/> | |
| </param> | |
| <method id="countries_get" name="GET"> | |
| <apigee:tags xmlns:apigee="http://api.apigee.com/wadl/2010/07/"> | |
| <apigee:tag primary="true">Account</apigee:tag> | |
| </apigee:tags> | |
| <apigee:authentication required="true" /> | |
| <apigee:example url="/countries.{format}" /> | |
| <doc title=""> | |
| <![CDATA[ | |
| Contains a list of all the valid countries accepted as input when a country is required, typically when creating a client. | |
| ]]> | |
| </doc> | |
| </method> | |
| </resource> | |
| <resource path="timezones.{format}"> | |
| <param name="format" type="xsd:string" style="template" required="true" default="json"> | |
| <option value="json" mediaType="application/json"/> | |
| <option value="xml" mediaType="application/xml"/> | |
| </param> | |
| <method id="timezones_get" name="GET"> | |
| <apigee:tags xmlns:apigee="http://api.apigee.com/wadl/2010/07/"> | |
| <apigee:tag primary="true">Account</apigee:tag> | |
| </apigee:tags> | |
| <apigee:authentication required="true" /> | |
| <apigee:example url="/timezones.{format}" /> | |
| <doc title=""> | |
| <![CDATA[ | |
| Contains a list of all the valid timezones accepted as input when a timezone is required, typically when creating a client. | |
| ]]> | |
| </doc> | |
| </method> | |
| </resource> | |
| <resource path="systemdate.{format}"> | |
| <param name="format" type="xsd:string" style="template" required="true" default="json"> | |
| <option value="json" mediaType="application/json"/> | |
| <option value="xml" mediaType="application/xml"/> | |
| </param> | |
| <method id="systemdate_get" name="GET"> | |
| <apigee:tags xmlns:apigee="http://api.apigee.com/wadl/2010/07/"> | |
| <apigee:tag primary="true">Account</apigee:tag> | |
| </apigee:tags> | |
| <apigee:authentication required="true" /> | |
| <apigee:example url="/systemdate.{format}" /> | |
| <doc title=""> | |
| <![CDATA[ | |
| Contains the current date and time in your account's timezone. This is useful when, for example, you are syncing your Campaign Monitor lists with an external list, allowing you to accurately determine the time on our server when you carry out the synchronization. | |
| ]]> | |
| </doc> | |
| </method> | |
| </resource> | |
| </resources> | |
| </application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment