| POST | /api/SalesForce/DisableAutoPay |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class SalesForceDisableAutoPay
{
public String ClassName = null;
public String UniqueId = null;
public Date CreatedDateTime = null;
public Integer ClientId = null;
public String GroupId = null;
public String UserId = null;
public Integer BhUserId = null;
public String Currency = null;
public String getClassName() { return ClassName; }
public SalesForceDisableAutoPay setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForceDisableAutoPay setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForceDisableAutoPay setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForceDisableAutoPay setClientId(Integer value) { this.ClientId = value; return this; }
public String getGroupId() { return GroupId; }
public SalesForceDisableAutoPay setGroupId(String value) { this.GroupId = value; return this; }
public String getUserId() { return UserId; }
public SalesForceDisableAutoPay setUserId(String value) { this.UserId = value; return this; }
public Integer getBhUserId() { return BhUserId; }
public SalesForceDisableAutoPay setBhUserId(Integer value) { this.BhUserId = value; return this; }
public String getCurrency() { return Currency; }
public SalesForceDisableAutoPay setCurrency(String value) { this.Currency = value; return this; }
}
public static class SalesForceDisableAutoPayReply implements IHaveErrorField
{
public String ClassName = null;
public String UniqueId = null;
public Date CreatedDateTime = null;
public Integer ClientId = null;
public Integer ErrorCode = null;
public String ErrorMessage = null;
public Boolean IsError = null;
public String getClassName() { return ClassName; }
public SalesForceDisableAutoPayReply setClassName(String value) { this.ClassName = value; return this; }
public String getUniqueId() { return UniqueId; }
public SalesForceDisableAutoPayReply setUniqueId(String value) { this.UniqueId = value; return this; }
public Date getCreatedDateTime() { return CreatedDateTime; }
public SalesForceDisableAutoPayReply setCreatedDateTime(Date value) { this.CreatedDateTime = value; return this; }
public Integer getClientId() { return ClientId; }
public SalesForceDisableAutoPayReply setClientId(Integer value) { this.ClientId = value; return this; }
public Integer getErrorCode() { return ErrorCode; }
public SalesForceDisableAutoPayReply setErrorCode(Integer value) { this.ErrorCode = value; return this; }
public String getErrorMessage() { return ErrorMessage; }
public SalesForceDisableAutoPayReply setErrorMessage(String value) { this.ErrorMessage = value; return this; }
public Boolean getIsError() { return IsError; }
public SalesForceDisableAutoPayReply setIsError(Boolean value) { this.IsError = value; return this; }
}
}
Java SalesForceDisableAutoPay 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 /api/SalesForce/DisableAutoPay HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ClassName: String,
UniqueId: String,
CreatedDateTime: 0001-01-01,
ClientId: 0,
GroupId: String,
UserId: String,
BhUserId: 0,
Currency: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ClassName: String,
UniqueId: String,
CreatedDateTime: 0001-01-01,
ClientId: 0,
ErrorCode: 0,
ErrorMessage: String,
IsError: False
}