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

Groups My Test Groups
Footer

Groups My Test Groups

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:  

[Obsolute]
This method is obsolute and will be removed soon
The service enables you to view a list of all your test groups.
The operation returns an array of GroupData with the groups ids and names.

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.ArrayOfGroupData groups = inwiseWebServicesSoap.groupsMyTestGroups();
Iterator<GroupData> it=groups.getGroupData().iterator();
while (it.hasNext())
{
GroupData group = it.next();
int groupid = group.getId();//the group id
String groupName = group.getName();//the group name
}

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.GroupData[] groups = ws.Groups_MyTestGroups();

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

        {

            InwiseWebServices.GroupData group = groups[i];

            int groupid = group.Id;//the group id

            string groupName = group.Name;//the group 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 groups() As InwiseWebServices.GroupData = ws.Groups_MyTestGroups()

        Dim i As Integer

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

            Dim group As InwiseWebServices.GroupData = groups(i)

            Dim groupid As Integer = group.Id 'the group id

            Dim groupName As String = group.Name 'the group 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.