ddm-rrm-rest-api/src/main/java/com/epam/digital/data/platform/management/restapi/controller/CandidateVersionBusinessProcessesController.java [192:224]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    return ResponseEntity.ok()
        .contentType(MediaType.TEXT_XML)
        .eTag(ETagUtils.getETagFromContent(response))
        .body(response);
  }

  @Operation(description = "Update business process",
      parameters = {
          @Parameter(in = ParameterIn.HEADER,
              name = "X-Access-Token",
              description = "Token used for endpoint security",
              required = true,
              schema = @Schema(type = "string")),
          @Parameter(in = ParameterIn.HEADER,
              name = "If-Match",
              description = "ETag to verify whether user has latest data",
              schema = @Schema(type = "string")
          )
      },
      responses = {
          @ApiResponse(responseCode = "200",
              description = "OK",
              content = @Content(mediaType = MediaType.TEXT_XML_VALUE)),
          @ApiResponse(responseCode = "401",
              description = "Unauthorized",
              content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE)),
          @ApiResponse(responseCode = "403",
              description = "Forbidden",
              content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE)),
          @ApiResponse(responseCode = "404",
              description = "Not Found",
              content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
                  schema = @Schema(implementation = DetailedErrorResponse.class))),
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ddm-rrm-rest-api/src/main/java/com/epam/digital/data/platform/management/restapi/controller/MasterVersionBusinessProcessesController.java [135:168]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    return ResponseEntity.ok()
        .contentType(MediaType.TEXT_XML)
        .eTag(ETagUtils.getETagFromContent(response))
        .body(response);
  }

  @Operation(description = "Update business process",
      parameters = {
          @Parameter(in = ParameterIn.HEADER,
              name = "X-Access-Token",
              description = "Token used for endpoint security",
              required = true,
              schema = @Schema(type = "string")),
          @Parameter(in = ParameterIn.HEADER,
              name = "If-Match",
              description = "ETag to verify whether user has latest data",
              schema = @Schema(type = "string")
          )
      },

      responses = {
          @ApiResponse(responseCode = "200",
              description = "OK",
              content = @Content(mediaType = MediaType.TEXT_XML_VALUE)),
          @ApiResponse(responseCode = "401",
              description = "Unauthorized",
              content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE)),
          @ApiResponse(responseCode = "403",
              description = "Forbidden",
              content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE)),
          @ApiResponse(responseCode = "404",
              description = "Not Found",
              content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE,
                  schema = @Schema(implementation = DetailedErrorResponse.class))),
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



