Required role: | REGISUserRole |
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; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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/json
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"collegeName":"String","collegeID":"String","regisurl":"String","emailAddresses":{"helpdesk":"String","registration":"String","developer":"String","financialAid":"String","noReply":"String","carbonCopy":"String","distanceEducation":"String","studentServices":"String","admissions":"String","admissionsSE":"String","academicAdvising":"String","summerProgram":"String","libraryHold":"String","noEmail":"String","academicAdministrator":"String","accountant":"String","deanOfStudents":"String"},"currentTerm":"String","previousTerm":"String","currentAcademicYear":0,"externalSSOURL":"String","externalSSOCookieName":"String","externalSSOCookieDomain":"String","ldapurl":"String","ldapSecondaryURL":"String","demoCredential":"String"}