regis

<back to all web services

AppSettingsRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/AppSettings
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class AppSettingsRequest
    {
        
    }

    public static class AppSettingsResponse
    {
        public ResponseStatus responseStatus = null;
        public String collegeName = null;
        public String collegeID = null;
        public String regisurl = null;
        public IList<String> staffIPAddresses = null;
        public EmailAddresses emailAddresses = null;
        public String currentTerm = null;
        public String previousTerm = null;
        public Integer currentAcademicYear = null;
        public String externalSSOURL = null;
        public String externalSSOCookieName = null;
        public String externalSSOCookieDomain = null;
        public String ldapurl = null;
        public String ldapSecondaryURL = null;
        public String demoCredential = null;
        
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public AppSettingsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
        public String getCollegeName() { return collegeName; }
        public AppSettingsResponse setCollegeName(String value) { this.collegeName = value; return this; }
        public String getCollegeID() { return collegeID; }
        public AppSettingsResponse setCollegeID(String value) { this.collegeID = value; return this; }
        public String getRegisurl() { return regisurl; }
        public AppSettingsResponse setRegisurl(String value) { this.regisurl = value; return this; }
        public IList<String> getStaffIPAddresses() { return staffIPAddresses; }
        public AppSettingsResponse setStaffIPAddresses(IList<String> value) { this.staffIPAddresses = value; return this; }
        public EmailAddresses getEmailAddresses() { return emailAddresses; }
        public AppSettingsResponse setEmailAddresses(EmailAddresses value) { this.emailAddresses = value; return this; }
        public String getCurrentTerm() { return currentTerm; }
        public AppSettingsResponse setCurrentTerm(String value) { this.currentTerm = value; return this; }
        public String getPreviousTerm() { return previousTerm; }
        public AppSettingsResponse setPreviousTerm(String value) { this.previousTerm = value; return this; }
        public Integer getCurrentAcademicYear() { return currentAcademicYear; }
        public AppSettingsResponse setCurrentAcademicYear(Integer value) { this.currentAcademicYear = value; return this; }
        public String getExternalSSOURL() { return externalSSOURL; }
        public AppSettingsResponse setExternalSSOURL(String value) { this.externalSSOURL = value; return this; }
        public String getExternalSSOCookieName() { return externalSSOCookieName; }
        public AppSettingsResponse setExternalSSOCookieName(String value) { this.externalSSOCookieName = value; return this; }
        public String getExternalSSOCookieDomain() { return externalSSOCookieDomain; }
        public AppSettingsResponse setExternalSSOCookieDomain(String value) { this.externalSSOCookieDomain = value; return this; }
        public String getLdapurl() { return ldapurl; }
        public AppSettingsResponse setLdapurl(String value) { this.ldapurl = value; return this; }
        public String getLdapSecondaryURL() { return ldapSecondaryURL; }
        public AppSettingsResponse setLdapSecondaryURL(String value) { this.ldapSecondaryURL = value; return this; }
        public String getDemoCredential() { return demoCredential; }
        public AppSettingsResponse setDemoCredential(String value) { this.demoCredential = value; return this; }
    }

    public static class EmailAddresses
    {
        public String helpdesk = null;
        public String registration = null;
        public String developer = null;
        public String financialAid = null;
        public String noReply = null;
        public String carbonCopy = null;
        public String distanceEducation = null;
        public String studentServices = null;
        public String admissions = null;
        public String admissionsSE = null;
        public String academicAdvising = null;
        public String summerProgram = null;
        public String libraryHold = null;
        public String noEmail = null;
        public String academicAdministrator = null;
        public String accountant = null;
        public String deanOfStudents = null;
        
        public String getHelpdesk() { return helpdesk; }
        public EmailAddresses setHelpdesk(String value) { this.helpdesk = value; return this; }
        public String getRegistration() { return registration; }
        public EmailAddresses setRegistration(String value) { this.registration = value; return this; }
        public String getDeveloper() { return developer; }
        public EmailAddresses setDeveloper(String value) { this.developer = value; return this; }
        public String getFinancialAid() { return financialAid; }
        public EmailAddresses setFinancialAid(String value) { this.financialAid = value; return this; }
        public String getNoReply() { return noReply; }
        public EmailAddresses setNoReply(String value) { this.noReply = value; return this; }
        public String getCarbonCopy() { return carbonCopy; }
        public EmailAddresses setCarbonCopy(String value) { this.carbonCopy = value; return this; }
        public String getDistanceEducation() { return distanceEducation; }
        public EmailAddresses setDistanceEducation(String value) { this.distanceEducation = value; return this; }
        public String getStudentServices() { return studentServices; }
        public EmailAddresses setStudentServices(String value) { this.studentServices = value; return this; }
        public String getAdmissions() { return admissions; }
        public EmailAddresses setAdmissions(String value) { this.admissions = value; return this; }
        public String getAdmissionsSE() { return admissionsSE; }
        public EmailAddresses setAdmissionsSE(String value) { this.admissionsSE = value; return this; }
        public String getAcademicAdvising() { return academicAdvising; }
        public EmailAddresses setAcademicAdvising(String value) { this.academicAdvising = value; return this; }
        public String getSummerProgram() { return summerProgram; }
        public EmailAddresses setSummerProgram(String value) { this.summerProgram = value; return this; }
        public String getLibraryHold() { return libraryHold; }
        public EmailAddresses setLibraryHold(String value) { this.libraryHold = value; return this; }
        public String getNoEmail() { return noEmail; }
        public EmailAddresses setNoEmail(String value) { this.noEmail = value; return this; }
        public String getAcademicAdministrator() { return academicAdministrator; }
        public EmailAddresses setAcademicAdministrator(String value) { this.academicAdministrator = value; return this; }
        public String getAccountant() { return accountant; }
        public EmailAddresses setAccountant(String value) { this.accountant = value; return this; }
        public String getDeanOfStudents() { return deanOfStudents; }
        public EmailAddresses setDeanOfStudents(String value) { this.deanOfStudents = value; return this; }
    }

}

Java AppSettingsRequest 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 /AppSettings HTTP/1.1 
Host: data.regent-college.edu 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

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

<AppSettingsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Settings">
  <CollegeID>String</CollegeID>
  <CollegeName>String</CollegeName>
  <CurrentAcademicYear>0</CurrentAcademicYear>
  <CurrentTerm>String</CurrentTerm>
  <DemoCredential>String</DemoCredential>
  <EmailAddresses>
    <academicAdministrator>String</academicAdministrator>
    <academicAdvising>String</academicAdvising>
    <accountant>String</accountant>
    <admissions>String</admissions>
    <admissionsSE>String</admissionsSE>
    <carbonCopy>String</carbonCopy>
    <deanOfStudents>String</deanOfStudents>
    <developer>String</developer>
    <distanceEducation>String</distanceEducation>
    <financialAid>String</financialAid>
    <helpdesk>String</helpdesk>
    <libraryHold>String</libraryHold>
    <noEmail>String</noEmail>
    <noReply>String</noReply>
    <registration>String</registration>
    <studentServices>String</studentServices>
    <summerProgram>String</summerProgram>
  </EmailAddresses>
  <ExternalSSOCookieDomain>String</ExternalSSOCookieDomain>
  <ExternalSSOCookieName>String</ExternalSSOCookieName>
  <ExternalSSOURL>String</ExternalSSOURL>
  <LDAPSecondaryURL>String</LDAPSecondaryURL>
  <LDAPURL>String</LDAPURL>
  <PreviousTerm>String</PreviousTerm>
  <REGISURL>String</REGISURL>
  <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>
  <StaffIPAddresses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
</AppSettingsResponse>