CL$WS Host : D5239-staging-cl

<back to all web services

cr_json_logRequest

The following routes are available for this service:
GET, POST/cr_json_log/{id_controleur}
namespace CL_WS

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

    [<AllowNullLiteral>]
    type cr_json_logResponse() = 
        member val id_controleur:String = null with get,set

    [<AllowNullLiteral>]
    type _json_log() = 
        member val id_controleur:String = null with get,set
        member val guid:String = null with get,set
        member val id_operateur:String = null with get,set
        member val type:String = null with get,set
        member val date_log:String = null with get,set
        member val date:String = null with get,set
        member val log:String = null with get,set

    [<AllowNullLiteral>]
    type cr_json_logRequest() = 
        member val id_controleur:String = null with get,set
        member val logs:ResizeArray<_json_log> = new ResizeArray<_json_log>() with get,set

F# cr_json_logRequest 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 /cr_json_log/{id_controleur} HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id_controleur":"String","logs":[{"id_controleur":"String","guid":"String","id_operateur":"String","type":"String","date_log":"String","date":"String","log":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id_controleur":"String"}