Required permission: | CreatePayments |
GET | /Person/{regent_id} |
---|
import Foundation
import ServiceStack
public class RegentIdExistsRequest : Codable
{
public var regent_id:String
required public init(){}
}
public class RegentIdExistsResponse : Codable
{
public var responseStatus:ResponseStatus
public var id:String
public var firstName:String
public var lastName:String
required public init(){}
}
Swift RegentIdExistsRequest 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.
GET /Person/{regent_id} HTTP/1.1 Host: data.regent-college.edu Accept: text/csv
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"}},"id":"String","firstName":"String","lastName":"String"}