| All Verbs | /Login |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| query | string | Yes | ||
| password | query | string | Yes | |
| webyn | query | string | Yes | |
| iosyn | query | string | Yes | |
| devicetoken | query | string | Yes | |
| appversion | query | string | No | |
| versioncode | query | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/Login HTTP/1.1
Host: app.lovettcommercial.com
Content-Type: application/json
Content-Length: length
{"email":"String","password":"String","webyn":"String","iosyn":"String","devicetoken":"String","appversion":"String","versioncode":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"userid":"String","activeyn":false,"message":"String","token":"String","tokensecret":"String","serverdate":"String","found":"String","cAddress":[{"idcia":"String","idproject":"String","address":"String","idcity":"String","namecity":"String","closed":"String","ownername":"String","verified":"String","besttime":"String"}],"username":"String","name":"String","level":"String","adminyn":"String","idcia":"String","idproject":"String","mastercompany":"String","access_xa":"String","access_xv":"String","access_xfv":"String","tenantrequest":"String"}