                 let linksSelfHref = linksSelf[postBuddyBodyKeys.href.rawValue] as? String{
                 self.selfLink = linksSelfHref
             }
-            
             if let editLink = links[postBuddyBodyKeys.editKey.rawValue],
                 let editLinkHref = editLink[postBuddyBodyKeys.href.rawValue] as? String{
                 self.editLink = editLinkHref

                self.UserRequestmobileNumber = mobileNumber
                formattetMobileNumber = formatMobileNumber()
            }
            
            if let linksRequest = userDetails[getMessagesKeys.links.rawValue] as? BodyDataDictionary,
                let linksRequestSelf = linksRequest[getMessagesKeys.selfKey.rawValue] as? BodyDataDictionary,
                let linksRequestSelfHref = linksRequestSelf[getMessagesKeys.href.rawValue] as? String {
                self.UserRequestSelfLink = linksRequestSelfHref
            }

            if let moreembedded = embedded[YonaConstants.jsonKeys.yonaGoals]  as? BodyDataDictionary,
                let goalsembeded = moreembedded[YonaConstants.jsonKeys.embedded] as? BodyDataDictionary,
                   let theembeddedGoals = goalsembeded[YonaConstants.jsonKeys.yonaGoals]  as? [BodyDataDictionary] {
                        for goal in theembeddedGoals {

                                let newGoal = Goal.init(goalData: goal, activities: allActivity)
                                if !newGoal.isHistoryItem {
                                    self.buddyGoals.append(newGoal)
                            }
                        }
                    }
            
        }
        
        if let embeddedNext = buddyData[YonaConstants.jsonKeys.embedded], let yonaGoal = (embeddedNext as? [String : Any])?[YonaConstants.jsonKeys.yonaGoals], let goalLink = (yonaGoal as? [String : Any])?[YonaConstants.jsonKeys.linksKeys], let goalSelfLink = (goalLink as? [String : Any])?[YonaConstants.jsonKeys.selfLinkKeys], let goalSelfLinkHref = (goalSelfLink as? [String : String])?[YonaConstants.jsonKeys.hrefKey] {
            self.buddyGoalSelfLink = goalSelfLinkHref
        }
    }
    

                let editLinkHref = weekly[postBuddyBodyKeys.href.rawValue] as? String{
                self.weeklyActivityReports = editLinkHref
            }
        }
        
        if let activityDate = buddyData[getMessagesKeys.lastMonitoredActivityDate.rawValue] as? String {
            lastMonitoredActivityDate = activityDate
        }
        
        //store user who made the request
        if let embedded = buddyData[postBuddyBodyKeys.embedded.rawValue],
            let userDetails = embedded[postBuddyBodyKeys.yonaUser.rawValue] as? BodyDataDictionary{
            if let nickName = userDetails[getMessagesKeys.nickname.rawValue] as? String {
                self.buddyNickName = nickName
            }
            if let lastName = userDetails[getMessagesKeys.UserRequestlastName.rawValue] as? String {
                self.UserRequestlastName = lastName
            }
