| GET, POST | /cr_json_log/{id_controleur} |
|---|
import Foundation
import ServiceStack
public class cr_json_logRequest : Codable
{
public var id_controleur:String
public var logs:[_json_log] = []
required public init(){}
}
public class _json_log : Codable
{
public var id_controleur:String
public var guid:String
public var id_operateur:String
public var type:String
public var date_log:String
public var date:String
public var log:String
required public init(){}
}
public class cr_json_logResponse : Codable
{
public var id_controleur:String
required public init(){}
}
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 /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"}