CL$WS Host : D5239-staging-cl

<back to all web services

cr_json_logRequest

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

public class dtos
{

    public static class cr_json_logRequest
    {
        public String id_controleur = null;
        public ArrayList<_json_log> logs = null;
        
        public String getIdControleur() { return id_controleur; }
        public cr_json_logRequest setIdControleur(String value) { this.id_controleur = value; return this; }
        public ArrayList<_json_log> getLogs() { return logs; }
        public cr_json_logRequest setLogs(ArrayList<_json_log> value) { this.logs = value; return this; }
    }

    public static class _json_log
    {
        public String id_controleur = null;
        public String guid = null;
        public String id_operateur = null;
        public String type = null;
        public String date_log = null;
        public String date = null;
        public String log = null;
        
        public String getIdControleur() { return id_controleur; }
        public _json_log setIdControleur(String value) { this.id_controleur = value; return this; }
        public String getGuid() { return guid; }
        public _json_log setGuid(String value) { this.guid = value; return this; }
        public String getIdOperateur() { return id_operateur; }
        public _json_log setIdOperateur(String value) { this.id_operateur = value; return this; }
        public String getType() { return type; }
        public _json_log setType(String value) { this.type = value; return this; }
        public String getDateLog() { return date_log; }
        public _json_log setDateLog(String value) { this.date_log = value; return this; }
        public String getDate() { return date; }
        public _json_log setDate(String value) { this.date = value; return this; }
        public String getLog() { return log; }
        public _json_log setLog(String value) { this.log = value; return this; }
    }

    public static class cr_json_logResponse
    {
        public String id_controleur = null;
        
        public String getIdControleur() { return id_controleur; }
        public cr_json_logResponse setIdControleur(String value) { this.id_controleur = value; return this; }
    }

}

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

{"id_controleur":"String","logs":[{"id_controleur":"String","guid":"String","id_operateur":"String","type":"String","date_log":"String","date":"String","log":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"id_controleur":"String"}