All URIs are relative to https://api.factset.com/content
Method | HTTP request | Description |
---|---|---|
getCouponHistory | GET /factset-terms-and-conditions/v1/coupon-history | Return historical Coupon information for a Fixed Income security. |
getCouponHistoryForList | POST /factset-terms-and-conditions/v1/coupon-history | Return historical Coupon information for a list of Fixed Income securities. |
getCouponSchedules | GET /factset-terms-and-conditions/v1/coupon-schedules | Return Coupon Sechedules for a Fixed Income security. |
getCouponSchedulesForList | POST /factset-terms-and-conditions/v1/coupon-schedules | Return Coupon Schedules information for a list of Fixed Income securities. |
CouponHistoryResponse getCouponHistory(ids)
Return historical Coupon information for a Fixed Income security.
Returns historical Coupon information for the Fixed Income security.
Important
The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values.
const { ApiClient, CouponsApi } = require('@factset/sdk-factsettermsandconditions');
const { ConfidentialClient } = require('@factset/sdk-utils');
const apiClient = ApiClient.instance;
// Examples for each supported authentication method are below,
// choose one that satisfies your use case.
// (Preferred) OAuth 2.0: FactSetOAuth2
// See https://github.com/FactSet/enterprise-sdk#oauth-20
// for information on how to create the app-config.json file
//
// The confidential client instance should be reused in production environments.
// See https://github.com/FactSet/enterprise-sdk-utils-typescript#authentication
// for more information on using the ConfidentialClient class
apiClient.factsetOauth2Client = new ConfidentialClient('/path/to/app-config.json');
// Basic authentication: FactSetApiKey
// See https://github.com/FactSet/enterprise-sdk#api-key
// for information how to create an API key
// const FactSetApiKey = apiClient.authentications['FactSetApiKey'];
// FactSetApiKey.username = 'USERNAME-SERIAL';
// FactSetApiKey.password = 'API-KEY';
const apiInstance = new CouponsApi();
const ids = ["30231GBJ","88579EAA"]; // [String] | List of Fixed Income Security identifiers. Supported symbol types include CUSIP, SEDOL, ISIN, and FactSet Security Permanent Identifier (-S). **ID LIMIT = 250** *per request*.
// Call api endpoint
apiInstance.getCouponHistory(ids).then(
data => {
console.log('API called successfully. Returned data:');
console.log(data);
},
error => {
console.error(error);
},
);
Name | Type | Description | Notes |
---|---|---|---|
ids | [String] | List of Fixed Income Security identifiers. Supported symbol types include CUSIP, SEDOL, ISIN, and FactSet Security Permanent Identifier (-S). ID LIMIT = 250 per request. |
- Content-Type: Not defined
- Accept: application/json
CouponHistoryResponse getCouponHistoryForList(termsAndConditionsScalarRequest)
Return historical Coupon information for a list of Fixed Income securities.
Returns historical Coupon information for a list of Fixed Income securities.
Important
The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values.
const { ApiClient, CouponsApi } = require('@factset/sdk-factsettermsandconditions');
const { ConfidentialClient } = require('@factset/sdk-utils');
const apiClient = ApiClient.instance;
// Examples for each supported authentication method are below,
// choose one that satisfies your use case.
// (Preferred) OAuth 2.0: FactSetOAuth2
// See https://github.com/FactSet/enterprise-sdk#oauth-20
// for information on how to create the app-config.json file
//
// The confidential client instance should be reused in production environments.
// See https://github.com/FactSet/enterprise-sdk-utils-typescript#authentication
// for more information on using the ConfidentialClient class
apiClient.factsetOauth2Client = new ConfidentialClient('/path/to/app-config.json');
// Basic authentication: FactSetApiKey
// See https://github.com/FactSet/enterprise-sdk#api-key
// for information how to create an API key
// const FactSetApiKey = apiClient.authentications['FactSetApiKey'];
// FactSetApiKey.username = 'USERNAME-SERIAL';
// FactSetApiKey.password = 'API-KEY';
const apiInstance = new CouponsApi();
const termsAndConditionsScalarRequest = new factsettermsandconditions.TermsAndConditionsScalarRequest(); // TermsAndConditionsScalarRequest | Request object for Fixed Income Coupon History.
// Call api endpoint
apiInstance.getCouponHistoryForList(termsAndConditionsScalarRequest).then(
data => {
console.log('API called successfully. Returned data:');
console.log(data);
},
error => {
console.error(error);
},
);
Name | Type | Description | Notes |
---|---|---|---|
termsAndConditionsScalarRequest | TermsAndConditionsScalarRequest | Request object for Fixed Income Coupon History. |
- Content-Type: application/json
- Accept: application/json
CouponSchedulesResponse getCouponSchedules(ids)
Return Coupon Sechedules for a Fixed Income security.
Returns Coupon Schedules information for the Fixed Income security.
Important
The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values.
const { ApiClient, CouponsApi } = require('@factset/sdk-factsettermsandconditions');
const { ConfidentialClient } = require('@factset/sdk-utils');
const apiClient = ApiClient.instance;
// Examples for each supported authentication method are below,
// choose one that satisfies your use case.
// (Preferred) OAuth 2.0: FactSetOAuth2
// See https://github.com/FactSet/enterprise-sdk#oauth-20
// for information on how to create the app-config.json file
//
// The confidential client instance should be reused in production environments.
// See https://github.com/FactSet/enterprise-sdk-utils-typescript#authentication
// for more information on using the ConfidentialClient class
apiClient.factsetOauth2Client = new ConfidentialClient('/path/to/app-config.json');
// Basic authentication: FactSetApiKey
// See https://github.com/FactSet/enterprise-sdk#api-key
// for information how to create an API key
// const FactSetApiKey = apiClient.authentications['FactSetApiKey'];
// FactSetApiKey.username = 'USERNAME-SERIAL';
// FactSetApiKey.password = 'API-KEY';
const apiInstance = new CouponsApi();
const ids = ["30231GBJ","88579EAA"]; // [String] | List of Fixed Income Security identifiers. Supported symbol types include CUSIP, SEDOL, ISIN, and FactSet Security Permanent Identifier (-S). **ID LIMIT = 250** *per request*.
// Call api endpoint
apiInstance.getCouponSchedules(ids).then(
data => {
console.log('API called successfully. Returned data:');
console.log(data);
},
error => {
console.error(error);
},
);
Name | Type | Description | Notes |
---|---|---|---|
ids | [String] | List of Fixed Income Security identifiers. Supported symbol types include CUSIP, SEDOL, ISIN, and FactSet Security Permanent Identifier (-S). ID LIMIT = 250 per request. |
- Content-Type: Not defined
- Accept: application/json
CouponSchedulesResponse getCouponSchedulesForList(termsAndConditionsScalarRequest)
Return Coupon Schedules information for a list of Fixed Income securities.
Returns historical Coupon Schedules information for a list of Fixed Income securities.
Important
The parameter variables defined below are just examples and may potentially contain non valid values. Please replace them with valid values.
const { ApiClient, CouponsApi } = require('@factset/sdk-factsettermsandconditions');
const { ConfidentialClient } = require('@factset/sdk-utils');
const apiClient = ApiClient.instance;
// Examples for each supported authentication method are below,
// choose one that satisfies your use case.
// (Preferred) OAuth 2.0: FactSetOAuth2
// See https://github.com/FactSet/enterprise-sdk#oauth-20
// for information on how to create the app-config.json file
//
// The confidential client instance should be reused in production environments.
// See https://github.com/FactSet/enterprise-sdk-utils-typescript#authentication
// for more information on using the ConfidentialClient class
apiClient.factsetOauth2Client = new ConfidentialClient('/path/to/app-config.json');
// Basic authentication: FactSetApiKey
// See https://github.com/FactSet/enterprise-sdk#api-key
// for information how to create an API key
// const FactSetApiKey = apiClient.authentications['FactSetApiKey'];
// FactSetApiKey.username = 'USERNAME-SERIAL';
// FactSetApiKey.password = 'API-KEY';
const apiInstance = new CouponsApi();
const termsAndConditionsScalarRequest = new factsettermsandconditions.TermsAndConditionsScalarRequest(); // TermsAndConditionsScalarRequest | Request object for Fixed Income Coupon Schedules.
// Call api endpoint
apiInstance.getCouponSchedulesForList(termsAndConditionsScalarRequest).then(
data => {
console.log('API called successfully. Returned data:');
console.log(data);
},
error => {
console.error(error);
},
);
Name | Type | Description | Notes |
---|---|---|---|
termsAndConditionsScalarRequest | TermsAndConditionsScalarRequest | Request object for Fixed Income Coupon Schedules. |
- Content-Type: application/json
- Accept: application/json