| GET, POST | /cl_json_log/{id_operateur} |
|---|
import java.math.*
import java.util.*
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
open class cl_json_logRequest
{
var id_operateur: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 cl_json_logResponse
{
var id_operateur:String? = null
}
Kotlin cl_json_logRequest DTOs
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 /cl_json_log/{id_operateur} HTTP/1.1
Host: freemotion-staging.milliet.paris
Accept: application/json
Content-Type: application/json
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: application/json
Content-Length: length
{"id_operateur":"String"}