Required role: | REGISUserRole |
POST | /Finance/AccountLate/{reporting_term}/Charge |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;
public class dtos
{
public static class FinanceAccountLateChargeRequest
{
public String authorizing_uuid = null;
public String reporting_term = null;
public Boolean is_preview_only = null;
public Boolean send_emails = null;
public Date override_late_date = null;
public String getAuthorizingUuid() { return authorizing_uuid; }
public FinanceAccountLateChargeRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
public String getReportingTerm() { return reporting_term; }
public FinanceAccountLateChargeRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
public Boolean getIsPreviewOnly() { return is_preview_only; }
public FinanceAccountLateChargeRequest setIsPreviewOnly(Boolean value) { this.is_preview_only = value; return this; }
public Boolean isSendEmails() { return send_emails; }
public FinanceAccountLateChargeRequest setSendEmails(Boolean value) { this.send_emails = value; return this; }
public Date getOverrideLateDate() { return override_late_date; }
public FinanceAccountLateChargeRequest setOverrideLateDate(Date value) { this.override_late_date = value; return this; }
}
}
Java FinanceAccountLateChargeRequest 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 /Finance/AccountLate/{reporting_term}/Charge HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"authorizing_uuid":"String","reporting_term":"String","is_preview_only":false,"send_emails":false,"override_late_date":"0001-01-01T00:00:00.0000000"}
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"}},"regent_id":0,"first_name":"String","last_name":"String","uuid":"String","has_late_reg_fee":false,"amount_owing":0,"late_fee":0,"interest":0,"active_financial_restrictions":"String","new_financial_restriction":"String","last_registration_date":"0001-01-01T00:00:00.0000000"}]