CL$WS Host : D5239-staging-cl

<back to all web services

cl_multi_photoRequest

The following routes are available for this service:
GET, POST/cl_multi_photo/{id_operateur}/{id_tournee}
cl_multi_photoRequest Parameters:
NameParameterData TypeRequiredDescription
id_operateurpathstringNo
id_tourneepathstringNo
multi_photosbodyList<_multi_photo>No
_multi_photo Parameters:
NameParameterData TypeRequiredDescription
id_operateurformstringNo
id_tourneeformstringNo
id_clientformstringNo
num_factureformstringNo
typeformintNo
indexformintNo
pathformstringNo
photoformstringNo
photo_lightformstringNo
dateformstringNo
latitudeformdoubleNo
longitudeformdoubleNo
cl_multi_photoResponse Parameters:
NameParameterData TypeRequiredDescription
id_operateurformstringNo
id_tourneeformstringNo
multi_photosformList<_multi_photo>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_multi_photo/{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","multi_photos":[{"id_operateur":"String","id_tournee":"String","id_client":"String","num_facture":"String","type":0,"index":0,"path":"String","photo":"String","photo_light":"String","date":"String","latitude":0,"longitude":0}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id_operateur":"String","id_tournee":"String","multi_photos":[{"id_operateur":"String","id_tournee":"String","id_client":"String","num_facture":"String","type":0,"index":0,"path":"String","photo":"String","photo_light":"String","date":"String","latitude":0,"longitude":0}]}