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 Command API",
"description": "**Covenants & Conditions Command API**:<br/><br/><br/> Covenants & Conditions Command API provides endpoints in order to manage and configure all related models and their versions.<br/><br/><br/> **Covenants & Conditions Command API provides**:<br/><ul><li> The ability to manage Covenant Condition Set.</li><li> The ability to manage Covenant Condition Version.</li></ul>",
"version": "1.0"
},
"servers": [
{
"url": "/covenantsconditionscommand"
}
],
"paths": {
"/api/CovenantCondition": {
"post": {
"tags": [
"CovenantCondition"
],
"summary": "Create a new Covenant Condition Set",
"description": "\nCreates a new Covenant Condition Set for the parent.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsEdit",
"operationId": "CreateCovenantConditionSet",
"parameters": [
{
"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"
}
],
"requestBody": {
"description": "Create Covenant Condition Set request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionSetDtoServiceRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionSetDtoServiceRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionSetDtoServiceRequest"
}
}
}
},
"responses": {
"202": {
"description": "Success. Covenant Condition Set created",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionSetDtoServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionSetDtoServiceResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionSetDtoServiceResponse"
}
}
}
},
"400": {
"description": "Bad request. The request has missing/invalid values",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"text/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/{setId}/version": {
"post": {
"tags": [
"CovenantCondition"
],
"summary": "Create a new Covenant Condition Version",
"description": "\nThis method creates a new Covenant Condition Version based on the previous completed version.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsEdit",
"operationId": "CreateCovenantConditionVersion",
"parameters": [
{
"name": "setId",
"in": "path",
"description": "Covenant Condition Set 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"
}
],
"requestBody": {
"description": "ServiceRequest with the schema snapshot data",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceRequest"
}
}
}
},
"responses": {
"202": {
"description": "Accepted for processing",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceResponse"
}
}
}
},
"400": {
"description": "Invalid request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
}
}
},
"404": {
"description": "Resource not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Covenant Condition Set with given ID does not exists",
"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/{setId}/version/{id}": {
"put": {
"tags": [
"CovenantCondition"
],
"summary": "Update a Covenant Condition Version",
"description": "\nThis method updates an existing Covenant Condition Version.\n\nOnly Covenant Condition Version with draft status can be updated.\n\nOnly Covenant Condition Version that satisfies non-mandatory validation rules can be updated.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsEdit",
"operationId": "UpdateCovenantConditionVersion",
"parameters": [
{
"name": "setId",
"in": "path",
"description": "Covenant Condition Set Id",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "id",
"in": "path",
"description": "Covenant Condition Version 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"
}
],
"requestBody": {
"description": "Covenant Condition Version data",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceRequest"
}
}
}
},
"responses": {
"202": {
"description": "Accepted for processing",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/CovenantConditionVersionDtoServiceResponse"
}
}
}
},
"400": {
"description": "Invalid request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
}
}
},
"404": {
"description": "Resource not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Covenant Condition with given ID does not exists",
"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/{setId}/version/{id}/status": {
"put": {
"tags": [
"CovenantCondition"
],
"summary": "Update a Covenant Condition Version status",
"description": "\nThis method updates an existing Covenant Condition Version status.\n\nOnly Covenant Condition Version with draft status can be updated.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsEdit",
"operationId": "UpdateCovenantConditionVersionStatus",
"parameters": [
{
"name": "setId",
"in": "path",
"description": "Covenant Condition Set Id",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
"name": "id",
"in": "path",
"description": "Covenant Condition Version 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"
}
],
"requestBody": {
"description": "Status body: Draft, Completed, Rejected, Verified",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceRequest"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceRequest"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceRequest"
}
}
}
},
"responses": {
"202": {
"description": "Accepted for processing",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceResponse"
}
}
}
},
"400": {
"description": "Invalid request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
}
}
},
"404": {
"description": "Resource not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ObjectServiceResponse"
},
"example": {
"data": { },
"messages": [
{
"message": "Covenant Condition Set with given ID does not exists",
"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/journey/{journeyId}/verify": {
"put": {
"tags": [
"CovenantCondition"
],
"summary": "Update a Covenant Condition Version status",
"description": "\nThis method verify the completed Covenant Condition Versions for the journey.\n\nOnly Covenant Condition Version with Completed status can be verified.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsEdit",
"operationId": "VerifyCovenantConditionsForJourney",
"parameters": [
{
"name": "journeyId",
"in": "path",
"description": "Journey 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": {
"202": {
"description": "Accepted for processing",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/StatusDtoServiceResponse"
}
}
}
},
"400": {
"description": "Invalid request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ValidationErrorModelListServiceResponse"
}
},
"text/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}/snapshot": {
"post": {
"tags": [
"CovenantCondition"
],
"summary": "Take a policy snapshot for Covenant Condition",
"description": "\nThis method take a policy snapshot for a Covenant Condition.<br /><br /><b>Required permissions:</b><br />Following permissions are required: CovenantsConditionsEdit",
"operationId": "SnapshotCovenantConditionConfiguration",
"parameters": [
{
"name": "setId",
"in": "path",
"description": "Covenant Condition Set Id",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
},
{
# --- truncated at 32 KB (78 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/fenergo/refs/heads/main/openapi/fenergo-covenantsconditionscommand-v1-0-openapi.json