| POST | /signup/api/nat/{natID}/group/{groupID}/{userType}/user/{userID}/form/access/link |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class SubscriptionFormAccessRq
{
public Integer NatID = null;
public Integer GroupID = null;
public Integer UserID = null;
public String UserType = null;
public Integer AdminID = null;
public Long SubscriptionInvoiceID = null;
public Long SubscriptionLineageID = null;
public String ClientSubscriberId = null;
public Integer MemberSubscriptionInvId = null;
public Boolean IsPrintView = null;
public Boolean IsBillMeLaterSubscription = null;
public Long RenewedMemberSubscriptionInvID = null;
public Boolean IsRenewal = null;
public Integer ClientSubscriptionTypeID = null;
public Integer getNatID() { return NatID; }
public SubscriptionFormAccessRq setNatID(Integer value) { this.NatID = value; return this; }
public Integer getGroupID() { return GroupID; }
public SubscriptionFormAccessRq setGroupID(Integer value) { this.GroupID = value; return this; }
public Integer getUserID() { return UserID; }
public SubscriptionFormAccessRq setUserID(Integer value) { this.UserID = value; return this; }
public String getUserType() { return UserType; }
public SubscriptionFormAccessRq setUserType(String value) { this.UserType = value; return this; }
public Integer getAdminID() { return AdminID; }
public SubscriptionFormAccessRq setAdminID(Integer value) { this.AdminID = value; return this; }
public Long getSubscriptionInvoiceID() { return SubscriptionInvoiceID; }
public SubscriptionFormAccessRq setSubscriptionInvoiceID(Long value) { this.SubscriptionInvoiceID = value; return this; }
public Long getSubscriptionLineageID() { return SubscriptionLineageID; }
public SubscriptionFormAccessRq setSubscriptionLineageID(Long value) { this.SubscriptionLineageID = value; return this; }
public String getClientSubscriberId() { return ClientSubscriberId; }
public SubscriptionFormAccessRq setClientSubscriberId(String value) { this.ClientSubscriberId = value; return this; }
public Integer getMemberSubscriptionInvId() { return MemberSubscriptionInvId; }
public SubscriptionFormAccessRq setMemberSubscriptionInvId(Integer value) { this.MemberSubscriptionInvId = value; return this; }
public Boolean getIsPrintView() { return IsPrintView; }
public SubscriptionFormAccessRq setIsPrintView(Boolean value) { this.IsPrintView = value; return this; }
public Boolean getIsBillMeLaterSubscription() { return IsBillMeLaterSubscription; }
public SubscriptionFormAccessRq setIsBillMeLaterSubscription(Boolean value) { this.IsBillMeLaterSubscription = value; return this; }
public Long getRenewedMemberSubscriptionInvID() { return RenewedMemberSubscriptionInvID; }
public SubscriptionFormAccessRq setRenewedMemberSubscriptionInvID(Long value) { this.RenewedMemberSubscriptionInvID = value; return this; }
public Boolean getIsRenewal() { return IsRenewal; }
public SubscriptionFormAccessRq setIsRenewal(Boolean value) { this.IsRenewal = value; return this; }
public Integer getClientSubscriptionTypeID() { return ClientSubscriptionTypeID; }
public SubscriptionFormAccessRq setClientSubscriptionTypeID(Integer value) { this.ClientSubscriptionTypeID = value; return this; }
}
public static class LinkResponse
{
public String Rel = null;
public String Uri = null;
public String getRel() { return Rel; }
public LinkResponse setRel(String value) { this.Rel = value; return this; }
public String getUri() { return Uri; }
public LinkResponse setUri(String value) { this.Uri = value; return this; }
}
}
Java SubscriptionFormAccessRq DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /signup/api/nat/{natID}/group/{groupID}/{userType}/user/{userID}/form/access/link HTTP/1.1
Host: devapi.billhighway.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"NatID":0,"GroupID":0,"UserID":0,"UserType":"String","AdminID":0,"SubscriptionInvoiceID":0,"SubscriptionLineageID":0,"ClientSubscriberId":"String","MemberSubscriptionInvId":0,"IsPrintView":false,"IsBillMeLaterSubscription":false,"RenewedMemberSubscriptionInvID":0,"IsRenewal":false,"ClientSubscriptionTypeID":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Rel":"String","Uri":"String"}