regis

<back to all web services

DropRegistrationsRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/Registration/{uuid}/Drop/{reporting_term}
"use strict";
export class DropRegistrationResponse {
    /** @param {{student_section_uuid?:string,course_name?:string,section_code?:string,title?:string,term?:string,amount?:number,is_audit?:boolean,is_grade_final?:boolean,is_provisional?:boolean,is_selected_to_drop?:boolean,suggested_refund_percentage?:number,suggested_refund_amount?:number,balance_amount?:number,charge_amount?:number,credit_amount?:number,description?:string,additional_rate_description?:string,additional_rate_id?:number,additional_rate_amount?:number,additional_rate_suggested_refund_percentage?:number,additional_rate_suggested_refund_amount?:number,benefit_description?:string,second_benefit_description?:string,benefit_rate_id?:number,benefit_amount?:number,second_benefit_amount?:number,second_benefit_rate_id?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    student_section_uuid;
    /** @type {string} */
    course_name;
    /** @type {string} */
    section_code;
    /** @type {string} */
    title;
    /** @type {string} */
    term;
    /** @type {number} */
    amount;
    /** @type {boolean} */
    is_audit;
    /** @type {boolean} */
    is_grade_final;
    /** @type {boolean} */
    is_provisional;
    /** @type {boolean} */
    is_selected_to_drop;
    /** @type {number} */
    suggested_refund_percentage;
    /** @type {number} */
    suggested_refund_amount;
    /** @type {number} */
    balance_amount;
    /** @type {number} */
    charge_amount;
    /** @type {number} */
    credit_amount;
    /** @type {string} */
    description;
    /** @type {string} */
    additional_rate_description;
    /** @type {?number} */
    additional_rate_id;
    /** @type {?number} */
    additional_rate_amount;
    /** @type {?number} */
    additional_rate_suggested_refund_percentage;
    /** @type {?number} */
    additional_rate_suggested_refund_amount;
    /** @type {string} */
    benefit_description;
    /** @type {string} */
    second_benefit_description;
    /** @type {?number} */
    benefit_rate_id;
    /** @type {?number} */
    benefit_amount;
    /** @type {?number} */
    second_benefit_amount;
    /** @type {?number} */
    second_benefit_rate_id;
}
export class InvoiceItemBalanceResponse {
    /** @param {{responseStatus?:ResponseStatus,rate_id?:number,rate_code?:string,rate_description?:string,balance_amount?:number,charge_amount?:number,credit_amount?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    responseStatus;
    /** @type {number} */
    rate_id;
    /** @type {string} */
    rate_code;
    /** @type {string} */
    rate_description;
    /** @type {number} */
    balance_amount;
    /** @type {number} */
    charge_amount;
    /** @type {number} */
    credit_amount;
}
export class DropRegistrationsResponse {
    /** @param {{responseStatus?:ResponseStatus,transaction_uuid?:string,regent_id?:number,uuid?:string,reporting_term?:string,suggested_drop_fee?:number,suggested_full_student_fee_refund?:boolean,messages?:string[],registrations?:DropRegistrationResponse[],invoiceItemBalances?:InvoiceItemBalanceResponse[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    responseStatus;
    /** @type {string} */
    transaction_uuid;
    /** @type {number} */
    regent_id;
    /** @type {string} */
    uuid;
    /** @type {string} */
    reporting_term;
    /** @type {number} */
    suggested_drop_fee;
    /** @type {boolean} */
    suggested_full_student_fee_refund;
    /** @type {string[]} */
    messages;
    /** @type {DropRegistrationResponse[]} */
    registrations;
    /** @type {InvoiceItemBalanceResponse[]} */
    invoiceItemBalances;
}
export class DropRegistrationsRequest {
    /** @param {{uuid?:string,reporting_term?:string,registrations?:DropRegistrationResponse[],override_drop_date?:string,authorizing_uuid?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    uuid;
    /** @type {string} */
    reporting_term;
    /** @type {DropRegistrationResponse[]} */
    registrations;
    /** @type {?string} */
    override_drop_date;
    /** @type {string} */
    authorizing_uuid;
}

JavaScript DropRegistrationsRequest 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/{uuid}/Drop/{reporting_term} HTTP/1.1 
Host: data.regent-college.edu 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<DropRegistrationsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
  <authorizing_uuid>String</authorizing_uuid>
  <override_drop_date>0001-01-01T00:00:00</override_drop_date>
  <registrations xmlns:d2p1="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses">
    <d2p1:DropRegistrationResponse>
      <d2p1:additional_rate_amount>0</d2p1:additional_rate_amount>
      <d2p1:additional_rate_description>String</d2p1:additional_rate_description>
      <d2p1:additional_rate_id>0</d2p1:additional_rate_id>
      <d2p1:additional_rate_suggested_refund_amount>0</d2p1:additional_rate_suggested_refund_amount>
      <d2p1:additional_rate_suggested_refund_percentage>0</d2p1:additional_rate_suggested_refund_percentage>
      <d2p1:amount>0</d2p1:amount>
      <d2p1:balance_amount>0</d2p1:balance_amount>
      <d2p1:benefit_amount>0</d2p1:benefit_amount>
      <d2p1:benefit_description>String</d2p1:benefit_description>
      <d2p1:benefit_rate_id>0</d2p1:benefit_rate_id>
      <d2p1:charge_amount>0</d2p1:charge_amount>
      <d2p1:course_name>String</d2p1:course_name>
      <d2p1:credit_amount>0</d2p1:credit_amount>
      <d2p1:description>String</d2p1:description>
      <d2p1:is_audit>false</d2p1:is_audit>
      <d2p1:is_grade_final>false</d2p1:is_grade_final>
      <d2p1:is_provisional>false</d2p1:is_provisional>
      <d2p1:is_selected_to_drop>false</d2p1:is_selected_to_drop>
      <d2p1:second_benefit_amount>0</d2p1:second_benefit_amount>
      <d2p1:second_benefit_description>String</d2p1:second_benefit_description>
      <d2p1:second_benefit_rate_id>0</d2p1:second_benefit_rate_id>
      <d2p1:section_code>String</d2p1:section_code>
      <d2p1:student_section_uuid>String</d2p1:student_section_uuid>
      <d2p1:suggested_refund_amount>0</d2p1:suggested_refund_amount>
      <d2p1:suggested_refund_percentage>0</d2p1:suggested_refund_percentage>
      <d2p1:term>String</d2p1:term>
      <d2p1:title>String</d2p1:title>
    </d2p1:DropRegistrationResponse>
  </registrations>
  <reporting_term>String</reporting_term>
  <uuid>String</uuid>
</DropRegistrationsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DropRegistrationsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Responses">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <invoiceItemBalances>
    <InvoiceItemBalanceResponse>
      <ResponseStatus xmlns:d4p1="http://schemas.servicestack.net/types">
        <d4p1:ErrorCode>String</d4p1:ErrorCode>
        <d4p1:Message>String</d4p1:Message>
        <d4p1:StackTrace>String</d4p1:StackTrace>
        <d4p1:Errors>
          <d4p1:ResponseError>
            <d4p1:ErrorCode>String</d4p1:ErrorCode>
            <d4p1:FieldName>String</d4p1:FieldName>
            <d4p1:Message>String</d4p1:Message>
            <d4p1:Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:KeyValueOfstringstring>
                <d7p1:Key>String</d7p1:Key>
                <d7p1:Value>String</d7p1:Value>
              </d7p1:KeyValueOfstringstring>
            </d4p1:Meta>
          </d4p1:ResponseError>
        </d4p1:Errors>
        <d4p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d4p1:Meta>
      </ResponseStatus>
      <balance_amount>0</balance_amount>
      <charge_amount>0</charge_amount>
      <credit_amount>0</credit_amount>
      <rate_code>String</rate_code>
      <rate_description>String</rate_description>
      <rate_id>0</rate_id>
    </InvoiceItemBalanceResponse>
  </invoiceItemBalances>
  <messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </messages>
  <regent_id>0</regent_id>
  <registrations>
    <DropRegistrationResponse>
      <additional_rate_amount>0</additional_rate_amount>
      <additional_rate_description>String</additional_rate_description>
      <additional_rate_id>0</additional_rate_id>
      <additional_rate_suggested_refund_amount>0</additional_rate_suggested_refund_amount>
      <additional_rate_suggested_refund_percentage>0</additional_rate_suggested_refund_percentage>
      <amount>0</amount>
      <balance_amount>0</balance_amount>
      <benefit_amount>0</benefit_amount>
      <benefit_description>String</benefit_description>
      <benefit_rate_id>0</benefit_rate_id>
      <charge_amount>0</charge_amount>
      <course_name>String</course_name>
      <credit_amount>0</credit_amount>
      <description>String</description>
      <is_audit>false</is_audit>
      <is_grade_final>false</is_grade_final>
      <is_provisional>false</is_provisional>
      <is_selected_to_drop>false</is_selected_to_drop>
      <second_benefit_amount>0</second_benefit_amount>
      <second_benefit_description>String</second_benefit_description>
      <second_benefit_rate_id>0</second_benefit_rate_id>
      <section_code>String</section_code>
      <student_section_uuid>String</student_section_uuid>
      <suggested_refund_amount>0</suggested_refund_amount>
      <suggested_refund_percentage>0</suggested_refund_percentage>
      <term>String</term>
      <title>String</title>
    </DropRegistrationResponse>
  </registrations>
  <reporting_term>String</reporting_term>
  <suggested_drop_fee>0</suggested_drop_fee>
  <suggested_full_student_fee_refund>false</suggested_full_student_fee_refund>
  <transaction_uuid>String</transaction_uuid>
  <uuid>String</uuid>
</DropRegistrationsResponse>