Billhighway Cloud API

<back to all web services

SalesForceDisableAutoPay

The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<SalesForceDisableAutoPay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.SalesForce">
  <BhUserId>0</BhUserId>
  <ClassName>String</ClassName>
  <ClientId>0</ClientId>
  <CreatedDateTime>0001-01-01T00:00:00</CreatedDateTime>
  <Currency>String</Currency>
  <GroupId>String</GroupId>
  <UniqueId>String</UniqueId>
  <UserId>String</UserId>
</SalesForceDisableAutoPay>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SalesForceDisableAutoPayReply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.SalesForce">
  <ClassName>String</ClassName>
  <ClientId>0</ClientId>
  <CreatedDateTime>0001-01-01T00:00:00</CreatedDateTime>
  <ErrorCode>0</ErrorCode>
  <ErrorMessage>String</ErrorMessage>
  <UniqueId>String</UniqueId>
</SalesForceDisableAutoPayReply>