CL$WS Host : D5239-staging-cl

<back to all web services

cr_autre_retourRequest

The following routes are available for this service:
GET, POST/cr_autre_retour/{id_controleur}/{id_tournee}
"use strict";
export class _cr_retour {
    /** @param {{id_controleur?:string,id_tournee?:string,num_facture?:string,type_retour?:string,article_id?:string,article_absent?:number,quantite?:number,reintegrable?:number,commentaire?:string,date?:string,qte_uv?:string,qte_uc?:string,cdt_uc?:string,_qte_uv?:number,_qte_uc?:number,_cdt_uc?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id_controleur;
    /** @type {string} */
    id_tournee;
    /** @type {string} */
    num_facture;
    /** @type {string} */
    type_retour;
    /** @type {string} */
    article_id;
    /** @type {number} */
    article_absent;
    /** @type {number} */
    quantite;
    /** @type {number} */
    reintegrable;
    /** @type {string} */
    commentaire;
    /** @type {string} */
    date;
    /** @type {string} */
    qte_uv;
    /** @type {string} */
    qte_uc;
    /** @type {string} */
    cdt_uc;
    /** @type {?number} */
    _qte_uv;
    /** @type {?number} */
    _qte_uc;
    /** @type {?number} */
    _cdt_uc;
}
export class cr_autre_retourResponse {
    /** @param {{id_controleur?:string,id_tournee?:string,cr_autres_retours?:_cr_retour[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id_controleur;
    /** @type {string} */
    id_tournee;
    /** @type {_cr_retour[]} */
    cr_autres_retours;
}
export class cr_autre_retourRequest {
    /** @param {{id_controleur?:string,id_tournee?:string,cr_autres_retours?:_cr_retour[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id_controleur;
    /** @type {string} */
    id_tournee;
    /** @type {_cr_retour[]} */
    cr_autres_retours;
}

JavaScript cr_autre_retourRequest 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_autre_retour/{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_autres_retours":[{"id_controleur":"String","id_tournee":"String","num_facture":"String","type_retour":"String","article_id":"String","article_absent":0,"quantite":0,"reintegrable":0,"commentaire":"String","date":"String","qte_uv":"String","qte_uc":"String","cdt_uc":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id_controleur":"String","id_tournee":"String","cr_autres_retours":[{"id_controleur":"String","id_tournee":"String","num_facture":"String","type_retour":"String","article_id":"String","article_absent":0,"quantite":0,"reintegrable":0,"commentaire":"String","date":"String","qte_uv":"String","qte_uc":"String","cdt_uc":"String"}]}