Required role: | REGISUserRole |
POST | /application/summary |
---|
import Foundation
import ServiceStack
public class ApplicationSummaryRequest : Codable
{
public var uuid:String
required public init(){}
}
public class ApplicationSummaryResponse : Codable
{
public var responseStatus:ResponseStatus
public var uuid:String
public var regent_id:Int
public var start_term:String
public var program:String
public var application_status:String
public var undergrad_gpa:Double?
required public init(){}
}
Swift ApplicationSummaryRequest 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 /application/summary HTTP/1.1
Host: data.regent-college.edu
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"uuid":"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","regent_id":0,"start_term":"String","program":"String","application_status":"String","undergrad_gpa":0}