We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
package com.contactlab.api.ws.examples; import com.contactlab.api.ws.ClabService; import com.contactlab.api.ws.ClabService_Service; import com.contactlab.api.ws.domain.AuthToken; import com.contactlab.api.ws.domain.Subscriber; public class GetSubscriberById { public static void main(String[] args) { int subscriberSourceId = 1; int subscriberId = 1; ClabService clabService = new ClabService_Service().getClabServicePort(); AuthToken token = clabService.borrowToken(Parameters.apiKey, Parameters.userKey); Subscriber subscriber = clabService.getSubscriber(token, subscriberSourceId, subscriberId); System.out.println("Subscriber id is " + subscriber.getIdentifier()); clabService.invalidateToken(token); } }