CL$WS Host : D5239-staging-cl

<back to all web services

cr_controle_camionRequest

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

public class dtos
{

    public static class cr_controle_camionRequest
    {
        public String id_controleur = null;
        public String id_tournee = null;
        public ArrayList<_cr_controle_camion> cr_controles_camion = null;
        
        public String getIdControleur() { return id_controleur; }
        public cr_controle_camionRequest setIdControleur(String value) { this.id_controleur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public cr_controle_camionRequest setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<_cr_controle_camion> getCrControlesCamion() { return cr_controles_camion; }
        public cr_controle_camionRequest setCrControlesCamion(ArrayList<_cr_controle_camion> value) { this.cr_controles_camion = value; return this; }
    }

    public static class _cr_controle_camion
    {
        public String id_controleur = null;
        public String id_tournee = null;
        public String id_formulaire = null;
        public String id_type_formulaire = null;
        public String id_type_reponse = null;
        public String value = null;
        public String date = null;
        
        public String getIdControleur() { return id_controleur; }
        public _cr_controle_camion setIdControleur(String value) { this.id_controleur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public _cr_controle_camion setIdTournee(String value) { this.id_tournee = value; return this; }
        public String getIdFormulaire() { return id_formulaire; }
        public _cr_controle_camion setIdFormulaire(String value) { this.id_formulaire = value; return this; }
        public String getIdTypeFormulaire() { return id_type_formulaire; }
        public _cr_controle_camion setIdTypeFormulaire(String value) { this.id_type_formulaire = value; return this; }
        public String getIdTypeReponse() { return id_type_reponse; }
        public _cr_controle_camion setIdTypeReponse(String value) { this.id_type_reponse = value; return this; }
        public String getValue() { return value; }
        public _cr_controle_camion setValue(String value) { this.value = value; return this; }
        public String getDate() { return date; }
        public _cr_controle_camion setDate(String value) { this.date = value; return this; }
    }

    public static class cr_controle_camionResponse
    {
        public String id_controleur = null;
        public String id_tournee = null;
        public ArrayList<_cr_controle_camion> cr_controles_camion = null;
        
        public String getIdControleur() { return id_controleur; }
        public cr_controle_camionResponse setIdControleur(String value) { this.id_controleur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public cr_controle_camionResponse setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<_cr_controle_camion> getCrControlesCamion() { return cr_controles_camion; }
        public cr_controle_camionResponse setCrControlesCamion(ArrayList<_cr_controle_camion> value) { this.cr_controles_camion = value; return this; }
    }

}

Java cr_controle_camionRequest 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 /cr_controle_camion/{id_controleur}/{id_tournee} HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id_controleur":"String","id_tournee":"String","cr_controles_camion":[{"id_controleur":"String","id_tournee":"String","id_formulaire":"String","id_type_formulaire":"String","id_type_reponse":"String","value":"String","date":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id_controleur":"String","id_tournee":"String","cr_controles_camion":[{"id_controleur":"String","id_tournee":"String","id_formulaire":"String","id_type_formulaire":"String","id_type_reponse":"String","value":"String","date":"String"}]}