Required role: | REGISUserRole |
POST | /Registration/InProgress/{uuid}/Term/{reporting_term}/Submit |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class RegistrationInProgressSubmitRequest
{
public String transaction_uuid = null;
public String uuid = null;
public String reporting_term = null;
public ArrayList<Integer> rates_opted_in = null;
public String authorizing_uuid = null;
public Boolean casl_optin = null;
public Boolean ams_optin = null;
public Boolean rcsa_locker_optin = null;
public Boolean appliedForDEReentryBenefit = null;
public Boolean appliedForSpousalAuditBenefit = null;
public Boolean appliedForSpousalCreditBenefit = null;
public String notes = null;
public String getTransactionUuid() { return transaction_uuid; }
public RegistrationInProgressSubmitRequest setTransactionUuid(String value) { this.transaction_uuid = value; return this; }
public String getUuid() { return uuid; }
public RegistrationInProgressSubmitRequest setUuid(String value) { this.uuid = value; return this; }
public String getReportingTerm() { return reporting_term; }
public RegistrationInProgressSubmitRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
public ArrayList<Integer> getRatesOptedIn() { return rates_opted_in; }
public RegistrationInProgressSubmitRequest setRatesOptedIn(ArrayList<Integer> value) { this.rates_opted_in = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public RegistrationInProgressSubmitRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
public Boolean isCaslOptin() { return casl_optin; }
public RegistrationInProgressSubmitRequest setCaslOptin(Boolean value) { this.casl_optin = value; return this; }
public Boolean isAmsOptin() { return ams_optin; }
public RegistrationInProgressSubmitRequest setAmsOptin(Boolean value) { this.ams_optin = value; return this; }
public Boolean isRcsaLockerOptin() { return rcsa_locker_optin; }
public RegistrationInProgressSubmitRequest setRcsaLockerOptin(Boolean value) { this.rcsa_locker_optin = value; return this; }
public Boolean isAppliedForDEReentryBenefit() { return appliedForDEReentryBenefit; }
public RegistrationInProgressSubmitRequest setAppliedForDEReentryBenefit(Boolean value) { this.appliedForDEReentryBenefit = value; return this; }
public Boolean isAppliedForSpousalAuditBenefit() { return appliedForSpousalAuditBenefit; }
public RegistrationInProgressSubmitRequest setAppliedForSpousalAuditBenefit(Boolean value) { this.appliedForSpousalAuditBenefit = value; return this; }
public Boolean isAppliedForSpousalCreditBenefit() { return appliedForSpousalCreditBenefit; }
public RegistrationInProgressSubmitRequest setAppliedForSpousalCreditBenefit(Boolean value) { this.appliedForSpousalCreditBenefit = value; return this; }
public String getNotes() { return notes; }
public RegistrationInProgressSubmitRequest setNotes(String value) { this.notes = value; return this; }
}
public static class RegistrationInProgressSubmitResponse
{
public ResponseStatus responseStatus = null;
public String email = null;
public String first_name = null;
public String preferred_name = null;
public String last_name = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public RegistrationInProgressSubmitResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getEmail() { return email; }
public RegistrationInProgressSubmitResponse setEmail(String value) { this.email = value; return this; }
public String getFirstName() { return first_name; }
public RegistrationInProgressSubmitResponse setFirstName(String value) { this.first_name = value; return this; }
public String getPreferredName() { return preferred_name; }
public RegistrationInProgressSubmitResponse setPreferredName(String value) { this.preferred_name = value; return this; }
public String getLastName() { return last_name; }
public RegistrationInProgressSubmitResponse setLastName(String value) { this.last_name = value; return this; }
}
}
Java RegistrationInProgressSubmitRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Registration/InProgress/{uuid}/Term/{reporting_term}/Submit HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"transaction_uuid":"String","uuid":"String","reporting_term":"String","rates_opted_in":[0],"authorizing_uuid":"String","casl_optin":false,"ams_optin":false,"rcsa_locker_optin":false,"appliedForDEReentryBenefit":false,"appliedForSpousalAuditBenefit":false,"appliedForSpousalCreditBenefit":false,"notes":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"email":"String","first_name":"String","preferred_name":"String","last_name":"String"}