Requests can be sent over HTTP. Data can be returned as JSON, XML, or JSONP.
Datastores can be queried at: http://180.149.240.130:8080/PMCGrievance/rest/service/complaintDetailsByToken
The default return format is JSON. XML can be retrieved with '.xml' at the end: http://180.149.240.130:8080/PMCGrievance/rest/service/complaintDetailsByToken
Parameters: |
|
---|
Response Sample is in XML or JSON .
[{"lblToken":"WA22","lblEntryDate":"13/01/2016","lblExpectedCompDate":"02/07/2016", "lblDescription":"\"Madgulkar Banglow... Unattended By Pmc.\r\nGarbage outside famous historical Banglow Ga. Di. Madgulkar.\"", "lblStatus":"CLOSED","lblDepartment":"Garbage (Soild Waste Management)","lblLocation":"GD Madgulkar Tunnel, Wakadewadi, Shivajinagar, Pune, Maharashtra 411003, India.","lblLastActionDate":"30/06/2016", "url":"http://180.149.240.130:8080/PMCGrievance/serveImg.png?file=/opt/geronimo-tomcat6-javaee5-2.1.1/bin/Griev_Year_2014-2015/Month_06/Token_WA22/WA22_changeStatus.png","subdept":"Sweeping /cleaning the road"}] |
http://180.149.240.130:8080/PMCGrievance/rest/service/complaintDetailsByToken?tokenNo=WA22
Requests can be sent over HTTP. Data can be returned as JSON, XML, or JSONP.
Datastores can be queried at: http://180.149.240.130:8080/PMCGrievance/rest/service/citizenComplaintByUserName
The default return format is JSON. XML can be retrieved with '.xml' at the end: http://180.149.240.130:8080/PMCGrievance/rest/service/citizenComplaintByUserName
Parameters: |
|
---|
Response Sample is in XML or JSON .
[{"lblToken":"W23744","lblEntryDate":"29/08/2016","lblExpectedCompDate":"31/08/2016", "lblDescription":"Test Complaint","lblStatus":"CLOSED","lblDepartment":"Garbage (Soild Waste Management)", "lblLocation":"Test Complaint","lblLastActionDate":"29/08/2016","citizenName":"xyz xyza xyz"}, {"lblToken":"W23743","lblEntryDate":"29/08/2016","lblExpectedCompDate":"31/08/2016", "lblDescription":"Test Complaint","lblStatus":"CLOSED","lblDepartment":"Garbage (Soild Waste Management)", "lblLocation":"Test Complaint","lblLastActionDate":"29/08/2016","citizenName":"xyz xyza xyz"},{"lblToken":"W21708", "lblEntryDate":"15/07/2016","lblExpectedCompDate":"17/07/2016","lblDescription":"Test Complaint","lblStatus":"CLOSED", "lblDepartment":"Road","lblLocation":"Somji Busstop","lblLastActionDate":"15/07/2016","citizenName":"xyz xyza xyz"}, {"lblToken":"W20395","lblEntryDate":"16/06/2016","lblExpectedCompDate":"26/06/2016","lblDescription":"dsdsds", "lblStatus":"REJECT","lblDepartment":"Encroachment","lblLocation":"sdsdsdsd","lblLastActionDate":"16/06/2016", "citizenName":"xyz xyza xyz"},{"lblToken":"W19798","lblEntryDate":"01/06/2016","lblExpectedCompDate":"16/06/2016", "lblDescription":"test complaint","lblStatus":"REJECT","lblDepartment":"Water Supply","lblLocation":"test", "lblLastActionDate":"03/06/2016","citizenName":"xyz xyza xyz"},{"lblToken":"W18152","lblEntryDate":"14/04/2016", "lblExpectedCompDate":"05/05/2016","lblDescription":"TESTING","lblStatus":"CLOSED","lblDepartment":"Birth And Death", "lblLocation":"PIMPRI","lblLastActionDate":"10/05/2016","citizenName":"xyz xyza xyz"},{"lblToken":"W18154", "lblEntryDate":"14/04/2016","lblExpectedCompDate":"05/05/2016","lblDescription":"qq","lblStatus":"REJECT", "lblDepartment":"Birth And Death","lblLocation":"qq","lblLastActionDate":"10/05/2016","citizenName":"xyz xyza xyz"}, {"lblToken":"W16923","lblEntryDate":"03/03/2016","lblExpectedCompDate":"05/03/2016", "lblDescription":"Test Complaint","lblStatus":"REJECT","lblDepartment":"Electrical","lblLocation":"Test Complaint", "lblLastActionDate":"03/03/2016","citizenName":"xyz xyza xyz"},{"lblToken":"W16805","lblEntryDate":"27/02/2016", "lblExpectedCompDate":"03/03/2016","lblDescription":"Test","lblStatus":"CLOSED","lblDepartment":"Drainage", "lblLocation":"Test","lblLastActionDate":"01/03/2016","citizenName":"xyz xyza xyz"}] |
http://180.149.240.130:8080/PMCGrievance/rest/service/citizenComplaintByUserName?userName=8805117107