openapi: 3.2.0 info: title: Fenergo Review Config API version: '1.0' description: 'Operations tagged ReviewConfig across 2 of this provider''s published API definitions: fenergo-reviewcommand-v1-0-openapi.json, fenergo-reviewquery-v1-0-openapi.json. Each path carries the servers of the definition it was published in.' servers: - url: /reviewcommand - url: /reviewquery security: - Bearer: [] tags: - name: ReviewConfig paths: /api/review-config/deferred-doc-requirements: put: tags: - ReviewConfig summary: Update Deferred Document Requirements Review Config of your tenant description: 'Updates an existing deferred document requirements review config. Required permissions: Following permissions are required: DeferredDocRequirementsReviewConfigEdit' operationId: UpdateDeferredDocRequirementsReviewConfig 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: Update review config request. Must contain review properties content: application/json: schema: allOf: - $ref: '#/components/schemas/UpdateDeferredDocRequirementsReviewConfigDtoServiceRequest' responses: '202': description: Success. Deferred Doc Requirements Review Config updated content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '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 get: tags: - ReviewConfig summary: Get Deferred Document Requirements Review Config for your tenant description: 'Required permissions: Following permissions are required: DeferredDocRequirementsReviewConfigAccess' operationId: GetDeferredDocRequirementsReviewConfig 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: Success. Deferred Doc Requirements Review Config retrieved content: application/json: schema: $ref: '#/components/schemas/DeferredDocRequirementsReviewConfigDtoServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '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: /reviewcommand components: schemas: ServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false ValidationErrorModelListServiceResponse: type: object properties: data: type: - array - 'null' items: $ref: '#/components/schemas/ValidationErrorModel' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false example: data: - propertyName: data errorMessage: Data is required attemptedValue: '' errorCode: NotNullValidator messages: - message: Data is required type: Error errorCode: Error Code ValidationErrorModel: type: object properties: propertyName: type: - string - 'null' errorMessage: type: - string - 'null' attemptedValue: {} errorCode: type: - string - 'null' additionalProperties: false UpdateDeferredDocRequirementsReviewConfigDto: required: - isEnabled - journeyType type: object properties: isEnabled: type: boolean journeyType: type: - string - 'null' additionalProperties: false ServiceResponseMessage: type: object properties: message: type: - string - 'null' type: type: - string - 'null' errorCode: type: - string - 'null' additionalProperties: false UpdateDeferredDocRequirementsReviewConfigDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/UpdateDeferredDocRequirementsReviewConfigDto' additionalProperties: false ObjectServiceResponse: type: object properties: data: {} 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 DeferredDocRequirementsReviewConfigDto: required: - isEnabled - journeyType type: object properties: isEnabled: type: boolean description: Is deferred document requirements mechanism enabled. example: true journeyType: type: - string - 'null' description: Type of the journey to launch as a review. example: DeferredDocumentRequirementsReview additionalProperties: false description: Configuration for Deferred Document Requirements Review. DeferredDocRequirementsReviewConfigDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/DeferredDocRequirementsReviewConfigDto' description: Configuration for Deferred Document Requirements Review. 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-reviewcommand-v1-0-openapi.json - fenergo-reviewquery-v1-0-openapi.json