CL$WS Host : D5239-staging-cl

<back to all web services

cl_ordre_tourneeRequest

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

public class dtos
{

    public static class cl_ordre_tourneeRequest
    {
        public String id_operateur = null;
        public String id_tournee = null;
        public ArrayList<_ordre_tournee> ordre_tournees = null;
        
        public String getIdOperateur() { return id_operateur; }
        public cl_ordre_tourneeRequest setIdOperateur(String value) { this.id_operateur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public cl_ordre_tourneeRequest setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<_ordre_tournee> getOrdreTournees() { return ordre_tournees; }
        public cl_ordre_tourneeRequest setOrdreTournees(ArrayList<_ordre_tournee> value) { this.ordre_tournees = value; return this; }
    }

    public static class _ordre_tournee
    {
        public String id_operateur = null;
        public String id_tournee = null;
        public ArrayList<String> factures = null;
        
        public String getIdOperateur() { return id_operateur; }
        public _ordre_tournee setIdOperateur(String value) { this.id_operateur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public _ordre_tournee setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<String> getFactures() { return factures; }
        public _ordre_tournee setFactures(ArrayList<String> value) { this.factures = value; return this; }
    }

    public static class cl_ordre_tourneeResponse
    {
        public String id_operateur = null;
        public String id_tournee = null;
        public ArrayList<_ordre_tournee> ordre_tournees = null;
        
        public String getIdOperateur() { return id_operateur; }
        public cl_ordre_tourneeResponse setIdOperateur(String value) { this.id_operateur = value; return this; }
        public String getIdTournee() { return id_tournee; }
        public cl_ordre_tourneeResponse setIdTournee(String value) { this.id_tournee = value; return this; }
        public ArrayList<_ordre_tournee> getOrdreTournees() { return ordre_tournees; }
        public cl_ordre_tourneeResponse setOrdreTournees(ArrayList<_ordre_tournee> value) { this.ordre_tournees = value; return this; }
    }

}

Java cl_ordre_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_ordre_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","ordre_tournees":[{"id_operateur":"String","id_tournee":"String","factures":["String"]}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id_operateur":"String","id_tournee":"String","ordre_tournees":[{"id_operateur":"String","id_tournee":"String","factures":["String"]}]}