regis

<back to all web services

RegistrationDocumentsRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/Registration/Document/StudentSection/{section_uuid}
POST/Registration/Document/{uuid}/StudentSection/{section_uuid}
import 'package:servicestack/servicestack.dart';

class RegistrationDocumentsRequest implements IConvertible
{
    String? uuid;
    String? section_uuid;

    RegistrationDocumentsRequest({this.uuid,this.section_uuid});
    RegistrationDocumentsRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        uuid = json['uuid'];
        section_uuid = json['section_uuid'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'uuid': uuid,
        'section_uuid': section_uuid
    };

    getTypeName() => "RegistrationDocumentsRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
    'RegistrationDocumentsRequest': TypeInfo(TypeOf.Class, create:() => RegistrationDocumentsRequest()),
});

Dart RegistrationDocumentsRequest DTOs

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

HTTP + XML

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

POST /Registration/Document/StudentSection/{section_uuid} HTTP/1.1 
Host: data.regent-college.edu 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<RegistrationDocumentsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
  <section_uuid>String</section_uuid>
  <uuid>String</uuid>
</RegistrationDocumentsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfRegistrationDocumentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses">
  <RegistrationDocumentResponse>
    <added_date>0001-01-01T00:00:00</added_date>
    <changed_date>0001-01-01T00:00:00</changed_date>
    <concentration>String</concentration>
    <course_name>String</course_name>
    <course_title>String</course_title>
    <document_code>String</document_code>
    <document_description>String</document_description>
    <document_json>String</document_json>
    <document_name>String</document_name>
    <email>String</email>
    <first_name>String</first_name>
    <gender>String</gender>
    <last_name>String</last_name>
    <program>String</program>
    <regent_id>0</regent_id>
    <reporting_term>String</reporting_term>
    <section_uuid>String</section_uuid>
    <uuid>String</uuid>
  </RegistrationDocumentResponse>
</ArrayOfRegistrationDocumentResponse>