inwise - email marketing and newsletter software company
 
inwise Top Background
Arrow on Service
Home  -->  Email Marketing API  -->  Messages Get Tags

Messages Get Tags

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://www.em-sender.com/ws/InwiseWebServices.asmx

Adding a reference to inwise web services

User Name:
Password:  
The service enables you to view all of your messages tags.
The operation returns an Array of Tag objects with the following fields set:
  • Name - the display name of the tag.

Parameters:

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


//call the operation
inwise.ArrayOfTag tags = inwiseWebServicesSoap.messagesGetTags();
Iterator<Tag> it=tags.getTag().iterator();
while(it.hasNext())
{
Tag t=it.next();
String name = t.getName();
}

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.Tag[] tags = ws.Messages_GetTags();

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

        {

            InwiseWebServices.Tag t = tags[i];

            string name = t.Name;

        }

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 tags() As InwiseWebServices.Tag = ws.Messages_GetTags()

        Dim i As Integer

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

            Dim t As InwiseWebServices.Tag = tags(i)

            Dim name As String = t.Name

        Next




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.