| POST | /signup/obligation |
|---|
namespace BH.CloudAPI.Common4.DTO.RecurringObligation.Request
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type UserObligationSignupPostRs() =
member val Message:String = null with get,set
[<AllowNullLiteral>]
type UserObligationSignupPostRq() =
member val ModelStateId:Int32 = new Int32() with get,set
member val ChapBillCatId:Int32 = new Int32() with get,set
member val VoluntaryBiWeeklyContribution:Decimal = new Decimal() with get,set
member val OtherAmount:Decimal = new Decimal() with get,set
member val PayerName:String = null with get,set
member val RoutingNumber:String = null with get,set
member val AchAccountType:String = null with get,set
member val AchAccountNumber:String = null with get,set
member val AchConfirmAccountNumber:String = null with get,set
member val SignaturePad:String = null with get,set
member val ConfirmSignature:Boolean = new Boolean() with get,set
member val BhUserID:Int32 = new Int32() with get,set
member val ClientDocNo:String = null with get,set
member val Email:String = null with get,set
member val BhChapterId:Int32 = new Int32() with get,set
F# UserObligationSignupPostRq DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<UserObligationSignupPostRq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.RecurringObligation.Request">
<AchAccountNumber>String</AchAccountNumber>
<AchAccountType>String</AchAccountType>
<AchConfirmAccountNumber>String</AchConfirmAccountNumber>
<BhChapterId>0</BhChapterId>
<BhUserID>0</BhUserID>
<ChapBillCatId>0</ChapBillCatId>
<ClientDocNo>String</ClientDocNo>
<ConfirmSignature>false</ConfirmSignature>
<Email>String</Email>
<ModelStateId>0</ModelStateId>
<OtherAmount>0</OtherAmount>
<PayerName>String</PayerName>
<RoutingNumber>String</RoutingNumber>
<SignaturePad>String</SignaturePad>
<VoluntaryBiWeeklyContribution>0</VoluntaryBiWeeklyContribution>
</UserObligationSignupPostRq>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <UserObligationSignupPostRs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BH.CloudAPI.Common4.DTO.RecurringObligation.Response"> <Message>String</Message> </UserObligationSignupPostRs>