Required role: | REGISUserRole |
POST | /Registration/{uuid}/Cancel/{reporting_term} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class RegistrationsCancelAdminRequest
{
public String transaction_uuid = null;
public String uuid = null;
public String authorizing_uuid = null;
public String reporting_term = null;
public String getTransactionUuid() { return transaction_uuid; }
public RegistrationsCancelAdminRequest setTransactionUuid(String value) { this.transaction_uuid = value; return this; }
public String getUuid() { return uuid; }
public RegistrationsCancelAdminRequest setUuid(String value) { this.uuid = value; return this; }
public String getAuthorizingUuid() { return authorizing_uuid; }
public RegistrationsCancelAdminRequest setAuthorizingUuid(String value) { this.authorizing_uuid = value; return this; }
public String getReportingTerm() { return reporting_term; }
public RegistrationsCancelAdminRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
}
}
Java RegistrationsCancelAdminRequest 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 /Registration/{uuid}/Cancel/{reporting_term} HTTP/1.1
Host: data.regent-college.edu
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"transaction_uuid":"String","uuid":"String","authorizing_uuid":"String","reporting_term":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}