Skip to content

Latest commit

 

History

History
247 lines (170 loc) · 6.04 KB

JPJRecordsApi.md

File metadata and controls

247 lines (170 loc) · 6.04 KB

IimmpactApi.JPJRecordsApi

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

v1JpjDrivingLicenseGet

DrivingLicenseRespone v1JpjDrivingLicenseGet(idNo, idType, opts)

Example

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);

Parameters

Name Type Description Notes
idNo String
idType String
captcha String [optional]

Return type

DrivingLicenseRespone

Authorization

SSO

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

v1JpjDrivingTestResultsGet

DrivingTestRespone v1JpjDrivingTestResultsGet(idNo, idType, opts)

Example

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);

Parameters

Name Type Description Notes
idNo String
idType String
captcha String [optional]

Return type

DrivingTestRespone

Authorization

SSO

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

v1JpjMotorVehicleExpiryGet

VehicleExpiryResponse v1JpjMotorVehicleExpiryGet(idNo, idType, vehicleNo, opts)

Example

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);

Parameters

Name Type Description Notes
idNo String
idType String
vehicleNo String
captcha String [optional]

Return type

VehicleExpiryResponse

Authorization

SSO

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

v1JpjSummonsGet

JPJSummonsResponse v1JpjSummonsGet(idNo, idType, opts)

Example

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);

Parameters

Name Type Description Notes
idNo String
idType String
captcha String [optional]

Return type

JPJSummonsResponse

Authorization

SSO

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json