<back to all web services
post_comment2
post_comment2 Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| token | query | string | Yes | |
| tokensecret | query | string | Yes | |
| email | 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 | |
categoryInfo Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| idnumber | form | string | No | |
| description | form | string | No | |
| category | form | string | No | |
attachmentFile Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| fileName | form | string | No | |
| base64 | form | string | No | |
| base64Thumbnail | form | string | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11
HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: post_comment2
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<post_comment2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TenantSDK.post.Request">
<address>String</address>
<category>
<category>String</category>
<description>String</description>
<idnumber>String</idnumber>
</category>
<description>String</description>
<email>String</email>
<idcia>String</idcia>
<idwebcare1>String</idwebcare1>
<message>String</message>
<photos>
<attachmentFile>
<base64>String</base64>
<base64Thumbnail>String</base64Thumbnail>
<fileName>String</fileName>
</attachmentFile>
</photos>
<tenantname>String</tenantname>
<token>String</token>
<tokensecret>String</tokensecret>
</post_comment2>
</soap:Body>
</soap:Envelope>