/// Method Name : PutMoveData /// Author : Pratik Soni /// Creation Date : 11 Jan 2018 /// Purpose : To update exisiting move data for the given MoveID /// Revision : /// </summary> public DTO.ServiceResponse <DTO.Move> PutMoveData(string moveID, string jsonFormattedData) { Dictionary <string, string> crmResponse; string moveGUID; try { moveGUID = GetSpecificAttributeFromResponse(GetMoveGUID(moveID), "jkmoving_moveid"); if (string.IsNullOrEmpty(moveGUID)) { logger.Info(resourceManager.GetString("msgInvalidMove")); return(new ServiceResponse <Move> { Information = resourceManager.GetString("msgInvalidMove") }); } crmResponse = objCrmUtilities.ExecutePutRequest(moveEntityName, moveGUID, objDTOToCRMMapper.MapMoveDTOToCRM(jsonFormattedData)); return(GetFormattedResponse(crmResponse)); } catch (Exception ex) { logger.Error(resourceManager.GetString("msgServiceUnavailableUnauthorized"), ex); return(new ServiceResponse <Move> { Message = resourceManager.GetString("msgServiceUnavailableUnauthorized") }); } }