openapi: 3.2.0 info: title: Fenergo Risk Configuration API version: '1.0' description: 'Operations tagged RiskConfiguration across 2 of this provider''s published API definitions: fenergo-riskcommand-v1-0-openapi.json, fenergo-riskquery-v1-0-openapi.json. Each path carries the servers of the definition it was published in.' servers: - url: /riskcommand - url: /riskquery security: - Bearer: [] tags: - name: RiskConfiguration paths: /api/risk-configuration: post: tags: - RiskConfiguration summary: Create a new RiskConfiguration model description: 'This method will create a new RiskConfiguration model with a first draft version. The new version will initialize with the DTO data and have the default status of Draft and the Author as the only required Signee. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: CreateRiskConfigurationModel 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: ServiceRequest with the RiskConfigurationModelDto to create content: application/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' responses: '202': description: RiskConfiguration model created successfully content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 get: tags: - RiskConfiguration summary: Get all RiskConfiguration models description: 'This method returns all risk configuration models for the given tenant. Required permissions: At least one of the following permissions is required: RiskConfigurationAccess, RiskCalculatorAccess' operationId: GetAllRiskConfigurationModels 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 responses: '200': description: OK content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoIEnumerableServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoIEnumerableServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoIEnumerableServiceResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '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 servers: - url: /riskcommand /api/risk-configuration/{id}: post: tags: - RiskConfiguration summary: Create a new Version for an existing RiskConfiguration model description: 'This method will create a new RiskConfiguration model version. The new version will initialize with the DTO data. It will be assigned the next available version number, the default status of Draft and the Author as the only required Signee. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: CreateRiskConfigurationModelVersion parameters: - name: id in: path description: The Id of the existing model 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 new version data content: application/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' responses: '202': description: RiskConfiguration model version created successfully content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' '400': description: Model Id is invalid content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 put: tags: - RiskConfiguration summary: Update an existing Version of a RiskConfiguration model description: 'This method will update an existing RiskConfiguration model version. Only Draft and Rejected versions are allowed to be updated. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: UpdateRiskConfigurationModel parameters: - name: id in: path description: The Id of the existing model 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 updated version data content: application/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' responses: '202': description: RiskConfiguration model version updated successfully '400': description: Model Id is invalid content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 delete: tags: - RiskConfiguration summary: Delete an existing RiskConfiguration model description: 'This method will delete an existing RiskConfiguration model as well as all its versions. Required permissions: Following permissions are required: RiskConfigurationDelete' operationId: DeleteRiskConfigurationModel parameters: - name: id in: path description: The Id of the existing model to delete 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: RiskConfiguration model deleted successfully '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 get: tags: - RiskConfiguration summary: Get the active version of an existing RiskConfiguration model description: 'This method returns the active, currently in effect, published version for a given risk configuration model. Required permissions: Following permissions are required: RiskConfigurationAccess' operationId: GetRiskConfigurationModelById parameters: - name: id in: path description: The Id of the existing model required: true schema: type: string - 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: OK content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationModelVersionDtoServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationModelVersionDtoServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationModelVersionDtoServiceResponse' '400': description: Model Id is invalid content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: No active version was found type: Error errorCode: Error Code '500': description: An exception occurred while processing the command '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 '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 servers: - url: /riskcommand /api/risk-configuration/{id}/version/{versionNumber}/draft: post: tags: - RiskConfiguration summary: Create a draft from an existing Version of a RiskConfiguration model description: 'This method will clone the selected version of an existing RiskConfiguration model and create a new draft with the next version number. The new version will contain all the data of the original selected one, will have the default status of Draft and the Author as the only required Signee. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: CreateRiskConfigurationModelVersionDraft parameters: - name: id in: path description: '' required: true schema: type: string format: uuid - name: versionNumber in: path description: '' required: true schema: type: integer format: int32 - 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: '' content: application/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' responses: '202': description: New draft of RiskConfiguration model created successfully content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' '400': description: The Tenant header is missing content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 servers: - url: /riskcommand /api/risk-configuration/{id}/version/{versionNumber}/clone: post: tags: - RiskConfiguration summary: Clone an existing Version of a RiskConfiguration model to a new model description: 'This method will clone the selected version of an existing RiskConfiguration model and create a new model with a single version. The new version will contain all the data of the original selected one, will have the default status of Draft and the Author as the only required Signee. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: CloneRiskConfigurationModelVersion parameters: - name: id in: path description: The Id of the existing model required: true schema: type: string format: uuid - name: versionNumber in: path description: The version number of the version to clone required: true schema: type: integer format: int32 - 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: RiskConfiguration model cloned successfully content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationModelDtoServiceResponse' '400': description: The Tenant header is missing content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 servers: - url: /riskcommand /api/risk-configuration/{id}/version/{versionNumber}/sign: put: tags: - RiskConfiguration summary: Sign an existing Version of a RiskConfiguration model description: 'This method will Sign the selected version of an existing RiskConfiguration model. The Status of the version will change according to the action sent (Approve/Reject). Required permissions: Following permissions are required: RiskConfigurationApprove' operationId: SignRiskConfigurationModelVersion parameters: - name: id in: path description: The Id of the existing model required: true schema: type: string format: uuid - name: versionNumber in: path description: The version number of the version to sign required: true schema: type: integer format: int32 - 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 Fenergo.Nebula.Versioning.Models.ApproveAction signing data content: application/json: schema: allOf: - $ref: '#/components/schemas/ApproveActionServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/ApproveActionServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/ApproveActionServiceRequest' responses: '202': description: RiskConfiguration model version signed successfully content: text/plain: schema: $ref: '#/components/schemas/ModelVersionSignResponseServiceResponse' application/json: schema: $ref: '#/components/schemas/ModelVersionSignResponseServiceResponse' text/json: schema: $ref: '#/components/schemas/ModelVersionSignResponseServiceResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 servers: - url: /riskcommand /api/risk-configuration/{id}/version/{versionNumber}/archive: put: tags: - RiskConfiguration summary: Archive an existing Version of a RiskConfiguration model description: 'This method will Archive the selected version of an existing RiskConfiguration model. Required permissions: Following permissions are required: RiskConfigurationArchive' operationId: ArchiveRiskConfigurationModelVersion parameters: - name: id in: path description: The Id of the existing model required: true schema: type: string format: uuid - name: versionNumber in: path description: The version number of the version to archive required: true schema: type: integer format: int32 - 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 Fenergo.Nebula.Risk.Command.Application.Dto.RiskConfigurationModelDto to archive content: application/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' responses: '202': description: RiskConfiguration model version archived successfully '400': description: Model Id is invalid content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 servers: - url: /riskcommand /api/risk-configuration/{id}/version/{versionNumber}/submit: put: tags: - RiskConfiguration summary: Submit an existing Version of a RiskConfiguration model for Approval description: 'This method will submit the selected version of an existing RiskConfiguration model for Approval. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: SubmitRiskConfigurationModelVersion parameters: - name: id in: path description: The Id of the existing model required: true schema: type: string format: uuid - name: versionNumber in: path description: The version number of the version to submit required: true schema: type: integer format: int32 - 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 Fenergo.Nebula.Risk.Command.Application.Dto.RiskConfigurationModelDto to submit content: application/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDtoServiceRequest' responses: '202': description: RiskConfiguration model version submitted successfully '400': description: Model Id is invalid content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 servers: - url: /riskcommand /api/risk-configuration/{id}/version/{versionNumber}: delete: tags: - RiskConfiguration summary: Delete an existing Version of a RiskConfiguration model description: 'This method will Delete the selected version of an existing RiskConfiguration model. If the version is the last one, then the version number of it will become the next available one for the model. Otherwise, the version number will be flagged as Deleted and become unavailable. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: DeleteRiskConfigurationModelVersion parameters: - name: id in: path description: The Id of the existing model required: true schema: type: string format: uuid - name: versionNumber in: path description: The version number of the version to submit required: true schema: type: integer format: int32 - 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: RiskConfiguration model version deleted successfully '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 get: tags: - RiskConfiguration summary: Get the specified version of an existing RiskConfiguration model description: 'This method returns the, specified by number, version for a given risk configuration model. Required permissions: At least one of the following permissions is required: RiskConfigurationAccess, RiskCalculatorAccess' operationId: GetRiskConfigurationModelByVersionNumber parameters: - name: id in: path description: The Id of the existing model required: true schema: type: string - name: versionNumber in: path description: The version number to retrieve required: true schema: type: integer format: int32 - 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: OK content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationModelVersionDtoServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationModelVersionDtoServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationModelVersionDtoServiceResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Model Id is invalid type: Error errorCode: Error Code '500': description: An exception occurred while processing the command '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 '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 servers: - url: /riskcommand /api/risk-configuration/{riskConfigurationId}/configuration-collection: post: tags: - RiskConfiguration summary: Create a new RiskConfigurationCollection description: 'This method will create a new RiskConfigurationCollection and add it to the selected version of an existing RiskConfiguration model. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: CreateRiskConfigurationCollection parameters: - name: riskConfigurationId in: path description: The Id of the RiskConfiguration model the collection belongs to 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 Fenergo.Nebula.Risk.Command.Application.Dto.RiskConfigurationCollectionDto to create content: application/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceRequest' responses: '202': description: RiskConfigurationCollection created successfully content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 servers: - url: /riskcommand /api/risk-configuration/{riskConfigurationId}/configuration-collection/{riskCollectionId}: put: tags: - RiskConfiguration summary: Update an existing RiskConfigurationCollection description: 'This method will update the Items and custom Thresholds of an existing RiskConfigurationCollection. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: UpdateRiskConfigurationCollection parameters: - name: riskCollectionId in: path description: The Id of the existing collection required: true schema: type: string format: uuid - name: riskConfigurationId in: path description: The Id of the RiskConfiguration model the collection belongs to 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 updated collection data content: application/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/RiskConfigurationCollectionDtoServiceRequest' responses: '202': description: RiskConfigurationCollection updated successfully '400': description: Model Id is invalid content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the command '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 '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 delete: tags: - RiskConfiguration summary: Delete an existing RiskConfigurationCollection description: 'This method will delete an existing RiskConfigurationCollection and remove it from the selected version of an existing RiskConfiguration model. Required permissions: Following permissions are required: RiskConfigurationEdit' operationId: DeleteRiskConfigurationCollection parameters: - name: riskCollectionId in: path description: The Id of the existing collection required: true schema: type: string format: uuid - name: riskConfigurationId in: path description: The Id of the RiskConfiguration model the collection belongs to required: true schema: type: string format: uuid - name: parentVersionNumber in: query description: The version number of the version the collection belongs to required: true schema: type: integer format: int32 - 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 '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: Internal Server Error '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 '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 servers: - url: /riskcommand /api/risk-configuration/configuration-collection/{id}: get: tags: - RiskConfiguration summary: Get the specified risk configuration collection description: 'This method returns the, specified by id, risk configuration collection data. Required permissions: Following permissions are required: RiskConfigurationAccess' operationId: GetRiskConfigurationCollectionById parameters: - name: id in: path description: The Id of the collection to get required: true schema: type: string - 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: OK content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationCollectionServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationCollectionServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationCollectionServiceResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Specified collection was 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 servers: - url: /riskquery /api/risk-configuration/configuration-collection/{id}/configuration-item/{itemName}: get: tags: - RiskConfiguration summary: Get the specified item of a risk configuration collection description: 'This method returns the specified collection item of the given risk configuration collection. Required permissions: Following permissions are required: RiskConfigurationAccess' operationId: GetRiskConfigurationItemFromCollectionByItemName parameters: - name: id in: path description: The Id of the collection the item belongs to required: true schema: type: string - name: itemName in: path description: The name of the item to get required: true schema: type: string - 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: OK content: text/plain: schema: $ref: '#/components/schemas/RiskConfigurationItemServiceResponse' application/json: schema: $ref: '#/components/schemas/RiskConfigurationItemServiceResponse' text/json: schema: $ref: '#/components/schemas/RiskConfigurationItemServiceResponse' '400': description: Bad Request content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Specified collection or item was 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 servers: - url: /riskquery components: schemas: RiskConfigurationCollectionDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/RiskConfigurationCollectionDto' description: A risk configuration collection of Items and Thresholds additionalProperties: false RiskConfigurationModelDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDto' description: RiskConfiguration model version wrapper additionalProperties: false Signee: type: object properties: subject: type: - string - 'null' successor: allOf: - $ref: '#/components/schemas/Approver' action: allOf: - $ref: '#/components/schemas/ApproveAction' hasProcessedRequest: type: boolean readOnly: true additionalProperties: false RiskConfigurationModelDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/RiskConfigurationModelDto' description: RiskConfiguration model version wrapper messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false RiskConfigurationModelVersionDto: required: - effectiveFrom - name - versionNumber type: object properties: parentRiskConfigurationModelId: type: string description: The UiD of the model that the version belongs to format: uuid example: 118313c6-91e6-4b05-a537-5a1ab906418f name: minLength: 1 type: string description: Display name of the model example: Global Configuration Model versionNumber: maximum: 2147483647 minimum: 1 type: integer description: The number of the model version format: int32 example: 4 effectiveFrom: type: string description: The date that the version takes effect when published format: date-time created: type: string description: The creation date of the version format: date-time status: allOf: - $ref: '#/components/schemas/VersionStatus' description: The status of the version example: Draft signees: type: - array - 'null' items: $ref: '#/components/schemas/Signee' description: The defined list of signees for the version notes: maxLength: 2000 type: - string - 'null' description: Optional description of changes made that will be visible to all users who can access the version. It's assumed that version notes won't contain 'personal identifiable information'. Please note that having many versions with very long notes could hurt API performance in the long term. example: Example Notes additionalProperties: false description: A RiskConfiguration model Version RiskConfigurationCollectionDto: required: - name - parentRiskConfigurationId type: object properties: collectionId: type: string description: The UiD of the collection format: uuid example: 118313c6-91e6-4b05-a537-5a1ab906418f parentRiskConfigurationId: type: string description: The UiD of the configuration model, the collection belongs to format: uuid example: 16d3c5e6-2e50-4d55-bcc8-c46d37fa3fb9 parentVersionNumber: maximum: 2147483647 minimum: 1 type: integer description: The version number of the model that the collection is part of format: int32 example: 2 name: minLength: 1 type: string description: Display name of the collection example: Business Industry collectionType: type: - string - 'null' description: The type of the collection (Lookup/Numeric) example: Lookup configurationItems: type: - array - 'null' items: $ref: '#/components/schemas/RiskConfigurationItemDto' description: The list of Configuration Items that belong to the collection thresholds: type: - array - 'null' items: $ref: '#/components/schemas/ThresholdDto' description: The custom thresholds defined for this collection additionalProperties: false description: A risk configuration collection of Items and Thresholds ThresholdDto: required: - name type: object properties: name: minLength: 1 type: string description: Display name of the threshold example: Low minimumValue: type: - number - 'null' description: Minimum value of the threshold range format: double example: -10 maximumValue: type: - number - 'null' description: Maximum value of the threshold range format: double example: 1.999 nextReviewPeriod: type: - integer - 'null' description: The period in months for the next review of the client format: int32 example: 1 thresholdColor: pattern: ^#[0-9A-Fa-f]{6}$ type: - string - 'null' description: 'Optional UI color assigned to this threshold range for visualization purposes. Must be a valid hex value in the form #RRGGBB.' example: '#FF0000' additionalProperties: false description: A range of values that define a threshold RiskConfigurationModelDto: required: - riskConfigurationModelVersion type: object properties: id: type: string description: The UiD of the risk configuration model format: uuid example: 118313c6-91e6-4b05-a537-5a1ab906418f riskConfigurationModelVersion: allOf: - $ref: '#/components/schemas/RiskConfigurationModelVersionDto' description: The version of the model additionalProperties: false description: RiskConfiguration model version wrapper RiskConfigurationCollectionDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/RiskConfigurationCollectionDto' description: A risk configuration collection of Items and Thresholds messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false ServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false Decision: enum: - Approve - Reject type: string ApproveActionServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/ApproveAction' additionalProperties: false ModelVersionSignResponse: type: object properties: parentModelId: type: string description: The Id of the model the version belongs to format: uuid example: 118313c6-91e6-4b05-a537-5a1ab906418f versionNumber: type: integer description: The number of the version that has been signed format: int32 example: 3 status: allOf: - $ref: '#/components/schemas/VersionStatus' description: The new version status example: Published additionalProperties: false description: Contains the new version Status, after a version sign operation RiskConfigurationItemDto: required: - name type: object properties: name: minLength: 1 type: string description: Display name of the item example: Tourism riskLevel: type: number description: The risk level assigned to the item format: double example: 99.88 minRangeValue: type: number description: If the type of the collection is Numeric, the minimum of valid risk level values for the item format: double example: 3.01 maxRangeValue: type: number description: If the type of the collection is Numeric, the maximum of valid risk level values for the item format: double example: 142.14 additionalProperties: false description: A risk configuration collection item ObjectServiceResponse: type: object properties: data: {} messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false Approver: type: object properties: subject: type: - string - 'null' successor: allOf: - $ref: '#/components/schemas/Approver' action: allOf: - $ref: '#/components/schemas/ApproveAction' hasProcessedRequest: type: boolean readOnly: true additionalProperties: false ModelVersionSignResponseServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/ModelVersionSignResponse' description: Contains the new version Status, after a version sign operation messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false StringServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false VersionStatus: enum: - Draft - Pending - Rejected - Published - Archived - Deleted type: string ServiceResponseMessage: type: object properties: message: type: - string - 'null' type: type: - string - 'null' errorCode: type: - string - 'null' additionalProperties: false ApproveAction: type: object properties: comment: type: - string - 'null' decision: allOf: - $ref: '#/components/schemas/Decision' created: type: string format: date-time additionalProperties: false RiskConfigurationModelVersionDto_2: type: object properties: id: type: string description: The UiD of the version format: uuid example: baee4b61-7ebb-48b2-a44b-18ce814b703b parentRiskConfigurationModelId: type: string description: The UiD of the risk configuration model that the version belongs to format: uuid example: 118313c6-91e6-4b05-a537-5a1ab906418f versionNumber: type: integer description: The versions number format: int32 example: 1 effectiveFrom: type: string description: The date that the version takes effect when published format: date-time effectiveUntil: type: - string - 'null' description: The calculated date that the version ceases being active format: date-time publicationDate: type: - string - 'null' description: The date that the version got published format: date-time status: allOf: - $ref: '#/components/schemas/VersionStatus' description: The status of the version example: Draft name: type: - string - 'null' description: Display name of the model example: Global Configuration Model created: type: string description: The creation date of the version format: date-time riskConfigurationCollections: type: - array - 'null' items: $ref: '#/components/schemas/RiskConfigurationCollection' description: The list of risk configuration collections that belong to the version isActive: type: boolean description: 'The calculated flag to annotate whether this is the model''s active version at the time of the query' example: true signees: type: - array - 'null' items: $ref: '#/components/schemas/Signee' description: The defined list of signees for the version notes: type: - string - 'null' description: Optional description of changes made that will be visible to all users who can access the version. It's assumed that version notes won't contain 'personal identifiable information'. Please note that having many versions with very long notes could hurt API performance in the long term. example: Example Notes additionalProperties: false description: RiskConfiguration model version data RiskConfigurationItem: type: object properties: name: type: - string - 'null' riskLevel: type: number format: double minRangeValue: type: number format: double maxRangeValue: type: number format: double additionalProperties: false RiskConfigurationCollection: type: object properties: id: type: string format: uuid parentRiskConfigurationId: type: string format: uuid parentVersionNumber: type: integer format: int32 name: type: - string - 'null' collectionType: type: - string - 'null' configurationItems: type: - array - 'null' items: $ref: '#/components/schemas/RiskConfigurationItem' thresholds: type: - array - 'null' items: $ref: '#/components/schemas/Threshold' hasCustomThresholds: type: boolean readOnly: true additionalProperties: false RiskConfigurationModelVersionDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/RiskConfigurationModelVersionDto_2' description: RiskConfiguration model version data messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false RiskConfigurationModelDto_2: type: object properties: id: type: string description: The UiD of the risk configuration model format: uuid example: 118313c6-91e6-4b05-a537-5a1ab906418f versions: type: - array - 'null' items: $ref: '#/components/schemas/RiskConfigurationModelVersionDto_2' description: A list of the model versions metadata and calculated properties additionalProperties: false description: RiskConfiguration model with all version metadata RiskConfigurationCollectionServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/RiskConfigurationCollection' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false RiskConfigurationItemServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/RiskConfigurationItem' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false Threshold: type: object properties: name: type: - string - 'null' minimumValue: type: - number - 'null' format: double maximumValue: type: - number - 'null' format: double nextReviewPeriod: type: - integer - 'null' format: int32 thresholdColor: type: - string - 'null' additionalProperties: false RiskConfigurationModelDtoIEnumerableServiceResponse: type: object properties: data: type: - array - 'null' items: $ref: '#/components/schemas/RiskConfigurationModelDto_2' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false securitySchemes: Bearer: type: apiKey description: Please insert JWT with Bearer into field name: Authorization in: header x-refined-from: - fenergo-riskcommand-v1-0-openapi.json - fenergo-riskquery-v1-0-openapi.json