Bulk Renewal Job Storage version v1.0
http://localhost:9130
Bulk Renewal Job Storage API
Storage for bulk renewal jobs. Updates use optimistic locking - a PUT with a stale _version is rejected with 409.
/bulk-renewal-job-storage
Collection of bulk-renewal-job items.
Get bulk renewal jobs
Create a bulk renewal job
get /bulk-renewal-job-storage/bulk-renewal-jobs
Get bulk renewal jobs
Query Parameters
- totalRecords: (string - default: auto - pattern: exact|estimated|none|auto)
How to calculate the totalRecords property. "exact" for the correct number, "estimated" for an estimation, "auto" to automatically select "exact" or "estimated", "none" for suppressing the totalRecords property. For details see https://github.com/folio-org/raml-module-builder#estimated-totalrecords
Example:
none - offset: (integer - default: 0 - minimum: 0 - maximum: 2147483647)
Skip over a number of elements by specifying an offset value for the query
Example:
0 - limit: (integer - default: 10 - minimum: 0 - maximum: 2147483647)
Limit the number of elements returned in the response. Using limit=0 will return totalRecords with the exact value. For details about totalRecords see https://github.com/folio-org/raml-module-builder#estimated-totalrecords
Example:
10 - query: (string)
A query expressed as a CQL string (see dev.folio.org/reference/glossary#cql) using valid searchable fields. The first example below shows the general form of a full CQL query, but those fields might not be relevant in this context.
with valid searchable fields
Example:
(username=="ab*" or personal.firstName=="ab*" or personal.lastName=="ab*") and active=="true" sortby personal.lastName personal.firstName barcode status==RUNNING
HTTP status code 200
Returns a list of bulk-renewal-job items
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Collection of bulk renewal jobs",
"type": "object",
"properties": {
"bulkRenewalJobs": {
"description": "List of bulk renewal jobs",
"id": "bulkRenewalJobs",
"type": "array",
"items": {
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Bulk Renewal Job Schema",
"description": "Record of a bulk renewal job, its lifecycle state and processing statistics",
"properties": {
"id": {
"description": "ID of the bulk renewal job",
"type": "string",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "uuid.schema",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[1-5][a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$"
},
"status": {
"description": "Lifecycle status of the bulk renewal job",
"type": "string",
"enum": [
"RUNNING",
"STOPPING",
"COMPLETED",
"STOPPED",
"FAILED"
]
},
"startedDate": {
"description": "Date and time when the job started",
"type": "string",
"format": "date-time"
},
"endedDate": {
"description": "Date and time when the job ended",
"type": "string",
"format": "date-time"
},
"totalEligibleLoans": {
"description": "Total number of loans eligible for renewal",
"type": "integer",
"minimum": 0
},
"processedLoans": {
"description": "Number of loans processed so far",
"type": "integer",
"minimum": 0
},
"successfulRenewals": {
"description": "Number of loans renewed successfully",
"type": "integer",
"minimum": 0
},
"failedRenewals": {
"description": "Number of loans for which renewal failed",
"type": "integer",
"minimum": 0
},
"reason": {
"description": "Reason the job was stopped or failed",
"type": "string"
},
"metadata": {
"description": "Metadata about creation and changes, provided by the server (client should not provide)",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "metadata.schema",
"title": "Metadata Schema",
"properties": {
"createdDate": {
"description": "Date and time when the record was created",
"type": "string",
"format": "date-time"
},
"createdByUserId": {
"description": "ID of the user who created the record (when available)",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"createdByUsername": {
"description": "Username of the user who created the record (when available)",
"type": "string"
},
"updatedDate": {
"description": "Date and time when the record was last updated",
"type": "string",
"format": "date-time"
},
"updatedByUserId": {
"description": "ID of the user who last updated the record (when available)",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"updatedByUsername": {
"description": "Username of the user who last updated the record (when available)",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"createdDate"
]
},
"_version": {
"description": "Record version used for optimistic locking, provided by the server",
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"id",
"status",
"startedDate",
"totalEligibleLoans",
"processedLoans",
"successfulRenewals",
"failedRenewals"
]
}
},
"totalRecords": {
"type": "integer"
}
},
"required": [
"bulkRenewalJobs",
"totalRecords"
]
}Example:
{
"bulkRenewalJobs": [
{
"id": "5c0e3a6b-8e5a-4d7e-9a3b-2f1d6c8b7a10",
"status": "COMPLETED",
"startedDate": "2026-01-01T10:00:00.000Z",
"endedDate": "2026-01-01T10:30:00.000Z",
"totalEligibleLoans": 120,
"processedLoans": 120,
"successfulRenewals": 115,
"failedRenewals": 5,
"_version": 3
},
{
"id": "9b7d1f20-3c4e-4a5b-8c6d-7e8f9a0b1c2d",
"status": "FAILED",
"startedDate": "2026-01-02T10:00:00.000Z",
"endedDate": "2026-01-02T10:05:00.000Z",
"totalEligibleLoans": 40,
"processedLoans": 10,
"successfulRenewals": 8,
"failedRenewals": 2,
"reason": "Unexpected error while processing loans",
"_version": 2
}
],
"totalRecords": 2
}
HTTP status code 400
Bad request, e.g. malformed request body or query parameter. Details of the error (e.g. name of the parameter or line/character number with malformed data) provided in the response.
Body
Media type: text/plain
Type: any
Example:
unable to list bulk-renewal-jobs -- malformed parameter 'query', syntax error at column 6HTTP status code 401
Not authorized to perform requested action
Body
Media type: text/plain
Type: any
Example:
unable to list bulk-renewal-jobs -- unauthorizedHTTP status code 422
Validation errors
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "errors.schema",
"description": "A set of errors",
"type": "object",
"properties": {
"errors": {
"description": "List of errors",
"id": "errors",
"type": "array",
"items": {
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "error.schema",
"description": "An error",
"properties": {
"message": {
"type": "string",
"description": "Error message text"
},
"type": {
"type": "string",
"description": "Error message type"
},
"code": {
"type": "string",
"description": "Error message code"
},
"parameters": {
"description": "Error message parameters",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "parameters.schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
},
"required": [
"message"
]
}
},
"total_records": {
"description": "Total number of errors",
"type": "integer"
}
}
}Example:
{
"errors": [
{
"message": "may not be null",
"type": "1",
"code": "-1",
"parameters": [
{
"key": "moduleTo",
"value": "null"
}
]
}
]
}
HTTP status code 500
Internal server error, e.g. due to misconfiguration
Body
Media type: text/plain
Type: any
Example:
internal server error, contact administratorpost /bulk-renewal-job-storage/bulk-renewal-jobs
Create a bulk renewal job
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Bulk Renewal Job Schema",
"description": "Record of a bulk renewal job, its lifecycle state and processing statistics",
"type": "object",
"properties": {
"id": {
"description": "ID of the bulk renewal job",
"type": "string",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "uuid.schema",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[1-5][a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$"
},
"status": {
"description": "Lifecycle status of the bulk renewal job",
"type": "string",
"enum": [
"RUNNING",
"STOPPING",
"COMPLETED",
"STOPPED",
"FAILED"
]
},
"startedDate": {
"description": "Date and time when the job started",
"type": "string",
"format": "date-time"
},
"endedDate": {
"description": "Date and time when the job ended",
"type": "string",
"format": "date-time"
},
"totalEligibleLoans": {
"description": "Total number of loans eligible for renewal",
"type": "integer",
"minimum": 0
},
"processedLoans": {
"description": "Number of loans processed so far",
"type": "integer",
"minimum": 0
},
"successfulRenewals": {
"description": "Number of loans renewed successfully",
"type": "integer",
"minimum": 0
},
"failedRenewals": {
"description": "Number of loans for which renewal failed",
"type": "integer",
"minimum": 0
},
"reason": {
"description": "Reason the job was stopped or failed",
"type": "string"
},
"metadata": {
"description": "Metadata about creation and changes, provided by the server (client should not provide)",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "metadata.schema",
"title": "Metadata Schema",
"properties": {
"createdDate": {
"description": "Date and time when the record was created",
"type": "string",
"format": "date-time"
},
"createdByUserId": {
"description": "ID of the user who created the record (when available)",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"createdByUsername": {
"description": "Username of the user who created the record (when available)",
"type": "string"
},
"updatedDate": {
"description": "Date and time when the record was last updated",
"type": "string",
"format": "date-time"
},
"updatedByUserId": {
"description": "ID of the user who last updated the record (when available)",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"updatedByUsername": {
"description": "Username of the user who last updated the record (when available)",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"createdDate"
]
},
"_version": {
"description": "Record version used for optimistic locking, provided by the server",
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"id",
"status",
"startedDate",
"totalEligibleLoans",
"processedLoans",
"successfulRenewals",
"failedRenewals"
]
}Example:
{
"id": "5c0e3a6b-8e5a-4d7e-9a3b-2f1d6c8b7a10",
"status": "COMPLETED",
"startedDate": "2026-01-01T10:00:00.000Z",
"endedDate": "2026-01-01T10:30:00.000Z",
"totalEligibleLoans": 120,
"processedLoans": 120,
"successfulRenewals": 115,
"failedRenewals": 5,
"_version": 3,
"metadata": {
"createdDate": "2026-01-01T10:00:00.000+00:00",
"createdByUserId": "e3a1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b",
"updatedDate": "2026-01-01T10:30:00.000+00:00",
"updatedByUserId": "e3a1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b"
}
}
HTTP status code 201
Returns a newly created item, with server-controlled fields like 'id' populated
Headers
- Location: required(string)
URI to the created bulk-renewal-job item
Body
Media type: application/json
Type: any
Example:
{
"id": "5c0e3a6b-8e5a-4d7e-9a3b-2f1d6c8b7a10",
"status": "COMPLETED",
"startedDate": "2026-01-01T10:00:00.000Z",
"endedDate": "2026-01-01T10:30:00.000Z",
"totalEligibleLoans": 120,
"processedLoans": 120,
"successfulRenewals": 115,
"failedRenewals": 5,
"_version": 3,
"metadata": {
"createdDate": "2026-01-01T10:00:00.000+00:00",
"createdByUserId": "e3a1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b",
"updatedDate": "2026-01-01T10:30:00.000+00:00",
"updatedByUserId": "e3a1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b"
}
}
HTTP status code 400
Bad request, e.g. malformed request body or query parameter. Details of the error (e.g. name of the parameter or line/character number with malformed data) provided in the response.
Body
Media type: text/plain
Type: any
Example:
"unable to add bulk-renewal-job -- malformed JSON at 13:3"
HTTP status code 401
Not authorized to perform requested action
Body
Media type: text/plain
Type: any
Example:
unable to create bulk-renewal-jobs -- unauthorizedHTTP status code 422
Validation errors
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "errors.schema",
"description": "A set of errors",
"type": "object",
"properties": {
"errors": {
"description": "List of errors",
"id": "errors",
"type": "array",
"items": {
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "error.schema",
"description": "An error",
"properties": {
"message": {
"type": "string",
"description": "Error message text"
},
"type": {
"type": "string",
"description": "Error message type"
},
"code": {
"type": "string",
"description": "Error message code"
},
"parameters": {
"description": "Error message parameters",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "parameters.schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
},
"required": [
"message"
]
}
},
"total_records": {
"description": "Total number of errors",
"type": "integer"
}
}
}Example:
{
"errors": [
{
"message": "may not be null",
"type": "1",
"code": "-1",
"parameters": [
{
"key": "moduleTo",
"value": "null"
}
]
}
]
}
HTTP status code 500
Internal server error, e.g. due to misconfiguration
Body
Media type: text/plain
Type: any
Example:
Internal server error, contact administratorEntity representing a bulk-renewal-job
Update bulk-renewal-job item with given {bulk-renewal-jobId}
Retrieve bulk-renewal-job item with given {bulk-renewal-jobId}
Delete bulk-renewal-job item with given {bulk-renewal-jobId}
put /bulk-renewal-job-storage/bulk-renewal-jobs/{bulkRenewalJobId}
Update bulk-renewal-job item with given {bulk-renewal-jobId}
URI Parameters
- bulkRenewalJobId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Bulk Renewal Job Schema",
"description": "Record of a bulk renewal job, its lifecycle state and processing statistics",
"type": "object",
"properties": {
"id": {
"description": "ID of the bulk renewal job",
"type": "string",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "uuid.schema",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[1-5][a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$"
},
"status": {
"description": "Lifecycle status of the bulk renewal job",
"type": "string",
"enum": [
"RUNNING",
"STOPPING",
"COMPLETED",
"STOPPED",
"FAILED"
]
},
"startedDate": {
"description": "Date and time when the job started",
"type": "string",
"format": "date-time"
},
"endedDate": {
"description": "Date and time when the job ended",
"type": "string",
"format": "date-time"
},
"totalEligibleLoans": {
"description": "Total number of loans eligible for renewal",
"type": "integer",
"minimum": 0
},
"processedLoans": {
"description": "Number of loans processed so far",
"type": "integer",
"minimum": 0
},
"successfulRenewals": {
"description": "Number of loans renewed successfully",
"type": "integer",
"minimum": 0
},
"failedRenewals": {
"description": "Number of loans for which renewal failed",
"type": "integer",
"minimum": 0
},
"reason": {
"description": "Reason the job was stopped or failed",
"type": "string"
},
"metadata": {
"description": "Metadata about creation and changes, provided by the server (client should not provide)",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "metadata.schema",
"title": "Metadata Schema",
"properties": {
"createdDate": {
"description": "Date and time when the record was created",
"type": "string",
"format": "date-time"
},
"createdByUserId": {
"description": "ID of the user who created the record (when available)",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"createdByUsername": {
"description": "Username of the user who created the record (when available)",
"type": "string"
},
"updatedDate": {
"description": "Date and time when the record was last updated",
"type": "string",
"format": "date-time"
},
"updatedByUserId": {
"description": "ID of the user who last updated the record (when available)",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"updatedByUsername": {
"description": "Username of the user who last updated the record (when available)",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"createdDate"
]
},
"_version": {
"description": "Record version used for optimistic locking, provided by the server",
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"id",
"status",
"startedDate",
"totalEligibleLoans",
"processedLoans",
"successfulRenewals",
"failedRenewals"
]
}Example:
{
"id": "5c0e3a6b-8e5a-4d7e-9a3b-2f1d6c8b7a10",
"status": "COMPLETED",
"startedDate": "2026-01-01T10:00:00.000Z",
"endedDate": "2026-01-01T10:30:00.000Z",
"totalEligibleLoans": 120,
"processedLoans": 120,
"successfulRenewals": 115,
"failedRenewals": 5,
"_version": 3,
"metadata": {
"createdDate": "2026-01-01T10:00:00.000+00:00",
"createdByUserId": "e3a1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b",
"updatedDate": "2026-01-01T10:30:00.000+00:00",
"updatedByUserId": "e3a1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b"
}
}
HTTP status code 204
Item successfully updated
HTTP status code 400
Bad request, e.g. malformed request body or query parameter. Details of the error (e.g. name of the parameter or line/character number with malformed data) provided in the response.
Body
Media type: text/plain
Type: any
Example:
"unable to update bulk-renewal-job -- malformed JSON at 13:4"
HTTP status code 404
Item with a given ID not found
Body
Media type: text/plain
Type: any
Example:
"bulk-renewal-job not found"
HTTP status code 409
Optimistic locking version conflict
Body
Media type: text/plain
Type: any
Example:
version conflictHTTP status code 422
Validation errors
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "errors.schema",
"description": "A set of errors",
"type": "object",
"properties": {
"errors": {
"description": "List of errors",
"id": "errors",
"type": "array",
"items": {
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "error.schema",
"description": "An error",
"properties": {
"message": {
"type": "string",
"description": "Error message text"
},
"type": {
"type": "string",
"description": "Error message type"
},
"code": {
"type": "string",
"description": "Error message code"
},
"parameters": {
"description": "Error message parameters",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "parameters.schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
},
"required": [
"message"
]
}
},
"total_records": {
"description": "Total number of errors",
"type": "integer"
}
}
}Example:
{
"errors": [
{
"message": "may not be null",
"type": "1",
"code": "-1",
"parameters": [
{
"key": "moduleTo",
"value": "null"
}
]
}
]
}
HTTP status code 500
Internal server error, e.g. due to misconfiguration
Body
Media type: text/plain
Type: any
Example:
internal server error, contact administratorget /bulk-renewal-job-storage/bulk-renewal-jobs/{bulkRenewalJobId}
Retrieve bulk-renewal-job item with given {bulk-renewal-jobId}
URI Parameters
- bulkRenewalJobId: required(string)
HTTP status code 200
Returns item with a given ID
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Bulk Renewal Job Schema",
"description": "Record of a bulk renewal job, its lifecycle state and processing statistics",
"type": "object",
"properties": {
"id": {
"description": "ID of the bulk renewal job",
"type": "string",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "uuid.schema",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[1-5][a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$"
},
"status": {
"description": "Lifecycle status of the bulk renewal job",
"type": "string",
"enum": [
"RUNNING",
"STOPPING",
"COMPLETED",
"STOPPED",
"FAILED"
]
},
"startedDate": {
"description": "Date and time when the job started",
"type": "string",
"format": "date-time"
},
"endedDate": {
"description": "Date and time when the job ended",
"type": "string",
"format": "date-time"
},
"totalEligibleLoans": {
"description": "Total number of loans eligible for renewal",
"type": "integer",
"minimum": 0
},
"processedLoans": {
"description": "Number of loans processed so far",
"type": "integer",
"minimum": 0
},
"successfulRenewals": {
"description": "Number of loans renewed successfully",
"type": "integer",
"minimum": 0
},
"failedRenewals": {
"description": "Number of loans for which renewal failed",
"type": "integer",
"minimum": 0
},
"reason": {
"description": "Reason the job was stopped or failed",
"type": "string"
},
"metadata": {
"description": "Metadata about creation and changes, provided by the server (client should not provide)",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "metadata.schema",
"title": "Metadata Schema",
"properties": {
"createdDate": {
"description": "Date and time when the record was created",
"type": "string",
"format": "date-time"
},
"createdByUserId": {
"description": "ID of the user who created the record (when available)",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"createdByUsername": {
"description": "Username of the user who created the record (when available)",
"type": "string"
},
"updatedDate": {
"description": "Date and time when the record was last updated",
"type": "string",
"format": "date-time"
},
"updatedByUserId": {
"description": "ID of the user who last updated the record (when available)",
"type": "string",
"pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
},
"updatedByUsername": {
"description": "Username of the user who last updated the record (when available)",
"type": "string"
}
},
"additionalProperties": false,
"required": [
"createdDate"
]
},
"_version": {
"description": "Record version used for optimistic locking, provided by the server",
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"id",
"status",
"startedDate",
"totalEligibleLoans",
"processedLoans",
"successfulRenewals",
"failedRenewals"
]
}Example:
{
"id": "5c0e3a6b-8e5a-4d7e-9a3b-2f1d6c8b7a10",
"status": "COMPLETED",
"startedDate": "2026-01-01T10:00:00.000Z",
"endedDate": "2026-01-01T10:30:00.000Z",
"totalEligibleLoans": 120,
"processedLoans": 120,
"successfulRenewals": 115,
"failedRenewals": 5,
"_version": 3,
"metadata": {
"createdDate": "2026-01-01T10:00:00.000+00:00",
"createdByUserId": "e3a1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b",
"updatedDate": "2026-01-01T10:30:00.000+00:00",
"updatedByUserId": "e3a1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b"
}
}
HTTP status code 404
Item with a given ID not found
Body
Media type: text/plain
Type: any
Example:
"bulk-renewal-job not found"
HTTP status code 500
Internal server error, e.g. due to misconfiguration
Body
Media type: text/plain
Type: any
Example:
internal server error, contact administratordelete /bulk-renewal-job-storage/bulk-renewal-jobs/{bulkRenewalJobId}
Delete bulk-renewal-job item with given {bulk-renewal-jobId}
URI Parameters
- bulkRenewalJobId: required(string)
HTTP status code 204
Item deleted successfully
HTTP status code 400
Bad request, e.g. malformed request body or query parameter. Details of the error (e.g. name of the parameter or line/character number with malformed data) provided in the response.
Body
Media type: text/plain
Type: any
Example:
"unable to delete bulk-renewal-job -- constraint violation"
HTTP status code 404
Item with a given ID not found
Body
Media type: text/plain
Type: any
Example:
"bulk-renewal-job not found"
HTTP status code 500
Internal server error, e.g. due to misconfiguration
Body
Media type: text/plain
Type: any
Example:
Internal server error, contact administrator