ArchiveUser
8 years agoQrew Captain
Get data from external source and save to record. Standardizing Addresses
I'm new to learning how api's working so forgive me if i am missing something completely obvious.
I would like to setup a button within the page on one of my tables, that when i click on it while editing a record, it can make a request from and external source, and then put the returned data in appropriate field in quickbase.
More specifically what i'm trying to do is when i setup a new customer after I enter their address, I would like to query the USPS api for address standardization, take the returned data from USPS and put is into new custom address fields.
The first part i can't figure out is how to i make the request. The request goes to something along the lines of: https://servername/ShippingAPI.dll?API=Verify&XML=<AddressValidateRequest USERID="username">.......</AddressValidateRequest>.
I know how to populate the data for that line, but i can't figure out how do i actually make the request.
The second part is the response if formated in xml. Where is that response stored? in a Variable? How to i extract the data from that to fit into my fields.
The google addresses from quickbase are unfortunately not standardized, that is why am doing this. Any help or pointers to the right direction are much appreciated.
I would like to setup a button within the page on one of my tables, that when i click on it while editing a record, it can make a request from and external source, and then put the returned data in appropriate field in quickbase.
More specifically what i'm trying to do is when i setup a new customer after I enter their address, I would like to query the USPS api for address standardization, take the returned data from USPS and put is into new custom address fields.
The first part i can't figure out is how to i make the request. The request goes to something along the lines of: https://servername/ShippingAPI.dll?API=Verify&XML=<AddressValidateRequest USERID="username">.......</AddressValidateRequest>.
I know how to populate the data for that line, but i can't figure out how do i actually make the request.
The second part is the response if formated in xml. Where is that response stored? in a Variable? How to i extract the data from that to fit into my fields.
The google addresses from quickbase are unfortunately not standardized, that is why am doing this. Any help or pointers to the right direction are much appreciated.