WebService

<back to all web services

SaveKiDiffDetailsRequest

namespace EndianUpdaterLicenser

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type SaveKiDiffDetailsResponse() = 
        member val Status:Boolean = new Boolean() with get,set
        member val DiffId:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type SaveKiDiffDetailsRequest() = 
        member val Lizenz:String = null with get,set
        member val KiAnalyseId:Int32 = new Int32() with get,set
        member val VorSnapshotJSON:String = null with get,set
        member val NachSnapshotJSON:String = null with get,set
        member val GeaenderteFelderJson:String = null with get,set
        member val Aenderungstyp:String = null with get,set

F# SaveKiDiffDetailsRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsonl/reply/SaveKiDiffDetailsRequest HTTP/1.1 
Host: 52.142.207.43 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Lizenz":"String","KiAnalyseId":0,"VorSnapshotJSON":"String","NachSnapshotJSON":"String","GeaenderteFelderJson":"String","Aenderungstyp":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Status":false,"DiffId":0}