| 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
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
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: application/json
Content-Length: length
{"id_controleur":"String"}