Digital Identity
  • Introduction
  • Quick Start
  • Reference
    • API Reference
      • Register
      • User Profile
      • Verify
      • CancelVerifiedDigitalIdentity
      • Get Verify Data
      • Login
      • Admin Login
      • Check Eligibility
      • Current
      • Get All Product Types
      • Get Business Request Type Template Fields
      • User Create Request
      • User Activate Request
      • ⚙️ Admin Control Panel
        • Login API
        • GetRequests API
        • GetContractToPdf
        • GetUsers
        • GetTransactionById API
        • CancelVerifiedDigitalIdentity
      • Error Codes
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Current

Gets Current User Business Request

GET https://api.vlenseg.com/api/BusinessRequest/Current

Headers

Name
Type
Description

Content-Type*

string

application/json

ApiKey*

string

API Key

Authorization*

string

Bearer Access Token `Bearer <accessToken>` that returned from login Api

{
  "data": {
    "idNumber": <string>,
    "requestNumber": <string>,
    "fullName": <string>,
    "requeststatus": <int>,
    "requestStatusName": <string>,
    "requestFields": [
      {
        "order": <int>,
        "key": <string>,
        "displayText": <string>,
        "value": <string>,
        "tabularData": [
          [
            <string>
          ]
        ],
        "type": <string>,
        "visibleToUser": <bool>,
        "defaultValue": <string>,
        "availableValues": [
          <string>
        ],
        "firstRowHeader": <bool>,
        "convertNumbersToArabic": <bool>,
        "availableValuesItems": [
          {
            "id": <int>,
            "name": <string>
          }
        ]
      }
    ],
    "documents": [
      {
        "order": <int>,
        "title": <string>,
        "content": <string>,
        "signature": <string>,
        "isHtml": <bool>
      }
    ],
    "user": {
      "name": <string>,
      "surname": <string>,
      "fullName": <string>,
      "userName": <string>,
      "emailAddress": <string>,
      "phoneNumber": <string>,
      "idNumber": <string>
    },
    "confirmationMessage": <string>,
    "contractDocument": <string>,
    "generalTC": <string>,
    "technicalTC": <string>,
    "financialTC": <string>,
    "kycConfirmation": <string>,
    "customerSignature": <string>,
    "contractSignerSignature": <string>,
    "amount": <string>,
    "periodValue": <string>,
    "periodUnit": <string>,
    "installmentValue": <string>,
    "installmentValueNumber": <string>,
    "totalAmount": <string>,
    "totalAmountNumber": <string>,
    "installmentsNo": <string>,
    "firstInstallmentDate": <string>,
    "creatorUserFullName": <string>,
    "lastModificationTime": <datetime>,
    "lastModifierUserId": <int>,
    "creationTime": <datetime>,
    "creatorUserId": <int>,
    "id": <GUID>
  },
  "error_code": <int>,
  "error_message": <string>
}
{
  "data": null,
  "Services": null,
  "error_code": 401,
  "error_message": "Unauthorized – invalid API Key"
}

PreviousCheck EligibilityNextGet All Product Types

Last updated 1 year ago