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

Messages Copy Message
Footer

Messages Copy Message

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:https://api.inwise.com/InwiseWebServices.asmx

Adding a reference to inwise web services

User Name:
Password:  
Send Id : 
The service enables you to create a new message by copying an existing message.
The operation returns the new message send id.

Parameters:

  • int sendid
    The send id of the message to copy.

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");
hh.setHeader(inwiseWebServicesSoap);


//the send id of the message to copy
int sendid = 144;

//call the operation
int newSendId = inwiseWebServicesSoap.messagesCopyMessage(sendid);

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 of the message to copy

        int sendid = 144;

 

        //call the operation

        int newSendId = ws.Messages_CopyMessage(sendid);

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 of the message to copy

        Dim sendid As Integer = 144

 

        'call the operation

        Dim NewSendId As Integer = ws.Messages_CopyMessage(sendid)




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.