Required role: | REGISUserRole |
POST | /person/keys/all |
---|
namespace regis.ClassLibrary.Requests
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type PersonKeyResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
member val regent_id:Int32 = new Int32() with get,set
member val re_id:Int32 = new Int32() with get,set
member val sugar_id:String = null with get,set
member val uuid:String = null with get,set
member val student_id:Nullable<Int32> = new Nullable<Int32>() with get,set
member val regent_login:String = null with get,set
[<AllowNullLiteral>]
type PersonKeysResponse() =
member val ResponseStatus:ResponseStatus = null with get,set
member val personKeyResponses:ResizeArray<PersonKeyResponse> = new ResizeArray<PersonKeyResponse>() with get,set
[<AllowNullLiteral>]
type PersonKeysRequest() =
class end
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 /person/keys/all HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{}
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"}},"personKeyResponses":[{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"regent_id":0,"re_id":0,"sugar_id":"String","uuid":"String","student_id":0,"regent_login":"String"}]}