| GET | /recurringPayments/mine |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel
Namespace Global
Namespace TicketUserServices.ServiceModel
Public Partial Class MyRecurringPaymentsRequest
Public Overridable Property Phone As String
End Class
Public Partial Class MyRecurringPaymentsResult
Public Sub New()
Items = New List(Of RecurringSubscriptionView)
End Sub
Public Overridable Property Items As List(Of RecurringSubscriptionView)
Public Overridable Property StatusCode As Integer
Public Overridable Property Message As String
End Class
Public Partial Class RecurringSubscriptionView
Public Overridable Property Id As Integer
Public Overridable Property Status As String
Public Overridable Property PhoneVerificationNumber As String
Public Overridable Property StartDate As Nullable(Of Date)
Public Overridable Property LastPayment As Nullable(Of Date)
Public Overridable Property NextPayment As Nullable(Of Date)
Public Overridable Property OwnerId As Nullable(Of Integer)
Public Overridable Property OwnerCardTypeId As Nullable(Of Integer)
Public Overridable Property DeclinedCounter As Integer
Public Overridable Property SubscriptionLength As Integer
Public Overridable Property MonthsPaid As Integer
Public Overridable Property MonthlyPrice As Integer
Public Overridable Property TransactionFee As Nullable(Of Decimal)
Public Overridable Property PaymentTokenId As String
Public Overridable Property PanLastFour As String
Public Overridable Property ExpMonth As String
Public Overridable Property ExpYear As String
Public Overridable Property Mode As String
Public Overridable Property CardId As Nullable(Of Integer)
Public Overridable Property InitialPaymentDate As String
Public Overridable Property InitialPaymentAmount As String
Public Overridable Property InitialPaymentCurrency As String
Public Overridable Property InitialPaymentStatus As String
Public Overridable Property CancelledAt As Nullable(Of Date)
Public Overridable Property CancellationReason As String
Public Overridable Property PriorSubscriptionLength As Nullable(Of Integer)
Public Overridable Property TermsVersion As String
Public Overridable Property TermsAcceptedAt As Nullable(Of Date)
End Class
End Namespace
End Namespace
VB.NET MyRecurringPaymentsRequest 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.
GET /recurringPayments/mine HTTP/1.1 Host: stubbur-app.azurewebsites.net Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MyRecurringPaymentsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Items>
<RecurringSubscriptionView>
<CancellationReason>String</CancellationReason>
<CancelledAt>0001-01-01T00:00:00</CancelledAt>
<CardId>0</CardId>
<DeclinedCounter>0</DeclinedCounter>
<ExpMonth>String</ExpMonth>
<ExpYear>String</ExpYear>
<Id>0</Id>
<InitialPaymentAmount>String</InitialPaymentAmount>
<InitialPaymentCurrency>String</InitialPaymentCurrency>
<InitialPaymentDate>String</InitialPaymentDate>
<InitialPaymentStatus>String</InitialPaymentStatus>
<LastPayment>0001-01-01T00:00:00</LastPayment>
<Mode>String</Mode>
<MonthlyPrice>0</MonthlyPrice>
<MonthsPaid>0</MonthsPaid>
<NextPayment>0001-01-01T00:00:00</NextPayment>
<OwnerCardTypeId>0</OwnerCardTypeId>
<OwnerId>0</OwnerId>
<PanLastFour>String</PanLastFour>
<PaymentTokenId>String</PaymentTokenId>
<PhoneVerificationNumber>String</PhoneVerificationNumber>
<PriorSubscriptionLength>0</PriorSubscriptionLength>
<StartDate>0001-01-01T00:00:00</StartDate>
<Status>String</Status>
<SubscriptionLength>0</SubscriptionLength>
<TermsAcceptedAt>0001-01-01T00:00:00</TermsAcceptedAt>
<TermsVersion>String</TermsVersion>
<TransactionFee>0</TransactionFee>
</RecurringSubscriptionView>
</Items>
<Message>String</Message>
<StatusCode>0</StatusCode>
</MyRecurringPaymentsResult>