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.Campaign; public class GetCampaignById { public static void main(String[] args) { ClabService clabService = new ClabService_Service().getClabServicePort(); AuthToken token = clabService.borrowToken(Parameters.apiKey, Parameters.userKey); int campaignId = 1368; Campaign campaign = clabService.getCampaign(token, campaignId); System.out.println("Recovered campaign " + campaign.getIdentifier() + " "); clabService.invalidateToken(token); } }