Parth Mehta

Parth Mehta

  • NA
  • 83
  • 1.4k

Get Pan card Detail

Dec 10 2015 7:33 AM
Is there any API Available Where i get The User Detail From given Pan card number..
following are the code i try but it's give me error:
 
https://incometaxindiaefiling.gov.in/eFilingWS/ditws/JurisdictionalAOInfo.wsdl. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:12956' is therefore not allowed access. The response had HTTP status code 405.
 
var soapRequest = '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"' +
'xmlns:v="http://incometaxindiaefiling.gov.in/ditws/JurisdictionalAO/v_1_0">' +
'<soapenv:Header/>' +
'<soapenv:Body>' +
'<v:getJurisdictionalAORequest>' +
'<panNum>' +
'<panNum>panno</panNum>' +
'</panNum>' +
'</v:getJurisdictionalAORequest>' +
'</soapenv:Body>' +
'</soapenv:Envelope>';
$http.post('https://incometaxindiaefiling.gov.in/eFilingWS/ditws/JurisdictionalAOInfo.wsdl', {soapRequest})
.success(function (data, status, headers, config) {
var tmp = data.d.toString();
if (data.d.toString() != "invalid") {
$scope.myData = $.parseJSON(data.d);
init_menu();
} else {
$scope.myData = [];
//alert("No Data Found");
}
})
.error(function (data, status, headers, config) {
// $scope.status = status;
alert("error");
});
 
 if Anyone have idea or any API Link ,, help me.
Thank You... 
 

Answers (1)