Re: VISA ATM Locator API

Solved! Go to solution
Albino
Regular Visitor

VISA ATM Locator API

Hi,

I'm trying to use the ATMs Inquiry API, but I am getting Visa ATM Locator Svc-Solr Execution Failure. The result is the same also if I try the API from the reference page with the sample request (https://developer.visa.com/capabilities/atmlocator/reference).

4 REPLIES 4
API_Managers
Visa Developer Support Specialist

Re: VISA ATM Locator API

Hey Albino,

 

I'm happy to help you resolve the issue. To move forward, please provide the following information:

1. Endpoint
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.

 




Thanks,

Tee



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

Albino
Regular Visitor

Re: VISA ATM Locator API

Hy Diana,

thanks for the answer.

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

2. Request Header: Headers : Accept=[application/json],Authorization=[Basic "Base64 Auth"],Content-Type=[application/json],Content-Length=[553]

3. Request Body: 

Request Body: {"wsRequestHeaderV2":{"requestTs":"2019-12-12T08:16:12.000Z","applicationId":"VATMLOC","requestMessageId":"ICE01-001","userId":"CDISIUserID","userBid":"10000108","correlationId":"909420141104053900000"},"requestData":{"culture":"en-US","distance":"20","distanceUnit":"km","location":{"placeName":"700 Arch St, Pittsburgh, PA 15212"},"options":{"range":{"start":10,"count":20},"sort":{"primary":"city","direction":"asc"},"operationName":"string","findFilters":[{"filterName":"OPER_HRS","filterValue":"C"},{"filterName":"WHEELCHAIR","filterValue":"N"}]}}}

 

4. Response Header: 

Headers : [Server:"nginx", Content-Type:"application/json", X-SERVED-BY:"l55c017", X-CORRELATION-ID:"1579597459_986_1005150717_l55c017_VDP_WS", X-Backside-Transport:"OK OK,OK OK", Cache-Control:"no-cache, no-store, must-revalidate", X-Download-Options:"noopen", Pragma:"no-cache", Expires:"-1", X-Global-Transaction-ID:"1adcbd165e26be9409aa3e95", X-APP-STATUS:"200", X-Frame-Options:"SAMEORIGIN", X-XSS-Protection:"1; mode=block", X-Content-Type-Options:"nosniff", Strict-Transport-Security:"max-age=2592000;includeSubdomains", Vary:"Accept-Encoding", Date:"Tue, 21 Jan 2020 09:04:21 GMT", Connection:"keep-alive"]

5 Response body:

Response body: {"wsResponseHeaderV2":{"correlationId":"909420141104053900000","responseMessageId":"51VATMLOC4561120200121090420093","responseTs":1579597461438,"numOfRowsReturned":0,"requestMessageId":"ICE01-001"},"responseSummaryData":null,"responseData":[{"distanceUnit":null,"matchedLocations":[{"location":{"placeName":"700 Arch St, Pittsburgh, Pennsylvania, 15212","coordinates":{"latitude":40.453824784869504,"longitude":-80.009340561572429},"score":100.0,"geocodeMethod":null,"address":{"city":"Pittsburgh","formattedAddress":"700 Arch St, Pittsburgh, Pennsylvania, 15212","street":"700 Arch St","street2":"","postalCode":"15212","state":"Pennsylvania","country":"USA"},"typeName":"PointAddress","properties":null}}],"foundATMLocations":null,"totalATMCount":0,"bestMapView":null,"metaData":null,"properties":null}],"wsResponseHeader":null,"wsStatus":{"statusCode":"CDI082","statusDesc":"Visa ATM Locator Svc-Solr Execution Failure"}}

 

Even trying from the Api reference page using the sample request I'm getting the same error.

 

 

API_Managers
Visa Developer Support Specialist

Re: VISA ATM Locator API

Hey @Albino,

 

Are you using all your test data from your project app to see if any of them have successful results?

I ran a test and got a successful result using the "placeName": "Pittsburgh, PA"

 

"wsStatus": {
"statusDesc": "Visa ATM Locator Svc-Success",
"statusCode": "CDI000"

 

See my successful request and response payloads below (refer to screenshot).


Request:

{
"wsRequestHeaderV2": {
"requestTs": "2019-12-12T08:16:12.000Z",
"requestMessageId": "ICE01-001",
"userBid": "10000108",
"correlationId": "909420141104053900000",
"applicationId": "VATMLOC",
"userId": "CDISIUserID"
},
"requestData": {
"distanceUnit": "km",
"distance": "20",
"culture": "en-US",
"options": {
"findFilters": [
{
"filterValue": "C",
"filterName": "OPER_HRS"
},
{
"filterValue": "N",
"filterName": "WHEELCHAIR"
}
],
"range": {
"start": 10,
"count": 20
},
"operationName": "string",
"sort": {
"primary": "city",
"direction": "asc"
}
},
"location": {"placeName": "Pittsburgh, PA"}
}
}


Response:

{
"wsResponseHeaderV2": {
"responseMessageId": "51VATMLOC8618420200122185113159",
"responseTs": 1579719073384,
"requestMessageId": "ICE01-001",
"correlationId": "909420141104053900000",
"numOfRowsReturned": 19
},
"wsStatus": {
"statusDesc": "Visa ATM Locator Svc-Success",
"statusCode": "CDI000"
},
"wsResponseHeader": null,
"responseSummaryData": null,
"responseData": [{
"distanceUnit": null,
"metaData": null,
"totalATMCount": 0,
"foundATMLocations": null,
"bestMapView": null,
"properties": null,
"matchedLocations": [
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Cir, Ellwood City, Pennsylvania, 16117",
"city": "Ellwood City",
"street": "Pittsburgh Cir",
"postalCode": "16117",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.859322634956264,
"longitude": -80.28256405948302
},
"typeName": "StreetName",
"placeName": "Pittsburgh Cir, Ellwood City, Pennsylvania, 16117",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Dr, Linesville, Pennsylvania, 16424",
"city": "Linesville",
"street": "Pittsburgh Dr",
"postalCode": "16424",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 41.67819552071454,
"longitude": -80.38111911092115
},
"typeName": "StreetName",
"placeName": "Pittsburgh Dr, Linesville, Pennsylvania, 16424",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Rd, Bentleyville, Pennsylvania, 15314",
"city": "Bentleyville",
"street": "Pittsburgh Rd",
"postalCode": "15314",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.1429059940377,
"longitude": -80.0046814205223
},
"typeName": "StreetName",
"placeName": "Pittsburgh Rd, Bentleyville, Pennsylvania, 15314",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Rd, Brownsville, Pennsylvania, 15417",
"city": "Brownsville",
"street": "Pittsburgh Rd",
"postalCode": "15417",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.031646985859325,
"longitude": -79.8885002562636
},
"typeName": "StreetName",
"placeName": "Pittsburgh Rd, Brownsville, Pennsylvania, 15417",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh St, Saxonburg, Pennsylvania, 16056",
"city": "Saxonburg",
"street": "Pittsburgh St",
"postalCode": "16056",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.74684206139253,
"longitude": -79.81424760047588
},
"typeName": "StreetName",
"placeName": "Pittsburgh St, Saxonburg, Pennsylvania, 16056",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Rd, Butler, Pennsylvania, 16001",
"city": "Butler",
"street": "Pittsburgh Rd",
"postalCode": "16001",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.85331130998094,
"longitude": -79.90081055717006
},
"typeName": "StreetName",
"placeName": "Pittsburgh Rd, Butler, Pennsylvania, 16001",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Rd, Butler, Pennsylvania, 16002",
"city": "Butler",
"street": "Pittsburgh Rd",
"postalCode": "16002",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.8100989627113,
"longitude": -79.927623
},
"typeName": "StreetName",
"placeName": "Pittsburgh Rd, Butler, Pennsylvania, 16002",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh St, Evans City, Pennsylvania, 16033",
"city": "Evans City",
"street": "Pittsburgh St",
"postalCode": "16033",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.770404858066314,
"longitude": -80.05944435332142
},
"typeName": "StreetName",
"placeName": "Pittsburgh St, Evans City, Pennsylvania, 16033",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Rd, Lyndora, Pennsylvania, 16045",
"city": "Lyndora",
"street": "Pittsburgh Rd",
"postalCode": "16045",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.84744599181049,
"longitude": -79.91062907836721
},
"typeName": "StreetName",
"placeName": "Pittsburgh Rd, Lyndora, Pennsylvania, 16045",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Rd, Valencia, Pennsylvania, 16059",
"city": "Valencia",
"street": "Pittsburgh Rd",
"postalCode": "16059",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.69959117256293,
"longitude": -79.93696572322713
},
"typeName": "StreetName",
"placeName": "Pittsburgh Rd, Valencia, Pennsylvania, 16059",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh St, Mars, Pennsylvania, 16046",
"city": "Mars",
"street": "Pittsburgh St",
"postalCode": "16046",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.694402306519514,
"longitude": -80.01498457289097
},
"typeName": "StreetName",
"placeName": "Pittsburgh St, Mars, Pennsylvania, 16046",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Pike, Ruffs Dale, Pennsylvania, 15679",
"city": "Ruffs Dale",
"street": "Pittsburgh Pike",
"postalCode": "15679",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.19724345280835,
"longitude": -79.64680979360888
},
"typeName": "StreetName",
"placeName": "Pittsburgh Pike, Ruffs Dale, Pennsylvania, 15679",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh Rd, Belle Vernon, Pennsylvania, 15012",
"city": "Belle Vernon",
"street": "Pittsburgh Rd",
"postalCode": "15012",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.13116649498166,
"longitude": -79.77490366728146
},
"typeName": "StreetName",
"placeName": "Pittsburgh Rd, Belle Vernon, Pennsylvania, 15012",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 97.35,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh St, Derry, Pennsylvania, 15627",
"city": "Derry",
"street": "Pittsburgh St",
"postalCode": "15627",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.36516036204257,
"longitude": -79.35957180280863
},
"typeName": "StreetName",
"placeName": "Pittsburgh St, Derry, Pennsylvania, 15627",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 100,
"address": {
"country": "USA",
"formattedAddress": "PITT",
"city": "Titusville",
"street": "504 E Main St",
"postalCode": "16354",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 41.62833000000006,
"longitude": -79.66519999999997
},
"typeName": "POI",
"placeName": "PITT",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 100,
"address": {
"country": "USA",
"formattedAddress": "PITT",
"city": "Pittsburgh",
"street": "S Bouquet St",
"postalCode": "15213",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.44061000000005,
"longitude": -79.95396999999997
},
"typeName": "POI",
"placeName": "PITT",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 100,
"address": {
"country": "USA",
"formattedAddress": "Pitt",
"city": "Pittsburgh",
"street": "3900 Forbes Ave",
"postalCode": "15260",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.441969987737714,
"longitude": -79.95634004443399
},
"typeName": "POI",
"placeName": "Pitt",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 100,
"address": {
"country": "USA",
"formattedAddress": "Pittsburgh, Pennsylvania",
"city": "Pittsburgh",
"street": "",
"postalCode": "",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 40.438510000000065,
"longitude": -79.99733999999995
},
"typeName": "Locality",
"placeName": "Pittsburgh, Pennsylvania",
"properties": null
}},
{"location": {
"geocodeMethod": null,
"score": 100,
"address": {
"country": "USA",
"formattedAddress": "Pitts, Charleston Twp, Pennsylvania",
"city": "Charleston Twp",
"street": "",
"postalCode": "",
"street2": "",
"state": "Pennsylvania"
},
"coordinates": {
"latitude": 41.74511000000007,
"longitude": -77.27592999999996
},
"typeName": "Locality",
"placeName": "Pitts, Charleston Twp, Pennsylvania",
"properties": null
}}
]
}]
}


Request Header:

 

Status Code: 200 OK
Server : nginx
Content-Type : application/json
X-SERVED-BY : l73c016
X-CORRELATION-ID : 1579719073_085_1974192471_l73c016_VDP_WS
X-Backside-Transport : OK OK,OK OK,OK OK,OK OK
Cache-Control : no-cache, no-store, must-revalidate
X-Download-Options : noopen
Pragma : no-cache
Expires : -1
X-Global-Transaction-ID : 69536f0d5e2899a164ebae7d
X-APP-STATUS : 200
X-Frame-Options : SAMEORIGIN
X-XSS-Protection : 1; mode=block
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=2592000;includeSubdomains
Vary : Accept-Encoding
Date : Wed, 22 Jan 2020 18:51:13 GMT
Connection : keep-alive

 

20200122 ATMsInquiry placeName Pittsburge PA 200 OK.png




Thanks,

Tee



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

API_Managers
Visa Developer Support Specialist

Re: VISA ATM Locator API

Hey @Albino,

 

In addition to that, the Visa Global ATM Locator test data in sandbox is for testing purposes only, and doesn’t reflect what the real data represents. For this API we also find that the error "Visa ATM Locator Svc-Solr Execution Failure" received when testing in sandbox is because there is a data limitation in sandbox.

 

We've previously updated the data in sandbox but it might not completely eliminate the possibility of having the "Visa ATM Locator Svc-Failure error". If you do not want to receive this error, I recommended you to submit a CSR and to sign a contract so that we can issue you to have production access to completely resolve this issue.

 

Here's instructions on how to create a CSR - https://developer.visa.com/pages/going-live#certificate_signing_request

 




Thanks,

Tee



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