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

Sending Send Real To Query

Sending Send Real To Query

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:
Query id : 
Send id: 
The service enables you to send an existing message to a query.
The operation returns "true" in case of a success, or "false" if the sending did not succeed.


  • int queryId
    The id of the query.
  • int sendid
    The send id of the message.
  • dateTime sendTime
    The time to send 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");

//the send id for tracking the message
int sendid = 144;

//the id of the query
int queryId = 343;

//the sending date/time
XMLGregorianCalendar sendingDate=new XMLGregorianCalendarImpl();
Calendar c = Calendar.getInstance();


//call the operation
boolean result = inwiseWebServicesSoap.sendingSendRealToQuery(sendid, queryId,sendingDate);

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


        //the send id for tracking the message

        int sendid = 144;


        //the id of the query

        int queryId = 19;


        //the sending date/time

        DateTime sendingDate=DateTime.Now;

        //call the operation

        bool result = ws.Sending_SendReal_ToQuery(sendid, queryId,sendingDate);

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


        'the send id for tracking the message

        Dim sendid As Integer = 144


        'the id of the query

        Dim queryId As Integer = 343


        'the sending date/time

        Dim sendingDate As DateTime = DateTime.Now


        'call the operation

        Dim result As Boolean = ws.Sending_SendReal_ToQuery(sendid, queryId, sendingDate)

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.