namespace EndianUpdaterLicenser
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type KiFewShotBeispiel() =
member val ID:Int32 = new Int32() with get,set
member val Fehler:String = null with get,set
member val Analyse:String = null with get,set
member val Rating:Int32 = new Int32() with get,set
[<AllowNullLiteral>]
type GetKiFewShotResponse() =
member val Status:Boolean = new Boolean() with get,set
member val Beispiele:ResizeArray<KiFewShotBeispiel> = new ResizeArray<KiFewShotBeispiel>() with get,set
[<AllowNullLiteral>]
type GetKiFewShotRequest() =
member val Lizenz:String = null with get,set
member val MaxAnzahl:Int32 = new Int32() with get,set
member val KategorieId:Nullable<Int32> = new Nullable<Int32>() with get,set
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 /jsonl/reply/GetKiFewShotRequest HTTP/1.1
Host: 52.142.207.43
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Lizenz":"String","MaxAnzahl":0,"KategorieId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Status":false,"Beispiele":[{"ID":0,"Fehler":"String","Analyse":"String","Rating":0}]}