CL$WS Host : D5239-staging-cl

<back to all web services

cl_info_tourneeRequest

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

public class dtos
{

    public static class cl_info_tourneeRequest
    {
        public String id_operateur = null;
        public String id_tournee = null;
        public ArrayList<_info_tournee> infos_tournees = null;
        
        public String getIdOperateur() { return id_operateur; }
        public cl_info_tourneeRequest setIdOperateur(String value) { this.id_operateur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public cl_info_tourneeRequest setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<_info_tournee> getInfosTournees() { return infos_tournees; }
        public cl_info_tourneeRequest setInfosTournees(ArrayList<_info_tournee> value) { this.infos_tournees = value; return this; }
    }

    public static class _info_tournee
    {
        public String id_operateur = null;
        public String id_tournee = null;
        public String date = null;
        public Double latitude = null;
        public Double longitude = null;
        public Integer aptitude = null;
        public String id_fin_tournee = null;
        public String kilometrage_depart = null;
        public Integer carburant_correct = null;
        public Integer ad_blue_allume = null;
        public String platform = null;
        public String brand = null;
        public String model = null;
        public String release = null;
        public String sdk = null;
        public String app_version = null;
        
        public String getIdOperateur() { return id_operateur; }
        public _info_tournee setIdOperateur(String value) { this.id_operateur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public _info_tournee setIdTournee(String value) { this.id_tournee = value; return this; }
        public String getDate() { return date; }
        public _info_tournee setDate(String value) { this.date = value; return this; }
        public Double getLatitude() { return latitude; }
        public _info_tournee setLatitude(Double value) { this.latitude = value; return this; }
        public Double getLongitude() { return longitude; }
        public _info_tournee setLongitude(Double value) { this.longitude = value; return this; }
        public Integer getAptitude() { return aptitude; }
        public _info_tournee setAptitude(Integer value) { this.aptitude = value; return this; }
        public String getIdFinTournee() { return id_fin_tournee; }
        public _info_tournee setIdFinTournee(String value) { this.id_fin_tournee = value; return this; }
        public String getKilometrageDepart() { return kilometrage_depart; }
        public _info_tournee setKilometrageDepart(String value) { this.kilometrage_depart = value; return this; }
        public Integer getCarburantCorrect() { return carburant_correct; }
        public _info_tournee setCarburantCorrect(Integer value) { this.carburant_correct = value; return this; }
        public Integer getAdBlueAllume() { return ad_blue_allume; }
        public _info_tournee setAdBlueAllume(Integer value) { this.ad_blue_allume = value; return this; }
        public String getPlatform() { return platform; }
        public _info_tournee setPlatform(String value) { this.platform = value; return this; }
        public String getBrand() { return brand; }
        public _info_tournee setBrand(String value) { this.brand = value; return this; }
        public String getModel() { return model; }
        public _info_tournee setModel(String value) { this.model = value; return this; }
        public String getRelease() { return release; }
        public _info_tournee setRelease(String value) { this.release = value; return this; }
        public String getSdk() { return sdk; }
        public _info_tournee setSdk(String value) { this.sdk = value; return this; }
        public String getAppVersion() { return app_version; }
        public _info_tournee setAppVersion(String value) { this.app_version = value; return this; }
    }

    public static class cl_info_tourneeResponse
    {
        public String id_operateur = null;
        public String id_tournee = null;
        public ArrayList<_info_tournee> infos_tournees = null;
        
        public String getIdOperateur() { return id_operateur; }
        public cl_info_tourneeResponse setIdOperateur(String value) { this.id_operateur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public cl_info_tourneeResponse setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<_info_tournee> getInfosTournees() { return infos_tournees; }
        public cl_info_tourneeResponse setInfosTournees(ArrayList<_info_tournee> value) { this.infos_tournees = value; return this; }
    }

}

Java cl_info_tourneeRequest 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_info_tournee/{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","infos_tournees":[{"id_operateur":"String","id_tournee":"String","date":"String","latitude":0,"longitude":0,"aptitude":0,"id_fin_tournee":"String","kilometrage_depart":"String","carburant_correct":0,"ad_blue_allume":0,"platform":"String","brand":"String","model":"String","release":"String","sdk":"String","app_version":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id_operateur":"String","id_tournee":"String","infos_tournees":[{"id_operateur":"String","id_tournee":"String","date":"String","latitude":0,"longitude":0,"aptitude":0,"id_fin_tournee":"String","kilometrage_depart":"String","carburant_correct":0,"ad_blue_allume":0,"platform":"String","brand":"String","model":"String","release":"String","sdk":"String","app_version":"String"}]}