# NodeSwaggerApi.EmploymentApi

All URIs are relative to *https://api.supremepay.lk:3011/api/admin*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getEmploymentDetailAdmin**](EmploymentApi.md#getEmploymentDetailAdmin) | **POST** /employment/details | 


<a name="getEmploymentDetailAdmin"></a>
# **getEmploymentDetailAdmin**
> EmpInformation getEmploymentDetailAdmin(employementData)



Get employment details

### Example
```javascript
var NodeSwaggerApi = require('node_swagger_api');
var defaultClient = NodeSwaggerApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix = 'Token';

var apiInstance = new NodeSwaggerApi.EmploymentApi();

var employementData = new NodeSwaggerApi.EmpInformation(); // EmpInformation | employment details


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.getEmploymentDetailAdmin(employementData, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **employementData** | [**EmpInformation**](EmpInformation.md)| employment details | 

### Return type

[**EmpInformation**](EmpInformation.md)

### Authorization

[api_key](../README.md#api_key)

### HTTP request headers

 - **Content-Type**: application/json, application/xml
 - **Accept**: application/json, application/xml

