Test Instructions:

Visiting this page will run all tests.

To run test in verbose mode (detailed error responses) add verbose=true as a get parameter.

To Test a connection failure run with get parameter testConnectionFail=true in get parameters.

To test a unit test failure run with testUnitTestFail=true in get parameters.

If running from a testing, demo or staging, environment all emails will send to the test email account salesforce-clearchoice-api-test@clearchoice.com in live mode they will send to salesforce-clearchoice-api-problem@clearchoice.com.

testing saving lead

testBadRequestSaveLeadRequiredInfoMissing sucess

testBadRequestSaveLeadBadUserId success

testBadRequestSaveLeadInactiveUserId success

testSucessfullSaveLead sucess

testing getting lead

testSucessfullGetLead sucess

testFailureGetLead sucess

testing sheduling a lead/ creating consult inventory

testSuccessfulFindAvailableAppointments sucess


Warning: count(): Parameter must be an array or an object that implements Countable in /www/production_525/public/wp-content/uploads/cache/e39259a30ae191dcddf1ad5041e92cd00856373b.php on line 1405

testSuccessFullGetNextSevenDays sucess

testSucessfullSaveConsultInventoryToLead sucess

testing get center info

testSucessfullGetCenterInfo sucess

testing update campaigns

testSuccessfulValidateCampaigns sucess


Warning: count(): Parameter must be an array or an object that implements Countable in /www/production_525/public/wp-content/uploads/cache/e39259a30ae191dcddf1ad5041e92cd00856373b.php on line 2117

testSuccessfulUpdateCampaigns sucess

testing update lead insights

testSuccessfulsSaveLeadInsights sucess


Warning: count(): Parameter must be an array or an object that implements Countable in /www/production_525/public/wp-content/uploads/cache/e39259a30ae191dcddf1ad5041e92cd00856373b.php on line 2285

testSuccessfulsGetLeadInsights sucess

testSuccessfulsDeleteLeadInsights sucess

testSuccessfulUpdateLeadInsights sucess

testing update lead

testSuccessfullFinanceCompanyPreScreenCheck sucess

testing Rescheduling

testSucessfullSaveConsultInventoryToLeadReschedule sucess

testing get locations

testSuccessFullGetGeoCode sucess

testSuccessfullGetRecommendedCenters sucess


Warning: count(): Parameter must be an array or an object that implements Countable in /www/production_525/public/wp-content/uploads/cache/e39259a30ae191dcddf1ad5041e92cd00856373b.php on line 1568

testSuccessfullGetNoOSCenters sucess

testSuccessfullGetAvailableLocations sucess

testSuccessfullGetAvailableLocationsWithReccomended sucess