Topic Details
Request Parameters:
Retrieve the topic detail
URL: ../Api/Client/TopicDetails
Header:
Content-Type:application/json
Required Parameters :
[Note: If you are a guest customer pass "CustomerGUID":"00000000-0000-0000-0000-000000000000",then in response you will get your Guest CustomerId]
Case-1. Exception parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"LanguageId":"",
"SystemName":"AboutUs",
"IsHtml": "true"
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Incorrect parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"LanguageId":"1",
"SystemName":"AboutUs",
"IsHtml": "true"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"Id": 0,
"Message": "Topic not found",
"SystemName": null,
"IncludeInSitemap": false,
"IsPasswordProtected": false,
"Title": null,
"Body": null,
"MetaKeywords": null,
"MetaDescription": null,
"MetaTitle": null,
"SeName": null,
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce"
},
"ValidationMessage": [],
"ErrorMessage": null
}
Case-3. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"LanguageId":"1",
"SystemName":"AboutUs",
"IsHtml": "false"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"Id": 1,
"Message": null,
"SystemName": "AboutUs",
"IncludeInSitemap": false,
"IsPasswordProtected": false,
"Title": "About us",
"Body": "<p>Put your "About Us" information here. You can edit this in the admin site.</p>",
"MetaKeywords": null,
"MetaDescription": null,
"MetaTitle": null,
"SeName": "about-us",
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce"
},
"ValidationMessage": [],
"ErrorMessage": null
}
=> HTML Response for "Body" when IsHtml = true
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"LanguageId":"1",
"SystemName":"AboutUs",
"IsHtml": "true"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"Id": 1,
"Message": null,
"SystemName": "AboutUs",
"IncludeInSitemap": false,
"IsPasswordProtected": false,
"Title": "About us",
"Body": "<html><body><p>Put your "About Us" information here. You can edit this in the admin site.</p></body></html>",
"MetaKeywords": null,
"MetaDescription": null,
"MetaTitle": null,
"SeName": "about-us",
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce"
},
"ValidationMessage": [],
"ErrorMessage": null
}