inwise - email marketing and newsletter software company
inwise Top Background
Arrow on Service

Messages Get All Messages Summary

Messages Get All Messages Summary

Operation Name: operation Name
Description: description

All actions require a valid user name and password using authenticaion header.
Show a raw xml example including the authentication header.

Service url:

Adding a reference to inwise web services

User Name:
The service enables you to view all of your messages summary.
The operation returns an Array of InwiseMessage objects with the following fields set:
  • Name - the display name of the message.
  • SendId - the send id of the message.
  • Subject - the message subject.
  • CreationDate - the create date of the message.
  • UpdateDate - the last date the message was updated.
  • Status - the status of the message.
    0 means the message has never been sent.
    1 means the message has been sent to a test group.
    2 means the message has been sent to a real group.


  • No fields.

Java Code:

//get a reference to the service InwiseWebServices ws = new InwiseWebServices();
InwiseWebServicesSoap inwiseWebServicesSoap = ws.getInwiseWebServicesSoap();

//fill the security header
HeaderHandler hh = new HeaderHandler("myusername", "myPassword");

//call the operation
inwise.ArrayOfInwiseMessage messages = inwiseWebServicesSoap.messagesGetAllMessagesSummary();
Iterator<InwiseMessage> it=messages.getInwiseMessage().iterator();
String name = msg.getName();
String subject = msg.getSubject();
int status = msg.getStatus();
XMLGregorianCalendar createDate = msg.getCreationDate();
XMLGregorianCalendar updateDate = msg.getUpdateDate();

C# Code:

 //get a reference to the service

        InwiseWebServices.InwiseWebServices ws = new InwiseWebServices.InwiseWebServices();


        //fill the security header

        InwiseWebServices.SecHeader header = new InwiseWebServices.SecHeader();

        header.username = "username";

        header.pass = "myPassword";

        ws.SecHeaderValue = header;//set credentials


        //call the operation

        InwiseWebServices.InwiseMessage[] messages = ws.Messages_GetAllMessagesSummary();

        for (int i = 0; i < messages.Length; i++)


            InwiseWebServices.InwiseMessage msg = messages[i];

            string name = msg.Name;

            string subject = msg.Subject;

            int status = msg.Status;

            DateTime createDate = msg.CreationDate;

            DateTime updateDate = msg.UpdateDate;


VB Code:

  'get a reference to the service

        Dim ws As InwiseWebServices.InwiseWebServices = New InwiseWebServices.InwiseWebServices()


        'fill the security header

        Dim header As InwiseWebServices.SecHeader = New InwiseWebServices.SecHeader()

        header.username = "username"

        header.pass = "myPassword"

        ws.SecHeaderValue = header 'set credentials


        'call the operation

        Dim messages() As InwiseWebServices.InwiseMessage = ws.Messages_GetAllMessagesSummary()

        Dim i As Integer

        For i = 0 To messages.Length - 1 Step i + 1

            Dim msg As InwiseWebServices.InwiseMessage = messages(i)

            Dim name As String = msg.Name

            Dim subject As String = msg.Subject

            Dim status As Integer = msg.Status

            Dim createDate As DateTime = msg.CreationDate

            Dim updateDate As DateTime = msg.UpdateDate


Home  |  About us  |  Products  |  Service  |  Partners  |  Forum  |  Email Marketing Terms  |  Support  |  Contact us
Terms & Conditions  |  Privacy Policy  |  Anti Spam Policy  |  Site Map
© 2008 inwise LTD. All rights reserved.