     public func getAllZones(site: String, floor: String, callback:([PIZone], NSError!)->()) {
         
         // Swift cannot handle this complex of an expression without breaking it down.
-        var endpoint =  _configURL + "/sites/" + site
+        var endpoint =  _configURL_v2 + "/sites/" + site
         endpoint += "/floors/" + floor + "/zones"
         
         let request = buildRequest(endpoint, method: GET, body: nil)

    
    private let TAG = "[PresenceInsightsSDK] "
    
    private let _configSegment = "/pi-config/v2/"
    private let _beaconSegment = "/conn-beacon/v1/"
    private let _analyticsSegment = "/analytics/v1/"
    private let _httpContentTypeHeader = "Content-Type"

    */
    public func getAllSensors(site: String, floor: String, callback:([PISensor], NSError!)->()) {

        let endpoint = String(format: "%@/sites/%@/floors/%@/sensors", arguments: [_configURL_v2, site, floor])

        let request = buildRequest(endpoint, method: GET, body: nil)
        performRequest(request, callback: {response, error in
