CL$WS Host : D5239-staging-cl

<back to all web services

cl_info_tourneeRequest

The following routes are available for this service:
GET, POST/cl_info_tournee/{id_operateur}/{id_tournee}
cl_info_tourneeRequest Parameters:
NameParameterData TypeRequiredDescription
id_operateurpathstringNo
id_tourneepathstringNo
infos_tourneesbodyList<_info_tournee>No
_info_tournee Parameters:
NameParameterData TypeRequiredDescription
id_operateurformstringNo
id_tourneeformstringNo
dateformstringNo
latitudeformdoubleNo
longitudeformdoubleNo
aptitudeformintNo
id_fin_tourneeformstringNo
kilometrage_departformstringNo
carburant_correctformintNo
ad_blue_allumeformintNo
platformformstringNo
brandformstringNo
modelformstringNo
releaseformstringNo
sdkformstringNo
app_versionformstringNo
cl_info_tourneeResponse Parameters:
NameParameterData TypeRequiredDescription
id_operateurformstringNo
id_tourneeformstringNo
infos_tourneesformList<_info_tournee>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 /cl_info_tournee/{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","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: text/jsonl
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"}]}