You need to sign in to do that
Don't have an account?
Nitish Singh 22
Response Sequence of Knowlege Articles when using Custom REST API and native REST API are different
Hi All ,
I am using the followng SOSL query to get required KB articles from SF :
FIND { How AND can AND I pay AND my AND invoice?} IN ALL FIELDS RETURNING WKArticleType__kav(Id,Title, CreatedDate, LastModifiedDate, Details__c, UrlName,Topic__C, Input_Method__c WHERE PublishStatus='Online' AND language ='en_US'offset 0)
I have a custom REST API which internally uses this SOSL query . This works fine and i am able to get desired results.
Now when i invoke this SOSL query from WORKBENCH the sequence of articles in response differ from that when i invoke the custom REST API . Even thpugh the custom API uses the same query internally
when i invoke this from WORBENCH
I am using the followng SOSL query to get required KB articles from SF :
FIND { How AND can AND I pay AND my AND invoice?} IN ALL FIELDS RETURNING WKArticleType__kav(Id,Title, CreatedDate, LastModifiedDate, Details__c, UrlName,Topic__C, Input_Method__c WHERE PublishStatus='Online' AND language ='en_US'offset 0)
I have a custom REST API which internally uses this SOSL query . This works fine and i am able to get desired results.
Now when i invoke this SOSL query from WORKBENCH the sequence of articles in response differ from that when i invoke the custom REST API . Even thpugh the custom API uses the same query internally
when i invoke this from WORBENCH