| All Verbs | /post_tenantInfo |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| token | query | string | Yes | |
| tokensecret | query | string | Yes | |
| query | string | Yes | ||
| idtenant1 | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| info | form | post_tenant_business_info | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| result | form | int | No | |
| message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| idnumber | form | long | No | |
| idtenant1 | form | int | No | |
| business_name | form | string | No | |
| business_email | form | string | No | |
| business_phone | form | string | No | |
| website | form | string | No | |
| form | string | No | ||
| form | string | No | ||
| form | string | No | ||
| modidate | form | DateTime | No | |
| modiby | form | string | No | |
| workinghours | form | List<post_tenant_workinghours> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| idnumber | form | long | No | |
| idtenant1 | form | int | No | |
| dayofweek | form | int | No | |
| openyn | form | bool | No | |
| opentime | form | string | No | |
| closetime | form | 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/post_tenantInfo HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: text/jsv
Content-Length: length
{
token: String,
tokensecret: String,
email: String,
idtenant1: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
info:
{
idnumber: 0,
idtenant1: 0,
business_name: String,
business_email: String,
business_phone: String,
website: String,
facebook: String,
instagram: String,
twitter: String,
modidate: 0001-01-01,
modiby: String,
workinghours:
[
{
idnumber: 0,
idtenant1: 0,
dayofweek: 0,
openyn: False,
opentime: String,
closetime: String
}
]
},
result: 0,
message: String
}