This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To Get the article details, you can use the knowa API | |
GetDetailsFull with | |
externalId = the article ID | |
sliceID = 1 | |
sessionID = "" | |
public static ArticleDetail ParseArticleDetailXml(string xml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GetArticleRequest json sample: | |
{ | |
"query":"Something to query", | |
"userID":"NAR130", | |
"kmBrand": "UMBN_NEWHOLLANDAG_1_1", | |
"kmModelId":"SG_ST720DISCANDRIPPER_1_3", | |
"kmMarket":"UMMR_NORTHAMERICAREGION_1_2", | |
"kmItemForPage": 50, | |
"kmStartFromItem":1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string cretaGetArticlesRequest(GetArticlesRequest request) | |
{ | |
string sessionID = DateTime.Now.ToString("yyyyMMddHHmmssfff"); | |
string kmMs = "MS_CHINESECUSTOMERMICROSITE_1_1"; | |
string sortField = "relevance"; | |
string sortOrder = "0"; | |
string query = request.Query; | |
string numKCs = request.KmItemForPage.ToString(); | |
string startKC = request.KmStartFromItem.ToString(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string cretaGetArticlesRequest(GetArticlesRequest request) | |
{ | |
string sessionID = DateTime.Now.ToString("yyyyMMddHHmmssfff"); | |
string kmMs = "MS_CHINESECUSTOMERMICROSITE_1_1"; | |
string sortField = "relevance"; | |
string sortOrder = "0"; | |
string query = request.Query; | |
string numKCs = request.KmItemForPage.ToString(); | |
string startKC = request.KmStartFromItem.ToString(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string cretaGetArticlesRequest(GetArticlesRequest request) | |
{ | |
string sessionID = DateTime.Now.ToString("yyyyMMddHHmmssfff"); | |
string kmMs = "MS_CHINESECUSTOMERMICROSITE_1_1"; | |
string sortField = "relevance"; | |
string sortOrder = "0"; | |
string query = request.Query; | |
string numKCs = request.KmItemForPage.ToString(); | |
string startKC = request.KmStartFromItem.ToString(); |