All Verbs | /post_comment |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
token | query | string | Yes | |
tokensecret | query | string | Yes | |
query | string | Yes | ||
idwebcare1 | query | string | No | |
message | query | string | No | |
category | query | categoryInfo | No | |
tenantname | query | string | No | |
address | query | string | No | |
idcia | query | string | No | |
description | query | string | No | |
photos | query | List<attachmentFile> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
idnumber | form | string | No | |
description | form | string | No | |
category | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
fileName | form | string | No | |
base64 | form | string | No | |
base64Thumbnail | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
result | form | int | No | |
message | 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_comment HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: text/jsv
Content-Length: length
{
token: String,
tokensecret: String,
email: String,
idwebcare1: String,
message: String,
category:
{
idnumber: String,
description: String,
category: String
},
tenantname: String,
address: String,
idcia: String,
description: String,
photos:
[
{
fileName: String,
base64: String,
base64Thumbnail: String
}
]
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { result: 0, message: String }