| All Verbs | /post_tenant |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| token | query | string | Yes | |
| tokensecret | query | string | Yes | |
| query | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| result | form | int | No | |
| message | form | string | No | |
| list | form | List<tenantInfo> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| idnumber | form | string | No | |
| idcia | form | string | No | |
| idproject | form | string | No | |
| account | form | string | No | |
| premiseAddress | form | string | No | |
| tenantname | form | string | No | |
| tenantaddress | form | string | No | |
| tenantcity | form | string | No | |
| tenantzipcode | form | string | No | |
| tenantphone | form | string | No | |
| ticketCount | form | string | No | |
| ticketOndoingCount | 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_tenant HTTP/1.1
Host: ssl.buildersaccess.com
Content-Type: text/jsv
Content-Length: length
{
token: String,
tokensecret: String,
email: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result: 0,
message: String,
list:
[
{
idnumber: String,
idcia: String,
idproject: String,
account: String,
premiseAddress: String,
tenantname: String,
tenantaddress: String,
tenantcity: String,
tenantzipcode: String,
tenantphone: String,
ticketCount: String,
ticketOndoingCount: String
}
]
}