regis

<back to all web services

FinancePayMyTuitionRequest

Requires Authentication
Required permission:CreatePayments
The following routes are available for this service:
POST/Finance/PayMyTuition
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using regis.ClassLibrary.Requests;
using regis.ClassLibrary.Responses;

namespace regis.ClassLibrary.Requests
{
    public partial class FinancePayMyTuitionPayloadRequest
    {
        public virtual string StudentGuid { get; set; }
        public virtual string AcademicPeriodGUID { get; set; }
        public virtual string PaymentType { get; set; }
        public virtual string paidOn { get; set; }
        public virtual string comments { get; set; }
        public virtual string amount { get; set; }
        public virtual string Currency { get; set; }
        public virtual string Id { get; set; }
        public virtual string StudentResidenceType { get; set; }
    }

    public partial class FinancePayMyTuitionRequest
    {
        public FinancePayMyTuitionRequest()
        {
            payload = new List<FinancePayMyTuitionPayloadRequest>{};
        }

        public virtual List<FinancePayMyTuitionPayloadRequest> payload { get; set; }
        public virtual string stamp { get; set; }
        public virtual string hash { get; set; }
    }

}

namespace regis.ClassLibrary.Responses
{
    public partial class FinancePayStudentAccountByCardResponse
    {
        public virtual ResponseStatus ResponseStatus { get; set; }
        public virtual bool success { get; set; }
    }

}

C# 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}