/UserManagement

Primary LanguageJavaScriptMIT LicenseMIT

User Management Apps

Usage

Global API

  1. Using Repository Pattern :

    • Divisions :
      • GET All : http://{host}/api/divisions/
      • GET ID : http://{host}/api/divisions/{id}/
      • POST : http://{host}/api/divisions/{id}/
            {
                "Name": "{Division Name}",
            }
      • PUT : http://{host}/api/divisions/{id}/
            {
                "Name": "{Division Name}",
            }
      • DELETE : http://{host}/api/divisions/{id}/
  2. Using Dapper :

    • User :

      • POST Users : http://{host}/api/Users/
          {
              "Password": "{Password}",
          }
    • Role :

      • GET All Asset Management: http://{host}/api/users/
      • GET ID Asset Management: http://{host}/api/users/{id}/
      • POST Reset Password : http://{host}/api/auths/forgot/
          {
              "Name": "{Role Name}",
              "Session": "{Session who did this method }",
          }
    • Apps :

      • GET All : http://{host}/api/divisions/
      • GET ID : http://{host}/api/divisions/{id}/
      • POST : http://{host}/api/divisions/{id}/
            {
                "Name": "{Division Name}",
                "Session": "{Session who did this method }",
            }
      • PUT : http://{host}/api/divisions/{id}/
            {
                "Name": "{Division Name}",
                "Session": "{Session who did this method }",
            }
      • DELETE : http://{host}/api/divisions/{id}?session={empId}
    • Absents :

      • GET All : http://{host}/api/absents/
      • GET ID : http://{host}/api/absents/{id}/
      • POST : http://{host}/api/absents/{id}/
            {
                "UserId": "{Division Name}",
                "InsDate": "{Session who did this method }",
            }
      • PUT : http://{host}/api/absents/{id}/
            {
                "UserId": "{Division Name}",
                "InsDate": "{Session who did this method }",
            }
  3. Manually :

    • Log Activity :

      • GET All Log Activity : http://{host}/api/logs/
      • POST Log Activity : http://{host}/api/logs/
          {
              "Response": "{Like a Message will to send}",
              "Email": "{Email}",
          }
    • Role :

      • PUT : http://{host}/api/division/{id}/
            {
                "Name": "{Role Name}",
                "Session": "{Session who did this method }",
            }
      • DELETE : http://{host}/api/division/{id}/

User Management

  • GET All User Management: http://{host}/api/users/

  • GET ID User Management: http://{host}/api/users/{id}

  • POST Users : http://{host}/api/Users/

        {
            "name": "{Name}",
            "nik": "{NIK}",
            "site": "{Assignment Site}",
            "email": "{ Users Email }",
            "password": "{ User Password }",
            "roleName": "{User Role Name}",
            "phone": "{ Phone }",
            "address": "{ User Address }",
            "province": "{ User Province }",
            "city": "{ City }",
            "subDistrict": "{User Sub District}",
            "village": "{ User Village }",
            "zipCode": "{ User Zipcode Address}",
            "Session": "{Session who did this method }",
        }
  • PUT Users : http://{host}/api/Users/

        {
            "name": "{Name}",
            "nik": "{NIK}",
            "site": "{Assignment Site}",
            "email": "{ Users Email }",
            "password": "{ User Password }",
            "roleName": "{User Role Name}",
            "phone": "{ Phone }",
            "address": "{ User Address }",
            "province": "{ User Province }",
            "city": "{ City }",
            "subDistrict": "{User Sub District}",
            "village": "{ User Village }",
            "zipCode": "{ User Zipcode Address}",
            "Session": "{Session who did this method }",
        }
  • DELETE : http://{host}/api/division/{id}/

  • POST Forgot Password User Management: http://{host}/api/auths/forgot

    {
        "Email": "{Email User}",
    }
  • POST Login Asset Management: http://{host}/api/auths/login
    {
        "Email": "{Email User}",
        "Password": "{Password User}"
    }

Asset Management

  • GET All Asset Management: http://{host}/api/assetmanages
  • GET ID Asset Management: http://{host}/api/assetmanages/{id}
  • POST Forgot Password Asset Management: http://{host}/api/assetmanages/forgot
    {
        "Email": "{Email User}",
    }
  • POST Login Asset Management: http://{host}/api/assetmanages/login
    {
        "Email": "{Email User}",
        "Password": "{Password User}"
    }

Exam Online

  • GET All Exam Online: http://{host}/api/exams/
  • GET ID Exam Online: http://{host}/api/exams/{id}
  • POST Forgot Password Exam Online: http://{host}/api/exams/forgot
    {
        "Email": "{Email User}",
    }
  • POST Login Exam Online: http://{host}/api/exams/login
    {
        "Email": "{Email User}",
        "Password": "{Password User}"
    }

Reimbursement Parking

  • GET All Reimbursement Parking: http://{host}/api/reimburs/
  • GET ID Reimbursement Parking: http://{host}/api/reimburs/{id}
  • POST Forgot Password Reimbursement Parking: http://{host}/api/reimburs/forgot
    {
        "Email": "{Email User}",
    }
  • POST Login Reimbursement Parking: http://{host}/api/reimburs/login
    {
        "Email": "{Email User}",
        "Password": "{Password User}"
    }

Interview & Placement

  • GET All Interview & Placement: http://{host}/api/interviews
  • GET ID Interview & Placement: http://{host}/api/interviews/{id}
  • POST Forgot Password Interview & Placement: http://{host}/api/interviews/forgot
    {
        "Email": "{Email User}",
    }
  • POST Login Interview & Placement: http://{host}/api/interviews/login
    {
        "Email": "{Email User}",
        "Password": "{Password User}"
    }

SDLC

  • ERD Scheme

picture

  • Use Case Diagram Scheme

picture

  • BPMN Scheme

picture

  • Activity Diagram Scheme

picture

  • Class Diagram Scheme

picture