CL$WS Host : D5239-staging-cl

<back to all web services

cl_materielRequest

The following routes are available for this service:
GET, POST/cl_materiel/{id_operateur}/{id_tournee}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class cl_materielRequest
{
    var id_operateur:String? = null
    var id_tournee:String? = null
    var materiels:ArrayList<_materiel> = ArrayList<_materiel>()
}

open class _materiel
{
    var id_operateur:String? = null
    var id_tournee:String? = null
    var id_materiel:String? = null
    var depart:Int? = null
    var type_materiel:String? = null
    var quantite_depart:Int? = null
    var quantite:Int? = null
    var date:String? = null
}

open class cl_materielResponse
{
    var id_operateur:String? = null
    var id_tournee:String? = null
    var materiels:ArrayList<_materiel> = ArrayList<_materiel>()
}

Kotlin cl_materielRequest 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /cl_materiel/{id_operateur}/{id_tournee} HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id_operateur":"String","id_tournee":"String","materiels":[{"id_operateur":"String","id_tournee":"String","id_materiel":"String","depart":0,"type_materiel":"String","quantite_depart":0,"quantite":0,"date":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id_operateur":"String","id_tournee":"String","materiels":[{"id_operateur":"String","id_tournee":"String","id_materiel":"String","depart":0,"type_materiel":"String","quantite_depart":0,"quantite":0,"date":"String"}]}