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

Groups External My Remote Groups
Footer

Groups External My Remote 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:  
The service enables you to view all of your external groups data.

Parameters:

  • No parameters required.

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);


inwise.ArrayOfExternalGroup groupsData = inwiseWebServicesSoap.groupsExternalMyRemoteGroups();
List<ExternalGroup> groups = groupsData.getExternalGroupData();
Iterator<ExternalGroup> it = groups.iterator();
while (it.hasNext()) {
ExternalGroup group = it.next();
String name = group.getGroupName();//the name of the group
int databaseID = group.getDBId();//the internal id of the database the group uses for connection
String remoteTableName = group.getRemoteTableName();//the name of the table on the remote database
}

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

 

        InwiseWebServices.ExternalGroup[] groups = ws.Groups_External_MyRemoteGroups();

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

        {

            InwiseWebServices.ExternalGroup group = groups[i];

            string name = group.GroupName;//the name of the group

            int databaseID = group.DBId;//the internal id of the database the group uses for connection

            string remoteTableName = group.RemoteTableName;//the name of the table on the remote database

        }

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

 

        Dim groups() As InwiseWebServices.ExternalGroup = ws.Groups_External_MyRemoteGroups()

        Dim i As Integer

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

            Dim group As InwiseWebServices.ExternalGroup = groups(i)

            Dim name As String = group.GroupName 'the name of the group

            Dim databaseID As Integer = group.DBId 'the internal id of the database the group uses for connection

            Dim remoteTableName As String = group.RemoteTableName 'the name of the table on the remote database

        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.