| GET, POST | /cr_controle_camion/{id_controleur}/{id_tournee} |
|---|
"use strict";
export class _cr_controle_camion {
/** @param {{id_controleur?:string,id_tournee?:string,id_formulaire?:string,id_type_formulaire?:string,id_type_reponse?:string,value?:string,date?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_controleur;
/** @type {string} */
id_tournee;
/** @type {string} */
id_formulaire;
/** @type {string} */
id_type_formulaire;
/** @type {string} */
id_type_reponse;
/** @type {string} */
value;
/** @type {string} */
date;
}
export class cr_controle_camionResponse {
/** @param {{id_controleur?:string,id_tournee?:string,cr_controles_camion?:_cr_controle_camion[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_controleur;
/** @type {string} */
id_tournee;
/** @type {_cr_controle_camion[]} */
cr_controles_camion;
}
export class cr_controle_camionRequest {
/** @param {{id_controleur?:string,id_tournee?:string,cr_controles_camion?:_cr_controle_camion[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_controleur;
/** @type {string} */
id_tournee;
/** @type {_cr_controle_camion[]} */
cr_controles_camion;
}
JavaScript cr_controle_camionRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /cr_controle_camion/{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_controles_camion":[{"id_controleur":"String","id_tournee":"String","id_formulaire":"String","id_type_formulaire":"String","id_type_reponse":"String","value":"String","date":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id_controleur":"String","id_tournee":"String","cr_controles_camion":[{"id_controleur":"String","id_tournee":"String","id_formulaire":"String","id_type_formulaire":"String","id_type_reponse":"String","value":"String","date":"String"}]}