| 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/Login HTTP/1.1
Host: app.lovettcommercial.com
Content-Type: text/jsv
Content-Length: length
{
email: String,
password: String,
webyn: String,
iosyn: String,
devicetoken: String,
appversion: String,
versioncode: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}