Every API here is available over the APIs.io API and to AI agents over MCP.
{
"openapi": "3.0.4",
"info": {
"title": "Fenergo Nebula Covenants & Conditions Query API",
"description": "**Covenants & Conditions Query API**:<br/><br/><br/> Covenants & Conditions Query API provides endpoints in order to retrieve all related models and their versions.<br/><br/><br/> **Covenants & Conditions Query API provides**:<br/><ul><li> The ability to query Covenant Condition Set per parent.</li><li> The ability to query Covenant Condition Set.</li><li> The ability to query Covenant Condition Version.</li></ul>",
"version": "1.0"
},
"servers": [
{
"url": "/covenantsconditionsquery"
}
],
"paths": {
"/api/covenantcondition/set/{setId}": {
"get": {
"tags": [
"CovenantCondition"
],
"summary": "Get a Covenant Condition Set of specified Id with all Version data",
"description": "\nThis method returns the Covenant Condition Set of specified Id with all Covenant Condition Versions data.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsAccess",
"operationId": "GetCovenantConditionSetById",
"parameters": [
{
"name": "setId",
"in": "path",
"description": "The Id of the Covenant Condition Set",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "X-TENANT-ID",
"in": "header",
"description": "The UiD of the tenant representing organization",
"required": true,
"schema": {
"type": "string"
},
"example": "b11f8be3-f29b-4959-8964-956d4af7c468"
}
],
"responses": {
"200": {
"description": "Success. A Covenant Condition Set is returned",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionSetDtoServiceResponse"
}
}
}
},
"400": {
"description": "Bad request. The request has missing/invalid values",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
}
}
},
"404": {
"description": "Resource not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Not Found. Covenant Condition Set with given id does not exist",
"type": "Error",
"errorCode": "Error Code"
}
]
}
}
}
},
"401": {
"description": "User is not authorized to perform this request",
"content": {
"application/json": {
"example": {
"message": "Unauthorized"
}
}
}
},
"403": {
"description": "Access to resource is forbidden.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Access denied. Following permissions are required: Permission1, Permission2",
"type": "Forbidden",
"errorCode": "Error Code"
}
]
}
}
}
},
"500": {
"description": "Internal server exception. Please, contact your provider.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "Internal server exception. Please, contact your provider.",
"type": "Error",
"errorCode": "INTERNAL_SERVER_ERROR"
}
]
}
}
}
},
"410": {
"description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StringServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
"type": "Error",
"errorCode": "OBSOLETE_ENDPOINT"
}
]
}
}
}
}
}
}
},
"/api/covenantcondition/data/parent/{parentId}/journey/{journeyId}/task/{taskId}": {
"get": {
"tags": [
"CovenantCondition"
],
"summary": "Get Covenant Condition Details for specified Parent Id, Journey and Task Id, with all and latest version.",
"description": "\nThis method returns the Covenant Condition Details for specified Parent Id, Journey and TaskId, with all and latest version..<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsAccess",
"operationId": "GetCovenantConditionDataByParentJourneyTaskId",
"parameters": [
{
"name": "parentId",
"in": "path",
"description": "The Parent Id of the Covenant Condition Set",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "journeyId",
"in": "path",
"description": "Journey Id",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "taskId",
"in": "path",
"description": "Task Id",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "X-TENANT-ID",
"in": "header",
"description": "The UiD of the tenant representing organization",
"required": true,
"schema": {
"type": "string"
},
"example": "b11f8be3-f29b-4959-8964-956d4af7c468"
}
],
"responses": {
"200": {
"description": "Success. Covenant Condition Task Details is returned",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionTaskDetailsDtoServiceResponse"
}
}
}
},
"400": {
"description": "Bad request. The request has missing/invalid values",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
}
}
},
"404": {
"description": "Resource not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Not Found. Covenant Condition Set with given Parent id does not exist",
"type": "Error",
"errorCode": "Error Code"
}
]
}
}
}
},
"401": {
"description": "User is not authorized to perform this request",
"content": {
"application/json": {
"example": {
"message": "Unauthorized"
}
}
}
},
"403": {
"description": "Access to resource is forbidden.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Access denied. Following permissions are required: Permission1, Permission2",
"type": "Forbidden",
"errorCode": "Error Code"
}
]
}
}
}
},
"500": {
"description": "Internal server exception. Please, contact your provider.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "Internal server exception. Please, contact your provider.",
"type": "Error",
"errorCode": "INTERNAL_SERVER_ERROR"
}
]
}
}
}
},
"410": {
"description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StringServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
"type": "Error",
"errorCode": "OBSOLETE_ENDPOINT"
}
]
}
}
}
}
}
}
},
"/api/covenantcondition/version/{id}": {
"get": {
"tags": [
"CovenantCondition"
],
"summary": "Get a full Covenant Condition Version of specified Id",
"description": "\nThis method returns the full Covenant Condition Version of specified Id.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsAccess",
"operationId": "GetCovenantConditionVersionById",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the Covenant Condition Version to retrieve",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "X-TENANT-ID",
"in": "header",
"description": "The UiD of the tenant representing organization",
"required": true,
"schema": {
"type": "string"
},
"example": "b11f8be3-f29b-4959-8964-956d4af7c468"
}
],
"responses": {
"200": {
"description": "Success. A Covenant Condition Version Dto is returned",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceResponse"
}
}
}
},
"400": {
"description": "Bad request. The request has missing/invalid values",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
}
}
},
"404": {
"description": "Resource not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Not Found. Covenant Condition Version with given id does not exist",
"type": "Error",
"errorCode": "Error Code"
}
]
}
}
}
},
"401": {
"description": "User is not authorized to perform this request",
"content": {
"application/json": {
"example": {
"message": "Unauthorized"
}
}
}
},
"403": {
"description": "Access to resource is forbidden.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Access denied. Following permissions are required: Permission1, Permission2",
"type": "Forbidden",
"errorCode": "Error Code"
}
]
}
}
}
},
"500": {
"description": "Internal server exception. Please, contact your provider.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "Internal server exception. Please, contact your provider.",
"type": "Error",
"errorCode": "INTERNAL_SERVER_ERROR"
}
]
}
}
}
},
"410": {
"description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StringServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
"type": "Error",
"errorCode": "OBSOLETE_ENDPOINT"
}
]
}
}
}
}
}
}
},
"/api/covenantcondition/set/parent/{parentId}": {
"get": {
"tags": [
"CovenantCondition"
],
"summary": "Get a Covenant Condition Set with all versions of specified Parent Id",
"description": "\nThis method returns the Covenant Condition Set with all versions of specified Parent Id.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsAccess",
"operationId": "GetCovenantConditionSetByParentId",
"parameters": [
{
"name": "parentId",
"in": "path",
"description": "The Parent Id of the Covenant Condition Sets",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "X-TENANT-ID",
"in": "header",
"description": "The UiD of the tenant representing organization",
"required": true,
"schema": {
"type": "string"
},
"example": "b11f8be3-f29b-4959-8964-956d4af7c468"
}
],
"responses": {
"200": {
"description": "Success. A Covenant Condition Set is returned",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionSetDtoServiceResponse"
}
}
}
},
"400": {
"description": "Bad request. The request has missing/invalid values",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
}
}
},
"404": {
"description": "Resource not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Not Found",
"type": "Error",
"errorCode": "Error Code"
}
]
}
}
}
},
"401": {
"description": "User is not authorized to perform this request",
"content": {
"application/json": {
"example": {
"message": "Unauthorized"
}
}
}
},
"403": {
"description": "Access to resource is forbidden.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Access denied. Following permissions are required: Permission1, Permission2",
"type": "Forbidden",
"errorCode": "Error Code"
}
]
}
}
}
},
"500": {
"description": "Internal server exception. Please, contact your provider.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "Internal server exception. Please, contact your provider.",
"type": "Error",
"errorCode": "INTERNAL_SERVER_ERROR"
}
]
}
}
}
},
"410": {
"description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StringServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
"type": "Error",
"errorCode": "OBSOLETE_ENDPOINT"
}
]
}
}
}
}
}
}
},
"/api/covenantcondition/set/{setId}/version/{versionId}/snapshot": {
"get": {
"tags": [
"CovenantCondition"
],
"summary": "Get a policy snapshot for Covenant Condition by version number",
"description": "\nThis method returns the policy snapshot for Covenant Condition of specified set Id and Version.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsAccess",
"operationId": "GetCovenantConditionConfigurationSnapshotBySetVersionId",
"parameters": [
{
"name": "setId",
"in": "path",
"description": "The set id of the policy snapshot for Covenant Condition to retrieve",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "versionId",
"in": "path",
"description": "The version Id of the policy snapshot for Covenant Condition to retrieve",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "X-TENANT-ID",
"in": "header",
"description": "The UiD of the tenant representing organization",
"required": true,
"schema": {
"type": "string"
},
"example": "b11f8be3-f29b-4959-8964-956d4af7c468"
}
],
"responses": {
"200": {
"description": "Success. A Covenant Condition Policy Snapshot is returned",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SnapshotSetServiceResponse"
}
}
}
},
"400": {
"description": "Bad request. The request has missing/invalid values",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
}
}
},
"404": {
"description": "Resource not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Not Found. Covenant Condition Version with given id does not exist",
"type": "Error",
"errorCode": "Error Code"
}
]
}
}
}
},
"401": {
"description": "User is not authorized to perform this request",
"content": {
"application/json": {
"example": {
"message": "Unauthorized"
}
}
}
},
"403": {
"description": "Access to resource is forbidden.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Access denied. Following permissions are required: Permission1, Permission2",
"type": "Forbidden",
"errorCode": "Error Code"
}
]
}
}
}
},
"500": {
"description": "Internal server exception. Please, contact your provider.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "Internal server exception. Please, contact your provider.",
"type": "Error",
"errorCode": "INTERNAL_SERVER_ERROR"
}
]
}
}
}
},
"410": {
"description": "Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StringServiceResponse"
},
"example": {
"data": null,
"messages": [
{
"message": "This endpoint is obsolete and was terminated on yyyy-MM-dd",
"type": "Error",
"errorCode": "OBSOLETE_ENDPOINT"
}
]
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"BasicRuleDto": {
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"message": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"CollectionMaximumCountRuleDto": {
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"message": {
"type": "string",
"nullable": true
},
"requiredTypesMaxCount": {
"type": "object",
"additionalProperties": {
"type": "integer",
"format": "int32",
"nullable": true
},
"nullable": true
},
"overallMaximumCount": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"CollectionMinimumCountRuleDto": {
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"message": {
"type": "string",
"nullable": true
},
"requiredTypesMinCount": {
"type": "object",
"additionalProperties": {
"type": "integer",
"format": "int32",
"nullable": true
},
"nullable": true
},
"overallMinimumCount": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"CovenantConditionAssociationDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Covenant Condition Association Guid",
"format": "uuid",
"example": "2db5d6e8-4f16-4c88-8b43-837f03d7b45f"
},
"sourceId": {
"type": "string",
"description": "Association Source Id",
"format": "uuid",
"example": "a1f2c3e4-5678-49ab-9cde-0f1a2b3c4d5e"
},
"targetId": {
"type": "string",
"description": "Association Target Id",
"format": "uuid",
"example": "f6e7d8c9-0a1b-2c3d-4e5f-6a7b8c9d0e1f"
},
"targetType": {
"type": "string",
"description": "Association Target Type",
"nullable": true,
"example": "Entity"
}
},
"additionalProperties": false,
"description": "Covenant Condition Association DTO"
},
"CovenantConditionGroupDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Covenant Condition Group Id",
"format": "uuid",
"example": "51209731-77df-4e72-98e7-0d314b7a5151"
},
"dataGroupId": {
"type": "string",
"description": "Data Group Id",
"format": "uuid",
"example": "e6af5a6d-1f91-49b2-ae75-8d299ebc613d"
},
"dataGroupVersionNumber": {
"type": "integer",
"description": "Data Group Version Number.",
"format": "int32",
"nullable": true,
"example": 1
},
"name": {
"type": "string",
"description": "Covenant Condition Group Name",
"nullable": true,
"example": "Financial Covenants 1"
},
"type": {
"type": "string",
"description": "Covenant Condition Group Type",
"nullable": true,
"example": "Financial Covenants"
},
"covenantConditionItems": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CovenantConditionItemDto"
},
"description": "List of Covenant Condition Items",
"nullable": true
}
},
"additionalProperties": false,
"description": "Covenant Condition Group"
},
"CovenantConditionItemDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Covenant Condition Item GUiD",
"format": "uuid",
"example": "88009731-77df-4e72-98e7-0d314b7a5151"
},
"dataKey": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"description": "Covenant Condition Item Value",
"nullable": true,
"example": "Covenant 1"
},
"properties": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/SinglePropertyDto"
},
"description": "Properties of a Covenant Condition Item",
"nullable": true
},
"associations": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CovenantConditionAssociationDto"
},
"description": "List of Covenant Condition Associations",
"nullable": true
}
},
"additionalProperties": false,
"description": "Covenant Condition Item"
},
"CovenantConditionSetDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Covenant Condition Set GUiD",
"format": "uuid",
"example":
# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/fenergo/refs/heads/main/openapi/fenergo-covenantsconditionsquery-v1-0-openapi.json