All Verbs | /post_tenantContacts |
---|
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 |
---|---|---|---|---|
contact | form | post_tenant_contacts | 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 | |
firstname1 | form | string | No | |
lastname1 | form | string | No | |
email1 | form | string | No | |
phone1 | form | string | No | |
firstname2 | form | string | No | |
lastname2 | form | string | No | |
email2 | form | string | No | |
phone2 | form | string | No | |
firstname3 | form | string | No | |
lastname3 | form | string | No | |
email3 | form | string | No | |
phone3 | form | string | No | |
modidate | form | DateTime | No | |
modiby | 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_tenantContacts 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 { contact: { idnumber: 0, idtenant1: 0, firstname1: String, lastname1: String, email1: String, phone1: String, firstname2: String, lastname2: String, email2: String, phone2: String, firstname3: String, lastname3: String, email3: String, phone3: String, modidate: 0001-01-01, modiby: String }, result: 0, message: String }