| GET | /members/StatusValues |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class MemberStatusValues
{
public Integer ClientId = null;
public String GroupId = null;
public String UserId = null;
public Integer BhUserId = null;
public Integer getClientId() { return ClientId; }
public MemberStatusValues setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public MemberStatusValues setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public MemberStatusValues setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public MemberStatusValues setBhUserId(Integer value) { this.BhUserId = value; return this; }
}
public static class MemberStatusValuesReply implements IHaveErrorField
{
public Integer ClientId = null;
public String GroupId = null;
public Integer ErrorCode = null;
public String ErrorMessage = null;
public String UserId = null;
public Integer BhUserId = null;
public Integer BillingTypeId = null;
public Integer MemberStatusId = null;
public String MemberStatusCode = null;
public String MemberStatusDesc = null;
public Integer MemberTypeId = null;
public String MemberTypeCode = null;
public String MemberTypeDesc = null;
public String CurrentBalance = null;
public String AutoPayStatus = null;
public AutoPayInfo AutoPayInfo = null;
@ApiMember(ExcludeInSchema=true)
public Boolean IsError = null;
public Integer getClientId() { return ClientId; }
public MemberStatusValuesReply setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public MemberStatusValuesReply setGroupId(String value) { this.GroupId = value; return this; }
public Integer getErrorCode() { return ErrorCode; }
public MemberStatusValuesReply setErrorCode(Integer value) { this.ErrorCode = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public MemberStatusValuesReply setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public String getUserId() { return UserId; }
public MemberStatusValuesReply setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public MemberStatusValuesReply setBhUserId(Integer value) { this.BhUserId = value; return this; }
public Integer getBillingTypeId() { return BillingTypeId; }
public MemberStatusValuesReply setBillingTypeId(Integer value) { this.BillingTypeId = value; return this; }
public Integer getMemberStatusId() { return MemberStatusId; }
public MemberStatusValuesReply setMemberStatusId(Integer value) { this.MemberStatusId = value; return this; }
public String getMemberStatusCode() { return MemberStatusCode; }
public MemberStatusValuesReply setMemberStatusCode(String value) { this.MemberStatusCode = value; return this; }
public String getMemberStatusDesc() { return MemberStatusDesc; }
public MemberStatusValuesReply setMemberStatusDesc(String value) { this.MemberStatusDesc = value; return this; }
public Integer getMemberTypeId() { return MemberTypeId; }
public MemberStatusValuesReply setMemberTypeId(Integer value) { this.MemberTypeId = value; return this; }
public String getMemberTypeCode() { return MemberTypeCode; }
public MemberStatusValuesReply setMemberTypeCode(String value) { this.MemberTypeCode = value; return this; }
public String getMemberTypeDesc() { return MemberTypeDesc; }
public MemberStatusValuesReply setMemberTypeDesc(String value) { this.MemberTypeDesc = value; return this; }
public String getCurrentBalance() { return CurrentBalance; }
public MemberStatusValuesReply setCurrentBalance(String value) { this.CurrentBalance = value; return this; }
public String getAutoPayStatus() { return AutoPayStatus; }
public MemberStatusValuesReply setAutoPayStatus(String value) { this.AutoPayStatus = value; return this; }
public AutoPayInfo getAutoPayInfo() { return AutoPayInfo; }
public MemberStatusValuesReply setAutoPayInfo(AutoPayInfo value) { this.AutoPayInfo = value; return this; }
public Boolean getIsError() { return IsError; }
public MemberStatusValuesReply setIsError(Boolean value) { this.IsError = value; return this; }
}
public static class AutoPayInfo
{
public String PaymentMethod = null;
public String CardType = null;
public String CardReference = null;
public String CardNumberLastFour = null;
public Integer ExpMonth = null;
public Integer ExpYear = null;
public String AchReference = null;
public String PayerName = null;
public String Address1 = null;
public String Address2 = null;
public String BillingCity = null;
public String BillingState = null;
public String PostalCode = null;
public String Country = null;
public String AccountNumberLastFour = null;
public String RoutingNumberLastFour = null;
public String AccountType = null;
public String LastAutoPayAmount = null;
public String LastAutoPayDate = null;
public String getPaymentMethod() { return PaymentMethod; }
public AutoPayInfo setPaymentMethod(String value) { this.PaymentMethod = value; return this; }
public String getCardType() { return CardType; }
public AutoPayInfo setCardType(String value) { this.CardType = value; return this; }
public String getCardReference() { return CardReference; }
public AutoPayInfo setCardReference(String value) { this.CardReference = value; return this; }
public String getCardNumberLastFour() { return CardNumberLastFour; }
public AutoPayInfo setCardNumberLastFour(String value) { this.CardNumberLastFour = value; return this; }
public Integer getExpMonth() { return ExpMonth; }
public AutoPayInfo setExpMonth(Integer value) { this.ExpMonth = value; return this; }
public Integer getExpYear() { return ExpYear; }
public AutoPayInfo setExpYear(Integer value) { this.ExpYear = value; return this; }
public String getAchReference() { return AchReference; }
public AutoPayInfo setAchReference(String value) { this.AchReference = value; return this; }
public String getPayerName() { return PayerName; }
public AutoPayInfo setPayerName(String value) { this.PayerName = value; return this; }
public String getAddress1() { return Address1; }
public AutoPayInfo setAddress1(String value) { this.Address1 = value; return this; }
public String getAddress2() { return Address2; }
public AutoPayInfo setAddress2(String value) { this.Address2 = value; return this; }
public String getBillingCity() { return BillingCity; }
public AutoPayInfo setBillingCity(String value) { this.BillingCity = value; return this; }
public String getBillingState() { return BillingState; }
public AutoPayInfo setBillingState(String value) { this.BillingState = value; return this; }
public String getPostalCode() { return PostalCode; }
public AutoPayInfo setPostalCode(String value) { this.PostalCode = value; return this; }
public String getCountry() { return Country; }
public AutoPayInfo setCountry(String value) { this.Country = value; return this; }
public String getAccountNumberLastFour() { return AccountNumberLastFour; }
public AutoPayInfo setAccountNumberLastFour(String value) { this.AccountNumberLastFour = value; return this; }
public String getRoutingNumberLastFour() { return RoutingNumberLastFour; }
public AutoPayInfo setRoutingNumberLastFour(String value) { this.RoutingNumberLastFour = value; return this; }
public String getAccountType() { return AccountType; }
public AutoPayInfo setAccountType(String value) { this.AccountType = value; return this; }
public String getLastAutoPayAmount() { return LastAutoPayAmount; }
public AutoPayInfo setLastAutoPayAmount(String value) { this.LastAutoPayAmount = value; return this; }
public String getLastAutoPayDate() { return LastAutoPayDate; }
public AutoPayInfo setLastAutoPayDate(String value) { this.LastAutoPayDate = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /members/StatusValues HTTP/1.1 Host: devapi.billhighway.com Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MemberStatusValuesReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.SalesForce">
<AutoPayInfo>
<AccountNumberLastFour>String</AccountNumberLastFour>
<AccountType>String</AccountType>
<AchReference>String</AchReference>
<Address1>String</Address1>
<Address2>String</Address2>
<BillingCity>String</BillingCity>
<BillingState>String</BillingState>
<CardNumberLastFour>String</CardNumberLastFour>
<CardReference>String</CardReference>
<CardType>String</CardType>
<Country>String</Country>
<ExpMonth>0</ExpMonth>
<ExpYear>0</ExpYear>
<LastAutoPayAmount>String</LastAutoPayAmount>
<LastAutoPayDate>String</LastAutoPayDate>
<PayerName>String</PayerName>
<PaymentMethod>String</PaymentMethod>
<PostalCode>String</PostalCode>
<RoutingNumberLastFour>String</RoutingNumberLastFour>
</AutoPayInfo>
<AutoPayStatus>String</AutoPayStatus>
<BhUserId>0</BhUserId>
<BillingTypeId>0</BillingTypeId>
<ClientId>0</ClientId>
<CurrentBalance>String</CurrentBalance>
<ErrorCode>0</ErrorCode>
<ErrorMessage>String</ErrorMessage>
<GroupId>String</GroupId>
<MemberStatusCode>String</MemberStatusCode>
<MemberStatusDesc>String</MemberStatusDesc>
<MemberStatusId>0</MemberStatusId>
<MemberTypeCode>String</MemberTypeCode>
<MemberTypeDesc>String</MemberTypeDesc>
<MemberTypeId>0</MemberTypeId>
<UserId>String</UserId>
</MemberStatusValuesReply>