regis

<back to all web services

GradeByCourseSaveRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/Academic/Course/{secUUID}/Grade/Save
namespace regis.ClassLibrary.Requests

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

    [<AllowNullLiteral>]
    type GradeByCourseSaveResponse() = 
        member val ResponseStatus:ResponseStatus = null with get,set
        member val secUUID:String = null with get,set
        member val messages:ResizeArray<String> = new ResizeArray<String>() with get,set
        member val is_successful:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type GradeStudentAcademicCredentialRequest() = 
        member val stacUUID:String = null with get,set
        member val grade:String = null with get,set
        member val is_grade_final:Boolean = new Boolean() with get,set

    [<AllowNullLiteral>]
    type GradeByCourseSaveRequest() = 
        member val secUUID:String = null with get,set
        member val override_grading_end_date:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val crosslists_included:Boolean = new Boolean() with get,set
        member val studentAcademicCredentials:ResizeArray<GradeStudentAcademicCredentialRequest> = new ResizeArray<GradeStudentAcademicCredentialRequest>() with get,set
        member val authorizing_uuid:String = null with get,set

F# GradeByCourseSaveRequest 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 /Academic/Course/{secUUID}/Grade/Save HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"secUUID":"String","override_grading_end_date":"0001-01-01T00:00:00.0000000","crosslists_included":false,"studentAcademicCredentials":[{"stacUUID":"String","grade":"String","is_grade_final":false}],"authorizing_uuid":"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"}},"secUUID":"String","messages":["String"],"is_successful":false}