| POST | /signup/obligation |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using BH.CloudAPI.Common4.DTO.RecurringObligation.Request;
using BH.CloudAPI.Common4.DTO.RecurringObligation.Response;
namespace BH.CloudAPI.Common4.DTO.RecurringObligation.Request
{
public partial class UserObligationSignupPostRq
{
public virtual int ModelStateId { get; set; }
public virtual int ChapBillCatId { get; set; }
public virtual decimal VoluntaryBiWeeklyContribution { get; set; }
public virtual decimal OtherAmount { get; set; }
public virtual string PayerName { get; set; }
public virtual string RoutingNumber { get; set; }
public virtual string AchAccountType { get; set; }
public virtual string AchAccountNumber { get; set; }
public virtual string AchConfirmAccountNumber { get; set; }
public virtual string SignaturePad { get; set; }
public virtual bool ConfirmSignature { get; set; }
public virtual int BhUserID { get; set; }
public virtual string ClientDocNo { get; set; }
public virtual string Email { get; set; }
public virtual int BhChapterId { get; set; }
}
}
namespace BH.CloudAPI.Common4.DTO.RecurringObligation.Response
{
public partial class UserObligationSignupPostRs
{
public virtual string Message { get; set; }
}
}
C# UserObligationSignupPostRq 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/obligation HTTP/1.1
Host: devapi.billhighway.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ModelStateId: 0,
ChapBillCatId: 0,
VoluntaryBiWeeklyContribution: 0,
OtherAmount: 0,
PayerName: String,
RoutingNumber: String,
AchAccountType: String,
AchAccountNumber: String,
AchConfirmAccountNumber: String,
SignaturePad: String,
ConfirmSignature: False,
BhUserID: 0,
ClientDocNo: String,
Email: String,
BhChapterId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Message: String
}