| POST | /signup/api/formBuilder/autopay |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class FormBuilderAutoPayRq
{
public String firstName = null;
public String middleName = null;
public String lastname = null;
public String getFirstName() { return firstName; }
public FormBuilderAutoPayRq setFirstName(String value) { this.firstName = value; return this; }
public String getMiddleName() { return middleName; }
public FormBuilderAutoPayRq setMiddleName(String value) { this.middleName = value; return this; }
public String getLastname() { return lastname; }
public FormBuilderAutoPayRq setLastname(String value) { this.lastname = value; return this; }
}
public static class FormBuilderAutoPayRs
{
public String message = null;
public String getMessage() { return message; }
public FormBuilderAutoPayRs setMessage(String value) { this.message = value; return this; }
}
}
Java FormBuilderAutoPayRq DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /signup/api/formBuilder/autopay HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
firstName: String,
middleName: String,
lastname: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
message: String
}