Billhighway Cloud API

<back to all web services

CampaignInfoGetRq

The following routes are available for this service:
GET/signup/api/campaign/{memberSubscriptionInvId}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class CampaignInfoGetRq implements IApiRequest
    {
        public Integer MemberSubscriptionInvId = null;
        
        public Integer getMemberSubscriptionInvId() { return MemberSubscriptionInvId; }
        public CampaignInfoGetRq setMemberSubscriptionInvId(Integer value) { this.MemberSubscriptionInvId = value; return this; }
    }

    public static class CampaignInfoGetRs implements IApiResponse
    {
        public ArrayList<CampaignInformation> Campaigns = null;
        
        public ArrayList<CampaignInformation> getCampaigns() { return Campaigns; }
        public CampaignInfoGetRs setCampaigns(ArrayList<CampaignInformation> value) { this.Campaigns = value; return this; }
    }

    public static class CampaignInformation
    {
        public Integer CampaignId = null;
        public String CampaignName = null;
        public BigDecimal Amount = null;
        public String ChapPayID = null;
        
        public Integer getCampaignId() { return CampaignId; }
        public CampaignInformation setCampaignId(Integer value) { this.CampaignId = value; return this; }
        public String getCampaignName() { return CampaignName; }
        public CampaignInformation setCampaignName(String value) { this.CampaignName = value; return this; }
        public BigDecimal getAmount() { return Amount; }
        public CampaignInformation setAmount(BigDecimal value) { this.Amount = value; return this; }
        public String getChapPayID() { return ChapPayID; }
        public CampaignInformation setChapPayID(String value) { this.ChapPayID = value; return this; }
    }

}

Java CampaignInfoGetRq DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /signup/api/campaign/{memberSubscriptionInvId} HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{}