regis

<back to all web services

UnauthenticatedRegistrationInProgressSubmitRequest

Requires Authentication
Required role:REGISUserRole
The following routes are available for this service:
POST/Registration/InProgressForUnauthenticatedPerson/{uuid}/Term/{reporting_term}/Submit
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class UnauthenticatedRegistrationInProgressSubmitRequest
    {
        public String transaction_uuid = null;
        public String uuid = null;
        public String reporting_term = null;
        public ArrayList<Integer> rates_opted_in = 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 UnauthenticatedRegistrationInProgressSubmitRequest setTransactionUuid(String value) { this.transaction_uuid = value; return this; }
        public String getUuid() { return uuid; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setUuid(String value) { this.uuid = value; return this; }
        public String getReportingTerm() { return reporting_term; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
        public ArrayList<Integer> getRatesOptedIn() { return rates_opted_in; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setRatesOptedIn(ArrayList<Integer> value) { this.rates_opted_in = value; return this; }
        public Boolean isCaslOptin() { return casl_optin; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setCaslOptin(Boolean value) { this.casl_optin = value; return this; }
        public Boolean isAmsOptin() { return ams_optin; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setAmsOptin(Boolean value) { this.ams_optin = value; return this; }
        public Boolean isRcsaLockerOptin() { return rcsa_locker_optin; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setRcsaLockerOptin(Boolean value) { this.rcsa_locker_optin = value; return this; }
        public Boolean isAppliedForDEReentryBenefit() { return appliedForDEReentryBenefit; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setAppliedForDEReentryBenefit(Boolean value) { this.appliedForDEReentryBenefit = value; return this; }
        public Boolean isAppliedForSpousalAuditBenefit() { return appliedForSpousalAuditBenefit; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setAppliedForSpousalAuditBenefit(Boolean value) { this.appliedForSpousalAuditBenefit = value; return this; }
        public Boolean isAppliedForSpousalCreditBenefit() { return appliedForSpousalCreditBenefit; }
        public UnauthenticatedRegistrationInProgressSubmitRequest setAppliedForSpousalCreditBenefit(Boolean value) { this.appliedForSpousalCreditBenefit = value; return this; }
        public String getNotes() { return notes; }
        public UnauthenticatedRegistrationInProgressSubmitRequest 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 UnauthenticatedRegistrationInProgressSubmitRequest DTOs

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

HTTP + OTHER

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

POST /Registration/InProgressForUnauthenticatedPerson/{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],"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"}