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

Statistics Get Send Transactions By Send id

Statistics Get Send Transactions By Send id

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:
Send id: 
The service enables you to view each email sent for a message.
The operation returns a SendingTransaction object with the following fields:
  • TransactionId - The unique transation ID
  • RecipientId - The id of the recipient for which the message was sent
  • SendDate - The exact sending date/time
  • MessageSize - The final size of the sent message
  • Email - The email to which the message was sent


  • int sendId
    The send Id of the message

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
int sendId = 3;
inwise.ArrayOfSentMessageTransaction result =
Iterator <SendingTransaction> it = result.getSentMessageTransaction().iterator();
while (it.hasNext()) {
   SendingTransaction item =;
   String transactionId = item.getTransactionId();
   int messageSize = item.getMessageSize();
   int recipientId = item.getRecipientId();
   Strign email = item.getEmail();
   XMLGregorianCalendar sendDate = item.getSendDate();

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

         int sendId = 3;

         InwiseWebServices.SendingTransaction[] result = ws.Statistics_GetSendTransactionsBySendId(sendId);

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


             String transactionId = result[i].TransactionId;


             int recipientId = result[i].RecipientId;


             DateTime sendDate = result[i].SendDate;


             String email = result[i].Email;


             int messageSize = result[i].MessageSize;


VB Code:

 '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 sendId As Integer

        sendId = 3

        Dim result() As InwiseWebServices.SendingTransaction = ws.Statistics_GetSendTransactionsBySendId(sendId)

        Dim i As Integer


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


            Dim transactionId As String = result(i).TransactionId


            Dim recipientId As Integer = result(i).RecipientId


            Dim email As String = result(i).Email


            Dim sendDate As DateTime = result(i).SendDate


            Dim messageSize As Integer = result(i).MessageSize



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.