All URIs are relative to https://api.iimmpact.com
Method | HTTP request | Description |
---|---|---|
v1JpjDrivingLicenseGet | GET /v1/jpj/driving-license | |
v1JpjDrivingTestResultsGet | GET /v1/jpj/driving-test-results | |
v1JpjMotorVehicleExpiryGet | GET /v1/jpj/motor-vehicle-expiry | |
v1JpjSummonsGet | GET /v1/jpj/summons |
DrivingLicenseRespone v1JpjDrivingLicenseGet(idNo, idType, opts)
var IimmpactApi = require('iimmpact_api');
var defaultClient = IimmpactApi.ApiClient.instance;
// Configure API key authorization: SSO
var SSO = defaultClient.authentications['SSO'];
SSO.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SSO.apiKeyPrefix = 'Token';
var apiInstance = new IimmpactApi.JPJRecordsApi();
var idNo = "idNo_example"; // String |
var idType = "idType_example"; // String |
var opts = {
'captcha': "captcha_example" // String |
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.v1JpjDrivingLicenseGet(idNo, idType, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
idNo | String | ||
idType | String | ||
captcha | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
DrivingTestRespone v1JpjDrivingTestResultsGet(idNo, idType, opts)
var IimmpactApi = require('iimmpact_api');
var defaultClient = IimmpactApi.ApiClient.instance;
// Configure API key authorization: SSO
var SSO = defaultClient.authentications['SSO'];
SSO.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SSO.apiKeyPrefix = 'Token';
var apiInstance = new IimmpactApi.JPJRecordsApi();
var idNo = "idNo_example"; // String |
var idType = "idType_example"; // String |
var opts = {
'captcha': "captcha_example" // String |
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.v1JpjDrivingTestResultsGet(idNo, idType, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
idNo | String | ||
idType | String | ||
captcha | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
VehicleExpiryResponse v1JpjMotorVehicleExpiryGet(idNo, idType, vehicleNo, opts)
var IimmpactApi = require('iimmpact_api');
var defaultClient = IimmpactApi.ApiClient.instance;
// Configure API key authorization: SSO
var SSO = defaultClient.authentications['SSO'];
SSO.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SSO.apiKeyPrefix = 'Token';
var apiInstance = new IimmpactApi.JPJRecordsApi();
var idNo = "idNo_example"; // String |
var idType = "idType_example"; // String |
var vehicleNo = "vehicleNo_example"; // String |
var opts = {
'captcha': "captcha_example" // String |
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.v1JpjMotorVehicleExpiryGet(idNo, idType, vehicleNo, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
idNo | String | ||
idType | String | ||
vehicleNo | String | ||
captcha | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
JPJSummonsResponse v1JpjSummonsGet(idNo, idType, opts)
var IimmpactApi = require('iimmpact_api');
var defaultClient = IimmpactApi.ApiClient.instance;
// Configure API key authorization: SSO
var SSO = defaultClient.authentications['SSO'];
SSO.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SSO.apiKeyPrefix = 'Token';
var apiInstance = new IimmpactApi.JPJRecordsApi();
var idNo = "idNo_example"; // String |
var idType = "idType_example"; // String |
var opts = {
'captcha': "captcha_example" // String |
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.v1JpjSummonsGet(idNo, idType, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
idNo | String | ||
idType | String | ||
captcha | String | [optional] |
- Content-Type: Not defined
- Accept: application/json