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

Statistics Translate Action Codes
Footer

Statistics Translate Action Codes

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 a translation of all feedback action codes.
The operation returns an Array of ActionCode objects with the code and name for each action.

Parameters:

  • int recipientid
    The id of the recipient.

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.ArrayOfActionCode codes = inwiseWebServicesSoap.statisticsTranslateActionCodes();
Iterator<ActionCode> it=codes.getActionCode().iterator();
while(it.hasNext())
{
ActionCode code = it.next();

int actionCode = code.getCode();//the code of the action
String actionName = code.getName();//action 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.ActionCode[] codes = ws.Statistics_TranslateActionCodes();

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

        {

            InwiseWebServices.ActionCode code = codes[i];

            int actionCode = code.Code;//the code of the action

            string actionName = code.Name;//action 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 codes() As InwiseWebServices.ActionCode = ws.Statistics_TranslateActionCodes()

        Dim i As Integer

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

            Dim code As InwiseWebServices.ActionCode = codes(i)

            Dim actionCode As Integer = code.Code 'the code of the action

            Dim actionName As String = code.Name 'action 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.