regis

<back to all web services

SectionUpdateRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/Sections/Admin/Update/{uuid}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class SectionUpdateRequest
    {
        public String uuid = null;
        public Integer course_id = null;
        public String course_name = null;
        public BigDecimal min_credits = null;
        public BigDecimal max_credits = null;
        public BigDecimal credit_increments = null;
        public BigDecimal min_audits = null;
        public BigDecimal max_audits = null;
        public BigDecimal audit_increments = null;
        public String section_code = null;
        public String title = null;
        public String pretty_title = null;
        public String override_course_description = null;
        public String current_status = null;
        public String location = null;
        public String room = null;
        public Boolean is_audio = null;
        public Boolean is_oncampus = null;
        public String distance_ed_materials = null;
        public Date start_date = null;
        public Date end_date = null;
        public String meeting_days = null;
        public String start_times = null;
        public String end_times = null;
        public Date first_meeting_date = null;
        public Date last_meeting_date = null;
        public Boolean is_pass_fail = null;
        public Boolean is_waitlist = null;
        public Boolean has_special_requirements = null;
        public String special_requirements = null;
        public Boolean is_unlisted = null;
        public Integer capacity = null;
        public BigDecimal flat_fee_amount = null;
        public BigDecimal additional_fee_amount = null;
        public Date override_registration_start_date = null;
        public Date override_registration_end_date = null;
        public Date override_add_start_date = null;
        public Date override_add_end_date = null;
        public Date override_drop_start_date = null;
        public Date override_drop_end_date = null;
        public Date override_grading_end_date = null;
        public String term = null;
        public String reporting_term = null;
        public String authorizing_uuid = null;
        
        public String getUuid() { return uuid; }
        public SectionUpdateRequest setUuid(String value) { this.uuid = value; return this; }
        public Integer getCourseId() { return course_id; }
        public SectionUpdateRequest setCourseId(Integer value) { this.course_id = value; return this; }
        public String getCourseName() { return course_name; }
        public SectionUpdateRequest setCourseName(String value) { this.course_name = value; return this; }
        public BigDecimal getMinCredits() { return min_credits; }
        public SectionUpdateRequest setMinCredits(BigDecimal value) { this.min_credits = value; return this; }
        public BigDecimal getMaxCredits() { return max_credits; }
        public SectionUpdateRequest setMaxCredits(BigDecimal value) { this.max_credits = value; return this; }
        public BigDecimal getCreditIncrements() { return credit_increments; }
        public SectionUpdateRequest setCreditIncrements(BigDecimal value) { this.credit_increments = value; return this; }
        public BigDecimal getMinAudits() { return min_audits; }
        public SectionUpdateRequest setMinAudits(BigDecimal value) { this.min_audits = value; return this; }
        public BigDecimal getMaxAudits() { return max_audits; }
        public SectionUpdateRequest setMaxAudits(BigDecimal value) { this.max_audits = value; return this; }
        public BigDecimal getAuditIncrements() { return audit_increments; }
        public SectionUpdateRequest setAuditIncrements(BigDecimal value) { this.audit_increments = value; return this; }
        public String getSectionCode() { return section_code; }
        public SectionUpdateRequest setSectionCode(String value) { this.section_code = value; return this; }
        public String getTitle() { return title; }
        public SectionUpdateRequest setTitle(String value) { this.title = value; return this; }
        public String getPrettyTitle() { return pretty_title; }
        public SectionUpdateRequest setPrettyTitle(String value) { this.pretty_title = value; return this; }
        public String getOverrideCourseDescription() { return override_course_description; }
        public SectionUpdateRequest setOverrideCourseDescription(String value) { this.override_course_description = value; return this; }
        public String getCurrentStatus() { return current_status; }
        public SectionUpdateRequest setCurrentStatus(String value) { this.current_status = value; return this; }
        public String getLocation() { return location; }
        public SectionUpdateRequest setLocation(String value) { this.location = value; return this; }
        public String getRoom() { return room; }
        public SectionUpdateRequest setRoom(String value) { this.room = value; return this; }
        public Boolean getIsAudio() { return is_audio; }
        public SectionUpdateRequest setIsAudio(Boolean value) { this.is_audio = value; return this; }
        public Boolean getIsOncampus() { return is_oncampus; }
        public SectionUpdateRequest setIsOncampus(Boolean value) { this.is_oncampus = value; return this; }
        public String getDistanceEdMaterials() { return distance_ed_materials; }
        public SectionUpdateRequest setDistanceEdMaterials(String value) { this.distance_ed_materials = value; return this; }
        public Date getStartDate() { return start_date; }
        public SectionUpdateRequest setStartDate(Date value) { this.start_date = value; return this; }
        public Date getEndDate() { return end_date; }
        public SectionUpdateRequest setEndDate(Date value) { this.end_date = value; return this; }
        public String getMeetingDays() { return meeting_days; }
        public SectionUpdateRequest setMeetingDays(String value) { this.meeting_days = value; return this; }
        public String getStartTimes() { return start_times; }
        public SectionUpdateRequest setStartTimes(String value) { this.start_times = value; return this; }
        public String getEndTimes() { return end_times; }
        public SectionUpdateRequest setEndTimes(String value) { this.end_times = value; return this; }
        public Date getFirstMeetingDate() { return first_meeting_date; }
        public SectionUpdateRequest setFirstMeetingDate(Date value) { this.first_meeting_date = value; return this; }
        public Date getLastMeetingDate() { return last_meeting_date; }
        public SectionUpdateRequest setLastMeetingDate(Date value) { this.last_meeting_date = value; return this; }
        public Boolean getIsPassFail() { return is_pass_fail; }
        public SectionUpdateRequest setIsPassFail(Boolean value) { this.is_pass_fail = value; return this; }
        public Boolean getIsWaitlist() { return is_waitlist; }
        public SectionUpdateRequest setIsWaitlist(Boolean value) { this.is_waitlist = value; return this; }
        public Boolean isHasSpecialRequirements() { return has_special_requirements; }
        public SectionUpdateRequest setHasSpecialRequirements(Boolean value) { this.has_special_requirements = value; return this; }
        public String getSpecialRequirements() { return special_requirements; }
        public SectionUpdateRequest setSpecialRequirements(String value) { this.special_requirements = value; return this; }
        public Boolean getIsUnlisted() { return is_unlisted; }
        public SectionUpdateRequest setIsUnlisted(Boolean value) { this.is_unlisted = value; return this; }
        public Integer getCapacity() { return capacity; }
        public SectionUpdateRequest setCapacity(Integer value) { this.capacity = value; return this; }
        public BigDecimal getFlatFeeAmount() { return flat_fee_amount; }
        public SectionUpdateRequest setFlatFeeAmount(BigDecimal value) { this.flat_fee_amount = value; return this; }
        public BigDecimal getAdditionalFeeAmount() { return additional_fee_amount; }
        public SectionUpdateRequest setAdditionalFeeAmount(BigDecimal value) { this.additional_fee_amount = value; return this; }
        public Date getOverrideRegistrationStartDate() { return override_registration_start_date; }
        public SectionUpdateRequest setOverrideRegistrationStartDate(Date value) { this.override_registration_start_date = value; return this; }
        public Date getOverrideRegistrationEndDate() { return override_registration_end_date; }
        public SectionUpdateRequest setOverrideRegistrationEndDate(Date value) { this.override_registration_end_date = value; return this; }
        public Date getOverrideAddStartDate() { return override_add_start_date; }
        public SectionUpdateRequest setOverrideAddStartDate(Date value) { this.override_add_start_date = value; return this; }
        public Date getOverrideAddEndDate() { return override_add_end_date; }
        public SectionUpdateRequest setOverrideAddEndDate(Date value) { this.override_add_end_date = value; return this; }
        public Date getOverrideDropStartDate() { return override_drop_start_date; }
        public SectionUpdateRequest setOverrideDropStartDate(Date value) { this.override_drop_start_date = value; return this; }
        public Date getOverrideDropEndDate() { return override_drop_end_date; }
        public SectionUpdateRequest setOverrideDropEndDate(Date value) { this.override_drop_end_date = value; return this; }
        public Date getOverrideGradingEndDate() { return override_grading_end_date; }
        public SectionUpdateRequest setOverrideGradingEndDate(Date value) { this.override_grading_end_date = value; return this; }
        public String getTerm() { return term; }
        public SectionUpdateRequest setTerm(String value) { this.term = value; return this; }
        public String getReportingTerm() { return reporting_term; }
        public SectionUpdateRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
        public String getAuthorizingUuid() { return authorizing_uuid; }
        public SectionUpdateRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
    }

}

Java SectionUpdateRequest DTOs

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

HTTP + JSV

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

POST /Sections/Admin/Update/{uuid} HTTP/1.1 
Host: data.regent-college.edu 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	uuid: String,
	course_id: 0,
	course_name: String,
	min_credits: 0,
	max_credits: 0,
	credit_increments: 0,
	min_audits: 0,
	max_audits: 0,
	audit_increments: 0,
	section_code: String,
	title: String,
	pretty_title: String,
	override_course_description: String,
	current_status: String,
	location: String,
	room: String,
	is_audio: False,
	is_oncampus: False,
	distance_ed_materials: String,
	start_date: 0001-01-01,
	end_date: 0001-01-01,
	meeting_days: String,
	start_times: String,
	end_times: String,
	first_meeting_date: 0001-01-01,
	last_meeting_date: 0001-01-01,
	is_pass_fail: False,
	is_waitlist: False,
	has_special_requirements: False,
	special_requirements: String,
	is_unlisted: False,
	capacity: 0,
	flat_fee_amount: 0,
	additional_fee_amount: 0,
	override_registration_start_date: 0001-01-01,
	override_registration_end_date: 0001-01-01,
	override_add_start_date: 0001-01-01,
	override_add_end_date: 0001-01-01,
	override_drop_start_date: 0001-01-01,
	override_drop_end_date: 0001-01-01,
	override_grading_end_date: 0001-01-01,
	term: String,
	reporting_term: String,
	authorizing_uuid: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

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