| GET, POST | /cl_json_log/{id_operateur} |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CL_WS;
namespace CL_WS
{
public partial class _json_log
{
public virtual string id_controleur { get; set; }
public virtual string guid { get; set; }
public virtual string id_operateur { get; set; }
public virtual string type { get; set; }
public virtual string date_log { get; set; }
public virtual string date { get; set; }
public virtual string log { get; set; }
}
public partial class cl_json_logRequest
{
public cl_json_logRequest()
{
logs = new List<_json_log>{};
}
public virtual string id_operateur { get; set; }
public virtual List<_json_log> logs { get; set; }
}
public partial class cl_json_logResponse
{
public virtual string id_operateur { 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 /cl_json_log/{id_operateur} HTTP/1.1
Host: freemotion-staging.milliet.paris
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"id_operateur":"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_operateur":"String"}