Skip to content

Latest commit

 

History

History
116 lines (76 loc) · 2.84 KB

APIReferenceApi.md

File metadata and controls

116 lines (76 loc) · 2.84 KB

MarketplaceApi.APIReferenceApi

All URIs are relative to https://marketplace.api.healthcare.gov/api/v1

Method HTTP request Description
marketYearsGet GET /market-years
versionsGet GET /versions

marketYearsGet

MarketYears marketYearsGet(apikey)

Get the current and supported market years

Example

var MarketplaceApi = require('marketplace_api');
var defaultClient = MarketplaceApi.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 MarketplaceApi.APIReferenceApi();

var apikey = "d687412e7b53146b2631dc01974ad0a4"; // String | API key used for authentication


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

Parameters

Name Type Description Notes
apikey String API key used for authentication

Return type

MarketYears

Authorization

[API Key](../README.md#API Key)

HTTP request headers

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

versionsGet

[DataVersion] versionsGet(apikey)

Get the last updated date for various data sets

Example

var MarketplaceApi = require('marketplace_api');
var defaultClient = MarketplaceApi.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 MarketplaceApi.APIReferenceApi();

var apikey = "d687412e7b53146b2631dc01974ad0a4"; // String | API key used for authentication


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

Parameters

Name Type Description Notes
apikey String API key used for authentication

Return type

[DataVersion]

Authorization

[API Key](../README.md#API Key)

HTTP request headers

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