Skip to main content

Fetch Director Details API

This document highlights the Fetch Director Details API details.

API Description

Objective

The Fetch Director Details API retrieves the director details using the Director Identification Number(DIN).

InputOutput
The eight-digit unique DIN.The details of the director associated with the entered DIN.
Info

DIN is a unique Director identification number allotted by the Central Government to any person intending to be a director or an existing company director.

API URL

https://ind-engine.thomas.hyperverge.co/v1/fetchDirectorDetails

API Endpoint

fetchDirectorDetails

Overview

The API is RESTful and uses standard HTTP verbs and status codes. The responses are in JSON format and you should upload all images and files as form-data through a POST request.

Authentication

You need a unique pair of application ID ( appId ) and application key (appKey) from HyperVerge to verify your identity for accessing the API.

API Request Details

Method - POST

Headers

ParameterMandatory or OptionalDescriptionValid Values
content-type Mandatory This parameter defines the media type for the request payload.multipart/form-data
appId Mandatory Application ID shared by HyperVerge N/A. This is a unique value.
appKey MandatoryApplication Key shared by HyperVerge N/A. This is a unique value.
transactionIdMandatoryUnique ID for the customer journey. N/A. Any defined unique value mapped to a transaction in your business ecosystem.

Inputs

The following table provides the details of the parameters required for the API's request body:

ParameterMandatory or OptionalDescriptionAllowed ValuesDefault Value
consentMandatoryThe user's consent, required as per compliance"Yes" or "No"Not Applicable
reasonMandatoryThe reason for fetching the director's detailsNot ApplicableNot Applicable
idMandatoryThe unique identifier for the director whose details are being fetchedNot ApplicableNot Applicable

Request

The following code shows a standard curl request for the API.

curl --location --request POST 'https://ind-engine.thomas.hyperverge.co/v1/fetchDirectorDetails' \
--header 'Content-Type: application/json' \
--header 'appId: <Enter_the_HyperVerge_appId>' \
--header 'appKey: <Enter_the_HyperVerge_appKey>' \
--header 'transactionId: <Enter_the_HyperVerge_transactionID>' \
--data '{
"consent": "<Enter_the_consent>",
"reason": "<Enter_the_reason>",
"id": "<Enter_the_ID>"
}'

Success Response

The following is a response for a valid request made to the API.

{
"status": "success",
"statusCode": "200",
"result": {
"code": 200,
"data": {
"llp_data": [
{
"end_date": "<End_Date>",
"llp_name": "<Company_Name>",
"designation": "Designated Partner",
"begin_date": "<Begin_Date>",
"llpin/fllpin": "<Company_LLP_Identification_Number>"
}
],
"company_data": [
{
"end_date": "-",
"company_name": "ROCK HONEY FILMS PRIVATE LIMITED",
"designation": "Director",
"begin_date": "16-11-2022",
"cin/fcrn": "U92132MH2022PTC393576"
}
],
"director_data": {
"din": "<Director_Identification_Number>",
"name": "<Director's_Name>"
}
},
"timestamp": <The_Timestamp>
}
}

Success Response Details

ParameterTypeDescription
statusstringThe status of the request
statusCodestringThe HTTP status code of the response
resultobjectThe result object containing response details
result.codeintegerThe status code indicating the request outcome
result.dataobjectThe data object containing company and director information
result.data.llp_dataarrayAn array of LLP (Limited Liability Partnership) details
result.data.llp_data.end_datestringThe end date of the LLP association
result.data.llp_data.llp_namestringThe name of the LLP company
result.data.llp_data.designationstringThe designation of the individual in the LLP
result.data.llp_data.begin_datestringThe start date of the LLP association
result.data.llp_data.llpin/fllpinstringThe LLP identification number
result.data.company_dataarrayAn array of company details
result.data.company_data.end_datestringThe end date of the company association
result.data.company_data.company_namestringThe name of the company
result.data.company_data.designationstringThe designation of the individual in the company
result.data.company_data.begin_datestringThe start date of the company association
result.data.company_data.cin/fcrnstringThe company identification number
result.data.director_dataobjectThe object containing director information
result.data.director_data.dinstringThe director identification number
result.data.director_data.namestringThe name of the director
timestampstringThe timestamp of the response

Failure Response

The following code snippet shows a failure response from the API.

{
"status": "failure",
"statusCode": "422",
"error": {
"code": 422,
"message": "No Relation data exists for the entered DIN",
"timestamp": <The_Timestamp>
}
}

Error Responses

The following code snippets show the error responses from the API.

{
"status": "failure",
"statusCode": "422",
"error": {
"timestamp": <The_Timestamp>,
"message": "Invalid parameter: Consent is required.",
"code": 422
}
}

Failure and Error Response Details

A failure or error response from the module contains a failure status, with a relevant status code and error message. The following table lists all error responses:

Error codeError MessageError Description
422Invalid parameter: Consent is required.The request does not have the mandatory consent parameter.
422DIN Entered does not match MCA Records, Please enter a Valid DINThe request does not have a valid DIN input.
422No Relation data exists for the entered DINThe API failed to retrieve any information against the DIN input.
Was this helpful?
Ask AIBeta
Hi! How can I help?
Ask me anything about HyperVerge products, APIs, and SDKs.
Try asking: