regis

<back to all web services

StudentAcademicCredentialHistoryRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/StudentAcademicCredential/{uuid}/History/{stacUUID}
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 StudentAcademicCredentialHistoryRequest
    {
        public virtual string uuid { get; set; }
        public virtual string stacUUID { get; set; }
    }

}

namespace regis.ClassLibrary.Responses
{
    public partial class StudentAcademicCredentialGradeHistoryEntryResponse
    {
        public virtual string grade { get; set; }
        public virtual string last_changed_by { get; set; }
        public virtual DateTime date { get; set; }
    }

    public partial class StudentAcademicCredentialGradeHistoryResponse
    {
        public StudentAcademicCredentialGradeHistoryResponse()
        {
            student_academic_credential_history_entry = new List<StudentAcademicCredentialGradeHistoryEntryResponse>{};
        }

        public virtual ResponseStatus ResponseStatus { get; set; }
        public virtual int regent_id { get; set; }
        public virtual string uuid { get; set; }
        public virtual string stacUUID { get; set; }
        public virtual string course_name { get; set; }
        public virtual string title { get; set; }
        public virtual string term { get; set; }
        public virtual List<StudentAcademicCredentialGradeHistoryEntryResponse> student_academic_credential_history_entry { get; set; }
    }

}

C# StudentAcademicCredentialHistoryRequest 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.

POST /StudentAcademicCredential/{uuid}/History/{stacUUID} HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"uuid":"String","stacUUID":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"regent_id":0,"uuid":"String","stacUUID":"String","course_name":"String","title":"String","term":"String","student_academic_credential_history_entry":[{"grade":"String","last_changed_by":"String","date":"0001-01-01T00:00:00.0000000"}]}