CL$WS Host : D5239-staging-cl

<back to all web services

query_tournees

Requires Authentication
The following routes are available for this service:
All Verbs/query/tournees
query_tournees Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
inter_livraisonsqueryList<inter_livraisons>No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
tournees Parameters:
NameParameterData TypeRequiredDescription
id_operateurformstringNo
id_tourneeformstringNo
libelleformstringNo
inter_livraisons Parameters:
NameParameterData TypeRequiredDescription
id_operateurformstringNo
id_tourneeformstringNo
dateformstringNo
latitudeformdoubleNo
longitudeformdoubleNo
id_client_termineformstringNo
satisfactionformintNo
id_client_suivantformstringNo
signatureformstringNo
QueryResponse<tournees> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<tournees>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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 /query/tournees HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id":"String","inter_livraisons":[{"id_operateur":"String","id_tournee":"String","date":"String","latitude":0,"longitude":0,"id_client_termine":"String","satisfaction":0,"id_client_suivant":"String","signature":"String"}],"skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"offset":0,"total":0,"results":[{"id_operateur":"String","id_tournee":"String","libelle":"String"}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}