Tutorial

Exploring basic rules

Let’s try exploring the /tenders endpoint:

GET /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "next_page": {
    "path": "/api/2.5/tenders?offset=",
    "uri": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders?offset=",
    "offset": ""
  },
  "data": []
}

Just invoking it reveals empty set.

Now let’s attempt creating some tender:

POST /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Content-Length: 4
Content-Type: application/x-www-form-urlencoded
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
data

Response: 415 Unsupported Media Type
Content-Type: application/json; charset=UTF-8
{
  "status": "error",
  "errors": [
    {
      "description": "Content-Type header should be one of ['application/json']",
      "location": "header",
      "name": "Content-Type"
    }
  ]
}

Error states that the only accepted Content-Type is application/json.

Let’s satisfy the Content-type requirement:

POST /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 4
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
data

Response: 422 Unprocessable Entity
Content-Type: application/json; charset=UTF-8
{
  "status": "error",
  "errors": [
    {
      "description": "No JSON object could be decoded",
      "location": "body",
      "name": "data"
    }
  ]
}

Error states that no data has been found in JSON body.

Creating tender

Let’s provide the data attribute in the submitted body :

POST /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 4179
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing"
      }
    ],
    "mainProcurementCategory": "services",
    "tenderPeriod": {
      "endDate": "2019-11-25T00:00:00+02:00"
    },
    "fundingKind": "other",
    "title": "Послуги шкільних їдалень",
    "NBUdiscountRate": 0.22986,
    "procurementMethodType": "esco",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "countryName": "Україна",
        "postalCode": "21027",
        "region": "м. Вінниця",
        "streetAddress": "вул. Стахурського. 22",
        "locality": "м. Вінниця"
      },
      "name_en": "School #10 of Vinnytsia",
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      }
    },
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "title_en": "Services in school canteens"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8
{
  "access": {
    "transfer": "54d908a368e74fd5a83104bbb273ed73",
    "token": "82d005b2183e43fe8edbb00cc6eb36c1"
  },
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-21T00:00:00+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "clarificationsUntil": "2019-11-20T00:00:00+02:00",
      "endDate": "2019-11-15T00:00:00+02:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2019-11-25T00:00:00+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "0aac695e27804293a2854dff7bed4be8",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2019-10-25T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-25T00:00:00+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2019-12-30T00:00:00+02:00"
    },
    "procurementMethodType": "esco",
    "date": "2019-10-25T01:00:00+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

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. Note that tender is created with active.tendering status.

The peculiarity of the ESCO procedure is that procurementMethodType is esco. Also, new fields NBUdiscountRate, minimalStepPercentage, fundingKind, yearlyPaymentsPercentageRange were added to tender object.

There is also no opportunity to set up enquiryPeriod, it will be assigned automatically.

Let’s access the URL of the created object (the Location header of the response):

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-21T00:00:00+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "clarificationsUntil": "2019-11-20T00:00:00+02:00",
      "endDate": "2019-11-15T00:00:00+02:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2019-11-25T00:00:00+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "0aac695e27804293a2854dff7bed4be8",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2019-10-25T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-25T00:00:00+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2019-12-30T00:00:00+02:00"
    },
    "procurementMethodType": "esco",
    "date": "2019-10-25T01:00:00+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

We can see the same response we got after creating tender.

Let’s see what listing of tenders reveals us:

GET /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "next_page": {
    "path": "/api/2.5/tenders?offset=2019-10-25T01%3A00%3A00%2B03%3A00",
    "uri": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders?offset=2019-10-25T01%3A00%3A00%2B03%3A00",
    "offset": "2019-10-25T01:00:00+03:00"
  },
  "data": [
    {
      "id": "0aac695e27804293a2854dff7bed4be8",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

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.

Modifying tender

Let’s update tender by supplementing it with all other essential properties:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 68
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2019-11-24T01:00:10+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-20T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "clarificationsUntil": "2019-11-20T00:00:00+03:00",
      "endDate": "2019-11-14T01:00:10+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2019-11-24T00:00:10+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "0aac695e27804293a2854dff7bed4be8",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2019-10-25T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-24T01:00:10+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2019-12-30T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2019-10-25T01:00:00+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

We see the added properies 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:

GET /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "next_page": {
    "path": "/api/2.5/tenders?offset=2019-10-25T01%3A00%3A00%2B03%3A00",
    "uri": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders?offset=2019-10-25T01%3A00%3A00%2B03%3A00",
    "offset": "2019-10-25T01:00:00+03:00"
  },
  "data": [
    {
      "id": "0aac695e27804293a2854dff7bed4be8",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

Procuring entity can not change tender if there are less than 7 days before tenderPeriod ends. Changes will not be accepted by API.

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-27T01:00:00+03:00",
      "endDate": "2019-10-23T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-09-27T01:00:00+03:00",
      "clarificationsUntil": "2019-10-23T00:00:00+03:00",
      "endDate": "2019-10-17T01:00:00+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2019-10-27T01:00:00+03:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2019-10-25T01:00:00+03:00",
        "title": "Калорійність",
        "date": "2019-10-25T01:00:00+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "c0ace3dda24e4cfab1c52c61462ceae8",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "0aac695e27804293a2854dff7bed4be8",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "733a74df43104429b0019d3517b3e0ac",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c76c574bb5714522bffb70d839504850?KeyID=a8968c46&Signature=AMdpQ7ERktWktCPB8e4ctgAtcLoCENKDto3a7mGxQQ18%2FcWscdHFllSTlpgvH8V8%2Fn7k75oj1GyBQI7bZQ5lBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/662d95f21d484fa9bd7ab10efb0c8be2?KeyID=a8968c46&Signature=QwCUYJCeKUWkcwUMpgTnBud0fiTh7Jw2dhvBt6hUtMxaoaWGZkbzq5HWLL5INOOcAAZwny0Z2JgGBtrFB9tnBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2019-10-25T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2019-09-27T01:00:00+03:00",
      "endDate": "2019-10-27T01:00:00+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2019-12-02T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2019-10-25T01:00:00+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 41
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "minValue": {
      "amount": 501.0
    }
  }
}

Response: 403 Forbidden
Content-Type: application/json; charset=UTF-8
{
  "status": "error",
  "errors": [
    {
      "description": "tenderPeriod should be extended by 7 days",
      "location": "body",
      "name": "data"
    }
  ]
}

That is why tenderPeriod has to be extended by 7 days.

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 116
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2019-11-02T01:00:00+03:00"
    },
    "minValue": {
      "currency": "UAH",
      "amount": 501
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-27T01:00:00+03:00",
      "endDate": "2019-10-29T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-09-27T01:00:00+03:00",
      "clarificationsUntil": "2019-10-29T00:00:00+03:00",
      "endDate": "2019-10-23T01:00:00+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2019-11-02T00:00:00+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2019-10-25T01:00:00+03:00",
        "title": "Калорійність",
        "date": "2019-10-25T01:00:00+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "c0ace3dda24e4cfab1c52c61462ceae8",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "0aac695e27804293a2854dff7bed4be8",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "733a74df43104429b0019d3517b3e0ac",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c76c574bb5714522bffb70d839504850?KeyID=a8968c46&Signature=AMdpQ7ERktWktCPB8e4ctgAtcLoCENKDto3a7mGxQQ18%2FcWscdHFllSTlpgvH8V8%2Fn7k75oj1GyBQI7bZQ5lBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/662d95f21d484fa9bd7ab10efb0c8be2?KeyID=a8968c46&Signature=QwCUYJCeKUWkcwUMpgTnBud0fiTh7Jw2dhvBt6hUtMxaoaWGZkbzq5HWLL5INOOcAAZwny0Z2JgGBtrFB9tnBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2019-10-25T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2019-09-27T01:00:00+03:00",
      "endDate": "2019-11-02T01:00:00+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2019-12-08T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2019-10-25T01:00:00+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Procuring entity can set bid guarantee:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 57
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "guarantee": {
      "currency": "USD",
      "amount": 8
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-20T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "clarificationsUntil": "2019-11-20T00:00:00+03:00",
      "endDate": "2019-11-14T01:00:10+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2019-11-24T00:00:10+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "0aac695e27804293a2854dff7bed4be8",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2019-10-25T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-24T01:00:10+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2019-12-30T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2019-10-25T01:00:00+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Uploading documentation

Procuring entity can upload PDF files into the created tender. Uploading should follow the Documents Uploading rules.

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/documents?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 142
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="Notice.pdf"
Content-Type: application/pdf

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/documents/733a74df43104429b0019d3517b3e0ac
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "tender_owner",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "733a74df43104429b0019d3517b3e0ac",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/documents/733a74df43104429b0019d3517b3e0ac?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "tender_owner",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "previousVersions": [],
    "id": "733a74df43104429b0019d3517b3e0ac",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

The single array element describes the uploaded document. We can upload more documents:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/documents?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 149
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="AwardCriteria.pdf"
Content-Type: application/pdf

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/documents/a1ca03160bf74c3db9bc30fb1dd7c3d6
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "tender_owner",
    "language": "uk",
    "title": "AwardCriteria.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c76c574bb5714522bffb70d839504850?KeyID=a8968c46&Signature=AMdpQ7ERktWktCPB8e4ctgAtcLoCENKDto3a7mGxQQ18%2FcWscdHFllSTlpgvH8V8%2Fn7k75oj1GyBQI7bZQ5lBA%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

And again we can confirm that there are two documents uploaded.

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/documents?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "author": "tender_owner",
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "733a74df43104429b0019d3517b3e0ac",
      "dateModified": "2019-10-25T01:00:00+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "author": "tender_owner",
      "language": "uk",
      "title": "AwardCriteria.pdf",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c76c574bb5714522bffb70d839504850?KeyID=a8968c46&Signature=AMdpQ7ERktWktCPB8e4ctgAtcLoCENKDto3a7mGxQQ18%2FcWscdHFllSTlpgvH8V8%2Fn7k75oj1GyBQI7bZQ5lBA%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

In case we made an error, we can reupload the document over the older version:

PUT /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/documents/a1ca03160bf74c3db9bc30fb1dd7c3d6?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 152
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="AwardCriteria-2.pdf"
Content-Type: application/pdf

content2
-----BOUNDARY--


Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "tender_owner",
    "language": "uk",
    "title": "AwardCriteria-2.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/662d95f21d484fa9bd7ab10efb0c8be2?KeyID=a8968c46&Signature=QwCUYJCeKUWkcwUMpgTnBud0fiTh7Jw2dhvBt6hUtMxaoaWGZkbzq5HWLL5INOOcAAZwny0Z2JgGBtrFB9tnBw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

And we can see that it is overriding the original version:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/documents HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "author": "tender_owner",
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "733a74df43104429b0019d3517b3e0ac",
      "dateModified": "2019-10-25T01:00:00+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "author": "tender_owner",
      "language": "uk",
      "title": "AwardCriteria-2.pdf",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/662d95f21d484fa9bd7ab10efb0c8be2?KeyID=a8968c46&Signature=QwCUYJCeKUWkcwUMpgTnBud0fiTh7Jw2dhvBt6hUtMxaoaWGZkbzq5HWLL5INOOcAAZwny0Z2JgGBtrFB9tnBw%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

Enquiries

When tender has active.tendering status and Tender.enquiryPeriod.endDate hasn’t come yet, interested parties can ask questions:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/questions HTTP/1.0
Authorization: Bearer broker
Content-Length: 1088
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "author": {
      "contactPoint": {
        "email": "aagt@gmail.com",
        "telephone": "+380 (322) 91-69-30",
        "name": "Андрій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "00137226",
        "uri": "http://www.sc.gov.ua/"
      },
      "name": "ДКП «Книга»",
      "address": {
        "countryName": "Україна",
        "postalCode": "79013",
        "region": "м. Львів",
        "streetAddress": "вул. Островського, 34",
        "locality": "м. Львів"
      }
    },
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "title": "Калорійність"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/questions/c0ace3dda24e4cfab1c52c61462ceae8
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "author": {
      "contactPoint": {
        "email": "aagt@gmail.com",
        "telephone": "+380 (322) 91-69-30",
        "name": "Андрій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "00137226",
        "uri": "http://www.sc.gov.ua/"
      },
      "name": "ДКП «Книга»",
      "address": {
        "postalCode": "79013",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 34",
        "region": "м. Львів",
        "locality": "м. Львів"
      }
    },
    "title": "Калорійність",
    "date": "2019-10-25T01:00:00+03:00",
    "id": "c0ace3dda24e4cfab1c52c61462ceae8",
    "questionOf": "tender"
  }
}

Procuring entity can answer them:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/questions/c0ace3dda24e4cfab1c52c61462ceae8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 162
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\""
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "dateAnswered": "2019-10-25T01:00:00+03:00",
    "title": "Калорійність",
    "date": "2019-10-25T01:00:00+03:00",
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
    "id": "c0ace3dda24e4cfab1c52c61462ceae8",
    "questionOf": "tender"
  }
}

One can retrieve either questions list:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/questions HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "description": "Просимо додати таблицю потрібної калорійності харчування",
      "dateAnswered": "2019-10-25T01:00:00+03:00",
      "title": "Калорійність",
      "date": "2019-10-25T01:00:00+03:00",
      "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
      "id": "c0ace3dda24e4cfab1c52c61462ceae8",
      "questionOf": "tender"
    }
  ]
}

or individual answer:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/questions/c0ace3dda24e4cfab1c52c61462ceae8 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "dateAnswered": "2019-10-25T01:00:00+03:00",
    "title": "Калорійність",
    "date": "2019-10-25T01:00:00+03:00",
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
    "id": "c0ace3dda24e4cfab1c52c61462ceae8",
    "questionOf": "tender"
  }
}

Enquiries can be made only during Tender.enquiryPeriod

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/questions HTTP/1.0
Authorization: Bearer broker
Content-Length: 1088
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "author": {
      "contactPoint": {
        "email": "aagt@gmail.com",
        "telephone": "+380 (322) 91-69-30",
        "name": "Андрій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "00137226",
        "uri": "http://www.sc.gov.ua/"
      },
      "name": "ДКП «Книга»",
      "address": {
        "countryName": "Україна",
        "postalCode": "79013",
        "region": "м. Львів",
        "streetAddress": "вул. Островського, 34",
        "locality": "м. Львів"
      }
    },
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "title": "Калорійність"
  }
}

Response: 403 Forbidden
Content-Type: application/json; charset=UTF-8
{
  "status": "error",
  "errors": [
    {
      "description": "Can add question only in enquiryPeriod",
      "location": "body",
      "name": "data"
    }
  ]
}

Registering bid

Bid registration

Tender status active.tendering allows registration of bids.

Bidder can register a bid with draft status:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 1170
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "draft",
    "selfEligible": true,
    "value": {
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "yearlyPaymentsPercentage": 0.9,
      "annualCostsReduction": [
        500,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000,
        1000
      ]
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "name": "Сергій Олексюк",
          "telephone": "+380 (432) 21-69-30"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "countryName": "Україна",
          "postalCode": "21100",
          "region": "м. Вінниця",
          "streetAddress": "вул. Островського, 33",
          "locality": "м. Вінниця"
        }
      }
    ],
    "selfQualified": true
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106
{
  "access": {
    "transfer": "386b1470e5744d81b11a1bd9b3b247ee",
    "token": "29627267ed794908800e9ab5426bbd2e"
  },
  "data": {
    "status": "draft",
    "selfEligible": true,
    "id": "e4528bc92c0f463ca1f661381961e106",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 869.28,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "selfQualified": true
  }
}

and approve to pending status:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 31
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "pending"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "selfEligible": true,
    "id": "e4528bc92c0f463ca1f661381961e106",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 869.28,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "selfQualified": true
  }
}

Proposal Uploading

Then bidder should upload proposal technical document(s):

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 144
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="Proposal.pdf"
Content-Type: application/pdf

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/f6d40d29d5ef4d1f85af6033339b5f47
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/f6d40d29d5ef4d1f85af6033339b5f47?download=3c66e547d52349d3ae64416f15e9c35a",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "f6d40d29d5ef4d1f85af6033339b5f47",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

Confidentiality

Documents can be either public or private:

  1. Privacy settings can be changed only for the latest version of the document.
  2. When you upload new version of the document, privacy settings are copied from the previous version.
  3. Privacy settings can be changed only during tenderPeriod (with active.tendering status).
  4. If tender has status active.qualification winner can upload only public documents.

Let’s upload private document:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 156
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="Proposal_top_secrets.pdf"
Content-Type: application/pdf

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal_top_secrets.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "12d76b67e831404c8628f7612d0944b1",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

To define the document as “private” - confidentiality and confidentialityRationale fields should be set.

confidentiality field value can be either buyerOnly (document is private) or public (document is publicly accessible).

Content of private documents (buyerOnly) can be accessed only by procuring entity or by participant who uploaded them.

confidentialityRationale field is required only for private documents and should contain at least 30 characters.

Let’s mark the document as “private”:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 120
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "confidentiality": "buyerOnly"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "buyerOnly",
    "language": "uk",
    "format": "application/pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "title": "Proposal_top_secrets.pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "12d76b67e831404c8628f7612d0944b1",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

It is possible to check the uploaded documents:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "buyerOnly",
      "language": "uk",
      "format": "application/pdf",
      "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
      "confidentialityRationale": "Only our company sells badgers with pink hair.",
      "title": "Proposal_top_secrets.pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "12d76b67e831404c8628f7612d0944b1",
      "dateModified": "2019-10-25T01:00:00+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "Proposal.pdf",
      "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/f6d40d29d5ef4d1f85af6033339b5f47?download=3c66e547d52349d3ae64416f15e9c35a",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "f6d40d29d5ef4d1f85af6033339b5f47",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

Financial, eligibility and qualification documents uploading

Financial, eligibility and qualification documents are also a part of Bid but are located in different end-points.

In order to create and/or get financial document financial_documents end-point should be used:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 147
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="financial_doc.pdf"
Content-Type: application/pdf

1000$
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/c91b2d4d356b4f6c94cf255126fe233c
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "financial_doc.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/c91b2d4d356b4f6c94cf255126fe233c?download=b5c94c3907c04f15b1eb4bcf56cf73e5",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "c91b2d4d356b4f6c94cf255126fe233c",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 148
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="financial_doc2.pdf"
Content-Type: application/pdf

1000$
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/d2179f9d17144ae59107edad44558986
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "financial_doc2.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/d2179f9d17144ae59107edad44558986?download=90f3ed7fe83245ceb8b2f7ff6624822b",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "d2179f9d17144ae59107edad44558986",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

Get financial documents:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "financial_doc2.pdf",
      "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/d2179f9d17144ae59107edad44558986?download=90f3ed7fe83245ceb8b2f7ff6624822b",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "d2179f9d17144ae59107edad44558986",
      "dateModified": "2019-10-25T01:00:00+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "financial_doc.pdf",
      "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/c91b2d4d356b4f6c94cf255126fe233c?download=b5c94c3907c04f15b1eb4bcf56cf73e5",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "c91b2d4d356b4f6c94cf255126fe233c",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

In order to create and/or get eligibility document eligibility_documents end-point should be used:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/eligibility_documents?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 151
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="eligibility_doc.pdf"
Content-Type: application/pdf

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/eligibility_documents/66f8e57da25649be9795cc6d9189c4ff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "eligibility_doc.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/eligibility_documents/66f8e57da25649be9795cc6d9189c4ff?download=eb89b6fb96bb463c8f422013d61506a0",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "66f8e57da25649be9795cc6d9189c4ff",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

In order to create and/or get qualification document qualification_documents end-point should be used:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/qualification_documents?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 158
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="qualification_document.pdf"
Content-Type: application/pdf

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/qualification_documents/5ba700bd5a65489fbd8821531adc4434
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "qualification_document.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/qualification_documents/5ba700bd5a65489fbd8821531adc4434?download=469f20975c9b4087a0b601f5d48d3df4",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "5ba700bd5a65489fbd8821531adc4434",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

Financial and qualification documents will be publicly accessible after the auction. Eligibility documents will become publicly accessible starting from tender pre-qualification period.

Here is bidder proposal with all documents.

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/f6d40d29d5ef4d1f85af6033339b5f47?download=3c66e547d52349d3ae64416f15e9c35a",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "f6d40d29d5ef4d1f85af6033339b5f47",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "12d76b67e831404c8628f7612d0944b1",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/eligibility_documents/66f8e57da25649be9795cc6d9189c4ff?download=eb89b6fb96bb463c8f422013d61506a0",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "66f8e57da25649be9795cc6d9189c4ff",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "selfEligible": true,
    "id": "e4528bc92c0f463ca1f661381961e106",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 869.28,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/c91b2d4d356b4f6c94cf255126fe233c?download=b5c94c3907c04f15b1eb4bcf56cf73e5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "c91b2d4d356b4f6c94cf255126fe233c",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/d2179f9d17144ae59107edad44558986?download=90f3ed7fe83245ceb8b2f7ff6624822b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "d2179f9d17144ae59107edad44558986",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/qualification_documents/5ba700bd5a65489fbd8821531adc4434?download=469f20975c9b4087a0b601f5d48d3df4",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "5ba700bd5a65489fbd8821531adc4434",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ]
  }
}

Note that financial, eligibility, and qualification documents are stored in financialDocuments, eligibilityDocuments, and qualificationDocuments attributes of Bid.

Bid invalidation

If tender is modified, status of all bid proposals will be changed to invalid. Bid proposal will look the following way after tender has been modified:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "invalid",
    "id": "e4528bc92c0f463ca1f661381961e106"
  }
}

Bid confirmation

Bidder should confirm bid proposal:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Content-Length: 31
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "pending"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/f6d40d29d5ef4d1f85af6033339b5f47?download=3c66e547d52349d3ae64416f15e9c35a",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "f6d40d29d5ef4d1f85af6033339b5f47",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "12d76b67e831404c8628f7612d0944b1",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/eligibility_documents/66f8e57da25649be9795cc6d9189c4ff?download=eb89b6fb96bb463c8f422013d61506a0",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "66f8e57da25649be9795cc6d9189c4ff",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "selfEligible": true,
    "id": "e4528bc92c0f463ca1f661381961e106",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 869.28,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/c91b2d4d356b4f6c94cf255126fe233c?download=b5c94c3907c04f15b1eb4bcf56cf73e5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "c91b2d4d356b4f6c94cf255126fe233c",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/d2179f9d17144ae59107edad44558986?download=90f3ed7fe83245ceb8b2f7ff6624822b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "d2179f9d17144ae59107edad44558986",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/qualification_documents/5ba700bd5a65489fbd8821531adc4434?download=469f20975c9b4087a0b601f5d48d3df4",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "5ba700bd5a65489fbd8821531adc4434",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ]
  }
}

ESCO procedure demands at least two bidders, so there should be at least two bid proposals registered to move to auction stage. So let’s create second bid:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 963
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "value": {
      "contractDuration": {
        "days": 200,
        "years": 12
      },
      "yearlyPaymentsPercentage": 0.85,
      "annualCostsReduction": [
        400,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900,
        900
      ]
    },
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "scale": "sme",
        "name": "ДКП «Книга»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "м. Львів",
          "streetAddress": "вул. Островського, 34",
          "locality": "м. Львів"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/b649b9b2575142159fd240c728c87298
{
  "access": {
    "transfer": "a91de4c425bc4bc09ae040f2a987d0ce",
    "token": "a3322ea4c3e5495ebd9a1d928ea546d7"
  },
  "data": {
    "status": "pending",
    "selfEligible": true,
    "value": {
      "yearlyPaymentsPercentage": 0.85,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9798.75,
      "contractDuration": {
        "days": 200,
        "years": 12
      },
      "amountPerformance": 807.55,
      "annualCostsReduction": [
        400.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0
      ]
    },
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "scale": "sme",
        "name": "ДКП «Книга»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "id": "b649b9b2575142159fd240c728c87298"
  }
}

Batch-mode bid registration

Register one more bid with documents using single request (batch-mode):

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 2785
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "documents": [
      {
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/21ef16b5420c40b48a8d16d91f49eeb4?KeyID=a8968c46&Signature=maRGVvyqdDWuY7adTnrCnfW7132cVM3x2ulhW7lgAOoppCuNsUkCxHujWaaFfgp8vL01ZkFt%2F5WZjPju8jmwCQ%3D%3D",
        "title": "Proposal_part1.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "format": "application/pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/368ab90ae6a748e6be48d5d2151aee66?KeyID=a8968c46&Signature=33nJ45rSwz7k2o1BavFF6Kj2rx%2FTGIP4wb%2BG8JVutfw62lJyGrvnmF9XK9onJzbgcbEUntMcJ4TT%2FSAp0g5FDA%3D%3D",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf"
      }
    ],
    "eligibilityDocuments": [
      {
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2ee8fe8abbb94b7ebefa67990b15a743?KeyID=a8968c46&Signature=gupBv%2F4HBDQSw5xj0MkY3xT%2FY2wXsQVGi6xS8ZbOwt6awMBQDjb7J6kKmtr8bHuJyH4m%2BcPqNbXlI9WwLvWUBg%3D%3D",
        "format": "application/pdf",
        "hash": "md5:00000000000000000000000000000000",
        "title": "eligibility_doc.pdf"
      }
    ],
    "selfEligible": true,
    "value": {
      "contractDuration": {
        "days": 40,
        "years": 13
      },
      "yearlyPaymentsPercentage": 0.86,
      "annualCostsReduction": [
        200,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800
      ]
    },
    "qualificationDocuments": [
      {
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/5adb6bac38c9431284763180f68198be?KeyID=a8968c46&Signature=xoYQNox2vVFxwv%2FP%2FbNg0rpkD9fJddBDKu5SHS3T3vr6pI7k3PIUUgbkROq1skNhmaSf0hzFiiUgm19UNpjmBg%3D%3D",
        "format": "application/pdf",
        "hash": "md5:00000000000000000000000000000000",
        "title": "qualification_document.pdf"
      }
    ],
    "financialDocuments": [
      {
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/643769d36825492a97eb6ceebb19eb1f?KeyID=a8968c46&Signature=6tFmihh2fHg%2BIg86Lu2x1XxfFE0tD5BLDYw%2BAC7uicFh1PVKYOcdpQGQZiZ5MWUHLxZ9NA4iAWD50vjxPtXRDg%3D%3D",
        "format": "application/pdf",
        "hash": "md5:00000000000000000000000000000000",
        "title": "financial_doc.pdf"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "name": "Андрій Олексюк",
          "telephone": "+380 (322) 91-69-30"
        },
        "scale": "sme",
        "name": "ДКП «Книга»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "м. Львів",
          "streetAddress": "вул. Островського, 34",
          "locality": "м. Львів"
        }
      }
    ],
    "selfQualified": true
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b
{
  "access": {
    "transfer": "c7378ba1bdda4a818b444f6a2697c3d9",
    "token": "8bdbb55e6b3c4c26a40d2ad78b190b55"
  },
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal_part1.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/documents/824f270cc0b749bd989983329634a5de?download=21ef16b5420c40b48a8d16d91f49eeb4",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "824f270cc0b749bd989983329634a5de",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/documents/fc90022e9584421e90d0438c8b331cc8?download=368ab90ae6a748e6be48d5d2151aee66",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "fc90022e9584421e90d0438c8b331cc8",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/eligibility_documents/7adad4419c2f4b30b066e8e584a62f25?download=2ee8fe8abbb94b7ebefa67990b15a743",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "7adad4419c2f4b30b066e8e584a62f25",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "selfEligible": true,
    "id": "5e79c825b4c54c36a179b22db2dae23b",
    "value": {
      "yearlyPaymentsPercentage": 0.86,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9065.11,
      "contractDuration": {
        "days": 40,
        "years": 13
      },
      "amountPerformance": 637.54,
      "annualCostsReduction": [
        200.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0
      ]
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/financial_documents/1c73e057a06b4ae5a71824069263ed43?download=643769d36825492a97eb6ceebb19eb1f",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "1c73e057a06b4ae5a71824069263ed43",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "scale": "sme",
        "name": "ДКП «Книга»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/qualification_documents/fe588ea0e24f4fd2b0ea10370536c95e?download=5adb6bac38c9431284763180f68198be",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "fe588ea0e24f4fd2b0ea10370536c95e",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ]
  }
}

Bid Qualification

ESCO procedure requires bid qualification.

Let’s list qualifications:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.pre-qualification",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-24T01:00:00+03:00",
      "endDate": "2019-10-21T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-09-24T01:00:00+03:00",
      "clarificationsUntil": "2019-10-19T00:00:00+03:00",
      "endDate": "2019-10-15T01:00:00+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2019-10-25T01:00:00+03:00",
        "title": "Калорійність",
        "date": "2019-10-25T01:00:00+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "c0ace3dda24e4cfab1c52c61462ceae8",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "0aac695e27804293a2854dff7bed4be8",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "733a74df43104429b0019d3517b3e0ac",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c76c574bb5714522bffb70d839504850?KeyID=a8968c46&Signature=AMdpQ7ERktWktCPB8e4ctgAtcLoCENKDto3a7mGxQQ18%2FcWscdHFllSTlpgvH8V8%2Fn7k75oj1GyBQI7bZQ5lBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/662d95f21d484fa9bd7ab10efb0c8be2?KeyID=a8968c46&Signature=QwCUYJCeKUWkcwUMpgTnBud0fiTh7Jw2dhvBt6hUtMxaoaWGZkbzq5HWLL5INOOcAAZwny0Z2JgGBtrFB9tnBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00"
    },
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "NBUdiscountRate": 0.22986,
    "dateModified": "2019-10-25T01:00:00+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2019-09-24T01:00:00+03:00",
      "endDate": "2019-10-25T01:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "yearlyPaymentsPercentageRange": 0.8,
    "qualifications": [
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "e4528bc92c0f463ca1f661381961e106",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "de8bbc96c24f498488bf279a41416c9f"
      },
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "b649b9b2575142159fd240c728c87298",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "81988da3ce1f4cfdba7afe53020a62e6"
      },
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "5e79c825b4c54c36a179b22db2dae23b",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "0da9ff005c5b4951af49ef8d1863ce0b"
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "bids": [
      {
        "status": "pending",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3c66e547d52349d3ae64416f15e9c35a?KeyID=a8968c46&Signature=YEnRLG%252B0IBnGJh1%2FEXonkQ3lEa6OeFJ6bja8UcTg0JHqoy6x%252BYkpvm3buQ%2FR1IMBaAkxz8EBfQUTb1WVvmYbCg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "f6d40d29d5ef4d1f85af6033339b5f47",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "12d76b67e831404c8628f7612d0944b1",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "scale": "micro",
            "name": "ДКП «Школяр»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "id": "e4528bc92c0f463ca1f661381961e106",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/eb89b6fb96bb463c8f422013d61506a0?KeyID=a8968c46&Signature=bvPqtUvHr%252BBupaKAYbWu68gNk0zcx3u09N10bg2z1vVuM%252Bf8Wt7JmGgyboVdSMqZn9DOK6ooLdeEy5Io6E0qBQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "66f8e57da25649be9795cc6d9189c4ff",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ]
      },
      {
        "status": "pending",
        "id": "b649b9b2575142159fd240c728c87298",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "scale": "sme",
            "name": "ДКП «Книга»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "pending",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/21ef16b5420c40b48a8d16d91f49eeb4?KeyID=a8968c46&Signature=J%252Bkr%2F2u2h8MUKvkpSzmXoA1nT4SG9QOg4ijLwpZ9V93dmDn%252BIa9%252BD%2FNLZ3A9ciZp2R8tISmjpTHIzMCH6j%2FTAg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "824f270cc0b749bd989983329634a5de",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/documents/fc90022e9584421e90d0438c8b331cc8?download=368ab90ae6a748e6be48d5d2151aee66",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "fc90022e9584421e90d0438c8b331cc8",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "scale": "sme",
            "name": "ДКП «Книга»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "id": "5e79c825b4c54c36a179b22db2dae23b",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2ee8fe8abbb94b7ebefa67990b15a743?KeyID=a8968c46&Signature=ryUc0j3Pmy63gc3K%252BVAlJ9qnmc6VvYjUU4Xnon3q5Dppv8O4HJ4rgMkyp%252BM42OsOTo9pHn9bSxPzdLzP8Xk9DA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "7adad4419c2f4b30b066e8e584a62f25",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ]
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Approve first two bids through qualification objects:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/qualifications/de8bbc96c24f498488bf279a41416c9f?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 67
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "qualified": true,
    "bidID": "e4528bc92c0f463ca1f661381961e106",
    "date": "2019-10-25T01:00:00+03:00",
    "id": "de8bbc96c24f498488bf279a41416c9f"
  }
}
PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/qualifications/81988da3ce1f4cfdba7afe53020a62e6?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 67
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "qualified": true,
    "bidID": "b649b9b2575142159fd240c728c87298",
    "date": "2019-10-25T01:00:00+03:00",
    "id": "81988da3ce1f4cfdba7afe53020a62e6"
  }
}

We can also reject bid:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/qualifications/0da9ff005c5b4951af49ef8d1863ce0b?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 36
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "unsuccessful"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "eligible": false,
    "qualified": false,
    "bidID": "5e79c825b4c54c36a179b22db2dae23b",
    "date": "2019-10-25T01:00:00+03:00",
    "id": "0da9ff005c5b4951af49ef8d1863ce0b"
  }
}

And check that qualified bids are switched to active:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "active",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal.pdf",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3c66e547d52349d3ae64416f15e9c35a?KeyID=a8968c46&Signature=YEnRLG%252B0IBnGJh1%2FEXonkQ3lEa6OeFJ6bja8UcTg0JHqoy6x%252BYkpvm3buQ%2FR1IMBaAkxz8EBfQUTb1WVvmYbCg%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "f6d40d29d5ef4d1f85af6033339b5f47",
          "dateModified": "2019-10-25T01:00:00+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "format": "application/pdf",
          "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_top_secrets.pdf",
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "12d76b67e831404c8628f7612d0944b1",
          "dateModified": "2019-10-25T01:00:00+03:00"
        }
      ],
      "tenderers": [
        {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "scale": "micro",
          "name": "ДКП «Школяр»",
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137256",
            "uri": "http://www.sc.gov.ua/"
          },
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        }
      ],
      "id": "e4528bc92c0f463ca1f661381961e106",
      "eligibilityDocuments": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "eligibility_doc.pdf",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/eb89b6fb96bb463c8f422013d61506a0?KeyID=a8968c46&Signature=bvPqtUvHr%252BBupaKAYbWu68gNk0zcx3u09N10bg2z1vVuM%252Bf8Wt7JmGgyboVdSMqZn9DOK6ooLdeEy5Io6E0qBQ%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "66f8e57da25649be9795cc6d9189c4ff",
          "dateModified": "2019-10-25T01:00:00+03:00"
        }
      ]
    },
    {
      "status": "active",
      "id": "b649b9b2575142159fd240c728c87298",
      "tenderers": [
        {
          "contactPoint": {
            "email": "aagt@gmail.com",
            "telephone": "+380 (322) 91-69-30",
            "name": "Андрій Олексюк"
          },
          "scale": "sme",
          "name": "ДКП «Книга»",
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137226",
            "uri": "http://www.sc.gov.ua/"
          },
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 34",
            "region": "м. Львів",
            "locality": "м. Львів"
          }
        }
      ]
    },
    {
      "status": "unsuccessful",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal_part1.pdf",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/21ef16b5420c40b48a8d16d91f49eeb4?KeyID=a8968c46&Signature=J%252Bkr%2F2u2h8MUKvkpSzmXoA1nT4SG9QOg4ijLwpZ9V93dmDn%252BIa9%252BD%2FNLZ3A9ciZp2R8tISmjpTHIzMCH6j%2FTAg%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "824f270cc0b749bd989983329634a5de",
          "dateModified": "2019-10-25T01:00:00+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "format": "application/pdf",
          "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/documents/fc90022e9584421e90d0438c8b331cc8?download=368ab90ae6a748e6be48d5d2151aee66",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_part2.pdf",
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "fc90022e9584421e90d0438c8b331cc8",
          "dateModified": "2019-10-25T01:00:00+03:00"
        }
      ],
      "eligibilityDocuments": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "eligibility_doc.pdf",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2ee8fe8abbb94b7ebefa67990b15a743?KeyID=a8968c46&Signature=ryUc0j3Pmy63gc3K%252BVAlJ9qnmc6VvYjUU4Xnon3q5Dppv8O4HJ4rgMkyp%252BM42OsOTo9pHn9bSxPzdLzP8Xk9DA%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "7adad4419c2f4b30b066e8e584a62f25",
          "dateModified": "2019-10-25T01:00:00+03:00"
        }
      ],
      "selfEligible": true,
      "selfQualified": true,
      "tenderers": [
        {
          "contactPoint": {
            "email": "aagt@gmail.com",
            "telephone": "+380 (322) 91-69-30",
            "name": "Андрій Олексюк"
          },
          "scale": "sme",
          "name": "ДКП «Книга»",
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137226",
            "uri": "http://www.sc.gov.ua/"
          },
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 34",
            "region": "м. Львів",
            "locality": "м. Львів"
          }
        }
      ],
      "id": "5e79c825b4c54c36a179b22db2dae23b"
    }
  ]
}

Rejected bid is not shown in bids/ listing.

We can access rejected bid by id:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal_part1.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/21ef16b5420c40b48a8d16d91f49eeb4?KeyID=a8968c46&Signature=J%252Bkr%2F2u2h8MUKvkpSzmXoA1nT4SG9QOg4ijLwpZ9V93dmDn%252BIa9%252BD%2FNLZ3A9ciZp2R8tISmjpTHIzMCH6j%2FTAg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "824f270cc0b749bd989983329634a5de",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/documents/fc90022e9584421e90d0438c8b331cc8?download=368ab90ae6a748e6be48d5d2151aee66",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "fc90022e9584421e90d0438c8b331cc8",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2ee8fe8abbb94b7ebefa67990b15a743?KeyID=a8968c46&Signature=ryUc0j3Pmy63gc3K%252BVAlJ9qnmc6VvYjUU4Xnon3q5Dppv8O4HJ4rgMkyp%252BM42OsOTo9pHn9bSxPzdLzP8Xk9DA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "7adad4419c2f4b30b066e8e584a62f25",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "selfEligible": true,
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "scale": "sme",
        "name": "ДКП «Книга»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "id": "5e79c825b4c54c36a179b22db2dae23b"
  }
}

Procuring entity approves qualifications by switching to next status:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 60
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "active.pre-qualification.stand-still"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.pre-qualification.stand-still",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-24T01:00:00+03:00",
      "endDate": "2019-10-21T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-09-24T01:00:00+03:00",
      "clarificationsUntil": "2019-10-19T00:00:00+03:00",
      "endDate": "2019-10-15T01:00:00+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "title_en": "Services in school canteens",
    "next_check": "2019-10-30T23:00:00+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2019-10-25T01:00:00+03:00",
        "title": "Калорійність",
        "date": "2019-10-25T01:00:00+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "c0ace3dda24e4cfab1c52c61462ceae8",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "e4528bc92c0f463ca1f661381961e106",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "de8bbc96c24f498488bf279a41416c9f"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "b649b9b2575142159fd240c728c87298",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "81988da3ce1f4cfdba7afe53020a62e6"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "5e79c825b4c54c36a179b22db2dae23b",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "0da9ff005c5b4951af49ef8d1863ce0b"
      }
    ],
    "id": "0aac695e27804293a2854dff7bed4be8",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "733a74df43104429b0019d3517b3e0ac",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c76c574bb5714522bffb70d839504850?KeyID=a8968c46&Signature=AMdpQ7ERktWktCPB8e4ctgAtcLoCENKDto3a7mGxQQ18%2FcWscdHFllSTlpgvH8V8%2Fn7k75oj1GyBQI7bZQ5lBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/662d95f21d484fa9bd7ab10efb0c8be2?KeyID=a8968c46&Signature=QwCUYJCeKUWkcwUMpgTnBud0fiTh7Jw2dhvBt6hUtMxaoaWGZkbzq5HWLL5INOOcAAZwny0Z2JgGBtrFB9tnBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-10-31T00:00:00+03:00"
    },
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "auctionPeriod": {
      "shouldStartAfter": "2019-10-31T00:00:00+03:00"
    },
    "dateModified": "2019-10-25T01:00:00+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2019-09-24T01:00:00+03:00",
      "endDate": "2019-10-25T01:00:00+03:00"
    },
    "NBUdiscountRate": 0.22986,
    "yearlyPaymentsPercentageRange": 0.8,
    "procurementMethodType": "esco",
    "date": "2019-10-25T01:00:00+03:00",
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3c66e547d52349d3ae64416f15e9c35a?KeyID=a8968c46&Signature=YEnRLG%252B0IBnGJh1%2FEXonkQ3lEa6OeFJ6bja8UcTg0JHqoy6x%252BYkpvm3buQ%2FR1IMBaAkxz8EBfQUTb1WVvmYbCg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "f6d40d29d5ef4d1f85af6033339b5f47",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "12d76b67e831404c8628f7612d0944b1",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "scale": "micro",
            "name": "ДКП «Школяр»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "id": "e4528bc92c0f463ca1f661381961e106",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/eb89b6fb96bb463c8f422013d61506a0?KeyID=a8968c46&Signature=bvPqtUvHr%252BBupaKAYbWu68gNk0zcx3u09N10bg2z1vVuM%252Bf8Wt7JmGgyboVdSMqZn9DOK6ooLdeEy5Io6E0qBQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "66f8e57da25649be9795cc6d9189c4ff",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ]
      },
      {
        "status": "active",
        "id": "b649b9b2575142159fd240c728c87298",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "scale": "sme",
            "name": "ДКП «Книга»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "unsuccessful",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/21ef16b5420c40b48a8d16d91f49eeb4?KeyID=a8968c46&Signature=J%252Bkr%2F2u2h8MUKvkpSzmXoA1nT4SG9QOg4ijLwpZ9V93dmDn%252BIa9%252BD%2FNLZ3A9ciZp2R8tISmjpTHIzMCH6j%2FTAg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "824f270cc0b749bd989983329634a5de",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/documents/fc90022e9584421e90d0438c8b331cc8?download=368ab90ae6a748e6be48d5d2151aee66",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "fc90022e9584421e90d0438c8b331cc8",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2ee8fe8abbb94b7ebefa67990b15a743?KeyID=a8968c46&Signature=ryUc0j3Pmy63gc3K%252BVAlJ9qnmc6VvYjUU4Xnon3q5Dppv8O4HJ4rgMkyp%252BM42OsOTo9pHn9bSxPzdLzP8Xk9DA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "7adad4419c2f4b30b066e8e584a62f25",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "scale": "sme",
            "name": "ДКП «Книга»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "id": "5e79c825b4c54c36a179b22db2dae23b"
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

You may notice 10 day stand-still time set in qualificationPeriod.

Auction

After auction is scheduled anybody can visit it to watch. The auction can be reached at Tender.auctionUrl:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.auction",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-11T00:00:00+03:00"
    },
    "auctionUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/0aac695e27804293a2854dff7bed4be8",
    "enquiryPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "clarificationsUntil": "2019-10-10T00:00:00+03:00",
      "endDate": "2019-10-05T01:00:00+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "title_en": "Services in school canteens",
    "next_check": "2019-10-25T01:36:00+03:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2019-10-25T01:00:00+03:00",
        "title": "Калорійність",
        "date": "2019-10-25T01:00:00+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "c0ace3dda24e4cfab1c52c61462ceae8",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "e4528bc92c0f463ca1f661381961e106",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "de8bbc96c24f498488bf279a41416c9f"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "b649b9b2575142159fd240c728c87298",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "81988da3ce1f4cfdba7afe53020a62e6"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "5e79c825b4c54c36a179b22db2dae23b",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "0da9ff005c5b4951af49ef8d1863ce0b"
      }
    ],
    "id": "0aac695e27804293a2854dff7bed4be8",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "733a74df43104429b0019d3517b3e0ac",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c76c574bb5714522bffb70d839504850?KeyID=a8968c46&Signature=AMdpQ7ERktWktCPB8e4ctgAtcLoCENKDto3a7mGxQQ18%2FcWscdHFllSTlpgvH8V8%2Fn7k75oj1GyBQI7bZQ5lBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/662d95f21d484fa9bd7ab10efb0c8be2?KeyID=a8968c46&Signature=QwCUYJCeKUWkcwUMpgTnBud0fiTh7Jw2dhvBt6hUtMxaoaWGZkbzq5HWLL5INOOcAAZwny0Z2JgGBtrFB9tnBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2019-10-15T01:00:00+03:00",
      "endDate": "2019-10-25T01:00:00+03:00"
    },
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "auctionPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "shouldStartAfter": "2019-10-26T00:00:00+03:00"
    },
    "dateModified": "2019-10-25T01:00:00+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-15T01:00:00+03:00"
    },
    "NBUdiscountRate": 0.22986,
    "yearlyPaymentsPercentageRange": 0.8,
    "procurementMethodType": "esco",
    "date": "2019-10-25T01:00:00+03:00",
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3c66e547d52349d3ae64416f15e9c35a?KeyID=a8968c46&Signature=YEnRLG%252B0IBnGJh1%2FEXonkQ3lEa6OeFJ6bja8UcTg0JHqoy6x%252BYkpvm3buQ%2FR1IMBaAkxz8EBfQUTb1WVvmYbCg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "f6d40d29d5ef4d1f85af6033339b5f47",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "12d76b67e831404c8628f7612d0944b1",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "scale": "micro",
            "name": "ДКП «Школяр»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "id": "e4528bc92c0f463ca1f661381961e106",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/eb89b6fb96bb463c8f422013d61506a0?KeyID=a8968c46&Signature=bvPqtUvHr%252BBupaKAYbWu68gNk0zcx3u09N10bg2z1vVuM%252Bf8Wt7JmGgyboVdSMqZn9DOK6ooLdeEy5Io6E0qBQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "66f8e57da25649be9795cc6d9189c4ff",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ]
      },
      {
        "status": "active",
        "id": "b649b9b2575142159fd240c728c87298",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "scale": "sme",
            "name": "ДКП «Книга»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "unsuccessful",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/21ef16b5420c40b48a8d16d91f49eeb4?KeyID=a8968c46&Signature=J%252Bkr%2F2u2h8MUKvkpSzmXoA1nT4SG9QOg4ijLwpZ9V93dmDn%252BIa9%252BD%2FNLZ3A9ciZp2R8tISmjpTHIzMCH6j%2FTAg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "824f270cc0b749bd989983329634a5de",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/documents/fc90022e9584421e90d0438c8b331cc8?download=368ab90ae6a748e6be48d5d2151aee66",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "fc90022e9584421e90d0438c8b331cc8",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2ee8fe8abbb94b7ebefa67990b15a743?KeyID=a8968c46&Signature=ryUc0j3Pmy63gc3K%252BVAlJ9qnmc6VvYjUU4Xnon3q5Dppv8O4HJ4rgMkyp%252BM42OsOTo9pHn9bSxPzdLzP8Xk9DA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "7adad4419c2f4b30b066e8e584a62f25",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "scale": "sme",
            "name": "ДКП «Книга»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "id": "5e79c825b4c54c36a179b22db2dae23b"
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Bidders can find out their participation URLs via their bids:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106?acc_token=29627267ed794908800e9ab5426bbd2e HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3c66e547d52349d3ae64416f15e9c35a?KeyID=a8968c46&Signature=YEnRLG%252B0IBnGJh1%2FEXonkQ3lEa6OeFJ6bja8UcTg0JHqoy6x%252BYkpvm3buQ%2FR1IMBaAkxz8EBfQUTb1WVvmYbCg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "f6d40d29d5ef4d1f85af6033339b5f47",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "12d76b67e831404c8628f7612d0944b1",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/eb89b6fb96bb463c8f422013d61506a0?KeyID=a8968c46&Signature=bvPqtUvHr%252BBupaKAYbWu68gNk0zcx3u09N10bg2z1vVuM%252Bf8Wt7JmGgyboVdSMqZn9DOK6ooLdeEy5Io6E0qBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "66f8e57da25649be9795cc6d9189c4ff",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "selfEligible": true,
    "id": "e4528bc92c0f463ca1f661381961e106",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 869.28,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/c91b2d4d356b4f6c94cf255126fe233c?download=b5c94c3907c04f15b1eb4bcf56cf73e5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "c91b2d4d356b4f6c94cf255126fe233c",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/financial_documents/d2179f9d17144ae59107edad44558986?download=90f3ed7fe83245ceb8b2f7ff6624822b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "d2179f9d17144ae59107edad44558986",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/qualification_documents/5ba700bd5a65489fbd8821531adc4434?download=469f20975c9b4087a0b601f5d48d3df4",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "5ba700bd5a65489fbd8821531adc4434",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "participationUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/0aac695e27804293a2854dff7bed4be8?key_for_bid=e4528bc92c0f463ca1f661381961e106"
  }
}

See the Bid.participationUrl in the response. Similar, but different, URL can be retrieved for other participants:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/b649b9b2575142159fd240c728c87298?acc_token=a3322ea4c3e5495ebd9a1d928ea546d7 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "selfEligible": true,
    "value": {
      "yearlyPaymentsPercentage": 0.85,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9798.75,
      "contractDuration": {
        "days": 200,
        "years": 12
      },
      "amountPerformance": 807.55,
      "annualCostsReduction": [
        400.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0
      ]
    },
    "id": "b649b9b2575142159fd240c728c87298",
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "scale": "sme",
        "name": "ДКП «Книга»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "selfQualified": true,
    "participationUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/0aac695e27804293a2854dff7bed4be8?key_for_bid=b649b9b2575142159fd240c728c87298"
  }
}

Confirming qualification

Qualification commission registers its decision via the following call:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/awards/cc09c32b70944953bb082bdf4cf13c48?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 67
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "suppliers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "complaintPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-05T00:00:00+03:00"
    },
    "bid_id": "e4528bc92c0f463ca1f661381961e106",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 869.28,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "qualified": true,
    "date": "2019-10-25T01:00:00+03:00",
    "id": "cc09c32b70944953bb082bdf4cf13c48"
  }
}

Setting contract value

By default contract value amountNet is set based on the award value amount, but there is a possibility to set custom contract value.

Let’s set contract contract value with next request:

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 75
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "contractNumber": "contract#1",
    "value": {
      "amountNet": 9466.26
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "suppliers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "contractNumber": "contract#1",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "amountNet": 9466.26,
      "amountPerformance": 869.28,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "valueAddedTaxIncluded": true,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "date": "2019-10-25T01:00:00+03:00",
    "awardID": "cc09c32b70944953bb082bdf4cf13c48",
    "id": "b24337545a6c4c25843d326ae2a60645",
    "contractID": "UA-2019-10-25-000001-1"
  }
}

200 OK response was returned. The value was modified successfully.

Setting contract signature date

There is a possibility to set custom contract signature date. You can insert appropriate date into the dateSigned field.

If this date is not set, it will be auto-generated on the date of contract registration.

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 53
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "dateSigned": "2019-10-25T01:00:01+03:00"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "suppliers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "contractNumber": "contract#1",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "amountNet": 9466.26,
      "amountPerformance": 869.28,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "valueAddedTaxIncluded": true,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "dateSigned": "2019-10-25T01:00:01+03:00",
    "date": "2019-10-25T01:00:00+03:00",
    "awardID": "cc09c32b70944953bb082bdf4cf13c48",
    "id": "b24337545a6c4c25843d326ae2a60645",
    "contractID": "UA-2019-10-25-000001-1"
  }
}

Setting contract validity period

Setting contract validity period is optional, but if it is needed, you can set appropriate startDate and endDate.

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 104
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "period": {
      "startDate": "2019-10-25T01:00:01+03:00",
      "endDate": "2020-10-24T01:00:01+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "suppliers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "scale": "micro",
        "name": "ДКП «Школяр»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "contractNumber": "contract#1",
    "period": {
      "startDate": "2019-10-25T01:00:01+03:00",
      "endDate": "2020-10-24T01:00:01+03:00"
    },
    "dateSigned": "2019-10-25T01:00:01+03:00",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "amountNet": 9466.26,
      "amountPerformance": 869.28,
      "currency": "UAH",
      "amount": 9467.26,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "valueAddedTaxIncluded": true,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "date": "2019-10-25T01:00:00+03:00",
    "awardID": "cc09c32b70944953bb082bdf4cf13c48",
    "id": "b24337545a6c4c25843d326ae2a60645",
    "contractID": "UA-2019-10-25-000001-1"
  }
}

Uploading contract documentation

You can upload contract documents for the ESCO procedure.

Let’s upload contract document:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645/documents?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 162
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="contract_first_document.doc"
Content-Type: application/msword

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645/documents/aa321196fac34140a9720947d789c916
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "contract_first_document.doc",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/8714a55a49be4c4995b01f5e7c54362b?KeyID=a8968c46&Signature=VfDR2KJFx7eqWoNsAWN866UyIQ3JvO6yAQzfmQT6ZL6VIsQscGvwcNZfuWaLArowGp9QZG96WhClsY%252BFrlJICw%253D%253D",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:01+03:00",
    "id": "aa321196fac34140a9720947d789c916",
    "dateModified": "2019-10-25T01:00:01+03:00"
  }
}

201 Created response code and Location header confirm that this document was added.

Let’s see the list of contract documents:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645/documents HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "contract_first_document.doc",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/8714a55a49be4c4995b01f5e7c54362b?KeyID=a8968c46&Signature=VfDR2KJFx7eqWoNsAWN866UyIQ3JvO6yAQzfmQT6ZL6VIsQscGvwcNZfuWaLArowGp9QZG96WhClsY%252BFrlJICw%253D%253D",
      "format": "application/msword",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:01+03:00",
      "id": "aa321196fac34140a9720947d789c916",
      "dateModified": "2019-10-25T01:00:01+03:00"
    }
  ]
}

We can upload another contract document:

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645/documents?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 163
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="contract_second_document.doc"
Content-Type: application/msword

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645/documents/39f78f40d5ba4ddb8555a28af0d52dc8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "contract_second_document.doc",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/d567033ba8e143c3b6a56bd597dd3b9b?KeyID=a8968c46&Signature=n9NR3t%2FbjHP3ncXRFJlKtjN%2Fq8OXCwvO4QJAEDimbcmucI7xuszH3zlvfy4tSN3WBPLpklN54cmrYSRyAUWqBQ%253D%253D",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:01+03:00",
    "id": "39f78f40d5ba4ddb8555a28af0d52dc8",
    "dateModified": "2019-10-25T01:00:01+03:00"
  }
}

201 Created response code and Location header confirm that the second document was uploaded.

By default, document language is Ukrainian. You can can change it and set another language for the document by assigning appropriate language code to the language field (available options: uk, en, ru). You can also set document’s title (e.g. title_en) and description (e.g. description_en) fields. See Document data structure for details.

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645/documents/39f78f40d5ba4ddb8555a28af0d52dc8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 106
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "title_en": "Title of Document",
    "language": "en",
    "description_en": "Description of Document"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "en",
    "title": "contract_second_document.doc",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/d567033ba8e143c3b6a56bd597dd3b9b?KeyID=a8968c46&Signature=n9NR3t%2FbjHP3ncXRFJlKtjN%2Fq8OXCwvO4QJAEDimbcmucI7xuszH3zlvfy4tSN3WBPLpklN54cmrYSRyAUWqBQ%253D%253D",
    "format": "application/msword",
    "title_en": "Title of Document",
    "description_en": "Description of Document",
    "datePublished": "2019-10-25T01:00:01+03:00",
    "documentOf": "tender",
    "id": "39f78f40d5ba4ddb8555a28af0d52dc8",
    "dateModified": "2019-10-25T01:00:01+03:00"
  }
}

Let’s see the list of all added contract documents:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645/documents HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "en",
      "title": "contract_second_document.doc",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/d567033ba8e143c3b6a56bd597dd3b9b?KeyID=a8968c46&Signature=n9NR3t%2FbjHP3ncXRFJlKtjN%2Fq8OXCwvO4QJAEDimbcmucI7xuszH3zlvfy4tSN3WBPLpklN54cmrYSRyAUWqBQ%253D%253D",
      "format": "application/msword",
      "title_en": "Title of Document",
      "description_en": "Description of Document",
      "datePublished": "2019-10-25T01:00:01+03:00",
      "documentOf": "tender",
      "id": "39f78f40d5ba4ddb8555a28af0d52dc8",
      "dateModified": "2019-10-25T01:00:01+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "contract_first_document.doc",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/8714a55a49be4c4995b01f5e7c54362b?KeyID=a8968c46&Signature=VfDR2KJFx7eqWoNsAWN866UyIQ3JvO6yAQzfmQT6ZL6VIsQscGvwcNZfuWaLArowGp9QZG96WhClsY%252BFrlJICw%253D%253D",
      "format": "application/msword",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:01+03:00",
      "id": "aa321196fac34140a9720947d789c916",
      "dateModified": "2019-10-25T01:00:01+03:00"
    }
  ]
}

Let’s view separate contract document:

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/contracts/b24337545a6c4c25843d326ae2a60645/documents/39f78f40d5ba4ddb8555a28af0d52dc8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "en",
    "title": "contract_second_document.doc",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/d567033ba8e143c3b6a56bd597dd3b9b?KeyID=a8968c46&Signature=n9NR3t%2FbjHP3ncXRFJlKtjN%2Fq8OXCwvO4QJAEDimbcmucI7xuszH3zlvfy4tSN3WBPLpklN54cmrYSRyAUWqBQ%253D%253D",
    "format": "application/msword",
    "title_en": "Title of Document",
    "description_en": "Description of Document",
    "datePublished": "2019-10-25T01:00:01+03:00",
    "previousVersions": [],
    "documentOf": "tender",
    "id": "39f78f40d5ba4ddb8555a28af0d52dc8",
    "dateModified": "2019-10-25T01:00:01+03:00"
  }
}

Cancelling tender

Tender creator can cancel tender anytime. The following steps should be applied:

  1. Prepare cancellation request.
  2. Fill it with the protocol describing the cancellation reasons.
  3. Cancel the tender with the prepared reasons.

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, status defaults to pending.

id is autogenerated and passed in the Location header of response.

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/cancellations?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 43
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "reason": "cancellation reason"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/cancellations/340d917daa2d41599bb71c6f330fdd43
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "cancelled",
    "date": "2019-10-25T01:00:01+03:00",
    "cancellationOf": "tender",
    "id": "340d917daa2d41599bb71c6f330fdd43"
  }
}

There are two possible types of cancellation reason: tender was cancelled or unsuccessful. By default reasonType value is cancelled.

You can change reasonType value to unsuccessful.

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/cancellations/340d917daa2d41599bb71c6f330fdd43?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 40
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "reasonType": "unsuccessful"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2019-10-25T01:00:01+03:00",
    "cancellationOf": "tender",
    "id": "340d917daa2d41599bb71c6f330fdd43"
  }
}

Filling cancellation with protocol and supplementary documentation

Upload the file contents

POST /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/cancellations/340d917daa2d41599bb71c6f330fdd43/documents?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 142
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="Notice.pdf"
Content-Type: application/pdf

content
-----BOUNDARY--


Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/cancellations/340d917daa2d41599bb71c6f330fdd43/documents/8930b31794ed4c728351984eb91111ef
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/715d0ce84c85474bab0a4197b3c88d9e?KeyID=a8968c46&Signature=CSNVdM%252BFPIs0UMKu7Df6KFHn%2F4edJ6KebOqIfiLW3CC%252BNPfErfM5SD%2FiGZx%252BUNhtJ5JAwAXslhEcj9bn37MyDQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:01+03:00",
    "id": "8930b31794ed4c728351984eb91111ef",
    "dateModified": "2019-10-25T01:00:01+03:00"
  }
}

Change the document description and other properties

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/cancellations/340d917daa2d41599bb71c6f330fdd43/documents/8930b31794ed4c728351984eb91111ef?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 48
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "description": "Changed description"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "Changed description",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/715d0ce84c85474bab0a4197b3c88d9e?KeyID=a8968c46&Signature=CSNVdM%252BFPIs0UMKu7Df6KFHn%2F4edJ6KebOqIfiLW3CC%252BNPfErfM5SD%2FiGZx%252BUNhtJ5JAwAXslhEcj9bn37MyDQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:01+03:00",
    "id": "8930b31794ed4c728351984eb91111ef",
    "dateModified": "2019-10-25T01:00:01+03:00"
  }
}

Upload new version of the document

PUT /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/cancellations/340d917daa2d41599bb71c6f330fdd43/documents/8930b31794ed4c728351984eb91111ef?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 145
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="Notice-2.pdf"
Content-Type: application/pdf

content2
-----BOUNDARY--


Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "Changed description",
    "language": "uk",
    "title": "Notice-2.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/0aea3b3689ec4ba59ee885b091b463ad?KeyID=a8968c46&Signature=N05UpfTIQDBDl3EMedcSkOh3%2F5qLThkhsI5FlkMngNRZVGuW1lJGOnS%2FEAUJlsykqrgyGW%252BQMz7VB6TcQ8HpAA%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:01+03:00",
    "id": "8930b31794ed4c728351984eb91111ef",
    "dateModified": "2019-10-25T01:00:01+03:00"
  }
}

Activating the request and cancelling tender

PATCH /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/cancellations/340d917daa2d41599bb71c6f330fdd43?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 30
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "active"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/715d0ce84c85474bab0a4197b3c88d9e?KeyID=a8968c46&Signature=CSNVdM%252BFPIs0UMKu7Df6KFHn%2F4edJ6KebOqIfiLW3CC%252BNPfErfM5SD%2FiGZx%252BUNhtJ5JAwAXslhEcj9bn37MyDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:01+03:00",
        "id": "8930b31794ed4c728351984eb91111ef",
        "dateModified": "2019-10-25T01:00:01+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "language": "uk",
        "title": "Notice-2.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/0aea3b3689ec4ba59ee885b091b463ad?KeyID=a8968c46&Signature=N05UpfTIQDBDl3EMedcSkOh3%2F5qLThkhsI5FlkMngNRZVGuW1lJGOnS%2FEAUJlsykqrgyGW%252BQMz7VB6TcQ8HpAA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:01+03:00",
        "id": "8930b31794ed4c728351984eb91111ef",
        "dateModified": "2019-10-25T01:00:01+03:00"
      }
    ],
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2019-10-25T01:00:01+03:00",
    "cancellationOf": "tender",
    "id": "340d917daa2d41599bb71c6f330fdd43"
  }
}

We can check if tender was actually cancelled.

GET /api/2.5/tenders/0aac695e27804293a2854dff7bed4be8?acc_token=82d005b2183e43fe8edbb00cc6eb36c1 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "cancelled",
    "awardPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-10-25T01:00:00+03:00"
    },
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-11T00:00:00+03:00"
    },
    "auctionUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/0aac695e27804293a2854dff7bed4be8",
    "enquiryPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "clarificationsUntil": "2019-10-10T00:00:00+03:00",
      "endDate": "2019-10-05T01:00:00+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "title_en": "Services in school canteens",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "aagt@gmail.com",
            "telephone": "+380 (322) 91-69-30",
            "name": "Андрій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137226",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "ДКП «Книга»",
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 34",
            "region": "м. Львів",
            "locality": "м. Львів"
          }
        },
        "title": "Калорійність",
        "date": "2019-10-25T01:00:00+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2019-10-25T01:00:00+03:00",
        "id": "c0ace3dda24e4cfab1c52c61462ceae8",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "e4528bc92c0f463ca1f661381961e106",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "de8bbc96c24f498488bf279a41416c9f"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "b649b9b2575142159fd240c728c87298",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "81988da3ce1f4cfdba7afe53020a62e6"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "5e79c825b4c54c36a179b22db2dae23b",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "0da9ff005c5b4951af49ef8d1863ce0b"
      }
    ],
    "id": "0aac695e27804293a2854dff7bed4be8",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3d7d9e97935341b9bc5b4f2036e26085?KeyID=a8968c46&Signature=tiZzVxnfzTKWG2NhBERPiqcXKx1s0pp%252BxtB%252BaoiP1IswpVDL3qhcS1iBpKzWW9PzP6DaOY8zrk1HmCbhZHouBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "733a74df43104429b0019d3517b3e0ac",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c76c574bb5714522bffb70d839504850?KeyID=a8968c46&Signature=AMdpQ7ERktWktCPB8e4ctgAtcLoCENKDto3a7mGxQQ18%2FcWscdHFllSTlpgvH8V8%2Fn7k75oj1GyBQI7bZQ5lBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/662d95f21d484fa9bd7ab10efb0c8be2?KeyID=a8968c46&Signature=QwCUYJCeKUWkcwUMpgTnBud0fiTh7Jw2dhvBt6hUtMxaoaWGZkbzq5HWLL5INOOcAAZwny0Z2JgGBtrFB9tnBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "a1ca03160bf74c3db9bc30fb1dd7c3d6",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2019-10-15T01:00:00+03:00",
      "endDate": "2019-10-25T01:00:00+03:00"
    },
    "tenderID": "UA-2019-10-25-000001",
    "minimalStepPercentage": 0.006,
    "auctionPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-10-25T01:00:00+03:00"
    },
    "dateModified": "2019-10-25T01:00:01+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-15T01:00:00+03:00"
    },
    "contracts": [
      {
        "status": "pending",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "language": "uk",
            "title": "contract_first_document.doc",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/8714a55a49be4c4995b01f5e7c54362b?KeyID=a8968c46&Signature=VfDR2KJFx7eqWoNsAWN866UyIQ3JvO6yAQzfmQT6ZL6VIsQscGvwcNZfuWaLArowGp9QZG96WhClsY%252BFrlJICw%253D%253D",
            "format": "application/msword",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:01+03:00",
            "id": "aa321196fac34140a9720947d789c916",
            "dateModified": "2019-10-25T01:00:01+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "language": "en",
            "title": "contract_second_document.doc",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/d567033ba8e143c3b6a56bd597dd3b9b?KeyID=a8968c46&Signature=n9NR3t%2FbjHP3ncXRFJlKtjN%2Fq8OXCwvO4QJAEDimbcmucI7xuszH3zlvfy4tSN3WBPLpklN54cmrYSRyAUWqBQ%253D%253D",
            "format": "application/msword",
            "title_en": "Title of Document",
            "description_en": "Description of Document",
            "datePublished": "2019-10-25T01:00:01+03:00",
            "documentOf": "tender",
            "id": "39f78f40d5ba4ddb8555a28af0d52dc8",
            "dateModified": "2019-10-25T01:00:01+03:00"
          }
        ],
        "items": [
          {
            "description": "Послуги шкільних їдалень",
            "classification": {
              "scheme": "ДК021",
              "description": "Test",
              "id": "37810000-9"
            },
            "description_en": "Services in school canteens",
            "additionalClassifications": [
              {
                "scheme": "ДКПП",
                "id": "17.21.1",
                "description": "Послуги шкільних їдалень"
              }
            ],
            "deliveryAddress": {
              "postalCode": "79000",
              "countryName": "Україна",
              "streetAddress": "вул. Банкова 1",
              "region": "м. Київ",
              "locality": "м. Київ"
            },
            "id": "366a042aa96a4acdbe63112500608db1",
            "unit": {
              "code": "44617100-9",
              "name": "item"
            }
          },
          {
            "description": "Послуги шкільних їдалень",
            "classification": {
              "scheme": "ДК021",
              "description": "Test",
              "id": "37810000-9"
            },
            "description_en": "Services in school canteens",
            "additionalClassifications": [
              {
                "scheme": "ДКПП",
                "id": "17.21.1",
                "description": "Послуги шкільних їдалень"
              }
            ],
            "deliveryAddress": {
              "postalCode": "79000",
              "countryName": "Україна",
              "streetAddress": "вул. Банкова 1",
              "region": "м. Київ",
              "locality": "м. Київ"
            },
            "id": "9a24ed7daf1948b2923da55b02b720ed",
            "unit": {
              "code": "44617100-9",
              "name": "item"
            }
          }
        ],
        "suppliers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "scale": "micro",
            "name": "ДКП «Школяр»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "contractNumber": "contract#1",
        "period": {
          "startDate": "2019-10-25T01:00:01+03:00",
          "endDate": "2020-10-24T01:00:01+03:00"
        },
        "dateSigned": "2019-10-25T01:00:01+03:00",
        "value": {
          "yearlyPaymentsPercentage": 0.9,
          "amountNet": 9466.26,
          "amountPerformance": 869.28,
          "currency": "UAH",
          "amount": 9467.26,
          "contractDuration": {
            "days": 74,
            "years": 10
          },
          "valueAddedTaxIncluded": true,
          "annualCostsReduction": [
            500.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0
          ]
        },
        "date": "2019-10-25T01:00:00+03:00",
        "awardID": "cc09c32b70944953bb082bdf4cf13c48",
        "id": "b24337545a6c4c25843d326ae2a60645",
        "contractID": "UA-2019-10-25-000001-1"
      }
    ],
    "NBUdiscountRate": 0.22986,
    "yearlyPaymentsPercentageRange": 0.8,
    "procurementMethodType": "esco",
    "awards": [
      {
        "status": "active",
        "eligible": true,
        "suppliers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "scale": "micro",
            "name": "ДКП «Школяр»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "complaintPeriod": {
          "startDate": "2019-10-25T01:00:00+03:00",
          "endDate": "2019-10-25T01:00:00+03:00"
        },
        "bid_id": "e4528bc92c0f463ca1f661381961e106",
        "value": {
          "yearlyPaymentsPercentage": 0.9,
          "valueAddedTaxIncluded": true,
          "currency": "UAH",
          "amount": 9467.26,
          "contractDuration": {
            "days": 74,
            "years": 10
          },
          "amountPerformance": 869.28,
          "annualCostsReduction": [
            500.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0
          ]
        },
        "qualified": true,
        "date": "2019-10-25T01:00:00+03:00",
        "id": "cc09c32b70944953bb082bdf4cf13c48"
      }
    ],
    "date": "2019-10-25T01:00:01+03:00",
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "milestones": [
      {
        "code": "prepayment",
        "sequenceNumber": 0,
        "title": "signingTheContract",
        "duration": {
          "type": "banking",
          "days": 2
        },
        "percentage": 45.55,
        "type": "financing",
        "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
      },
      {
        "code": "postpayment",
        "sequenceNumber": 0,
        "title": "deliveryOfGoods",
        "duration": {
          "type": "calendar",
          "days": 900
        },
        "percentage": 54.45,
        "type": "financing",
        "id": "93b9835cd6f8419fb56014c014773e8b"
      }
    ],
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "366a042aa96a4acdbe63112500608db1",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "9a24ed7daf1948b2923da55b02b720ed",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3c66e547d52349d3ae64416f15e9c35a?KeyID=a8968c46&Signature=YEnRLG%252B0IBnGJh1%2FEXonkQ3lEa6OeFJ6bja8UcTg0JHqoy6x%252BYkpvm3buQ%2FR1IMBaAkxz8EBfQUTb1WVvmYbCg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "f6d40d29d5ef4d1f85af6033339b5f47",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/e4528bc92c0f463ca1f661381961e106/documents/12d76b67e831404c8628f7612d0944b1?download=92e2b793a7d34373986f3c5619906253",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "12d76b67e831404c8628f7612d0944b1",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/eb89b6fb96bb463c8f422013d61506a0?KeyID=a8968c46&Signature=bvPqtUvHr%252BBupaKAYbWu68gNk0zcx3u09N10bg2z1vVuM%252Bf8Wt7JmGgyboVdSMqZn9DOK6ooLdeEy5Io6E0qBQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "66f8e57da25649be9795cc6d9189c4ff",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "selfEligible": true,
        "id": "e4528bc92c0f463ca1f661381961e106",
        "value": {
          "yearlyPaymentsPercentage": 0.9,
          "valueAddedTaxIncluded": true,
          "currency": "UAH",
          "amount": 9467.26,
          "contractDuration": {
            "days": 74,
            "years": 10
          },
          "amountPerformance": 869.28,
          "annualCostsReduction": [
            500.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0
          ]
        },
        "selfQualified": true,
        "financialDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "financial_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/b5c94c3907c04f15b1eb4bcf56cf73e5?KeyID=a8968c46&Signature=LonZ4c%252BT2lGU%2Fr8Tjua9yqEv5sDgbvvRz1fWvEiBadwZbNCV4zs18gfXVYTo9Bdkw3jXlZsgLIJFxvqndaLwCg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "c91b2d4d356b4f6c94cf255126fe233c",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "financial_doc2.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/90f3ed7fe83245ceb8b2f7ff6624822b?KeyID=a8968c46&Signature=lGLR%2FC8EE%252BdwuVuEWAt62kv0khh6KcfLH5CM31RTpy8WJaas6aKJmN%2FV3XNTFoa9swgD%252B1cHHh6JNtTAX1qmBw%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "d2179f9d17144ae59107edad44558986",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "scale": "micro",
            "name": "ДКП «Школяр»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "date": "2019-10-25T01:00:00+03:00",
        "subcontractingDetails": "ДКП «Орфей», Україна",
        "qualificationDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "qualification_document.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/469f20975c9b4087a0b601f5d48d3df4?KeyID=a8968c46&Signature=CA7MDtn0JeS8sRu5oCGOwi%2FgH4e7AppdoIvs1zxHQP59X3p72UiaPa1IUbBZqMYMls9uTtxxCiNFQvsB8RbtCg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "5ba700bd5a65489fbd8821531adc4434",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "participationUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/0aac695e27804293a2854dff7bed4be8?key_for_bid=e4528bc92c0f463ca1f661381961e106"
      },
      {
        "status": "active",
        "selfEligible": true,
        "value": {
          "yearlyPaymentsPercentage": 0.85,
          "valueAddedTaxIncluded": true,
          "currency": "UAH",
          "amount": 9798.75,
          "contractDuration": {
            "days": 200,
            "years": 12
          },
          "amountPerformance": 807.55,
          "annualCostsReduction": [
            400.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0
          ]
        },
        "id": "b649b9b2575142159fd240c728c87298",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "scale": "sme",
            "name": "ДКП «Книга»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "date": "2019-10-25T01:00:00+03:00",
        "selfQualified": true,
        "participationUrl": "http://auction-sandbox.prozorro.gov.ua/tenders/0aac695e27804293a2854dff7bed4be8?key_for_bid=b649b9b2575142159fd240c728c87298"
      },
      {
        "status": "unsuccessful",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/21ef16b5420c40b48a8d16d91f49eeb4?KeyID=a8968c46&Signature=J%252Bkr%2F2u2h8MUKvkpSzmXoA1nT4SG9QOg4ijLwpZ9V93dmDn%252BIa9%252BD%2FNLZ3A9ciZp2R8tISmjpTHIzMCH6j%2FTAg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "824f270cc0b749bd989983329634a5de",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/0aac695e27804293a2854dff7bed4be8/bids/5e79c825b4c54c36a179b22db2dae23b/documents/fc90022e9584421e90d0438c8b331cc8?download=368ab90ae6a748e6be48d5d2151aee66",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "fc90022e9584421e90d0438c8b331cc8",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2ee8fe8abbb94b7ebefa67990b15a743?KeyID=a8968c46&Signature=ryUc0j3Pmy63gc3K%252BVAlJ9qnmc6VvYjUU4Xnon3q5Dppv8O4HJ4rgMkyp%252BM42OsOTo9pHn9bSxPzdLzP8Xk9DA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "7adad4419c2f4b30b066e8e584a62f25",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "scale": "sme",
            "name": "ДКП «Книга»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "id": "5e79c825b4c54c36a179b22db2dae23b"
      }
    ],
    "cancellations": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "description": "Changed description",
            "language": "uk",
            "title": "Notice.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/715d0ce84c85474bab0a4197b3c88d9e?KeyID=a8968c46&Signature=CSNVdM%252BFPIs0UMKu7Df6KFHn%2F4edJ6KebOqIfiLW3CC%252BNPfErfM5SD%2FiGZx%252BUNhtJ5JAwAXslhEcj9bn37MyDQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:01+03:00",
            "id": "8930b31794ed4c728351984eb91111ef",
            "dateModified": "2019-10-25T01:00:01+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "description": "Changed description",
            "language": "uk",
            "title": "Notice-2.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/0aea3b3689ec4ba59ee885b091b463ad?KeyID=a8968c46&Signature=N05UpfTIQDBDl3EMedcSkOh3%2F5qLThkhsI5FlkMngNRZVGuW1lJGOnS%2FEAUJlsykqrgyGW%252BQMz7VB6TcQ8HpAA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:01+03:00",
            "id": "8930b31794ed4c728351984eb91111ef",
            "dateModified": "2019-10-25T01:00:01+03:00"
          }
        ],
        "reason": "cancellation reason",
        "reasonType": "unsuccessful",
        "date": "2019-10-25T01:00:01+03:00",
        "cancellationOf": "tender",
        "id": "340d917daa2d41599bb71c6f330fdd43"
      }
    ],
    "noticePublicationDate": "2019-10-25T01:00:00+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Now status value is cancelled.