Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This comprehensive guide is designed to help technical staff effectively implement POSTMan web servicesPOSTman Web Services (PWS).

Table of Contents
minLevel1
maxLevel3
outlinefalse
styledisc
typelist
printabletrue

...

Parameter Name

Value

Description

sessionID

string

Has to set to the string returned by the setLogin function

address1

string

First line of the address to search for

address2

string

Second line of the address to search for

address3

string

Third line of the address to search for

address4

string

4th line of the address to search for

address5

string

5th line of the address to search for

address6

string

6th line of the address to search for

suburb

string

Suburb of the address to search for

state

string

State of the address to search for

postcode

string

Postcode of the address to search for

mixedCase

boolean

Whether or not the search address can contain Mixed

cases

expandAbbreviations

boolean

Whether or not Postman engine expands the search

address’s abbreviations

...

The call to CurrentBalance will return an XML packet with an integer value in it. This integer is your current balance which is decremented by 1 every time you use an address validation.

Program Examples

C#

WebReference.Postman1 pm = new WebReference.Postman1();
string MyID = pm.SetLogin("username", "password");
// set login and get the id
WebReference.POSTmanAddressRecord adr;
adr = pm.ScanAddress(MyID, "1 fake st", "", "", "", "",
"Brisbane", "qld", "6000", "Australia");
// scan address
if(!adr.IsValidAddress)
{
// if the address is not valid
WebReference.POSTmanAddressRecord[] adr2;
adr2 = pm.NearMatches(MyID, 10);
// nearest matches
}
int i = pm.CurrentBalance(MyID);
// check the balance