| GET | /members/StatusValues |
|---|
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 AutoPayInfo
Public Overridable Property PaymentMethod As String
Public Overridable Property CardType As String
Public Overridable Property CardReference As String
Public Overridable Property CardNumberLastFour As String
Public Overridable Property ExpMonth As Integer
Public Overridable Property ExpYear As Integer
Public Overridable Property AchReference As String
Public Overridable Property PayerName As String
Public Overridable Property Address1 As String
Public Overridable Property Address2 As String
Public Overridable Property BillingCity As String
Public Overridable Property BillingState As String
Public Overridable Property PostalCode As String
Public Overridable Property Country As String
Public Overridable Property AccountNumberLastFour As String
Public Overridable Property RoutingNumberLastFour As String
Public Overridable Property AccountType As String
Public Overridable Property LastAutoPayAmount As String
Public Overridable Property LastAutoPayDate As String
End Class
Public Partial Class MemberStatusValues
Public Overridable Property ClientId As Integer
Public Overridable Property GroupId As String
Public Overridable Property UserId As String
Public Overridable Property BhUserId As Integer
End Class
Public Partial Class MemberStatusValuesReply
Implements IHaveErrorField
Public Overridable Property ClientId As Integer
Public Overridable Property GroupId As String
Public Overridable Property ErrorCode As Integer
Public Overridable Property ErrorMessage As String
Public Overridable Property UserId As String
Public Overridable Property BhUserId As Integer
Public Overridable Property BillingTypeId As Integer
Public Overridable Property MemberStatusId As Integer
Public Overridable Property MemberStatusCode As String
Public Overridable Property MemberStatusDesc As String
Public Overridable Property MemberTypeId As Integer
Public Overridable Property MemberTypeCode As String
Public Overridable Property MemberTypeDesc As String
Public Overridable Property CurrentBalance As String
Public Overridable Property AutoPayStatus As String
Public Overridable Property AutoPayInfo As AutoPayInfo
<ApiMember(ExcludeInSchema:=true)>
Public Overridable Property IsError As Boolean
End Class
End Namespace
End Namespace
VB.NET MemberStatusValues 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.
GET /members/StatusValues HTTP/1.1 Host: devapi.billhighway.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ClientId: 0,
GroupId: String,
ErrorCode: 0,
ErrorMessage: String,
UserId: String,
BhUserId: 0,
BillingTypeId: 0,
MemberStatusId: 0,
MemberStatusCode: String,
MemberStatusDesc: String,
MemberTypeId: 0,
MemberTypeCode: String,
MemberTypeDesc: String,
CurrentBalance: String,
AutoPayStatus: String,
AutoPayInfo:
{
PaymentMethod: String,
CardType: String,
CardReference: String,
CardNumberLastFour: String,
ExpMonth: 0,
ExpYear: 0,
AchReference: String,
PayerName: String,
Address1: String,
Address2: String,
BillingCity: String,
BillingState: String,
PostalCode: String,
Country: String,
AccountNumberLastFour: String,
RoutingNumberLastFour: String,
AccountType: String,
LastAutoPayAmount: String,
LastAutoPayDate: String
},
IsError: False
}