diff --git a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs index 51f35a74..e895bc75 100644 --- a/BMA.EHR.Placement.Service/Controllers/PlacementController.cs +++ b/BMA.EHR.Placement.Service/Controllers/PlacementController.cs @@ -1834,7 +1834,32 @@ namespace BMA.EHR.Placement.Service.Controllers { posmasterId = p.posmasterId, positionId = p.positionId - } + }, + bodyMarry = new + { + marry = p.Marry, + marryPrefix = p.MarryPrefix, + marryFirstName = p.MarryFirstName, + marryLastName = p.MarryLastName, + marryOccupation = p.MarryOccupation, + marryNationality = p.MarryNationality, + }, + bodyFather = new + { + fatherPrefix = p.FatherPrefix, + fatherFirstName = p.FatherFirstName, + fatherLastName = p.FatherLastName, + fatherOccupation = p.FatherOccupation, + fatherNationality = p.FatherNationality, + }, + bodyMother = new + { + motherPrefix = p.MotherPrefix, + motherFirstName = p.MotherFirstName, + motherLastName = p.MotherLastName, + motherOccupation = p.MotherOccupation, + motherNationality = p.MotherNationality, + }, }).ToList(); var apiUrl = $"{_configuration["API"]}/org/command/excexute/create-officer-profile"; @@ -2157,7 +2182,32 @@ namespace BMA.EHR.Placement.Service.Controllers { posmasterId = p.posmasterId, positionId = p.positionId - } + }, + bodyMarry = new + { + marry = p.Marry, + marryPrefix = p.MarryPrefix, + marryFirstName = p.MarryFirstName, + marryLastName = p.MarryLastName, + marryOccupation = p.MarryOccupation, + marryNationality = p.MarryNationality, + }, + bodyFather = new + { + fatherPrefix = p.FatherPrefix, + fatherFirstName = p.FatherFirstName, + fatherLastName = p.FatherLastName, + fatherOccupation = p.FatherOccupation, + fatherNationality = p.FatherNationality, + }, + bodyMother = new + { + motherPrefix = p.MotherPrefix, + motherFirstName = p.MotherFirstName, + motherLastName = p.MotherLastName, + motherOccupation = p.MotherOccupation, + motherNationality = p.MotherNationality, + }, }).ToList(); var apiUrl = $"{_configuration["API"]}/org/command/excexute/create-officer-profile";