TicketUserServices

<back to all web services

MyRecurringPaymentsRequest

Requires Authentication
The following routes are available for this service:
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 .csv suffix or ?format=csv

HTTP + CSV

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: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"items":[{"id":0,"status":"String","phoneVerificationNumber":"String","startDate":"0001-01-01T00:00:00.0000000","lastPayment":"0001-01-01T00:00:00.0000000","nextPayment":"0001-01-01T00:00:00.0000000","ownerId":0,"ownerCardTypeId":0,"declinedCounter":0,"subscriptionLength":0,"monthsPaid":0,"monthlyPrice":0,"transactionFee":0,"paymentTokenId":"String","panLastFour":"String","expMonth":"String","expYear":"String","mode":"String","cardId":0,"initialPaymentDate":"String","initialPaymentAmount":"String","initialPaymentCurrency":"String","initialPaymentStatus":"String","cancelledAt":"0001-01-01T00:00:00.0000000","cancellationReason":"String","priorSubscriptionLength":0,"termsVersion":"String","termsAcceptedAt":"0001-01-01T00:00:00.0000000"}],"statusCode":0,"message":"String"}