namespace EndianUpdaterLicenser
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type UpdateKiRatingResponse() =
member val Status:Boolean = new Boolean() with get,set
[<AllowNullLiteral>]
type UpdateKiRatingRequest() =
member val Lizenz:String = null with get,set
member val AnalyseId:Int32 = new Int32() with get,set
member val Rating:Int32 = new Int32() with get,set
member val Kommentar:String = null 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/UpdateKiRatingRequest HTTP/1.1
Host: 52.142.207.43
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Lizenz: String,
AnalyseId: 0,
Rating: 0,
Kommentar: String,
KategorieId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Status: False
}