Ben Registrion API changes

XMLWordPrintable

    • Type: Story
    • Resolution: Unresolved
    • Priority: Low
    • 3.8.2
    • Affects Version/s: None
    • None
    • FLW Mobile App
    • AMRIT Demo

      request : 

      https://amritdemo.piramalswasthya.org/tm-api/registrar/registrarBeneficaryRegistrationNew

      {
        "ageAtMarriage": "0",
        "benImage": "",
        "isDeath": false,
        "isDeathValue": "",
        "dateOfDeath": "",
        "timeOfDeath": "",
        "reasonOfDeath": "",
        "reasonOfDeathId": -1,
        "placeOfDeath": "",
        "placeOfDeathId": -1,
        "otherPlaceOfDeath": "",
        "benPhoneMaps": [
         

      {       "createdBy": "rohit",       "phoneNo": "9663666669"     }

        ],
        "beneficiaryIdentities": [
         

      {       "govtIdentityNo": 0,       "govtIdentityTypeID": 0,       "govtIdentityTypeName": "null",       "identityType": "National ID",       "createdBy": "rohit"     }

        ],
        "createdBy": "rohit",
        "dOB": "2001-04-21T00:00:00.000Z",
        "email": "",
        "emergencyRegistration": false,
        "fatherName": "",
        "firstName": "OM",
        "genderID": 1,
        "genderName": "Male",
        "govtIdentityNo": null,
        "govtIdentityTypeID": null,
        "i_bendemographics":

      {     "addressLine1": "D.No 3-160E",     "addressLine2": "ARS Road",     "addressLine3": "Neggipudi",     "blockID": 1934,     "communityID": "0",     "communityName": "",     "countryID": 1,     "countryName": "India",     "districtBranchID": 24415,     "districtBranchName": "Adarsha Gaon",     "districtID": 50,     "districtName": "Golaghat",     "religionID": "0",     "religionName": "",     "stateID": 5,     "stateName": "Assam",     "occupation": "Unknown",     "economicStatus": "",     "economicStatusId": 0,     "residentialArea": "",     "residentialAreaId": 0,     "otherResidentialArea": "",     "latitude": 0.0,     "longitude": 0.0   }

      ,
        "lastName": "",
        "marriageDate": "1970-01-01T05:30:00.000Z",
        "spouseName": "",
        "titleId": "",
        "bankName": null,
        "providerServiceMapID": "1727",
        "maritalStatusID": "1",
        "vanID": 4,
        "accountNo": null,
        "ifscCode": "",
        "motherName": "",
        "facilitySelection": "Amguri SC",
        "branchName": null,
        "providerServiceMapId": "1727",
        "maritalStatusName": "Unmarried",
        "beneficiaryConsent": false
      }

      Responce:
       {"statusCode":5000,"errorMessage":"Error in registration; please contact administrator","status":"Error in registration; please contact administrator"}

              Assignee:
              Saurav Mishra
              Reporter:
              Rohit.Prajapati
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: