The operation enables you to get view a recipient's personal data and the groups he's registered to.
Parameters:
-
Integer recipientId
The recipient id.
Java Code:
//get a reference to the service
//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);
//the recipient's email
Integer recipientId = 1234;
//call the operation
RecipientDataExtended recipientData = inwiseWebServicesSoap.recipientsGetById(recipientId);
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
//the recipient id
int recipientId = 1234;
//call the operation
RecipientDataExtended recipientData = ws.Recipients_GetById(recipientId);
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
'the recipient id
Dim recipientId As Integer = 1234
'call the operation
Dim recipientData As RecipientDataExtended = ws.Recipients_GetById(recipientId)