CL$WS Host : D5239-staging-cl

<back to all web services

cr_tournee_statutRequest

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

public class dtos
{

    public static class cr_tournee_statutRequest
    {
        public String id_controleur = null;
        public String id_tournee = null;
        public ArrayList<_cr_tournee_statut> cr_tournee_statuts = null;
        
        public String getIdControleur() { return id_controleur; }
        public cr_tournee_statutRequest setIdControleur(String value) { this.id_controleur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public cr_tournee_statutRequest setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<_cr_tournee_statut> getCrTourneeStatuts() { return cr_tournee_statuts; }
        public cr_tournee_statutRequest setCrTourneeStatuts(ArrayList<_cr_tournee_statut> value) { this.cr_tournee_statuts = value; return this; }
    }

    public static class _cr_tournee_statut
    {
        public String id_controleur = null;
        public String id_tournee = null;
        public String id_operateur = null;
        public Integer statut = null;
        public String date = null;
        
        public String getIdControleur() { return id_controleur; }
        public _cr_tournee_statut setIdControleur(String value) { this.id_controleur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public _cr_tournee_statut setIdTournee(String value) { this.id_tournee = value; return this; }
        public String getIdOperateur() { return id_operateur; }
        public _cr_tournee_statut setIdOperateur(String value) { this.id_operateur = value; return this; }
        public Integer getStatut() { return statut; }
        public _cr_tournee_statut setStatut(Integer value) { this.statut = value; return this; }
        public String getDate() { return date; }
        public _cr_tournee_statut setDate(String value) { this.date = value; return this; }
    }

    public static class cr_tournee_statutResponse
    {
        public String id_controleur = null;
        public String id_tournee = null;
        public ArrayList<_cr_tournee_statut> cr_tournee_statuts = null;
        
        public String getIdControleur() { return id_controleur; }
        public cr_tournee_statutResponse setIdControleur(String value) { this.id_controleur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public cr_tournee_statutResponse setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<_cr_tournee_statut> getCrTourneeStatuts() { return cr_tournee_statuts; }
        public cr_tournee_statutResponse setCrTourneeStatuts(ArrayList<_cr_tournee_statut> value) { this.cr_tournee_statuts = value; return this; }
    }

}

Java cr_tournee_statutRequest 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 /cr_tournee_statut/{id_controleur}/{id_tournee} HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id_controleur":"String","id_tournee":"String","cr_tournee_statuts":[{"id_controleur":"String","id_tournee":"String","id_operateur":"String","statut":0,"date":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id_controleur":"String","id_tournee":"String","cr_tournee_statuts":[{"id_controleur":"String","id_tournee":"String","id_operateur":"String","statut":0,"date":"String"}]}