Skip to content

SourabhNaik24/SmartyStreetsAPI_Salesforce_Apex

Repository files navigation

SmartyStreetsAPI_Salesforce_Apex

Requirement – The business ask is to verify the address of the event. Use the SmartyStreets API to verify the address & update “Location Verified” field on Event.

Must Have – Use of Error Handling and code re-usability

Outputs & Remote Site Setting:

Screenshot 2022-10-29 at 3 18 29 PM

Screenshot 2022-10-29 at 2 36 31 PM

Screenshot 2022-10-29 at 2 35 29 PM

Screenshot 2022-10-29 at 2 34 20 PM

Screenshot 2022-10-29 at 2 33 56 PM

Note 1: Required to create 3 Custom Labels for URL, AuthId and AuthToken. AuthId and AuthToken are generated from SmartyStreet website.

URL For Custom Label: https://us-street.api.smartystreets.com/street-address

SmartyStreetAPI Link https://www.smarty.com/products/apis/us-street-api

Note 2:

  1. SmartyStreetApi - Code Coverage is 75%
  2. SmartyStreetsJSON - Code Coverage is 100%
  3. SmartyStreetsApiCallOut - Code Coverage is 100%

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages