Hi all, Thank you for reporting this. I will update this thread once the documentation is fixed.
Best Regards, Rukshani. On Thu, Dec 10, 2015 at 6:42 PM, Rajeenthini Satkunam <rajeenth...@wso2.com> wrote: > Hi all, > > I have tried to invoke REST API through POSTMAN(Chrome) for DAS getting > the record count of a table.I have followed the documentation here[ > https://docs.wso2.com/display/DAS300/Retrieving+the+Total+Record+Count+of+a+Table+via+REST+API] > .It gives me a 200 OK success response but it always returns -1 as a > response. > > > > But I have tried this below way and it is working fine for me.Hope the DAS > documentation of REST API wants to be update along with API changes. > > *METHOD* : POST > > *URL* : https://localhost:9443/analytics/search_count > > *BODY* : > { > "tableName":"sample2" > } > > *HEADERS* : > Authorization : Basic YWRtaW46YWRtaW4= > Content-Type : application/json > > This REST API request gives me 200 OK success response as a count of > records in a particular table. I have inserted the screenshot of my POSTMAN > request and response for further more idea. > > > > > -- > > *Thank You.* > > *Rajeenthini Satkunam* > > *Associate Software Engineer | WSO2* > > > *E:rajeenth...@wso2.com <rajeenth...@wso2.com>* > > *M :+94770832823 <%2B94770832823> * > > -- > You received this message because you are subscribed to the Google Groups > "WSO2 Documentation Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to documentation+unsubscr...@wso2.com. > For more options, visit https://groups.google.com/a/wso2.com/d/optout. > -- Rukshani Weerasinha WSO2 Inc. Web:http://wso2.com Mobile: 0777 683 738
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev