| GET, POST | /cl_reprise/{id_operateur}/{id_tournee} |
|---|
"use strict";
export class _reprise {
/** @param {{id_operateur?:string,id_tournee?:string,num_facture?:string,type_reprise?:string,article_id?:string,article_absent?:number,quantite?:number,reintegrable?:number,commentaire?:string,date?:string,qte_uv?:number,qte_uc?:number,cdt_uc?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {string} */
num_facture;
/** @type {string} */
type_reprise;
/** @type {string} */
article_id;
/** @type {number} */
article_absent;
/** @type {number} */
quantite;
/** @type {number} */
reintegrable;
/** @type {string} */
commentaire;
/** @type {string} */
date;
/** @type {?number} */
qte_uv;
/** @type {?number} */
qte_uc;
/** @type {?number} */
cdt_uc;
}
export class cl_repriseResponse {
/** @param {{id_operateur?:string,id_tournee?:string,reprises?:_reprise[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {_reprise[]} */
reprises;
}
export class cl_repriseRequest {
/** @param {{id_operateur?:string,id_tournee?:string,reprises?:_reprise[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id_operateur;
/** @type {string} */
id_tournee;
/** @type {_reprise[]} */
reprises;
}
JavaScript cl_repriseRequest 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_reprise/{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","reprises":[{"id_operateur":"String","id_tournee":"String","num_facture":"String","type_reprise":"String","article_id":"String","article_absent":0,"quantite":0,"reintegrable":0,"commentaire":"String","date":"String","qte_uv":0,"qte_uc":0,"cdt_uc":0}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id_operateur":"String","id_tournee":"String","reprises":[{"id_operateur":"String","id_tournee":"String","num_facture":"String","type_reprise":"String","article_id":"String","article_absent":0,"quantite":0,"reintegrable":0,"commentaire":"String","date":"String","qte_uv":0,"qte_uc":0,"cdt_uc":0}]}