| GET, POST | /cr_json_log/{id_controleur} |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
open class cr_json_logRequest
{
var id_controleur:String? = null
var logs:ArrayList<_json_log> = ArrayList<_json_log>()
}
open class _json_log
{
var id_controleur:String? = null
var guid:String? = null
var id_operateur:String? = null
@SerializedName("type") var Type:String? = null
var date_log:String? = null
var date:String? = null
var log:String? = null
}
open class cr_json_logResponse
{
var id_controleur:String? = null
}
Kotlin cr_json_logRequest DTOs
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"}