/paper-channel-bo/v1.
Authentication uses an API key passed in the
x-api-key request header. Read operations require the tender-read permission; write operations require tender-write.List all tenders
GET/paper-channel-bo/v1/tenders
Returns a paginated list of all procurement tenders.
Query parameters
Zero-based page number to retrieve.
Number of items per page.
Response
Array of tender objects on the current page.
Current page number.
Number of elements on the current page.
Page size.
Total number of tenders across all pages.
Total number of pages.
true if this is the first page.true if this is the last page.true if the page contains no elements.Response codes
| Code | Description |
|---|---|
200 | OK — paginated list returned |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Not found |
405 | Method not allowed |
500 | Internal server error |
Example
Get tender details
GET/paper-channel-bo/v1/tenders/{tenderCode}
Returns the details of a single tender identified by its code.
Path parameters
The unique code of the tender to retrieve.
Response
true when the operation succeeded.Return code.
0 = OK, 99 = KO, other values indicate specific errors.The requested tender.
Response codes
| Code | Description |
|---|---|
200 | OK |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Tender not found |
405 | Method not allowed |
500 | Internal server error |
Example
Create or update a tender
POST/paper-channel-bo/v1/tender
Creates a new tender or updates an existing one. Requires the tender-write permission.
Request body
Unique tender code. If omitted, a code is generated automatically.
Human-readable tender name.
Tender start date in ISO 8601 date format (
YYYY-MM-DD).Tender end date in ISO 8601 date format (
YYYY-MM-DD).Response
true when the operation succeeded.Return code.
0 = OK, 99 = KO.The created or updated tender.
Response codes
| Code | Description |
|---|---|
200 | OK — tender created or updated |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Not found |
405 | Method not allowed |
500 | Internal server error |
Example
Update tender status
PUT/paper-channel-bo/v1/tender/{tenderCode}
Updates the status of an existing tender. Requires the tender-write permission.
Path parameters
The unique code of the tender whose status you want to update.
Request body
New status for the tender. One of
CREATED, VALIDATED.Response
true when the status update succeeded.Return code.
0 = OK, 99 = KO.The updated tender with its new status.
Response codes
| Code | Description |
|---|---|
200 | OK — status updated |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Tender not found |
405 | Method not allowed |
500 | Internal server error |
Example
Delete a tender
DELETE/paper-channel-bo/v1/tender/{tenderCode}
Permanently deletes a tender and its associated data. Requires the tender-write permission.
Path parameters
The unique code of the tender to delete.
Response codes
| Code | Description |
|---|---|
200 | Tender deleted successfully |
Example
Download tenders file
GET/paper-channel-bo/v1/delivery-tender/file-download
Downloads the tenders list as a file. The response may include a pre-generated file or a retry indicator if the file is still being prepared.
Query parameters
Filter the download to a specific tender code.
UUID of a previously requested file download to poll its status.
Response
Base64-encoded file content. Present when the file is ready (
status: UPLOADED).Seconds to wait before polling again. Present when
status is UPLOADING.File download UUID to use in subsequent polling requests. Maximum 32 characters.
File preparation status. One of
UPLOADING, UPLOADED.Response codes
| Code | Description |
|---|---|
200 | OK |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden |
404 | Not found |
405 | Method not allowed |
500 | Internal server error |