| GET | /members/PaymentOption |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class MemberPaymentOption
{
public Integer ClientId = null;
public String GroupId = null;
public String UserId = null;
public Integer BhUserId = null;
public Integer getClientId() { return ClientId; }
public MemberPaymentOption setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public MemberPaymentOption setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public MemberPaymentOption setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public MemberPaymentOption setBhUserId(Integer value) { this.BhUserId = value; return this; }
}
public static class MemberPaymentOptionReply implements IHaveErrorField
{
public Integer ClientId = null;
public String GroupId = null;
public Integer ErrorCode = null;
public String ErrorMessage = null;
public ArrayList<PaymentOptions> PaymentOption = null;
@ApiMember(ExcludeInSchema=true)
public Boolean IsError = null;
public Integer getClientId() { return ClientId; }
public MemberPaymentOptionReply setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public MemberPaymentOptionReply setGroupId(String value) { this.GroupId = value; return this; }
public Integer getErrorCode() { return ErrorCode; }
public MemberPaymentOptionReply setErrorCode(Integer value) { this.ErrorCode = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public MemberPaymentOptionReply setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public ArrayList<PaymentOptions> getPaymentOption() { return PaymentOption; }
public MemberPaymentOptionReply setPaymentOption(ArrayList<PaymentOptions> value) { this.PaymentOption = value; return this; }
public Boolean getIsError() { return IsError; }
public MemberPaymentOptionReply setIsError(Boolean value) { this.IsError = value; return this; }
}
public static class PaymentOptions
{
public Integer BhUserId = null;
public String UserId = null;
public String PaymentOption = null;
public Integer getBhUserId() { return BhUserId; }
public PaymentOptions setBhUserId(Integer value) { this.BhUserId = value; return this; }
public String getUserId() { return UserId; }
public PaymentOptions setUserId(String value) { this.UserId = value; return this; }
public String getPaymentOption() { return PaymentOption; }
public PaymentOptions setPaymentOption(String value) { this.PaymentOption = 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/PaymentOption HTTP/1.1 Host: devapi.billhighway.com Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MemberPaymentOptionReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.SalesForce">
<ClientId>0</ClientId>
<ErrorCode>0</ErrorCode>
<ErrorMessage>String</ErrorMessage>
<GroupId>String</GroupId>
<PaymentOption>
<PaymentOptions>
<BhUserId>0</BhUserId>
<PaymentOption>String</PaymentOption>
<UserId>String</UserId>
</PaymentOptions>
</PaymentOption>
</MemberPaymentOptionReply>