| GET, POST | /cl_multi_photo/{id_operateur}/{id_tournee} |
|---|
"use strict";
export class _multi_photo {
/** @param {{id_operateur?:string,id_tournee?:string,id_client?:string,num_facture?:string,type?:number,index?:number,path?:string,photo?:string,photo_light?:string,date?:string,latitude?:number,longitude?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {string} */
id_client;
/** @type {string} */
num_facture;
/** @type {number} */
type;
/** @type {number} */
index;
/** @type {string} */
path;
/** @type {string} */
photo;
/** @type {string} */
photo_light;
/** @type {string} */
date;
/** @type {number} */
latitude;
/** @type {number} */
longitude;
}
export class cl_multi_photoResponse {
/** @param {{id_operateur?:string,id_tournee?:string,multi_photos?:_multi_photo[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {_multi_photo[]} */
multi_photos;
}
export class cl_multi_photoRequest {
/** @param {{id_operateur?:string,id_tournee?:string,multi_photos?:_multi_photo[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {_multi_photo[]} */
multi_photos;
}
JavaScript cl_multi_photoRequest 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 /cl_multi_photo/{id_operateur}/{id_tournee} HTTP/1.1
Host: freemotion-staging.milliet.paris
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"id_operateur":"String","id_tournee":"String","multi_photos":[{"id_operateur":"String","id_tournee":"String","id_client":"String","num_facture":"String","type":0,"index":0,"path":"String","photo":"String","photo_light":"String","date":"String","latitude":0,"longitude":0}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id_operateur":"String","id_tournee":"String","multi_photos":[{"id_operateur":"String","id_tournee":"String","id_client":"String","num_facture":"String","type":0,"index":0,"path":"String","photo":"String","photo_light":"String","date":"String","latitude":0,"longitude":0}]}