Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Version 1.1 of MailUp web services uses a different hostname than v. 1.0 and it has the following features:

  • Two new methods (marked with (plus) symbol) to retrieve available lists for a MailUp console and available email messages for a specified list
  • New methods support JSONP in order to allow cross domain requests (with HTTP GET) 
  • Full support of v. 1.0 methods

...

  1. Available REST methods cannot be called using HTTP GET ("Ping" test method is the only exception, which can be called using http GET https://services.mailup.com/1.1/MailUpService.svc/rest/Ping)
  2. If you are experiencing some "cross domain problems" (i.e. you're unable to request data from a server in a different domain) you can try JSONP (available only for a subset of v.1.1 methods) 

Configuration

 

Info

Please refer to REST configuration page to get some tips about enabling REST

 

...

Please refer to examples provided for v. 1.0 (link).

 

Using JSONP

Each request is done using HTTP GET and the following format:

 https://services.mailup.com/1.1/MailUpService.svc/jsonp/MethodName?parameter1=value1&parameter2=value2

 

Warning

Due to security concerns, JSONP is available only for a subset of methods (see table below)

JSONP methodparametersnotes
ListsRead
  1. token
  2. idList
Returns available lists, similar to MailUpSend.GetLists
EmailsRead
  1. token

Returns available email messages for specified list, skipping cloned messages.
Provides the same reusult as MailUpSend.CloneMessages

 

Example

A detailed example is provided at this page: link