| GET, POST | /cl_info_tournee/{id_operateur}/{id_tournee} |
|---|
"use strict";
export class _info_tournee {
/** @param {{id_operateur?:string,id_tournee?:string,date?:string,latitude?:number,longitude?:number,aptitude?:number,id_fin_tournee?:string,kilometrage_depart?:string,carburant_correct?:number,ad_blue_allume?:number,platform?:string,brand?:string,model?:string,release?:string,sdk?:string,app_version?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {string} */
date;
/** @type {number} */
latitude;
/** @type {number} */
longitude;
/** @type {number} */
aptitude;
/** @type {string} */
id_fin_tournee;
/** @type {string} */
kilometrage_depart;
/** @type {number} */
carburant_correct;
/** @type {number} */
ad_blue_allume;
/** @type {string} */
platform;
/** @type {string} */
brand;
/** @type {string} */
model;
/** @type {string} */
release;
/** @type {string} */
sdk;
/** @type {string} */
app_version;
}
export class cl_info_tourneeResponse {
/** @param {{id_operateur?:string,id_tournee?:string,infos_tournees?:_info_tournee[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {_info_tournee[]} */
infos_tournees;
}
export class cl_info_tourneeRequest {
/** @param {{id_operateur?:string,id_tournee?:string,infos_tournees?:_info_tournee[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {_info_tournee[]} */
infos_tournees;
}
JavaScript cl_info_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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /cl_info_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","infos_tournees":[{"id_operateur":"String","id_tournee":"String","date":"String","latitude":0,"longitude":0,"aptitude":0,"id_fin_tournee":"String","kilometrage_depart":"String","carburant_correct":0,"ad_blue_allume":0,"platform":"String","brand":"String","model":"String","release":"String","sdk":"String","app_version":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id_operateur":"String","id_tournee":"String","infos_tournees":[{"id_operateur":"String","id_tournee":"String","date":"String","latitude":0,"longitude":0,"aptitude":0,"id_fin_tournee":"String","kilometrage_depart":"String","carburant_correct":0,"ad_blue_allume":0,"platform":"String","brand":"String","model":"String","release":"String","sdk":"String","app_version":"String"}]}