Visa ATM Locator Svc-Solr Execution Failure

Solved! Go to solution
ramavs2
Regular Visitor

Visa ATM Locator Svc-Solr Execution Failure

Hi,

We are using the ATM locator service and it stopped working, it always returns errors for geocodes search. 
We tried many geocodes that has VISA ATMs but the API returns error always. 

https://www.visa.com/atmlocator/#(page:results,params:(query:'43.9664414062972,12.754617333343505'))

https://sandbox.api.visa.com/globalatmlocator/v1/localatms/atmsinquiry

Request: 
{
"wsRequestHeaderV2": {
"requestTs": "2019-08-07T14:37:25.087+0530",
"applicationId": "VATMLOC",
"requestMessageId": "",
"userId": "",
"correlationId": null,
"userBid": null
},
"requestData": {
"distance": "10",
"distanceUnit": "mi",
"location": {
"geocodes": {
"latitude" : 43.9664414062972,
"longitude" : 12.754617333343505
}
},
"metaDataOptions": 0,
"options": {
"range": {
"start": 0,
"count": 10
},
"sort": {
"primary": "distance",
"direction": "asc",
"secondary": null
},
"operationName": "or",
"findFilters": null,
"useFirstAmbiguous": null
}
}
}
Response
{
"responseData": null,
"wsStatus": {
"statusCode": "CDI082",
"statusDesc": "Visa ATM Locator Svc-Solr Execution Failure"
},
"wsResponseHeaderV2": {
"correlationId": "VATMLOC6739320190807121008473",
"responseMessageId": "51VATMLOC4158220190807121008473",
"responseTs": 1565179808614,
"numOfRowsReturned": 0,
"requestMessageId": ""
},
"responseSummaryData": null,
"wsResponseHeader": null
}

2 REPLIES 2
SLi
Visa Developer Support Specialist
Visa Developer Support Specialist

Re: Visa ATM Locator Svc-Solr Execution Failure

Hi @ramavs2,

 

Thank you for your inquiry. The sandbox environment does not have data for all ATM locations. Please use the test data provided in your VDP project's Test Data tab.

 

Here's a sample request with valid response:

 

End Point https://sandbox.api.visa.com/globalatmlocator/v1/localatms/atmsinquiry
Method POST
Request
{
"wsRequestHeaderV2": {
"requestTs": "2019-05-02T16:51:18.000Z",
"requestMessageId": "ICE01-001",
"userBid": "10000108",
"correlationId": "909420141104053819418",
"applicationId": "VATMLOC",
"userId": "CDISIUserID"
},
"requestData": {
"distanceUnit": "mi",
"distance": "20",
"culture": "en-US",
"options": {
"findFilters": [
{
"filterValue": "C",
"filterName": "OPER_HRS"
},
{
"filterValue": "",
"filterName": "AIRPORT_CD"
},
{
"filterValue": "N",
"filterName": "WHEELCHAIR"
},
{
"filterValue": "N",
"filterName": "BRAILLE_AUDIO"
},
{
"filterValue": "N",
"filterName": "BALANCE_INQUIRY"
},
{
"filterValue": "N",
"filterName": "CHIP_CAPABLE"
},
{
"filterValue": "N",
"filterName": "PIN_CHANGE"
},
{
"filterValue": "N",
"filterName": "RESTRICTED"
},
{
"filterValue": "N",
"filterName": "PLUS_ALLIANCE_NO_SURCHARGE_FEE"
},
{
"filterValue": "N",
"filterName": "ACCEPTS_PLUS_SHARED_DEPOSIT"
},
{
"filterValue": "N",
"filterName": "V_PAY_CAPABLE"
},
{
"filterValue": "N",
"filterName": "READY_LINK"
}
],
"range": {
"start": 10,
"count": 20
},
"operationName": "or",
"sort": {
"primary": "city",
"direction": "asc"
},
"useFirstAmbiguous": true
},
"location": {
"address": null,
"geocodes": {
"latitude": 40.45205189371198,
"longitude": -80.00868417440162
},
"placeName": null
},
"metaDataOptions": 0
}
}

 

 


Best,
Stacey

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
ramavs2
Regular Visitor

Re: Visa ATM Locator Svc-Solr Execution Failure

Thanks for the clarifications. It works fine with the test data.