WebRun example for SmartyStreets

 1 Replies
 2 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Garry Ferwerda
Basic Member
Posts: 20
Basic Member

    Does anyone have an example of using a WebRun node with SmartyStreets street address API?  Is so would you be interested in sharing it?

     

    Thanks

    Dave Curtis
    Veteran Member
    Posts: 136
    Veteran Member
      SmartyStreets will give you a user id, password and they will give you an auth-id and auth-token, you will need these items to plug into the web run node.

      Web root: https://us-street.api.smartystreets.com
      User id: Your user ID
      Password: Your Password

      URL Type = External
      Call Information
      Web Program: street-address?auth-id=YOUR AUTH ID&auth-token=YOUR AUTH TOKEN
      Success string: input_index
      Header String: Accept: text/xml

      Method = POST

      Post String

      (request)(address)(addressee)""(/addressee)(street)"(!strAddr1)"(/street)(street2)"(!strAddr2)"(/street2)(city)"(!strCity)"(/city)(state)"(!strStateProvinceCode)"(/state)(zipcode)"(!strCandPostalCode)"(/zipcode)(candidates)10(/candidates)(/address)(/request)



      Content Type = text/xml



      The return from SmartyStreets will be in XML
      Attachments