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}
"use strict";
export class cr_json_logResponse {
    /** @param {{id_controleur?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id_controleur;
}
export class _json_log {
    /** @param {{id_controleur?:string,guid?:string,id_operateur?:string,type?:string,date_log?:string,date?:string,log?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id_controleur;
    /** @type {string} */
    guid;
    /** @type {string} */
    id_operateur;
    /** @type {string} */
    type;
    /** @type {string} */
    date_log;
    /** @type {string} */
    date;
    /** @type {string} */
    log;
}
export class cr_json_logRequest {
    /** @param {{id_controleur?:string,logs?:_json_log[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id_controleur;
    /** @type {_json_log[]} */
    logs;
}

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

{"id_controleur":"String"}