Required role: | REGISUserRole |
POST | /Terms/{term}/RefundSchedule |
---|
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 TermRefundScheduleRequest
{
public String term = null;
public String getTerm() { return term; }
public TermRefundScheduleRequest setTerm(String value) { this.term = value; return this; }
}
}
Java TermRefundScheduleRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Terms/{term}/RefundSchedule HTTP/1.1
Host: data.regent-college.edu
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"term":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length [{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"uuid":"String","term":"String","rate_code":"String","rate_description":"String","percentage":0,"start_date":"0001-01-01T00:00:00.0000000","end_date":"0001-01-01T00:00:00.0000000"}]