Import individual's information into id-repo for using resident app inji

Hello MOSIP team, We’re currently exploring your resident app inji but requires a UIN. The process to get UIN is so complicated for exploring feature purposes. so do you have a better solution to generate UIN for individuals more easily? Note: base modules like id-repo, ida, and kernel are installed. Thank MOSIP teams

Hi @mengleang-ngoun

There is a quick solution that we can provide to you is generating UIN from our end but before doing that I would like to know which environment are you using or you have built the APK locally on your system.

Best Regards,
Team MOSIP

Thank @sanchi-singh24
We completely set up all module that esignet depend on for running

  • keycloak
  • postgres
  • minio
  • kafka
  • config-server
  • websub
  • artifactory
  • keymanager
  • kernel
  • biosdk
  • id-repo
  • pms
  • idea
    We’re onboarding esignet with pms also, but now we still have another problem with importing a new identity into id-repo to get a UIN/VIN to use in another resident service like inji. can you give we process to importing or add new identity into ide-repo without touching with pre-registration and registration process?.
    Thank
1 Like

Sure @mengleang-ngoun our tech lead from the Inji team will guide you through this and help you get UIN.

Best Regards,
Team MOSIP

Thank you @sanchi-singh24

1 Like

Hi @mengleang-ngoun

Apologies for the delayed response!

  1. Call kernel idgenerator service to get an unused UIN.
  2. Call the id repo create API and pass demographic and biometrics along with UIN.
  3. You can run this according to the schema defined by you.
**Below is an example -**
{
  "id": "mosip.id.create",
  "version": "v1",
  "requesttime": "2018-12-11T06:12:25.288Z",
  "request": {
    "registrationId": "12342343200065201812120100555",
    "identity": {
      "IDSchemaVersion": 1,
      "UIN": <UIN>,
      "fullName": [
        {
          "language": "ara",
          "value": "ابراهيم بن علي"
        },
        {
          "language": "fra",
          "value": "Ibrahim Ibn Ali"
        }
      ],
      "dateOfBirth": "1955/04/15",
      "age": 45,
      "gender": [
        {
          "language": "ara",
          "value": "الذكر"
        },
        {
          "language": "fra",
          "value": "mâle"
        }
      ],
      "addressLine1": [
        {
          "language": "ara",
          "value": "عنوان العينة سطر 1"
        },
        {
          "language": "fra",
          "value": "exemple d'adresse ligne 1"
        }
      ],
      "addressLine2": [
        {
          "language": "ara",
          "value": "عنوان العينة سطر 2"
        },
        {
          "language": "fra",
          "value": "exemple d'adresse ligne 2"
        }
      ],
      "addressLine3": [
        {
          "language": "ara",
          "value": "عنوان العينة سطر 3"
        },
        {
          "language": "fra",
          "value": "exemple d'adresse ligne 3"
        }
      ],
      "region": [
        {
          "language": "ara",
          "value": "طنجة - تطوان - الحسيمة"
        },
        {
          "language": "fra",
          "value": "Tanger-Tétouan-Al Hoceima"
        }
      ],
      "province": [
        {
          "language": "ara",
          "value": "فاس-مكناس"
        },
        {
          "language": "fra",
          "value": "Fès-Meknès"
        }
      ],
      "city": [
        {
          "language": "ara",
          "value": "الدار البيضاء"
        },
        {
          "language": "fra",
          "value": "Casablanca"
        }
      ],
      "postalCode": "570004",
      "phone": "9876543210",
      "email": "abc@xyz.com",
      "parentOrGuardianRIDOrUIN": 212124324784912,
      "parentOrGuardianName": [
        {
          "language": "ara",
          "value": "سلمى"
        },
        {
          "language": "fra",
          "value": "salma"
        }
      ],
      "proofOfAddress": {
        "format": "pdf",
        "type": "drivingLicense",
        "value": "fileReferenceID"
      },
      "proofOfIdentity": {
        "format": "txt",
        "type": "passport",
        "value": "fileReferenceID"
      },
      "proofOfRelationship": {
        "format": "pdf",
        "type": "passport",
        "value": "fileReferenceID"
      },
      "proofOfDateOfBirth": {
        "format": "pdf",
        "type": "passport",
        "value": "fileReferenceID"
      },
      "individualBiometrics": {
        "format": "cbeff",
        "version": 1,
        "value": "fileReferenceID"
      },
      "parentOrGuardianBiometrics": {
        "format": "cbeff",
        "version": 1,
        "value": "fileReferenceID"
      }
    },
    "documents": [
      {
        "category": "proofOfAddress",
        "value": "<Base 64 encoded byte array of PoA document>"
      },
      {
        "category": "proofOfIdentity",
        "value": "<Base 64 encoded byte array of PoI document>"
      },
      {
        "category": "proofOfRelationship",
        "value": "<Base 64 encoded byte array of PoR document>"
      },
      {
        "category": "individualBiometrics",
        "value": "<Base 64 encoded byte array of CBEFF document>"
      },
      {
        "category": "parentOrGuardianBiometrics",
        "value": "<Base 64 encoded byte array of CBEFF document>"
      }
    ]
  }
}

Let me know if these steps are able to help you figure out the UIN generation.

Best Regards,
Team MOSIP

1 Like