Tutorial
Configuration
The set of possible configuration values:
name |
values |
default |
days |
|---|---|---|---|
hasAuction |
true / false |
true |
|
hasAwardingOrder |
true |
true |
|
hasValueRestriction |
true / false |
true |
|
valueCurrencyEquality |
true |
true |
|
hasPrequalification |
false |
false |
|
minBidsNumber |
1 |
1 |
|
hasPreSelectionAgreement |
false |
false |
|
hasTenderComplaints |
false |
false |
|
hasAwardComplaints |
false |
false |
|
hasCancellationComplaints |
false |
false |
|
hasValueEstimation |
true |
true |
|
hasQualificationComplaints |
false |
false |
|
tenderComplainRegulation |
0 |
0 |
|
qualificationComplainDuration |
0 |
0 |
|
awardComplainDuration |
2 |
2 |
|
cancellationComplainDuration |
0 |
0 |
|
clarificationUntilDuration |
1 |
1 |
working |
qualificationDuration |
0 |
0 |
|
minTenderingDuration |
2 |
2 |
working |
hasEnquiries |
true |
true |
|
minEnquiriesDuration |
3 |
3 |
working |
enquiryPeriodRegulation |
0 |
0 |
|
restricted |
false |
false |
You can look for more details in Configuration section.
Tender with inspector
You can get info here: Tender Inspector Tutorial
Creating tender
Let’s create tender with the minimal (only required) data set:
Request
POST /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"locality": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"telephone": "+380950000000",
"email": "example@email.com",
"iban": "111111111111111",
"authorizedBy": "Статут компанії",
"position": "Генеральний директор"
}
},
"value": {
"amount": 500,
"currency": "UAH"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"classification": {
"scheme": "ДК021",
"id": "44617100-9",
"description": "Cartons"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"unit": {
"name": "кілограм",
"code": "KGM",
"value": {
"amount": 6
}
},
"quantity": 5
}
],
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00"
},
"tenderPeriod": {
"endDate": "2023-10-24T00:00:00+02:00"
},
"procurementMethodType": "belowThreshold",
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"code": "prepayment",
"type": "financing",
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1,
"percentage": 45.55
},
{
"title": "deliveryOfGoods",
"code": "postpayment",
"type": "financing",
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2,
"percentage": 54.45
}
],
"contractTemplateName": "00000000.0002.01"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0
{
"data": {
"mainProcurementCategory": "goods",
"contractTemplateName": "00000000.0002.01",
"title": "футляри до державних нагород",
"status": "draft",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "8834d7b932264a4c803719c6ac65e6c6",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00",
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
]
}
],
"tenderID": "UA-2023-10-10-000001-a",
"owner": "broker",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"date": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
},
"access": {
"token": "dc92946b9e4b4ea583fcb7d1136d6cc8",
"transfer": "8e3dab97e709481e96e1460ff4bd9f0d"
}
}
Success! Now we can see that new object was created. Response code is 201 and Location response header reports the location of the created object. The body of response reveals the information about the created tender: its internal id (that matches the Location segment), its official tenderID and dateModified datestamp stating the moment in time when tender was last modified. Pay attention to the procurementMethodType. Note that tender is created with draft status.
Let’s access the URL of the created object (the Location header of the response):
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0 HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"mainProcurementCategory": "goods",
"contractTemplateName": "00000000.0002.01",
"title": "футляри до державних нагород",
"status": "draft",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "8834d7b932264a4c803719c6ac65e6c6",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00",
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
]
}
],
"tenderID": "UA-2023-10-10-000001-a",
"owner": "broker",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"date": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
We can see the same response we got after creating tender.
Let’s see what listing of tenders reveals us:
Request
GET /api/2.5/tenders HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [],
"next_page": {
"offset": "",
"path": "/api/2.5/tenders",
"uri": "http://public-api-sandbox.prozorro.gov.ua/api/2.5/tenders"
}
}
We don’t see internal id of tender, because tender appears in the listing from active.enquiries status.
Tender can contain several different lots. We can add lot using the following way:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/lots?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "lot title",
"description": "lot description",
"value": {
"amount": 500,
"currency": "UAH"
},
"minimalStep": {
"amount": 15,
"currency": "UAH"
}
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/lots/d6fba8716672449f87efa3a5781c7760
{
"data": {
"title": "lot title",
"description": "lot description",
"id": "d6fba8716672449f87efa3a5781c7760",
"status": "active",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 15.0,
"valueAddedTaxIncluded": true
},
"date": "2023-10-10T01:00:00+03:00"
}
}
Also you will need to update data about item’s related lots:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
]
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"contractTemplateName": "00000000.0002.01",
"date": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"tenderID": "UA-2023-10-10-000001-a",
"status": "draft",
"owner": "broker",
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"lots": [
{
"title": "lot title",
"description": "lot description",
"status": "active",
"id": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-10T01:00:00+03:00",
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"minimalStep": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 15.0
}
}
],
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "8834d7b932264a4c803719c6ac65e6c6",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00",
"endDate": "2023-10-17T00:00:00+02:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
],
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Tender activating
Before activating tender it is required to add sign document to tender. If there is no sign document during activation, we will see an error:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "active.enquiries"
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "documents",
"description": "Document with type 'notice' and format pkcs7-signature is required"
}
]
}
Sign document should have documentType: notice and title: *.p7s. Let’s add such document:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "sign.p7s",
"documentType": "notice",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=5ctwt%2FCNhhbgoPe1IJoI6ekt0M1xnQDvYqB6mEIwc8neckpF6vdQFm1yLKFXARRP%2FIlK%2B%2BPim2KI5VQrQiohBQ%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "sign/pkcs7-signature"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents/11f074cdd7974562be5529038ab2d5ce
{
"data": {
"confidentiality": "public",
"documentType": "notice",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner"
}
}
For activating tender you should update status to active.enquiries:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "active.enquiries"
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"contractTemplateName": "00000000.0002.01",
"date": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"tenderID": "UA-2023-10-10-000001-a",
"documents": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
}
],
"status": "active.enquiries",
"owner": "broker",
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"lots": [
{
"title": "lot title",
"description": "lot description",
"status": "active",
"id": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-10T01:00:00+03:00",
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"minimalStep": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 15.0
}
}
],
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "8834d7b932264a4c803719c6ac65e6c6",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00",
"endDate": "2023-10-17T00:00:00+02:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
],
"noticePublicationDate": "2023-10-10T01:00:00+03:00",
"next_check": "2023-10-17T00:00:00+02:00",
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Let’s see what listing of tenders reveals us:
Request
GET /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [
{
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "f135bade563d49fc9233e1f1d37fdcf0"
}
],
"next_page": {
"offset": "1696888800.0.1.53765e566bd2c2581a32923479283633",
"path": "/api/2.5/tenders?offset=1696888800.0.1.53765e566bd2c2581a32923479283633",
"uri": "http://public-api-sandbox.prozorro.gov.ua/api/2.5/tenders?offset=1696888800.0.1.53765e566bd2c2581a32923479283633"
}
}
We do see the internal id of a tender (that can be used to construct full URL by prepending http://api-sandbox.openprocurement.org/api/0/tenders/) and its dateModified datestamp.
Creating second tender
The previous tender contained only required fields. Let’s try creating tender with more data (tender has status created):
Request
POST /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "футляри до державних нагород",
"title_en": "Cases with state awards",
"title_ru": "футляры к государственным наградам",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"locality": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"telephone": "+380950000000",
"email": "example@email.com",
"iban": "111111111111111",
"authorizedBy": "Статут компанії",
"position": "Генеральний директор"
}
},
"value": {
"amount": 500,
"currency": "UAH"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"classification": {
"scheme": "ДК021",
"id": "44617100-9",
"description": "Cartons"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"unit": {
"name": "кілограм",
"code": "KGM",
"value": {
"amount": 6
}
},
"quantity": 5,
"relatedLot": "047349442ebb49bea5933a2c6cbc6ad7"
}
],
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00"
},
"tenderPeriod": {
"endDate": "2023-10-24T00:00:00+02:00"
},
"procurementMethodType": "belowThreshold",
"mode": "test",
"features": [
{
"code": "OCDS-123454-AIR-INTAKE",
"featureOf": "item",
"relatedItem": "ffffffffffffffffffffffffffffffff",
"title": "Потужність всмоктування",
"title_en": "Air Intake",
"description": "Ефективна потужність всмоктування пилососа, в ватах (аероватах)",
"enum": [
{
"value": 0.1,
"title": "До 1000 Вт"
},
{
"value": 0.15,
"title": "Більше 1000 Вт"
}
]
},
{
"code": "OCDS-123454-YEARS",
"featureOf": "tenderer",
"title": "Років на ринку",
"title_en": "Years trading",
"description": "Кількість років, які організація учасник працює на ринку",
"enum": [
{
"value": 0.05,
"title": "До 3 років"
},
{
"value": 0.1,
"title": "Більше 3 років, менше 5 років"
},
{
"value": 0.15,
"title": "Більше 5 років"
}
]
}
],
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"code": "prepayment",
"type": "financing",
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1,
"percentage": 45.55,
"relatedLot": "047349442ebb49bea5933a2c6cbc6ad7"
},
{
"title": "deliveryOfGoods",
"code": "postpayment",
"type": "financing",
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2,
"percentage": 54.45,
"relatedLot": "047349442ebb49bea5933a2c6cbc6ad7"
}
],
"mainProcurementCategory": "services",
"contractTemplateName": "00000000.0002.01",
"lots": [
{
"title": "lot title",
"description": "lot description",
"status": "active",
"id": "047349442ebb49bea5933a2c6cbc6ad7",
"date": "2023-10-10T01:00:00+03:00",
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"minimalStep": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 15.0
}
}
]
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/2f5e224866d0459cbaa950a15be70946
{
"data": {
"mainProcurementCategory": "services",
"title_en": "[TESTING] Cases with state awards",
"title_ru": "[ТЕСТИРОВАНИЕ] футляры к государственным наградам",
"contractTemplateName": "00000000.0002.01",
"title": "[ТЕСТУВАННЯ] футляри до державних нагород",
"mode": "test",
"status": "draft",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"lots": [
{
"title": "lot title",
"description": "lot description",
"date": "2023-10-10T01:00:00+03:00",
"id": "047349442ebb49bea5933a2c6cbc6ad7",
"status": "active",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 15.0,
"valueAddedTaxIncluded": true
}
}
],
"features": [
{
"code": "OCDS-123454-AIR-INTAKE",
"featureOf": "item",
"relatedItem": "ffffffffffffffffffffffffffffffff",
"title": "Потужність всмоктування",
"title_en": "Air Intake",
"description": "Ефективна потужність всмоктування пилососа, в ватах (аероватах)",
"enum": [
{
"value": 0.1,
"title": "До 1000 Вт"
},
{
"value": 0.15,
"title": "Більше 1000 Вт"
}
]
},
{
"code": "OCDS-123454-YEARS",
"featureOf": "tenderer",
"title": "Років на ринку",
"title_en": "Years trading",
"description": "Кількість років, які організація учасник працює на ринку",
"enum": [
{
"value": 0.05,
"title": "До 3 років"
},
{
"value": 0.1,
"title": "Більше 3 років, менше 5 років"
},
{
"value": 0.15,
"title": "Більше 5 років"
}
]
}
],
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1,
"relatedLot": "047349442ebb49bea5933a2c6cbc6ad7"
},
{
"id": "58f52177f7fe40d8ad54876b665a8fbf",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2,
"relatedLot": "047349442ebb49bea5933a2c6cbc6ad7"
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00",
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"relatedLot": "047349442ebb49bea5933a2c6cbc6ad7"
}
],
"tenderID": "UA-2023-10-10-000002-a",
"owner": "broker",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"date": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "2f5e224866d0459cbaa950a15be70946"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
},
"access": {
"token": "f220033fc2004e90a9398defdea66c9f",
"transfer": "842e5674013b4f14abb7f87624dd4f80"
}
}
And again we have 201 Created response code, Location header and body with extra id, tenderID, and dateModified properties.
Let’s check what tender registry contains:
Request
GET /api/2.5/tenders HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [
{
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
{
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "1d854e6f28d74c8e9c9470c1be23c810"
}
],
"next_page": {
"offset": "1696888800.0.2.5c04dd71945e7db560c73e5e5ac757ca",
"path": "/api/2.5/tenders?offset=1696888800.0.2.5c04dd71945e7db560c73e5e5ac757ca",
"uri": "http://public-api-sandbox.prozorro.gov.ua/api/2.5/tenders?offset=1696888800.0.2.5c04dd71945e7db560c73e5e5ac757ca"
}
}
And indeed we have 2 tenders now.
We can create tender with optional funders field:
Request
POST /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"locality": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"telephone": "+380950000000",
"email": "example@email.com",
"iban": "111111111111111",
"authorizedBy": "Статут компанії",
"position": "Генеральний директор"
}
},
"value": {
"amount": 500,
"currency": "UAH"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"classification": {
"scheme": "ДК021",
"id": "44617100-9",
"description": "Cartons"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"unit": {
"name": "кілограм",
"code": "KGM",
"value": {
"amount": 6
}
},
"quantity": 5
}
],
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00"
},
"tenderPeriod": {
"endDate": "2023-10-24T00:00:00+02:00"
},
"procurementMethodType": "belowThreshold",
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"code": "prepayment",
"type": "financing",
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1,
"percentage": 45.55
},
{
"title": "deliveryOfGoods",
"code": "postpayment",
"type": "financing",
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2,
"percentage": 54.45
}
],
"contractTemplateName": "00000000.0002.01",
"funders": [
{
"additionalIdentifiers": [],
"address": {
"countryName": "Швейцарська Конфедерація",
"locality": "Geneva",
"postalCode": "1218",
"region": "Grand-Saconnex",
"streetAddress": "Global Health Campus, Chemin du Pommier 40"
},
"contactPoint": {
"email": "ccm@theglobalfund.org",
"faxNumber": "+41 44 580 6820",
"name": "",
"telephone": "+41587911700",
"url": "https://www.theglobalfund.org/en/"
},
"identifier": {
"id": "47045",
"legalName": "Глобальний Фонд для боротьби зі СНІДом, туберкульозом і малярією",
"scheme": "XM-DAC"
},
"name": "Глобальний фонд"
}
]
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/fd4de4e2ac1044b38acaf4d7662bc817
{
"data": {
"mainProcurementCategory": "goods",
"funders": [
{
"name": "Глобальний фонд",
"identifier": {
"scheme": "XM-DAC",
"id": "47045",
"legalName": "Глобальний Фонд для боротьби зі СНІДом, туберкульозом і малярією"
},
"address": {
"streetAddress": "Global Health Campus, Chemin du Pommier 40",
"locality": "Geneva",
"region": "Grand-Saconnex",
"postalCode": "1218",
"countryName": "Швейцарська Конфедерація"
},
"contactPoint": {
"name": "",
"email": "ccm@theglobalfund.org",
"telephone": "+41587911700",
"faxNumber": "+41 44 580 6820",
"url": "https://www.theglobalfund.org/en/"
}
}
],
"contractTemplateName": "00000000.0002.01",
"title": "футляри до державних нагород",
"status": "draft",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "5991797aee6e41c0a9d2d3f7de7e8b03",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00",
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
]
}
],
"tenderID": "UA-2023-10-10-000003-a",
"owner": "broker",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"date": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "fd4de4e2ac1044b38acaf4d7662bc817"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
},
"access": {
"token": "ef719d3f89574a638a74a631043d6723",
"transfer": "95855c6cd2d74bee9e8951fb9a95cc26"
}
}
Modifying tender
Let’s update tender by supplementing it with all other essential properties:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-25T01:00:11+03:00"
}
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"contractTemplateName": "00000000.0002.01",
"date": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:01+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"tenderID": "UA-2023-10-10-000001-a",
"documents": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
}
],
"status": "active.enquiries",
"owner": "broker",
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procurementMethod": "open",
"noticePublicationDate": "2023-10-10T01:00:00+03:00",
"submissionMethod": "electronicAuction",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"next_check": "2023-10-17T00:00:00+02:00",
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-25T01:00:11+03:00"
},
"lots": [
{
"title": "lot title",
"description": "lot description",
"status": "active",
"id": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-10T01:00:00+03:00",
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"minimalStep": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 15.0
}
}
],
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "8834d7b932264a4c803719c6ac65e6c6",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00",
"endDate": "2023-10-17T00:00:00+02:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
],
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
We see the added properties have merged with existing tender data. Additionally, the dateModified property was updated to reflect the last modification datestamp.
Checking the listing again reflects the new modification date:
Request
GET /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [
{
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "1d854e6f28d74c8e9c9470c1be23c810"
},
{
"dateModified": "2023-10-10T01:00:01+03:00",
"id": "f135bade563d49fc9233e1f1d37fdcf0"
}
],
"next_page": {
"offset": "1696888801.0.1.53765e566bd2c2581a32923479283633",
"path": "/api/2.5/tenders?offset=1696888801.0.1.53765e566bd2c2581a32923479283633",
"uri": "http://public-api-sandbox.prozorro.gov.ua/api/2.5/tenders?offset=1696888801.0.1.53765e566bd2c2581a32923479283633"
}
}
Procuring entity can set bid guarantee:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"guarantee": {
"amount": 8,
"currency": "USD"
}
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"funders": [
{
"name": "Глобальний фонд",
"identifier": {
"scheme": "XM-DAC",
"id": "47045",
"legalName": "Глобальний Фонд для боротьби зі СНІДом, туберкульозом і малярією"
},
"address": {
"streetAddress": "Global Health Campus, Chemin du Pommier 40",
"locality": "Geneva",
"region": "Grand-Saconnex",
"postalCode": "1218",
"countryName": "Швейцарська Конфедерація"
},
"contactPoint": {
"name": "",
"email": "ccm@theglobalfund.org",
"telephone": "+41587911700",
"faxNumber": "+41 44 580 6820",
"url": "https://www.theglobalfund.org/en/"
}
}
],
"contractTemplateName": "00000000.0002.01",
"date": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:01+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"tenderID": "UA-2023-10-10-000001-a",
"documents": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
}
],
"status": "active.enquiries",
"owner": "broker",
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procurementMethod": "open",
"noticePublicationDate": "2023-10-10T01:00:00+03:00",
"submissionMethod": "electronicAuction",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"guarantee": {
"amount": 8.0,
"currency": "USD"
},
"next_check": "2023-10-17T00:00:00+02:00",
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-25T01:00:11+03:00"
},
"lots": [
{
"title": "lot title",
"description": "lot description",
"status": "active",
"id": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-10T01:00:00+03:00",
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"minimalStep": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 15.0
}
}
],
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "8834d7b932264a4c803719c6ac65e6c6",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00",
"endDate": "2023-10-17T00:00:00+02:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
],
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Also we can modify tender by adding funders field data:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"funders": [
{
"additionalIdentifiers": [],
"address": {
"countryName": "Швейцарська Конфедерація",
"locality": "Geneva",
"postalCode": "1218",
"region": "Grand-Saconnex",
"streetAddress": "Global Health Campus, Chemin du Pommier 40"
},
"contactPoint": {
"email": "ccm@theglobalfund.org",
"faxNumber": "+41 44 580 6820",
"name": "",
"telephone": "+41587911700",
"url": "https://www.theglobalfund.org/en/"
},
"identifier": {
"id": "47045",
"legalName": "Глобальний Фонд для боротьби зі СНІДом, туберкульозом і малярією",
"scheme": "XM-DAC"
},
"name": "Глобальний фонд"
}
]
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"funders": [
{
"name": "Глобальний фонд",
"identifier": {
"scheme": "XM-DAC",
"id": "47045",
"legalName": "Глобальний Фонд для боротьби зі СНІДом, туберкульозом і малярією"
},
"address": {
"streetAddress": "Global Health Campus, Chemin du Pommier 40",
"locality": "Geneva",
"region": "Grand-Saconnex",
"postalCode": "1218",
"countryName": "Швейцарська Конфедерація"
},
"contactPoint": {
"name": "",
"email": "ccm@theglobalfund.org",
"telephone": "+41587911700",
"faxNumber": "+41 44 580 6820",
"url": "https://www.theglobalfund.org/en/"
}
}
],
"contractTemplateName": "00000000.0002.01",
"date": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:01+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"tenderID": "UA-2023-10-10-000001-a",
"documents": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
}
],
"status": "active.enquiries",
"owner": "broker",
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procurementMethod": "open",
"noticePublicationDate": "2023-10-10T01:00:00+03:00",
"submissionMethod": "electronicAuction",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"next_check": "2023-10-17T00:00:00+02:00",
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-25T01:00:11+03:00"
},
"lots": [
{
"title": "lot title",
"description": "lot description",
"status": "active",
"id": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-10T01:00:00+03:00",
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"minimalStep": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 15.0
}
}
],
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "8834d7b932264a4c803719c6ac65e6c6",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00",
"endDate": "2023-10-17T00:00:00+02:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
],
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Uploading documentation
Procuring entity can upload PDF files into the created tender. Uploading should follow the Documents Uploading rules.
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "Notice.pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=o4TxnA%2BJQEYIAK0n1c%2B6r4571MQlQb6fneG7Qw2dygBov9yg%2FlqHyBiZeEaEXKMOzUklyQ6YBJunU5RKwqb6AQ%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents/c8d64dfb8acb418297db4b41a849885f
{
"data": {
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=iiX0fHzPf9KaOdu%2FjOWJEQLrGxiuLxf34yzcBvHEQu5zF0wQauBfsYPexgAZx7V940YScpEO%2BObVJJx1RkDmDQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "c8d64dfb8acb418297db4b41a849885f",
"datePublished": "2023-10-10T01:00:01+03:00",
"dateModified": "2023-10-10T01:00:01+03:00",
"author": "tender_owner"
}
}
201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents/c8d64dfb8acb418297db4b41a849885f HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=iiX0fHzPf9KaOdu%2FjOWJEQLrGxiuLxf34yzcBvHEQu5zF0wQauBfsYPexgAZx7V940YScpEO%2BObVJJx1RkDmDQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "c8d64dfb8acb418297db4b41a849885f",
"datePublished": "2023-10-10T01:00:01+03:00",
"dateModified": "2023-10-10T01:00:01+03:00",
"author": "tender_owner"
}
}
Let’s add new documentType field with technicalSpecifications parameter to the previously uploaded document:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents/c8d64dfb8acb418297db4b41a849885f?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"documentType": "technicalSpecifications"
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"confidentiality": "public",
"documentType": "technicalSpecifications",
"id": "c8d64dfb8acb418297db4b41a849885f",
"datePublished": "2023-10-10T01:00:01+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=iiX0fHzPf9KaOdu%2FjOWJEQLrGxiuLxf34yzcBvHEQu5zF0wQauBfsYPexgAZx7V940YScpEO%2BObVJJx1RkDmDQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:01:02+03:00",
"author": "tender_owner",
"language": "uk"
}
}
Success! Response code is 200 OK and it confirms that documentType field with technicalSpecifications parameter was added .
Here is the basic list of fields that can be changed for a document.
documentOf
language
documentType
title
title_en
description
description_en
format
relatedItem
We can modify more of them:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents/c8d64dfb8acb418297db4b41a849885f?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "Notice.doc",
"format": "application/msword",
"description": "змінений опис документа",
"description_en": "document description modified",
"documentOf": "item",
"relatedItem": "ffffffffffffffffffffffffffffffff"
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"confidentiality": "public",
"documentType": "technicalSpecifications",
"description": "змінений опис документа",
"description_en": "document description modified",
"relatedItem": "ffffffffffffffffffffffffffffffff",
"id": "c8d64dfb8acb418297db4b41a849885f",
"datePublished": "2023-10-10T01:00:01+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.doc",
"format": "application/msword",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=iiX0fHzPf9KaOdu%2FjOWJEQLrGxiuLxf34yzcBvHEQu5zF0wQauBfsYPexgAZx7V940YScpEO%2BObVJJx1RkDmDQ%3D%3D&KeyID=a8968c46",
"documentOf": "item",
"dateModified": "2023-10-10T01:03:03+03:00",
"author": "tender_owner",
"language": "uk"
}
}
You may notice that dateModified field changes with every modification.
The single array element describes the uploaded document. We can upload more documents:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "AwardCriteria.pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/6306049946ae4528b91128df0c649981?Signature=ARZcwvq%2BLMZUdXvE6PZPmuP6TQNxZiEdfNBr9mihNXU4Fg3sDKBffodS1sGmBaLmvgITF7hQVACCtKMO2HauDw%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents/219c08f909904568b9a726d99fe509f2
{
"data": {
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "AwardCriteria.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/6306049946ae4528b91128df0c649981?Signature=82%2B8iXiCeIz%2BiC%2B%2FhZpYJc%2B45RABxdPfQ0xTUI2WtzGrZQmUrUEvIAWhZ%2FJOJLloN%2BsCZV6FQm%2BcSMmiS6xeCg%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "219c08f909904568b9a726d99fe509f2",
"datePublished": "2023-10-10T01:06:04+03:00",
"dateModified": "2023-10-10T01:06:04+03:00",
"author": "tender_owner"
}
}
And again we can confirm that there are two documents uploaded.
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
},
{
"confidentiality": "public",
"documentType": "technicalSpecifications",
"description": "змінений опис документа",
"description_en": "document description modified",
"relatedItem": "ffffffffffffffffffffffffffffffff",
"id": "c8d64dfb8acb418297db4b41a849885f",
"datePublished": "2023-10-10T01:00:01+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.doc",
"format": "application/msword",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=iiX0fHzPf9KaOdu%2FjOWJEQLrGxiuLxf34yzcBvHEQu5zF0wQauBfsYPexgAZx7V940YScpEO%2BObVJJx1RkDmDQ%3D%3D&KeyID=a8968c46",
"documentOf": "item",
"dateModified": "2023-10-10T01:03:03+03:00",
"author": "tender_owner",
"language": "uk"
},
{
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "AwardCriteria.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/6306049946ae4528b91128df0c649981?Signature=82%2B8iXiCeIz%2BiC%2B%2FhZpYJc%2B45RABxdPfQ0xTUI2WtzGrZQmUrUEvIAWhZ%2FJOJLloN%2BsCZV6FQm%2BcSMmiS6xeCg%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "219c08f909904568b9a726d99fe509f2",
"datePublished": "2023-10-10T01:06:04+03:00",
"dateModified": "2023-10-10T01:06:04+03:00",
"author": "tender_owner"
}
]
}
Before we updated document details. It is also possible to change document content itself (file). To do so, we can upload a new version of the document:
Request
PUT /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents/219c08f909904568b9a726d99fe509f2?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "AwardCriteria.pdf",
"description": "Нова версія AwardCriteria документу",
"description_en": "new version of the AwardCriteria document",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/50ef0208169a47979218f1f8919a46c6?Signature=96VxXWMjGaWNL1XkH%2FhkpQwfViejnFYpH1jzBqgjKSz3jdB3RnhCKinuy7XQdBc7zJ5aMzv85Y0Sz31sd%2BZGBw%3D%3D&KeyID=a8968c46",
"hash": "md5:11111111111111111111111111111111",
"format": "application/pdf",
"language": "en"
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"confidentiality": "public",
"description": "Нова версія AwardCriteria документу",
"description_en": "new version of the AwardCriteria document",
"id": "219c08f909904568b9a726d99fe509f2",
"datePublished": "2023-10-10T01:10:05+03:00",
"hash": "md5:11111111111111111111111111111111",
"title": "AwardCriteria.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/50ef0208169a47979218f1f8919a46c6?Signature=epfCSA6FbFLil0mdrT2fGD9HH1Cb6YvKWDe025wBAAKayzHMzuAiy5fycJgQXHuU1ASOy6QroiPWtGNgiyjWBQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:10:05+03:00",
"author": "tender_owner",
"language": "en"
}
}
And we can see that it is overriding the original version:
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
},
{
"confidentiality": "public",
"documentType": "technicalSpecifications",
"description": "змінений опис документа",
"description_en": "document description modified",
"relatedItem": "ffffffffffffffffffffffffffffffff",
"id": "c8d64dfb8acb418297db4b41a849885f",
"datePublished": "2023-10-10T01:00:01+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.doc",
"format": "application/msword",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=iiX0fHzPf9KaOdu%2FjOWJEQLrGxiuLxf34yzcBvHEQu5zF0wQauBfsYPexgAZx7V940YScpEO%2BObVJJx1RkDmDQ%3D%3D&KeyID=a8968c46",
"documentOf": "item",
"dateModified": "2023-10-10T01:03:03+03:00",
"author": "tender_owner",
"language": "uk"
},
{
"confidentiality": "public",
"description": "Нова версія AwardCriteria документу",
"description_en": "new version of the AwardCriteria document",
"id": "219c08f909904568b9a726d99fe509f2",
"datePublished": "2023-10-10T01:10:05+03:00",
"hash": "md5:11111111111111111111111111111111",
"title": "AwardCriteria.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/50ef0208169a47979218f1f8919a46c6?Signature=epfCSA6FbFLil0mdrT2fGD9HH1Cb6YvKWDe025wBAAKayzHMzuAiy5fycJgQXHuU1ASOy6QroiPWtGNgiyjWBQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:10:05+03:00",
"author": "tender_owner",
"language": "en"
}
]
}
Please notice that datePublished field has also been changed. It is connected to the document file and only changes when a new file uploaded.
It is possible to see all versions of all documents. To do this, use ?all=1 parameter.
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/documents?all=1 HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
},
{
"confidentiality": "public",
"documentType": "technicalSpecifications",
"description": "змінений опис документа",
"description_en": "document description modified",
"relatedItem": "ffffffffffffffffffffffffffffffff",
"id": "c8d64dfb8acb418297db4b41a849885f",
"datePublished": "2023-10-10T01:00:01+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.doc",
"format": "application/msword",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=iiX0fHzPf9KaOdu%2FjOWJEQLrGxiuLxf34yzcBvHEQu5zF0wQauBfsYPexgAZx7V940YScpEO%2BObVJJx1RkDmDQ%3D%3D&KeyID=a8968c46",
"documentOf": "item",
"dateModified": "2023-10-10T01:03:03+03:00",
"author": "tender_owner",
"language": "uk"
},
{
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "AwardCriteria.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/6306049946ae4528b91128df0c649981?Signature=82%2B8iXiCeIz%2BiC%2B%2FhZpYJc%2B45RABxdPfQ0xTUI2WtzGrZQmUrUEvIAWhZ%2FJOJLloN%2BsCZV6FQm%2BcSMmiS6xeCg%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "219c08f909904568b9a726d99fe509f2",
"datePublished": "2023-10-10T01:06:04+03:00",
"dateModified": "2023-10-10T01:06:04+03:00",
"author": "tender_owner"
},
{
"confidentiality": "public",
"description": "Нова версія AwardCriteria документу",
"description_en": "new version of the AwardCriteria document",
"id": "219c08f909904568b9a726d99fe509f2",
"datePublished": "2023-10-10T01:10:05+03:00",
"hash": "md5:11111111111111111111111111111111",
"title": "AwardCriteria.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/50ef0208169a47979218f1f8919a46c6?Signature=epfCSA6FbFLil0mdrT2fGD9HH1Cb6YvKWDe025wBAAKayzHMzuAiy5fycJgQXHuU1ASOy6QroiPWtGNgiyjWBQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:10:05+03:00",
"author": "tender_owner",
"language": "en"
}
]
}
In the response you should see one version of the Notice document and two versions of the AwardCriteria document. Both versions have the same id field, but datePublished fields are different. Because that’s the time when files were published.
Notice, the datePublished and dateModified fields are the same. That’s because their documents details haven’t been additionally changed.
Also notice, the fields that can be additionally modified like title, language, description etc. All of them are applied to the latest version. The previous version keeps its own values.
Enquiries
When tender is in active.enquiry status, interested parties can ask questions:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/questions HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"author": {
"address": {
"countryName": "Україна",
"locality": "м. Львів",
"postalCode": "79013",
"region": "Львівська область",
"streetAddress": "вул. Островського, 34"
},
"contactPoint": {
"email": "aagt@gmail.com",
"name": "Андрій Олексюк",
"telephone": "+380322916930"
},
"identifier": {
"scheme": "UA-EDR",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр 2»",
"id": "00137226",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Книга»"
},
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/questions/cf1cf1cf5a394133bad086c408c840a6
{
"data": {
"author": {
"hash": "5b9bf3e1b3b965c390a3c7f07cca2a6d"
},
"title": "Калорійність",
"description": "Просимо додати таблицю потрібної калорійності харчування",
"questionOf": "tender",
"id": "cf1cf1cf5a394133bad086c408c840a6",
"date": "2023-10-10T01:10:05+03:00"
}
}
Procuring entity can answer them:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/questions/cf1cf1cf5a394133bad086c408c840a6?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\""
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"id": "cf1cf1cf5a394133bad086c408c840a6",
"author": {
"hash": "5b9bf3e1b3b965c390a3c7f07cca2a6d"
},
"title": "Калорійність",
"description": "Просимо додати таблицю потрібної калорійності харчування",
"date": "2023-10-10T01:10:05+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"questionOf": "tender",
"dateAnswered": "2023-10-10T01:10:05+03:00"
}
}
And one can retrieve the questions list:
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/questions HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [
{
"id": "cf1cf1cf5a394133bad086c408c840a6",
"author": {
"hash": "5b9bf3e1b3b965c390a3c7f07cca2a6d"
},
"title": "Калорійність",
"description": "Просимо додати таблицю потрібної калорійності харчування",
"date": "2023-10-10T01:10:05+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"questionOf": "tender",
"dateAnswered": "2023-10-10T01:10:05+03:00"
}
]
}
And individual answer:
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/questions/cf1cf1cf5a394133bad086c408c840a6 HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"id": "cf1cf1cf5a394133bad086c408c840a6",
"author": {
"hash": "5b9bf3e1b3b965c390a3c7f07cca2a6d"
},
"title": "Калорійність",
"description": "Просимо додати таблицю потрібної калорійності харчування",
"date": "2023-10-10T01:10:05+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"questionOf": "tender",
"dateAnswered": "2023-10-10T01:10:05+03:00"
}
}
Registering bid
Step-by-step registration
When Tender.tenderingPeriod.startDate comes, Tender switches to active.tendering status that allows registration of bids.
It is forbidden to patch tender in active.tendering status for belowThreshold procedure:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"value": {
"amount": 501,
"currency": "UAH"
},
"tenderPeriod": {
"endDate": "2023-10-21T01:10:05+03:00"
}
}
}
Response
HTTP/1.0 403 Forbidden
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "data",
"description": "Can't update tender in current (active.tendering) status"
}
]
}
Bidder can register a bid for lot №1 in draft status:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"tenderers": [
{
"address": {
"countryName": "Україна",
"locality": "м. Вінниця",
"postalCode": "21100",
"region": "Вінницька область",
"streetAddress": "вул. Островського, 33"
},
"contactPoint": {
"email": "soleksuk@gmail.com",
"name": "Сергій Олексюк",
"telephone": "+380432216930"
},
"identifier": {
"scheme": "UA-EDR",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"scale": "micro",
"signerInfo": {
"name": "Test Testovich",
"telephone": "+380950000000",
"email": "example@email.com",
"iban": "111111111111111",
"authorizedBy": "Статут компанії",
"position": "Генеральний директор"
}
}
],
"status": "draft",
"items": [
{
"quantity": 5,
"description": "папір",
"id": "ffffffffffffffffffffffffffffffff",
"unit": {
"code": "KGM",
"value": {
"amount": 0.6,
"currency": "UAH",
"valueAddedTaxIncluded": false
}
}
}
],
"lotValues": [
{
"value": {
"amount": 500
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
]
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597
{
"data": {
"tenderers": [
{
"name": "ДКП «Школяр»",
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"uri": "http://www.sc.gov.ua/"
},
"address": {
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця",
"region": "Вінницька область",
"postalCode": "21100",
"countryName": "Україна"
},
"contactPoint": {
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com",
"telephone": "+380432216930"
},
"scale": "micro",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
}
],
"lotValues": [
{
"status": "pending",
"value": {
"amount": 500.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-16T01:14:06+03:00"
}
],
"status": "draft",
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "папір",
"unit": {
"value": {
"amount": 0.6,
"currency": "UAH",
"valueAddedTaxIncluded": false
},
"code": "KGM"
},
"quantity": 5.0
}
],
"id": "86bcb0d93eab4c3893fdc70ea8af7597",
"date": "2023-10-16T01:14:06+03:00"
},
"access": {
"token": "50487c35299d4cb2971a97f7beb1bb1d",
"transfer": "c1ee482fc4c247bcadc9596fb1cd17b6"
}
}
Then bidder should approve bid with pending status. If tenderers.identifier.scheme = ‘UA-EDR’ it is required to add sign document to bid. If there is no sign document during activation, we will see an error:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597?acc_token=50487c35299d4cb2971a97f7beb1bb1d HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "pending"
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "documents",
"description": "Document with type 'proposal' and format pkcs7-signature is required"
}
]
}
Sign document should have documentType: proposal and title: *.p7s. Let’s add such document:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597/documents?acc_token=50487c35299d4cb2971a97f7beb1bb1d HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "Proposal.p7s",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/836c459581154a94a5724e8a9d1bd2d7?Signature=2Er4aTPTpSnS7m84A%2FnGIDuvxIssZq%2FuPYCOhbPkQKyxkond6h0NPVxEIHb9F3auZOMItN9f3D0zdERF8dobCQ%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "sign/p7s",
"documentType": "proposal"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597/documents/2207f7f1351144a39db0f36796584daf
{
"data": {
"confidentiality": "public",
"documentType": "proposal",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal.p7s",
"format": "sign/p7s",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/836c459581154a94a5724e8a9d1bd2d7?Signature=aCHxPA7NTD6PoCedHE%2F0avor7ALdbQ8Q0%2FoMn0NwRLy2s7ejC%2Bg0BS%2FfkLolAchWSbcOuDNHVIAmCU2%2BzuNpCA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "2207f7f1351144a39db0f36796584daf",
"datePublished": "2023-10-16T01:14:06+03:00",
"dateModified": "2023-10-16T01:14:06+03:00"
}
}
Let’s try to activate bid one more time:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597?acc_token=50487c35299d4cb2971a97f7beb1bb1d HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "pending"
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"lotValues": [
{
"value": {
"amount": 500.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760",
"status": "pending",
"date": "2023-10-16T01:14:06+03:00"
}
],
"tenderers": [
{
"name": "ДКП «Школяр»",
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"uri": "http://www.sc.gov.ua/"
},
"address": {
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця",
"region": "Вінницька область",
"postalCode": "21100",
"countryName": "Україна"
},
"contactPoint": {
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com",
"telephone": "+380432216930"
},
"scale": "micro",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
}
],
"status": "pending",
"id": "86bcb0d93eab4c3893fdc70ea8af7597",
"date": "2023-10-16T01:14:06+03:00",
"documents": [
{
"confidentiality": "public",
"documentType": "proposal",
"id": "2207f7f1351144a39db0f36796584daf",
"datePublished": "2023-10-16T01:14:06+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal.p7s",
"format": "sign/p7s",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/836c459581154a94a5724e8a9d1bd2d7?Signature=aCHxPA7NTD6PoCedHE%2F0avor7ALdbQ8Q0%2FoMn0NwRLy2s7ejC%2Bg0BS%2FfkLolAchWSbcOuDNHVIAmCU2%2BzuNpCA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-16T01:14:06+03:00",
"language": "uk"
}
],
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "папір",
"unit": {
"value": {
"amount": 0.6,
"currency": "UAH",
"valueAddedTaxIncluded": false
},
"code": "KGM"
},
"quantity": 5.0
}
],
"submissionDate": "2023-10-16T01:14:06+03:00"
}
}
It is possible to check the uploaded documents:
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597/documents?acc_token=50487c35299d4cb2971a97f7beb1bb1d HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": [
{
"confidentiality": "public",
"documentType": "proposal",
"id": "2207f7f1351144a39db0f36796584daf",
"datePublished": "2023-10-16T01:14:06+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal.p7s",
"format": "sign/p7s",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/836c459581154a94a5724e8a9d1bd2d7?Signature=aCHxPA7NTD6PoCedHE%2F0avor7ALdbQ8Q0%2FoMn0NwRLy2s7ejC%2Bg0BS%2FfkLolAchWSbcOuDNHVIAmCU2%2BzuNpCA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-16T01:14:06+03:00",
"language": "uk"
}
]
}
If tender has multicurrency turned off, than there will be validation that sum of items.unit.value could not be more than bid value:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"tenderers": [
{
"address": {
"countryName": "Україна",
"locality": "м. Вінниця",
"postalCode": "21100",
"region": "Вінницька область",
"streetAddress": "вул. Островського, 33"
},
"contactPoint": {
"email": "soleksuk@gmail.com",
"name": "Сергій Олексюк",
"telephone": "+380432216930"
},
"identifier": {
"scheme": "UA-EDR",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"scale": "micro",
"signerInfo": {
"name": "Test Testovich",
"telephone": "+380950000000",
"email": "example@email.com",
"iban": "111111111111111",
"authorizedBy": "Статут компанії",
"position": "Генеральний директор"
}
}
],
"status": "draft",
"items": [
{
"quantity": 5,
"description": "папір",
"id": "ffffffffffffffffffffffffffffffff",
"unit": {
"code": "KGM",
"value": {
"amount": 1500,
"currency": "UAH",
"valueAddedTaxIncluded": false
}
}
}
],
"lotValues": [
{
"value": {
"amount": 500
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
]
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "items",
"description": "Total amount of unit values can't be greater than bid.lotValues.value.amount"
}
]
}
If we patched some fields in pending bid, then bid becomes invalid and should be signed one more time:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597?acc_token=50487c35299d4cb2971a97f7beb1bb1d HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"tenderers": [
{
"address": {
"countryName": "Україна",
"locality": "м. Вінниця",
"postalCode": "21100",
"region": "Вінницька область",
"streetAddress": "вул. Островського, 33"
},
"contactPoint": {
"email": "soleksuk@gmail.com",
"name": "Сергій Олексюк",
"telephone": "+380432216930"
},
"identifier": {
"scheme": "UA-EDR",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "Школяр",
"scale": "micro",
"signerInfo": {
"name": "Test Testovich",
"telephone": "+380950000000",
"email": "example@email.com",
"iban": "111111111111111",
"authorizedBy": "Статут компанії",
"position": "Генеральний директор"
}
}
]
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"lotValues": [
{
"value": {
"amount": 500.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760",
"status": "pending",
"date": "2023-10-16T01:14:06+03:00"
}
],
"tenderers": [
{
"name": "Школяр",
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"uri": "http://www.sc.gov.ua/"
},
"address": {
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця",
"region": "Вінницька область",
"postalCode": "21100",
"countryName": "Україна"
},
"contactPoint": {
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com",
"telephone": "+380432216930"
},
"scale": "micro",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
}
],
"status": "invalid",
"id": "86bcb0d93eab4c3893fdc70ea8af7597",
"date": "2023-10-16T01:14:06+03:00",
"submissionDate": "2023-10-16T01:14:06+03:00",
"documents": [
{
"confidentiality": "public",
"documentType": "proposal",
"id": "2207f7f1351144a39db0f36796584daf",
"datePublished": "2023-10-16T01:14:06+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal.p7s",
"format": "sign/p7s",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/836c459581154a94a5724e8a9d1bd2d7?Signature=aCHxPA7NTD6PoCedHE%2F0avor7ALdbQ8Q0%2FoMn0NwRLy2s7ejC%2Bg0BS%2FfkLolAchWSbcOuDNHVIAmCU2%2BzuNpCA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-16T01:14:06+03:00",
"language": "uk"
}
],
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "папір",
"unit": {
"value": {
"amount": 0.6,
"currency": "UAH",
"valueAddedTaxIncluded": false
},
"code": "KGM"
},
"quantity": 5.0
}
]
}
}
If we try to activate bidder the new sign will be needed:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597?acc_token=50487c35299d4cb2971a97f7beb1bb1d HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "pending"
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "documents",
"description": "Document with type 'proposal' and format pkcs7-signature is required"
}
]
}
Batch-mode registration
Register bid with documents using one request:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"tenderers": [
{
"address": {
"countryName": "Україна",
"locality": "м. Львів",
"postalCode": "79013",
"region": "Львівська область",
"streetAddress": "вул. Островського, 34"
},
"contactPoint": {
"email": "aagt@gmail.com",
"name": "Андрій Олексюк",
"telephone": "+380322916930"
},
"identifier": {
"scheme": "UA-IPN",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр 2»",
"id": "00137226",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Книга»",
"scale": "sme",
"signerInfo": {
"name": "Test Testovich",
"telephone": "+380950000000",
"email": "example@email.com",
"iban": "111111111111111",
"authorizedBy": "Статут компанії",
"position": "Генеральний директор"
}
}
],
"documents": [
{
"title": "Proposal_part1.pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/e688ac21d30544acae2a608abd62c6db?Signature=Z5rbnmhgLAC5HP7XjWvl5AhpbY2QiyC2qRiTfC9k88KH0xk9GThxUVqRCQKucgrsgQGaoiZri3qnfOhSsKiSDw%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
},
{
"title": "Proposal_part2.pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/0501acceab444f6eae776cd24fd87ef3?Signature=fs6NNRwSQ%2BnfngHTymKvDSctK9ttIoTh0iFkleiYoX2TAJ0rAa%2Fjnyeq2fr0lQyYQE1XY1nJ8vN0k8yB%2BybODA%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
],
"lotValues": [
{
"value": {
"amount": 499
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
],
"items": [
{
"quantity": 5,
"description": "папір",
"id": "ffffffffffffffffffffffffffffffff",
"unit": {
"code": "KGM",
"value": {
"amount": 0.6,
"currency": "UAH",
"valueAddedTaxIncluded": false
}
}
}
]
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/678cd22c5ad346b8866b31e22de7a4a4
{
"data": {
"tenderers": [
{
"name": "ДКП «Книга»",
"identifier": {
"scheme": "UA-IPN",
"id": "00137226",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр 2»",
"uri": "http://www.sc.gov.ua/"
},
"address": {
"streetAddress": "вул. Островського, 34",
"locality": "м. Львів",
"region": "Львівська область",
"postalCode": "79013",
"countryName": "Україна"
},
"contactPoint": {
"name": "Андрій Олексюк",
"email": "aagt@gmail.com",
"telephone": "+380322916930"
},
"scale": "sme",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
}
],
"lotValues": [
{
"status": "pending",
"value": {
"amount": 499.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-16T01:15:06+03:00"
}
],
"status": "draft",
"documents": [
{
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal_part1.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/e688ac21d30544acae2a608abd62c6db?Signature=ZT%2B9Wm821WQxxWkE09sAtThpAyjtL8vuDKWsrHN97OLWrqw5y3ph4sKc6dOPOEv77Wud5vEzVtnCU4CwkKSFDg%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "2c84f061f4e847e9a353c3cad6e3774f",
"datePublished": "2023-10-16T01:15:06+03:00",
"dateModified": "2023-10-16T01:15:06+03:00"
},
{
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal_part2.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/0501acceab444f6eae776cd24fd87ef3?Signature=q3zXnwJt170cWDOoG%2F%2BjKYRp0GyK%2F6kBbZ6goCASzWU4VQAU9eRaNhfotScxKpKulW7g1yVpVLbWF2A7otUKDw%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "e9f487e3cdff4415a6b88985b1f7c925",
"datePublished": "2023-10-16T01:15:06+03:00",
"dateModified": "2023-10-16T01:15:06+03:00"
}
],
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "папір",
"unit": {
"value": {
"amount": 0.6,
"currency": "UAH",
"valueAddedTaxIncluded": false
},
"code": "KGM"
},
"quantity": 5.0
}
],
"id": "678cd22c5ad346b8866b31e22de7a4a4",
"date": "2023-10-16T01:15:06+03:00"
},
"access": {
"token": "58e7e915f6b442bba7b8afc64641d413",
"transfer": "27a3a99a9af64e729e538c6ed62314d5"
}
}
Auction
After auction is scheduled anybody can visit it to watch. The auction can be reached at Tender.auctionUrl:
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0 HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"funders": [
{
"name": "Глобальний фонд",
"identifier": {
"scheme": "XM-DAC",
"id": "47045",
"legalName": "Глобальний Фонд для боротьби зі СНІДом, туберкульозом і малярією"
},
"address": {
"streetAddress": "Global Health Campus, Chemin du Pommier 40",
"locality": "Geneva",
"region": "Grand-Saconnex",
"postalCode": "1218",
"countryName": "Швейцарська Конфедерація"
},
"contactPoint": {
"name": "",
"email": "ccm@theglobalfund.org",
"telephone": "+41587911700",
"faxNumber": "+41 44 580 6820",
"url": "https://www.theglobalfund.org/en/"
}
}
],
"contractTemplateName": "00000000.0002.01",
"date": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-16T01:15:06+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"tenderID": "UA-2023-10-10-000001-a",
"documents": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "11f074cdd7974562be5529038ab2d5ce",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/28ead5b46c074f4faf2188518029eeda?Signature=yz3QviIT0rhmN2R%2FoW%2FuouBXwElCrPboBXdHQFBjPrl77FrI1u1zRIUG3NwxoIPM9OjspxObxfANznaO5nkACA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
},
{
"confidentiality": "public",
"documentType": "technicalSpecifications",
"description": "змінений опис документа",
"description_en": "document description modified",
"relatedItem": "ffffffffffffffffffffffffffffffff",
"id": "c8d64dfb8acb418297db4b41a849885f",
"datePublished": "2023-10-10T01:00:01+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.doc",
"format": "application/msword",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/325d0d7a8e034710bf0f2fdfb91712c5?Signature=iiX0fHzPf9KaOdu%2FjOWJEQLrGxiuLxf34yzcBvHEQu5zF0wQauBfsYPexgAZx7V940YScpEO%2BObVJJx1RkDmDQ%3D%3D&KeyID=a8968c46",
"documentOf": "item",
"dateModified": "2023-10-10T01:03:03+03:00",
"author": "tender_owner",
"language": "uk"
},
{
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "AwardCriteria.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/6306049946ae4528b91128df0c649981?Signature=82%2B8iXiCeIz%2BiC%2B%2FhZpYJc%2B45RABxdPfQ0xTUI2WtzGrZQmUrUEvIAWhZ%2FJOJLloN%2BsCZV6FQm%2BcSMmiS6xeCg%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "219c08f909904568b9a726d99fe509f2",
"datePublished": "2023-10-10T01:06:04+03:00",
"dateModified": "2023-10-10T01:06:04+03:00",
"author": "tender_owner"
},
{
"confidentiality": "public",
"description": "Нова версія AwardCriteria документу",
"description_en": "new version of the AwardCriteria document",
"id": "219c08f909904568b9a726d99fe509f2",
"datePublished": "2023-10-10T01:10:05+03:00",
"hash": "md5:11111111111111111111111111111111",
"title": "AwardCriteria.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/50ef0208169a47979218f1f8919a46c6?Signature=epfCSA6FbFLil0mdrT2fGD9HH1Cb6YvKWDe025wBAAKayzHMzuAiy5fycJgQXHuU1ASOy6QroiPWtGNgiyjWBQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:10:05+03:00",
"author": "tender_owner",
"language": "en"
}
],
"status": "active.auction",
"owner": "broker",
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procurementMethod": "open",
"noticePublicationDate": "2023-10-10T01:00:00+03:00",
"submissionMethod": "electronicAuction",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"guarantee": {
"amount": 8.0,
"currency": "USD"
},
"next_check": "2023-10-16T02:45:06+03:00",
"tenderPeriod": {
"startDate": "2023-10-09T01:15:06+03:00",
"endDate": "2023-10-16T01:15:06+03:00"
},
"lots": [
{
"title": "lot title",
"description": "lot description",
"status": "active",
"id": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-10T01:00:00+03:00",
"value": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 500.0
},
"minimalStep": {
"currency": "UAH",
"valueAddedTaxIncluded": true,
"amount": 15.0
},
"auctionPeriod": {
"startDate": "2023-10-16T01:15:06+03:00"
},
"auctionUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/f135bade563d49fc9233e1f1d37fdcf0_d6fba8716672449f87efa3a5781c7760"
}
],
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "8834d7b932264a4c803719c6ac65e6c6",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"startDate": "2023-10-01T01:15:06+03:00",
"clarificationsUntil": "2023-10-10T01:15:06+03:00",
"endDate": "2023-10-09T01:15:06+03:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"relatedLot": "d6fba8716672449f87efa3a5781c7760"
}
],
"questions": [
{
"id": "cf1cf1cf5a394133bad086c408c840a6",
"author": {
"hash": "5b9bf3e1b3b965c390a3c7f07cca2a6d"
},
"title": "Калорійність",
"description": "Просимо додати таблицю потрібної калорійності харчування",
"date": "2023-10-10T01:10:05+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"questionOf": "tender",
"dateAnswered": "2023-10-10T01:10:05+03:00"
}
],
"auctionPeriod": {
"startDate": "2023-10-16T01:15:06+03:00"
},
"id": "f135bade563d49fc9233e1f1d37fdcf0"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
And bidders can find out their participation URLs via their bids:
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/86bcb0d93eab4c3893fdc70ea8af7597?acc_token=50487c35299d4cb2971a97f7beb1bb1d HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"lotValues": [
{
"value": {
"amount": 500.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760",
"status": "active",
"date": "2023-10-16T01:15:06+03:00",
"initialValue": {
"amount": 500.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"participationUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/f135bade563d49fc9233e1f1d37fdcf0_d6fba8716672449f87efa3a5781c7760?key_for_bid=86bcb0d93eab4c3893fdc70ea8af7597"
}
],
"tenderers": [
{
"name": "Школяр",
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"uri": "http://www.sc.gov.ua/"
},
"address": {
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця",
"region": "Вінницька область",
"postalCode": "21100",
"countryName": "Україна"
},
"contactPoint": {
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com",
"telephone": "+380432216930"
},
"scale": "micro",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
}
],
"status": "active",
"id": "86bcb0d93eab4c3893fdc70ea8af7597",
"date": "2023-10-16T01:15:06+03:00",
"submissionDate": "2023-10-16T01:15:06+03:00",
"documents": [
{
"confidentiality": "public",
"documentType": "proposal",
"id": "2207f7f1351144a39db0f36796584daf",
"datePublished": "2023-10-16T01:14:06+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal.p7s",
"format": "sign/p7s",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/836c459581154a94a5724e8a9d1bd2d7?Signature=aCHxPA7NTD6PoCedHE%2F0avor7ALdbQ8Q0%2FoMn0NwRLy2s7ejC%2Bg0BS%2FfkLolAchWSbcOuDNHVIAmCU2%2BzuNpCA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-16T01:14:06+03:00",
"language": "uk"
},
{
"confidentiality": "public",
"documentType": "proposal",
"id": "2207f7f1351144a39db0f36796584daf",
"datePublished": "2023-10-16T01:15:06+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/p7s",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/42496aef39ac4c0f85dd05300ae523c5?Signature=PPjVDHBA8WK6QW7DdktuvRx3qdWylfULTA5AiQNaYNGJJJPDBZ0pv4Qj%2FVCHw%2BqQEGd%2F9lF4ugL9wnp87tWVCw%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-16T01:15:06+03:00",
"language": "uk"
}
],
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "папір",
"unit": {
"value": {
"amount": 0.6,
"currency": "UAH",
"valueAddedTaxIncluded": false
},
"code": "KGM"
},
"quantity": 5.0
}
]
}
}
See the Bid.participationUrl in the response. Similar, but different, URL can be retrieved for other participants:
Request
GET /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/bids/678cd22c5ad346b8866b31e22de7a4a4?acc_token=58e7e915f6b442bba7b8afc64641d413 HTTP/1.0
Authorization: Bearer broker
Host: public-api-sandbox.prozorro.gov.ua
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"tenderers": [
{
"name": "ДКП «Книга»",
"identifier": {
"scheme": "UA-IPN",
"id": "00137226",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр 2»",
"uri": "http://www.sc.gov.ua/"
},
"address": {
"streetAddress": "вул. Островського, 34",
"locality": "м. Львів",
"region": "Львівська область",
"postalCode": "79013",
"countryName": "Україна"
},
"contactPoint": {
"name": "Андрій Олексюк",
"email": "aagt@gmail.com",
"telephone": "+380322916930"
},
"scale": "sme",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
}
],
"lotValues": [
{
"status": "pending",
"value": {
"amount": 499.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"relatedLot": "d6fba8716672449f87efa3a5781c7760",
"date": "2023-10-16T01:15:06+03:00",
"participationUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/f135bade563d49fc9233e1f1d37fdcf0_d6fba8716672449f87efa3a5781c7760?key_for_bid=678cd22c5ad346b8866b31e22de7a4a4"
}
],
"status": "draft",
"documents": [
{
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal_part1.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/e688ac21d30544acae2a608abd62c6db?Signature=ZT%2B9Wm821WQxxWkE09sAtThpAyjtL8vuDKWsrHN97OLWrqw5y3ph4sKc6dOPOEv77Wud5vEzVtnCU4CwkKSFDg%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "2c84f061f4e847e9a353c3cad6e3774f",
"datePublished": "2023-10-16T01:15:06+03:00",
"dateModified": "2023-10-16T01:15:06+03:00"
},
{
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal_part2.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/0501acceab444f6eae776cd24fd87ef3?Signature=q3zXnwJt170cWDOoG%2F%2BjKYRp0GyK%2F6kBbZ6goCASzWU4VQAU9eRaNhfotScxKpKulW7g1yVpVLbWF2A7otUKDw%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "e9f487e3cdff4415a6b88985b1f7c925",
"datePublished": "2023-10-16T01:15:06+03:00",
"dateModified": "2023-10-16T01:15:06+03:00"
}
],
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "папір",
"unit": {
"value": {
"amount": 0.6,
"currency": "UAH",
"valueAddedTaxIncluded": false
},
"code": "KGM"
},
"quantity": 5.0
}
],
"id": "678cd22c5ad346b8866b31e22de7a4a4",
"date": "2023-10-16T01:15:06+03:00"
}
}
Confirming qualification
Qualification comission can set award to active or unsuccessful status.
There are validations before registering qualification decision:
qualified: True - for setting award from pending to active
qualified: False - for setting award from pending to unsuccessful
Let’s try to set unsuccessful status for qualified award and we will see an error:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/awards/7c9d8cfd6c2e423782a7249139b6bf90?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "unsuccessful",
"qualified": true
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "qualified",
"description": [
"Can't update award to unsuccessful status when qualified/eligible isn't set to False"
]
}
]
}
Let’s try to set active status for non-qualified award and we will see an error:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/awards/7c9d8cfd6c2e423782a7249139b6bf90?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "active",
"qualified": false
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "qualified",
"description": [
"Can't update award to active status with not qualified"
]
}
]
}
Before making decision it is required to add sign document to award. If there is no sign document during activation, we will see an error:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/awards/7c9d8cfd6c2e423782a7249139b6bf90?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "active",
"qualified": true
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "documents",
"description": "Document with type 'notice' and format pkcs7-signature is required"
}
]
}
The same logic for unsuccessful status:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/awards/7c9d8cfd6c2e423782a7249139b6bf90?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "unsuccessful"
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "qualified",
"description": [
"Can't update award to unsuccessful status when qualified/eligible isn't set to False"
]
}
]
}
Sign document should have documentType: notice and title: *.p7s. Let’s add such document:
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/awards/7c9d8cfd6c2e423782a7249139b6bf90/documents?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "sign.p7s",
"documentType": "notice",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/f8ccd50adb714a6a83d8989d9c73144e?Signature=bUCZewyKriBr8vPYr61Yh7xWlHv3VERfXBLfswEFkz3%2FrfHnZJE9yRlirGDRTh9wDJNkuhLCNWhbu0oK3%2FTtBg%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "sign/pkcs7-signature"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/awards/7c9d8cfd6c2e423782a7249139b6bf90/documents/c5ff943a773d4ddaa516a9b17e40d888
{
"data": {
"confidentiality": "public",
"documentType": "notice",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/f8ccd50adb714a6a83d8989d9c73144e?Signature=7aB7pCLKXxwYP9WARAU1W9yAk5mMknIXJBkgTEQs71N4tKhIFXT%2BDEFItcfJmUq3Ry0k0OitQuVjLE4mDiL%2FCA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "c5ff943a773d4ddaa516a9b17e40d888",
"datePublished": "2023-10-16T01:15:06+03:00",
"dateModified": "2023-10-16T01:15:06+03:00",
"author": "tender_owner"
}
}
Qualification comission registers its decision via the following call:
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/awards/7c9d8cfd6c2e423782a7249139b6bf90?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"status": "active",
"qualified": true
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"id": "7c9d8cfd6c2e423782a7249139b6bf90",
"status": "active",
"date": "2023-10-16T01:15:06+03:00",
"value": {
"amount": 500.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"suppliers": [
{
"name": "Школяр",
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"uri": "http://www.sc.gov.ua/"
},
"address": {
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця",
"region": "Вінницька область",
"postalCode": "21100",
"countryName": "Україна"
},
"contactPoint": {
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com",
"telephone": "+380432216930"
},
"scale": "micro",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
}
],
"bid_id": "86bcb0d93eab4c3893fdc70ea8af7597",
"lotID": "d6fba8716672449f87efa3a5781c7760",
"documents": [
{
"confidentiality": "public",
"documentType": "notice",
"id": "c5ff943a773d4ddaa516a9b17e40d888",
"datePublished": "2023-10-16T01:15:06+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "sign.p7s",
"format": "sign/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/f8ccd50adb714a6a83d8989d9c73144e?Signature=7aB7pCLKXxwYP9WARAU1W9yAk5mMknIXJBkgTEQs71N4tKhIFXT%2BDEFItcfJmUq3Ry0k0OitQuVjLE4mDiL%2FCA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-16T01:15:06+03:00",
"author": "tender_owner",
"language": "uk"
}
],
"period": {
"startDate": "2023-10-16T01:15:06+03:00",
"endDate": "2023-10-24T00:00:00+03:00"
},
"qualified": true,
"complaintPeriod": {
"startDate": "2023-10-16T01:15:06+03:00",
"endDate": "2023-10-19T00:00:00+03:00"
}
}
}
Setting Contract
In EContracting the contract is created directly in contracting system.
Note
Some of data will be mirrored to tender until contract will be activated for backward compatibility.
Read more about working with EContracting in contracting system in Tutorial section.
Cancelling tender
Tender creator can cancel tender anytime (except when tender has terminal status e.g. usuccesfull, canceled, complete).
The following steps should be applied:
Prepare cancellation request
Fill it with the protocol describing the cancellation reasons
Cancel the tender with the reasons prepared.
Only the request that has been activated (3rd step above) has power to cancel tender. I.e. you have to not only prepare cancellation request but to activate it as well.
See Cancellation data structure for details.
Preparing the cancellation request
You should pass reason and reasonType, status defaults to draft.
id is autogenerated and passed in the Location header of response.
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/cancellations?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"reason": "cancellation reason",
"reasonType": "noDemand"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/cancellations/f831d34a0471424e8781aa551242a056
{
"data": {
"reasonType": "noDemand",
"reason": "cancellation reason",
"id": "f831d34a0471424e8781aa551242a056",
"date": "2023-10-16T01:15:06+03:00",
"cancellationOf": "tender",
"status": "draft"
}
}
Filling cancellation with protocol and supplementary documentation
This step is required. Without documents you can’t update tender status.
Upload the file contents
Request
POST /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/cancellations/f831d34a0471424e8781aa551242a056/documents?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "Notice.pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/011516a37c734dbbb25fa3293c1b9219?Signature=AJg4NH2hiZkEfuJIneM%2Fg7e5IS5y%2FSBJsmozOw18ZxQbbxjFqOF5CO3oaQhVmtaKt1hkbeYu8rHLNrx96vRLCA%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/cancellations/f831d34a0471424e8781aa551242a056/documents/4209da1a3798479080a341358dfc6a2d
{
"data": {
"confidentiality": "public",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/011516a37c734dbbb25fa3293c1b9219?Signature=BbSimHtlSPehd4BaIyr%2BHNdEuQIkpX%2FyyO5xRSPE%2BDV%2BNyGTwC%2B7lo2VGb3XJOgvA4BoiMCPC0lqVnzEjtWtBA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "4209da1a3798479080a341358dfc6a2d",
"datePublished": "2023-10-16T01:15:06+03:00",
"dateModified": "2023-10-16T01:15:06+03:00"
}
}
Change the document description and other properties
Request
PATCH /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/cancellations/f831d34a0471424e8781aa551242a056/documents/4209da1a3798479080a341358dfc6a2d?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"description": "Changed description"
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"confidentiality": "public",
"description": "Changed description",
"id": "4209da1a3798479080a341358dfc6a2d",
"datePublished": "2023-10-16T01:15:06+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/011516a37c734dbbb25fa3293c1b9219?Signature=BbSimHtlSPehd4BaIyr%2BHNdEuQIkpX%2FyyO5xRSPE%2BDV%2BNyGTwC%2B7lo2VGb3XJOgvA4BoiMCPC0lqVnzEjtWtBA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-16T01:15:06+03:00",
"language": "uk"
}
}
Upload new version of the document
Request
PUT /api/2.5/tenders/f135bade563d49fc9233e1f1d37fdcf0/cancellations/f831d34a0471424e8781aa551242a056/documents/4209da1a3798479080a341358dfc6a2d?acc_token=dc92946b9e4b4ea583fcb7d1136d6cc8 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "Notice.pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/66f1d581c85c424c9a246e3a7e060a37?Signature=LXHdSyOZAQgeBaGpUGyXWLMg6pxmavY8XQap3A3zXG9rKmA8OSHth6iJdhsjwxsjHwGRNXU8Kyj5WQj0gBs5Dw%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"confidentiality": "public",
"description": "Changed description",
"id": "4209da1a3798479080a341358dfc6a2d",
"datePublished": "2023-10-16T01:15:06+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "Notice.pdf",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/66f1d581c85c424c9a246e3a7e060a37?Signature=lC%2FhOFTDgMXhUPRibd48BSScOIavXX72P7yjCb1o0In6ZrKOT3N08lmlRX2dTFImVHaUckwspx%2BoLbCMn7jDAA%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-16T01:15:06+03:00",
"language": "uk"
}
}
Activating the request and cancelling tender
Request
POST /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"locality": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"telephone": "+380950000000",
"email": "example@email.com",
"iban": "111111111111111",
"authorizedBy": "Статут компанії",
"position": "Генеральний директор"
}
},
"value": {
"amount": 500,
"currency": "UAH"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"classification": {
"scheme": "ДК021",
"id": "44617100-9",
"description": "Cartons"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"unit": {
"name": "кілограм",
"code": "KGM",
"value": {
"amount": 6
}
},
"quantity": 5
}
],
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00"
},
"tenderPeriod": {
"endDate": "2023-10-24T00:00:00+02:00"
},
"procurementMethodType": "belowThreshold",
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"code": "prepayment",
"type": "financing",
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1,
"percentage": 45.55
},
{
"title": "deliveryOfGoods",
"code": "postpayment",
"type": "financing",
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2,
"percentage": 54.45
}
],
"contractTemplateName": "00000000.0002.01",
"funders": [
{
"additionalIdentifiers": [],
"address": {
"countryName": "Швейцарська Конфедерація",
"locality": "Geneva",
"postalCode": "1218",
"region": "Grand-Saconnex",
"streetAddress": "Global Health Campus, Chemin du Pommier 40"
},
"contactPoint": {
"email": "ccm@theglobalfund.org",
"faxNumber": "+41 44 580 6820",
"name": "",
"telephone": "+41587911700",
"url": "https://www.theglobalfund.org/en/"
},
"identifier": {
"id": "47045",
"legalName": "Глобальний Фонд для боротьби зі СНІДом, туберкульозом і малярією",
"scheme": "XM-DAC"
},
"name": "Глобальний фонд"
}
]
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/fd4de4e2ac1044b38acaf4d7662bc817
{
"data": {
"mainProcurementCategory": "goods",
"funders": [
{
"name": "Глобальний фонд",
"identifier": {
"scheme": "XM-DAC",
"id": "47045",
"legalName": "Глобальний Фонд для боротьби зі СНІДом, туберкульозом і малярією"
},
"address": {
"streetAddress": "Global Health Campus, Chemin du Pommier 40",
"locality": "Geneva",
"region": "Grand-Saconnex",
"postalCode": "1218",
"countryName": "Швейцарська Конфедерація"
},
"contactPoint": {
"name": "",
"email": "ccm@theglobalfund.org",
"telephone": "+41587911700",
"faxNumber": "+41 44 580 6820",
"url": "https://www.theglobalfund.org/en/"
}
}
],
"contractTemplateName": "00000000.0002.01",
"title": "футляри до державних нагород",
"status": "draft",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "5991797aee6e41c0a9d2d3f7de7e8b03",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"endDate": "2023-10-17T00:00:00+02:00",
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
]
}
],
"tenderID": "UA-2023-10-10-000003-a",
"owner": "broker",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"date": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"id": "fd4de4e2ac1044b38acaf4d7662bc817"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
},
"access": {
"token": "ef719d3f89574a638a74a631043d6723",
"transfer": "95855c6cd2d74bee9e8951fb9a95cc26"
}
}