This point need API changes from UI it is going correct but from API end its not saving

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Done
    • Priority: Low
    • None
    • Affects Version/s: None
    • AMRIT Sprint 14, AMRIT Sprint 15, AMRIT Sprint 16, AMRIT Sprint 17, AMRIT Sprint 18, AMRIT Sprint 19, AMRIT Sprint 20, AMRIT Sprint 21

      From UI the request obj is going correct but from API end it is not saving... It involves 3 APIs MMU, COMMON and IDENTITY. 

      From MMU occupation and occupationID are going fine need to validate this in commonAPI 

      url - /beneficiary/update

      request - 
      {
          "beneficiaryRegID": 8759113,
          "i_bendemographics": {
              "beneficiaryRegID": 8759113,
              "i_beneficiaryeducation": {},
              "occupationID": 4,
              "occupationName": "Student",
              "communityID": 1,
              "communityName": "General",
              "m_community":

      {             "communityID": 1,             "communityType": "General"         }

      ,
              "stateID": 5,
              "stateName": "Assam",
              "m_state":

      {             "stateID": 5,             "stateName": "Assam",             "stateCode": "AS",             "countryID": 1         }

      ,
              "districtID": 37,
              "districtName": "Baksa",
              "m_district":

      {             "districtID": 37,             "stateID": 5,             "districtName": "Baksa"         }

      ,
              "blockID": 534,
              "blockName": "Barama Pt",
              "m_districtblock":

      {             "blockID": 534,             "districtID": 37,             "blockName": "Barama Pt",             "stateID": 5         }

      ,
              "districtBranchID": 24454,
              "districtBranchName": "Agchia",
              "m_districtbranchmapping":

      {             "blockID": 534         }

      ,
              "createdBy": "Jorhatv2RMO",
              "zoneID": 10,
              "zoneName": "zone4",
              "parkingPlaceID": 16,
              "parkingPlaceName": "zone4",
              "servicePointID": "2646",
              "servicePointName": "Katonipar"
          },
          "benPhoneMaps": [
              {
                  "benPhMapID": null,
                  "benificiaryRegID": 8759113,
                  "parentBenRegID": null,
                  "benRelationshipID": null,
                  "benRelationshipType":

      {                 "benRelationshipID": null,                 "benRelationshipType": null             }

      ,
                  "phoneNo": null,
                  "vanID": 186,
                  "parkingPlaceID": 16,
                  "modifiedBy": "Jorhatv2RMO"
              }
          ],
          "beneficiaryID": "783698762350",
          "m_title": {},
          "firstName": "puhi",
          "lastName": "kapoor",
          "genderID": 2,
          "m_gender":

      {         "genderID": 2,         "genderName": "Female"     }

      ,
          "maritalStatus":

      {         "status": null     }

      ,
          "dOB": "2018-07-02T13:29:06.000Z",
          "fatherName": "ram ",
          "changeInSelfDetails": true,
          "changeInAddress": true,
          "changeInContacts": true,
          "changeInIdentities": true,
          "changeInOtherDetails": true,
          "changeInFamilyDetails": true,
          "changeInAssociations": true,
          "is1097": false,
          "createdBy": "Jorhatv2RMO",
          "changeInBankDetails": true,
          "literacyStatus": "Illiterate",
          "motherName": "priya",
          "benImage": null,
          "changeInBenImage": false,
          "occupationId": 4,
          "occupation": "Student",
          "providerServiceMapId": "18",
          "providerServiceMapID": "18",
          "vanID": 186,
          "parkingPlaceID": 16,
          "passToNurse": false
      }

            Assignee:
            Srishti Gupta
            Reporter:
            Karyamsetty Helen Grace
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: