| POST | /api/Ach/AchRefInfo | Create Ref for Ach Info | Creates a reference value for the ACH values passed in. |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports BH.CloudAPI.Common4.DTO.SalesForce
Namespace Global
Namespace BH.CloudAPI.Common4.DTO.SalesForce
Public Partial Class AchRefInfo
Public Overridable Property ClientId As Integer
Public Overridable Property GroupId As String
Public Overridable Property BankAccount As String
Public Overridable Property RoutingNumber As String
End Class
Public Partial Class AchRefInfoReply
Implements IHaveErrorField
Public Overridable Property AchRef As String
Public Overridable Property ErrorCode As Integer
Public Overridable Property ErrorMessage As String
<ApiMember(ExcludeInSchema:=true)>
Public Overridable Property IsError As Boolean
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/Ach/AchRefInfo HTTP/1.1
Host: devapi.billhighway.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"ClientId":0,"GroupId":"String","BankAccount":"String","RoutingNumber":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"AchRef":"String","ErrorCode":0,"ErrorMessage":"String","IsError":false}