Re: ATM Locator

Solved! Go to solution
MarcGlueck
Helper

ATM Locator

Hi @all,

 

we are trying to use the ATM locator service. As long as I send an address, it works fine. IF I'm trying with geocodes, I'm getting an strange error in sandbox:

Request:

 

{

  "wsRequestHeaderV2": {
    "requestTs": "2019-05-02T13:01:56.000Z"
  },
  "requestData": {
    "culture": "en-US",
    "distance": "20",
    "distanceUnit": "mi",
    "metaDataOptions": 0,
    "location": {
      "geocodes": {
        "latitude":40.443319,
        "longitude":-79.999729
      }
    },
    "options": {
      "range": {
        "start": 10,
        "count": 20
      },
    "sort": {
      "primary": "city",
      "direction": "asc"
    },
    "useFirstAmbiguous": true}
  }

}

 

Response 200 * OK

{

    "responseData": null,

    "wsResponseHeader": null,

    "wsStatus": {

        "statusCode": "CDI082",

        "statusDesc": "Visa ATM Locator Svc-Solr Execution Failure"

    },

    "wsResponseHeaderV2": {

        "responseMessageId": "51VATMLOC4849820190502124502902",

        "numOfRowsReturned": 0,

        "responseTs": 1556801104115,

        "requestMessageId": "ICE01-001",

        "correlationId": "909420141104053819418"

    },

    "responseSummaryData": null

}

 

Can someone help?

Thx a lot

 

6 REPLIES 6
API_Products
Visa Developer Support Specialist

Re: ATM Locator

Hello MarcGlueck,

 

We have very limited data to test in the sandbox for ATM Loc. Null response is not an error, this is expected due to lack of data.

 

 




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.

MarcGlueck
Helper

Re: ATM Locator

Hi DianaTran-Yee,

 

yes I know, that there is a limited amount of data.

Thats why I use the data that should work in sandbox according to the information I have in

"MyApp" -> Sandbox ->Text Data -> Locate ATMs API -> ATMs Inquiry

atm_testdata.JPG

 

But I do not get a SUCCESS and the expected result "700 ArchSt. Pittsburgh, PA 15212".
Instead I get this error "Visa ATM Locator Svc-Solr Execution Failure"

If I ask the api with the address "700 ArchSt. Pittsburgh" (instead of the geo-codes) I get an ATM with the exact coordinates I use in me example request.

 

What I need is a working example with me asking the API using geo-codes and getting back a list (or just one) ATM, because mobilephones usually provide me with geo-codes, not US-formated addresses.

 

best regards

marc

 

API_Products
Visa Developer Support Specialist

Re: ATM Locator

Hi @MarcGlueck,

 

I will take a look and get back to you soon.                                            

 

 




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_Products
Visa Developer Support Specialist

Re: ATM Locator

Hi @MarcGlueck,

 

There were some backend issues when you tried to search ATM location in sandbox, that’s why you received error "Visa ATM Locator Svc-Solr Execution Failure". The API is working fine now. Could you please try again?

 

Also below is a sample payload where ATM location is getting retrieved with respect to provided Geo-codes.

 

Please let us know if you need assistance.

 

Sample Payload: 

"requestData": {
        "culture": "en-US",
        "distance": "10",
        "distanceUnit": "Kilometer",
        "metaDataOptions": 0,
        "location": {
            "address": null,
            "placeName": null,
            "geocodes": {
                                                                "latitude":43.7068977355957,
                                                                "longitude":-79.52660369873047
                                                },
                                                "geocodeMethod":0,
                                                "typeName":null
        },
        "options": {
            "sort": {
                "secondary":"city",
                                                                "direction":"asc",
                                                                "primary":"distance"
            },
            "range": {
                "start": 0,
                "count":3
               
            },
            "operationName": "and",
            "findFilters": [],
            "useFirstAmbiguous": false
        }
    }

 




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.

MarcGlueck
Helper

Re: ATM Locator

it is working fine now.

Thx a lot!

 

Marc

topworker
Newbie

Re: ATM Locator

Thank you so much it helped big time