GET api/keyword/getlistrelatedkeyword?top={top}&keyword={keyword}&catId={catId}
Lấy từ khóa liên quan theo từ khóa, tên sản phẩm ... và danh mục sản phẩm / chuyên mục tin bài
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
top |
Số từ khóa sẽ được lấy |
integer |
Required |
keyword |
Từ khóa, tên sản phẩm ... |
string |
Required |
catId |
Danh mục sản phẩm/chuyên mục tin bài |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of KeywordShortInfoModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Url | string |
None. |
|
UrlNoDomain | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Url": "sample string 2", "UrlNoDomain": "sample string 3" }, { "Name": "sample string 1", "Url": "sample string 2", "UrlNoDomain": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfKeywordShortInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSS.ViewModel"> <KeywordShortInfoModel> <Name>sample string 1</Name> <Url>sample string 2</Url> <UrlNoDomain>sample string 3</UrlNoDomain> </KeywordShortInfoModel> <KeywordShortInfoModel> <Name>sample string 1</Name> <Url>sample string 2</Url> <UrlNoDomain>sample string 3</UrlNoDomain> </KeywordShortInfoModel> </ArrayOfKeywordShortInfoModel>