Page tree

Versions Compared

Key

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

...

Description 

HTTP Method

GET

URL

Retrieve the email details by specified id

Code Block
https://services.mailup.com/API/v1.1/Rest/ConsoleService.svc/Console/List/{id_List}/Email/{id_Message}

 

Get attachment list for the specified message id

Code Block
https://services.mailup.com/API/v1.1/Rest/ConsoleService.svc/Console/List/{id_List}/Email/{id_Message}/Attachment

JSON request (example)

none

JSON response (example)

Expand
Code Block
{"Subject":"footer test","idList":2,"idMessage":22,"Content":"This is the HTML contentMonthly Newsletter","idList":2,"idMessage":24,"Content":"
<table><tbody><tr><td><strong>Image</strong>&nbsp;</td><td><strong>Text</strong>&nbsp;</td></tr><tr><td style="width: 200px; height: 70px;">&nbsp;<img src="http://d0i4f.s57.it/images/2/ListImages/sociallogin.PNG" alt="This text is visible if you do not see images" title="SocialLogin" longdesc="Social Login Image" width="200" height="70"></td><td>&nbsp;This screenshot shows you how to perform login with social networks<br>&nbsp;(see <a href="http://[track]/https://help.mailup.com" target="_blank" id="User" s="" manual'="">manual</a>)&nbsp;</td></tr></tbody></table>
","Embed":false,"Fields":[{"Description":"nomeFirstName","Id":1,"Value":""},{"Description":"cognomeLastName","Id":2,"Value":""},{"Description":"aziendaCompany","Id":3,"Value":""},{"Description":"cittàCity","Id":4,"Value":""},{"Description":"provinciaProvince","Id":5,"Value":""},{"Description":"capZIP","Id":6,"Value":""},{"Description":"regioneState","Id":7,"Value":""},{"Description":"paeseRegion","Id":8,"Value":""},{"Description":"indirizzoAddress","Id":9,"Value":""},{"Description":"faxGender ","Id":10,"Value":""},{"Description":"telefonophone","Id":11,"Value":""},{"Description":"IDClienteCustomerID","Id":12,"Value":""},{"Description":"IDUltimoOrdineLatestOrderID","Id":13,"Value":""},{"Description":"DataUltimoOrdineLatestOrderDate","Id":14,"Value":""},{"Description":"TotaleUltimoOrdineLatestOrderAmount","Id":15,"Value":""},{"Description":"IDProdottiUltimoOrdineLatestOrderProductIDs","Id":16,"Value":""},{"Description":"IDCategorieUltimoOrdineLatestOrderCategoryIDs","Id":17,"Value":""},{"Description":"DataUltimoOrdineSpeditoLatestShippedOrderDate","Id":18,"Value":""},{"Description":"IDUltimoOrdineSpeditoLatestShippedOrderID","Id":19,"Value":""},{"Description":"DataCarrelloAbbandonatoLatestAbandonedCartDate","Id":20,"Value":""},{"Description":"TotaleCarrelloAbbandonatoLatestAbandonedCartTotal","Id":21,"Value":""},{"Description":"IDCarrelloAbbandonatoLatestAbandonedCartID","Id":22,"Value":""},{"Description":"TotaleFatturatoTotalOrdered","Id":23,"Value":""},{"Description":"TotaleFatturatoUltimi12MesiTotalOrderedLast12m","Id":24,"Value":""},{"Description":"TotaleFatturatoUltimi30ggTotalOrderedLast30d","Id":25,"Value":""},{"Description":"AllOrderedProductIDs","Id":"IDTuttiProdottiAcquistati","Id":26,"Value":""},{"Description":"Compleanno"26,"Value":""},{"Description":"WantsBlogUpdate","Id":27,"Value":""}],"IsConfirmation":false,"Notes":"Issue n. 5 May 2014","Tags":[{"Enabled":false,"Id":275,"ValueName":"news"}],{"IsConfirmationEnabled":false,"NotesId":4,"Name",:"Tags":[users-manual"}],"TrackingInfo":{"CustomParams":"","Enabled":true,"Protocols":["http:","https:","ftp:","news:"]},"Attachments":[{"Name":"24\/jp.txt","Path":"http:\/\/d0i4f.s57.it\\d0i4f\\download\\24\\24\/jp.txt","Slot":1}]}

 

 

Paging and filtering (example)

2 items per page, get first page (count starts from zero)

Retreive messages that contain the word "test" in the subject field and order by ID. Note: search by text is case sensitive

...