regis

<back to all web services

FinancePayMyTuitionRequest

Requires Authentication
Required permission:CreatePayments
The following routes are available for this service:
POST/Finance/PayMyTuition
namespace regis.ClassLibrary.Requests

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type FinancePayStudentAccountByCardResponse() = 
        member val ResponseStatus:ResponseStatus = null with get,set
        member val success:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type FinancePayMyTuitionPayloadRequest() = 
        member val StudentGuid:String = null with get,set
        member val AcademicPeriodGUID:String = null with get,set
        member val PaymentType:String = null with get,set
        member val paidOn:String = null with get,set
        member val comments:String = null with get,set
        member val amount:String = null with get,set
        member val Currency:String = null with get,set
        member val Id:String = null with get,set
        member val StudentResidenceType:String = null with get,set

    [<AllowNullLiteral>]
    type FinancePayMyTuitionRequest() = 
        member val payload:ResizeArray<FinancePayMyTuitionPayloadRequest> = new ResizeArray<FinancePayMyTuitionPayloadRequest>() with get,set
        member val stamp:String = null with get,set
        member val hash:String = null with get,set

F# FinancePayMyTuitionRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Finance/PayMyTuition HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"payload":[{"studentGuid":"String","academicPeriodGUID":"String","paymentType":"String","paidOn":"String","comments":"String","amount":"String","currency":"String","id":"String","studentResidenceType":"String"}],"stamp":"String","hash":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"success":false}