LovettCommercialService V1

<back to all web services

submitPhoto

The following routes are available for this service:
All Verbs/submitphoto
submitPhoto Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
idciaquerystringYes
idprojectquerystringYes
idtenantquerystringYes
photoquerystringYes
notequerystringYes
usernamequerystringYes

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/submitPhoto HTTP/1.1 
Host: app.lovettcommercial.com 
Content-Type: text/csv
Content-Length: length

{"token":"String","tokensecret":"String","idcia":"String","idproject":"String","idtenant":"String","photo":"String","note":"String","username":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"found":"String","existyn":"String","validtoken":"String","message":"String","idnumber":"String","note":"String","date":"String"}