CL$WS Host : D5239-staging-cl

<back to all web services

cr_photoRequest

The following routes are available for this service:
GET, POST/cr_photo/{id_cr}/{id_tournee}
cr_photoRequest Parameters:
NameParameterData TypeRequiredDescription
id_crpathstringNo
id_tourneepathstringNo
multi_photosbodyList<_cr_photo>No
_cr_photo Parameters:
NameParameterData TypeRequiredDescription
id_crformstringNo
id_tourneeformstringNo
num_factureformstringNo
typeformintNo
indexformintNo
pathformstringNo
photoformstringNo
photo_lightformstringNo
dateformstringNo
latitudeformdoubleNo
longitudeformdoubleNo
cr_photoResponse Parameters:
NameParameterData TypeRequiredDescription
id_crformstringNo
id_tourneeformstringNo
multi_photosformList<_cr_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 /cr_photo/{id_cr}/{id_tournee} HTTP/1.1 
Host: freemotion-staging.milliet.paris 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"id_cr":"String","id_tournee":"String","multi_photos":[{"id_cr":"String","id_tournee":"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_cr":"String","id_tournee":"String","multi_photos":[{"id_cr":"String","id_tournee":"String","num_facture":"String","type":0,"index":0,"path":"String","photo":"String","photo_light":"String","date":"String","latitude":0,"longitude":0}]}