CL$WS Host : D5239-staging-cl

<back to all web services

cr_commandeRequest

The following routes are available for this service:
GET, POST/cr_commande/{id_controleur}/{id_tournee}
cr_commandeRequest Parameters:
NameParameterData TypeRequiredDescription
id_controleurpathstringNo
id_tourneepathstringNo
cr_commandesbodyList<_cr_commande>No
_cr_commande Parameters:
NameParameterData TypeRequiredDescription
id_controleurformstringNo
id_tourneeformstringNo
num_factureformstringNo
commentaireformstringNo
regroupeeformintNo
dateformstringNo
lignesformList<_cr_commande_ligne>No
_cr_commande_ligne Parameters:
NameParameterData TypeRequiredDescription
id_controleurformstringNo
id_tourneeformstringNo
num_factureformstringNo
line_idformintNo
article_idformintNo
quantiteformintNo
dateformstringNo
qte_uvformstringNo
qte_ucformstringNo
cdt_ucformstringNo
_qte_uvformdouble?No
_qte_ucformdouble?No
_cdt_ucformdouble?No
cr_commandeResponse Parameters:
NameParameterData TypeRequiredDescription
id_controleurformstringNo
id_tourneeformstringNo
cr_commandesformList<_cr_commande>No

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_commande/{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_commandes":[{"id_controleur":"String","id_tournee":"String","num_facture":"String","commentaire":"String","regroupee":0,"date":"String","lignes":[{"id_controleur":"String","id_tournee":"String","num_facture":"String","line_id":0,"article_id":0,"quantite":0,"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_commandes":[{"id_controleur":"String","id_tournee":"String","num_facture":"String","commentaire":"String","regroupee":0,"date":"String","lignes":[{"id_controleur":"String","id_tournee":"String","num_facture":"String","line_id":0,"article_id":0,"quantite":0,"date":"String","qte_uv":"String","qte_uc":"String","cdt_uc":"String"}]}]}