regis

<back to all web services

StudentAcademicCredentialExtensionUpdateRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/StudentAcademicCredentialExtensions/{uuid}/{stac_uuid}/Update
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class StudentAcademicCredentialExtensionUpdateRequest:
    uuid: Optional[str] = None
    stac_uuid: Optional[str] = None
    due_date: Optional[datetime.datetime] = None
    received_date: Optional[datetime.datetime] = None
    grade_penalty: Optional[str] = None
    assignments: Optional[str] = None
    comments: Optional[str] = None
    is_active: bool = False
    authorizing_uuid: Optional[str] = None

Python StudentAcademicCredentialExtensionUpdateRequest 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 /StudentAcademicCredentialExtensions/{uuid}/{stac_uuid}/Update HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"uuid":"String","stac_uuid":"String","due_date":"0001-01-01T00:00:00.0000000","received_date":"0001-01-01T00:00:00.0000000","grade_penalty":"String","assignments":"String","comments":"String","is_active":false,"authorizing_uuid":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

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