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

Statistics Translate Bounces Codes
Footer

Statistics Translate Bounces 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 table of bounces codes.
The operation returns an Array of BouncesCode objects with the code and name of each bounce code.

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.ArrayOfBounceCode codes = inwiseWebServicesSoap.statisticsTranslateBouncesCodes();
Iterator<BounceCode> it=codes.getBounceCode().iterator();
while(it.hasNext())
{
BounceCode code = it.next();

int actionCode = code.getCode();//the bounce code
String actionName = code.getName();//bounce reason 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.BounceCode[] codes = ws.Statistics_TranslateBouncesCodes();

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

        {

            InwiseWebServices.BounceCode code = codes[i];

            int actionCode = code.Code;//the bounce code

            string actionName = code.Name;//bounce reason 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.BounceCode = ws.Statistics_TranslateBouncesCodes()

        Dim i As Integer

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

            Dim code As InwiseWebServices.BounceCode = codes(i)

            Dim actionCode As Integer = code.Code 'the bounce code

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