CL$WS Host : D5239-staging-cl

<back to all web services

cl_json_logRequest

The following routes are available for this service:
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 .other suffix or ?format=other

HTTP + 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"}