Туторіал для багатолотової закупівлі

Створення закупівлі

Створимо закупівлю:

POST /api/2.5/tenders?opt_pretty=1 HTTP/1.0
Authorization: Bearer broker
Content-Length: 4216
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": "2020-06-15T01:00:00+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35
    },
    "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": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00: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": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "value": {
      "currency": "UAH",
      "amount": 500
    },
    "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"
      }
    },
    "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/086edc68f12d4a248ded4f9cea52e69c
{
  "access": {
    "transfer": "aea76fc5852a4a87a854df26f6c42086",
    "token": "2d40003375644e37bcda2c4fc8319cd8"
  },
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "endDate": "2020-06-11T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "clarificationsUntil": "2020-06-11T00:00:00+03:00",
      "endDate": "2020-06-05T00:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2020-06-15T01: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"
    },
    "owner": "broker",
    "id": "086edc68f12d4a248ded4f9cea52e69c",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2020-05-15-000001",
    "dateModified": "2020-05-15T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "endDate": "2020-06-15T01:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2020-05-15T01:00:00+03:00",
    "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": "dda301a766ca433e86943a674a61fcce"
      }
    ],
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "50f583529d724487b9430dd0bbda9174",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      },
      {
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "91a14518464b4e81ae77ad46a8ef57ea",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Тепер ми бачимо, що новий об’єкт було створено. Код відповіді - 201, заголовок відповіді Location вказує місцерозташування створеного об’єкта. Тіло відповіді показує інформацію про створену закупівлю, її внутрішнє id (яке співпадає з сегментом Location), її офіційне tenderID та dateModified дату, що показує час, коли закупівля востаннє модифікувалась. Зверніть увагу, що закупівля створюється зі статусом active.tendering.

The peculiarity of the Open EU procedure is that procurementMethodType was changed from belowThreshold to aboveThresholdEU. Also there is no opportunity to set up enquiryPeriod, it will be assigned automatically.

Закупівля може складатись із декількох лотів. Можна створити лот таким чином:

POST /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/lots?acc_token=2d40003375644e37bcda2c4fc8319cd8 HTTP/1.0
Authorization: Bearer broker
Content-Length: 214
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "minimalStep": {
      "currency": "UAH",
      "amount": 35
    },
    "description": "Опис Лот №1",
    "value": {
      "currency": "UAH",
      "amount": 500
    },
    "title": "Лот №1"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/lots/827f341aa45e495f853f5493aee68c42
{
  "data": {
    "status": "active",
    "description": "Опис Лот №1",
    "title": "Лот №1",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2020-05-15T01:00:00+03:00",
    "id": "827f341aa45e495f853f5493aee68c42"
  }
}

Потрібно оновити дані пов’язані із залежністю на лот:

PATCH /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c?acc_token=2d40003375644e37bcda2c4fc8319cd8 HTTP/1.0
Authorization: Bearer broker
Content-Length: 125
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "items": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42"
      },
      {
        "relatedLot": "fadc6f1d86d045bc995c327e65c864fa"
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "endDate": "2020-06-11T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "clarificationsUntil": "2020-06-11T00:00:00+03:00",
      "endDate": "2020-06-05T00:00:00+03:00",
      "invalidationDate": "2020-05-15T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2020-06-15T01: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"
    },
    "owner": "broker",
    "id": "086edc68f12d4a248ded4f9cea52e69c",
    "title": "Послуги шкільних їдалень",
    "lots": [
      {
        "status": "active",
        "description": "Опис Лот №1",
        "title": "Лот №1",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2020-05-15T01:00:00+03:00",
        "id": "827f341aa45e495f853f5493aee68c42"
      },
      {
        "status": "active",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2020-05-15T01:00:00+03:00",
        "id": "fadc6f1d86d045bc995c327e65c864fa"
      }
    ],
    "tenderID": "UA-2020-05-15-000001",
    "dateModified": "2020-05-15T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "endDate": "2020-06-15T01:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2020-05-15T01:00:00+03:00",
    "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": "dda301a766ca433e86943a674a61fcce"
      }
    ],
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "50f583529d724487b9430dd0bbda9174",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      },
      {
        "relatedLot": "fadc6f1d86d045bc995c327e65c864fa",
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "91a14518464b4e81ae77ad46a8ef57ea",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 1000.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Перегляньте список закупівель:

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=2020-05-15T01%3A00%3A00%2B03%3A00",
    "uri": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders?offset=2020-05-15T01%3A00%3A00%2B03%3A00",
    "offset": "2020-05-15T01:00:00+03:00"
  },
  "data": [
    {
      "id": "086edc68f12d4a248ded4f9cea52e69c",
      "dateModified": "2020-05-15T01:00:00+03:00"
    }
  ]
}

або перегляньте окрему закупівлю:

GET /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c HTTP/1.0
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "endDate": "2020-06-11T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "clarificationsUntil": "2020-06-11T00:00:00+03:00",
      "endDate": "2020-06-05T00:00:00+03:00",
      "invalidationDate": "2020-05-15T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2020-06-15T01: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"
    },
    "owner": "broker",
    "id": "086edc68f12d4a248ded4f9cea52e69c",
    "title": "Послуги шкільних їдалень",
    "lots": [
      {
        "status": "active",
        "description": "Опис Лот №1",
        "title": "Лот №1",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2020-05-15T01:00:00+03:00",
        "id": "827f341aa45e495f853f5493aee68c42"
      },
      {
        "status": "active",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2020-05-15T01:00:00+03:00",
        "id": "fadc6f1d86d045bc995c327e65c864fa"
      }
    ],
    "tenderID": "UA-2020-05-15-000001",
    "dateModified": "2020-05-15T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "endDate": "2020-06-15T01:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2020-05-15T01:00:00+03:00",
    "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": "dda301a766ca433e86943a674a61fcce"
      }
    ],
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "50f583529d724487b9430dd0bbda9174",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      },
      {
        "relatedLot": "fadc6f1d86d045bc995c327e65c864fa",
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "91a14518464b4e81ae77ad46a8ef57ea",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 1000.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Реєстрація пропозиції

Статус закупівлі active.tendering дозволяє реєстрацію пропозицій.

Учасник може зареєструвати пропозицію для лота №1:

POST /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 1001
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "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": "м. Вінниця"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/bids/5c40c6901b9d438fad1d986bf48a3b2c
{
  "access": {
    "transfer": "5b32e87f42ea440cbf41985fb8f42bcc",
    "token": "e1acbdb735954beda3c4b55d6dffc720"
  },
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "date": "2020-05-15T01:00:00+03:00",
        "status": "pending",
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "id": "5c40c6901b9d438fad1d986bf48a3b2c",
    "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": "2020-05-15T01:00:00+03:00",
    "selfQualified": true
  }
}

Учасник може зареєструвати пропозиції для всіх лотів:

POST /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 1028
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42"
      },
      {
        "relatedLot": "fadc6f1d86d045bc995c327e65c864fa",
        "subcontractingDetails": "ДКП «Укр Прінт», Україна"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко"
        },
        "scale": "mid",
        "name": "«Снігур»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137227",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "Львівська область",
          "streetAddress": "вул. Островського, 35",
          "locality": "м. Львів"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/bids/602221490fe54ad4866e70ecd5f09fe1
{
  "access": {
    "transfer": "97c2523def9f4193a899bbe712c3d8d2",
    "token": "1be138ca4c9f4d4698c469fa4bdeb29d"
  },
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "date": "2020-05-15T01:00:00+03:00",
        "status": "pending"
      },
      {
        "relatedLot": "fadc6f1d86d045bc995c327e65c864fa",
        "date": "2020-05-15T01:00:00+03:00",
        "status": "pending",
        "subcontractingDetails": "ДКП «Укр Прінт», Україна"
      }
    ],
    "id": "602221490fe54ad4866e70ecd5f09fe1",
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко"
        },
        "scale": "mid",
        "name": "«Снігур»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137227",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 35",
          "region": "Львівська область",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2020-05-15T01:00:00+03:00",
    "selfQualified": true
  }
}

Учасник повинен завантажити технічні та приватні документи пропозиції.

Закупівлю можна оновлювати протягом періоду active.tendering. Всі пропозиції вважатимуться недійсними після оновлення закупівлі. Наприклад, зменшимо ціну лота до 400.

PATCH /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/lots/fadc6f1d86d045bc995c327e65c864fa?acc_token=2d40003375644e37bcda2c4fc8319cd8 HTTP/1.0
Authorization: Bearer broker
Content-Length: 36
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "value": {
      "amount": 400
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "description": "Опис Лот №2",
    "title": "Лот №2",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "value": {
      "currency": "UAH",
      "amount": 400.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2020-05-15T01:00:00+03:00",
    "id": "fadc6f1d86d045bc995c327e65c864fa"
  }
}

Це пропозиція учасника після оновлення закупівлі.

GET /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/bids/5c40c6901b9d438fad1d986bf48a3b2c?acc_token=e1acbdb735954beda3c4b55d6dffc720 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": "5c40c6901b9d438fad1d986bf48a3b2c"
  }
}

Спочатку учасник повинен поновити свою пропозицію, навіть якщо подавав її лише для лота №1.

PATCH /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/bids/5c40c6901b9d438fad1d986bf48a3b2c?acc_token=e1acbdb735954beda3c4b55d6dffc720 HTTP/1.0
Authorization: Bearer broker
Content-Length: 188
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "subcontractingDetails": "ДКП «Орфей»"
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "date": "2020-05-15T01:00:00+03:00",
        "status": "pending",
        "subcontractingDetails": "ДКП «Орфей»"
      }
    ],
    "id": "5c40c6901b9d438fad1d986bf48a3b2c",
    "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": "2020-05-15T01:00:00+03:00",
    "selfQualified": true
  }
}

Потім учасник повинен поновити пропозицію для лота №1.

PATCH /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/bids/572235daf46e42aab4f38d4ecfbf806e?acc_token=ba937016906e447c8a960f506d237d20 HTTP/1.0
Authorization: Bearer broker
Content-Length: 98
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42"
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "date": "2020-05-15T01:00:00+03:00",
        "status": "pending"
      }
    ],
    "id": "572235daf46e42aab4f38d4ecfbf806e",
    "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": "2020-05-15T01:00:00+03:00",
    "selfQualified": true
  }
}

Кваліфікація пропозицій

Для процедури конкурентного діалогу необхідна кваліфікація значень пропозицій.

Переглянемо закупівлю:

GET /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c?acc_token=2d40003375644e37bcda2c4fc8319cd8 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": "2020-04-14T01:00:00+03:00",
      "endDate": "2020-05-11T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2020-04-14T01:00:00+03:00",
      "clarificationsUntil": "2020-05-08T00:00:00+03:00",
      "endDate": "2020-05-05T00:00:00+03:00",
      "invalidationDate": "2020-05-15T01: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"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "086edc68f12d4a248ded4f9cea52e69c",
    "title": "Послуги шкільних їдалень",
    "lots": [
      {
        "status": "active",
        "description": "Опис Лот №1",
        "title": "Лот №1",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2020-05-15T01:00:00+03:00",
        "id": "827f341aa45e495f853f5493aee68c42"
      },
      {
        "status": "unsuccessful",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 400.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2020-05-15T01:00:00+03:00",
        "id": "fadc6f1d86d045bc995c327e65c864fa"
      }
    ],
    "qualificationPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00"
    },
    "tenderID": "UA-2020-05-15-000001",
    "dateModified": "2020-05-15T01:00:00+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2020-04-14T01:00:00+03:00",
      "endDate": "2020-05-15T01:00:00+03:00"
    },
    "qualifications": [
      {
        "status": "pending",
        "lotID": "827f341aa45e495f853f5493aee68c42",
        "eligible": false,
        "qualified": false,
        "bidID": "5c40c6901b9d438fad1d986bf48a3b2c",
        "date": "2020-05-15T01:00:00+03:00",
        "id": "173c2b5bb93248a78c84a3827af6cbaa"
      },
      {
        "status": "pending",
        "lotID": "827f341aa45e495f853f5493aee68c42",
        "eligible": false,
        "qualified": false,
        "bidID": "572235daf46e42aab4f38d4ecfbf806e",
        "date": "2020-05-15T01:00:00+03:00",
        "id": "9894e7b3dee74b7f978607f213fb8d37"
      },
      {
        "status": "pending",
        "lotID": "827f341aa45e495f853f5493aee68c42",
        "eligible": false,
        "qualified": false,
        "bidID": "602221490fe54ad4866e70ecd5f09fe1",
        "date": "2020-05-15T01:00:00+03:00",
        "id": "ced896f884304acd86eae26ec8efe5c8"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2020-05-15T01:00:00+03:00",
    "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": "dda301a766ca433e86943a674a61fcce"
      }
    ],
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "50f583529d724487b9430dd0bbda9174",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      },
      {
        "relatedLot": "fadc6f1d86d045bc995c327e65c864fa",
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "91a14518464b4e81ae77ad46a8ef57ea",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "bids": [
      {
        "status": "pending",
        "id": "5c40c6901b9d438fad1d986bf48a3b2c",
        "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": "м. Вінниця"
            }
          }
        ]
      },
      {
        "status": "pending",
        "id": "572235daf46e42aab4f38d4ecfbf806e",
        "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",
        "id": "602221490fe54ad4866e70ecd5f09fe1",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "scale": "mid",
            "name": "«Снігур»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137227",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "Львівська область",
              "locality": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 900.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Переглянемо список кваліфікацій:

GET /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/qualifications?acc_token=2d40003375644e37bcda2c4fc8319cd8 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",
      "lotID": "827f341aa45e495f853f5493aee68c42",
      "eligible": false,
      "qualified": false,
      "bidID": "5c40c6901b9d438fad1d986bf48a3b2c",
      "date": "2020-05-15T01:00:00+03:00",
      "id": "173c2b5bb93248a78c84a3827af6cbaa"
    },
    {
      "status": "pending",
      "lotID": "827f341aa45e495f853f5493aee68c42",
      "eligible": false,
      "qualified": false,
      "bidID": "572235daf46e42aab4f38d4ecfbf806e",
      "date": "2020-05-15T01:00:00+03:00",
      "id": "9894e7b3dee74b7f978607f213fb8d37"
    },
    {
      "status": "pending",
      "lotID": "827f341aa45e495f853f5493aee68c42",
      "eligible": false,
      "qualified": false,
      "bidID": "602221490fe54ad4866e70ecd5f09fe1",
      "date": "2020-05-15T01:00:00+03:00",
      "id": "ced896f884304acd86eae26ec8efe5c8"
    }
  ]
}

Підтвердіть значення пропозиції через кваліфікаційні об’єкти:

PATCH /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c/qualifications/173c2b5bb93248a78c84a3827af6cbaa?acc_token=2d40003375644e37bcda2c4fc8319cd8 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",
    "lotID": "827f341aa45e495f853f5493aee68c42",
    "eligible": true,
    "qualified": true,
    "bidID": "5c40c6901b9d438fad1d986bf48a3b2c",
    "date": "2020-05-15T01:00:00+03:00",
    "id": "173c2b5bb93248a78c84a3827af6cbaa"
  }
}

Замовник підтверджує кваліфікацію переходом до наступного статусу:

PATCH /api/2.5/tenders/086edc68f12d4a248ded4f9cea52e69c?acc_token=2d40003375644e37bcda2c4fc8319cd8 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": "2020-04-14T01:00:00+03:00",
      "endDate": "2020-05-11T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2020-04-14T01:00:00+03:00",
      "clarificationsUntil": "2020-05-08T00:00:00+03:00",
      "endDate": "2020-05-05T00:00:00+03:00",
      "invalidationDate": "2020-05-15T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2020-05-21T00: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"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "086edc68f12d4a248ded4f9cea52e69c",
    "title": "Послуги шкільних їдалень",
    "lots": [
      {
        "status": "active",
        "description": "Опис Лот №1",
        "title": "Лот №1",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2020-05-15T01:00:00+03:00",
        "id": "827f341aa45e495f853f5493aee68c42"
      },
      {
        "status": "unsuccessful",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 400.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2020-05-15T01:00:00+03:00",
        "id": "fadc6f1d86d045bc995c327e65c864fa"
      }
    ],
    "qualificationPeriod": {
      "startDate": "2020-05-15T01:00:00+03:00",
      "endDate": "2020-05-21T00:00:00+03:00"
    },
    "tenderID": "UA-2020-05-15-000001",
    "dateModified": "2020-05-15T01:00:00+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2020-04-14T01:00:00+03:00",
      "endDate": "2020-05-15T01:00:00+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "lotID": "827f341aa45e495f853f5493aee68c42",
        "eligible": true,
        "qualified": true,
        "bidID": "5c40c6901b9d438fad1d986bf48a3b2c",
        "date": "2020-05-15T01:00:00+03:00",
        "id": "173c2b5bb93248a78c84a3827af6cbaa"
      },
      {
        "status": "active",
        "lotID": "827f341aa45e495f853f5493aee68c42",
        "eligible": true,
        "qualified": true,
        "bidID": "572235daf46e42aab4f38d4ecfbf806e",
        "date": "2020-05-15T01:00:00+03:00",
        "id": "9894e7b3dee74b7f978607f213fb8d37"
      },
      {
        "status": "active",
        "lotID": "827f341aa45e495f853f5493aee68c42",
        "eligible": true,
        "qualified": true,
        "bidID": "602221490fe54ad4866e70ecd5f09fe1",
        "date": "2020-05-15T01:00:00+03:00",
        "id": "ced896f884304acd86eae26ec8efe5c8"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2020-05-15T01:00:00+03:00",
    "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": "dda301a766ca433e86943a674a61fcce"
      }
    ],
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "50f583529d724487b9430dd0bbda9174",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      },
      {
        "relatedLot": "fadc6f1d86d045bc995c327e65c864fa",
        "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": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2020-06-04T00:00:00+02:00",
          "endDate": "2020-07-04T00:00:00+02:00"
        },
        "id": "91a14518464b4e81ae77ad46a8ef57ea",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "bids": [
      {
        "status": "active",
        "id": "5c40c6901b9d438fad1d986bf48a3b2c",
        "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": "м. Вінниця"
            }
          }
        ]
      },
      {
        "status": "active",
        "id": "572235daf46e42aab4f38d4ecfbf806e",
        "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": "active",
        "id": "602221490fe54ad4866e70ecd5f09fe1",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "scale": "mid",
            "name": "«Снігур»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137227",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "Львівська область",
              "locality": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 900.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

В цій процедурі є період блокування на 10 днів під час qualificationPeriod.

Другий етап

На другому етапі ми повині реєструвати нові пропозіції, але реєструвати можуть тільки учасники, які були допущени на першому етапі.

Спробуємо

POST /api/2.5/tenders/d99c61237b1945578b8cde56d011dbef/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 972
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "value": {
          "amount": 500
        },
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (452) 21-69-31",
          "name": "Вільям Поле",
          "email": "pole@gmail.com"
        },
        "scale": "mid",
        "name": "ТОВ \"Бур\"",
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "ТОВ Бур",
          "id": "00137230",
          "uri": "http://pole.edu.vn.ua/"
        },
        "address": {
          "countryName": "Україна",
          "postalCode": "21100",
          "region": "Львівська область",
          "streetAddress": "вул. Поле, 33",
          "locality": "м. Львів"
        }
      }
    ]
  }
}

Response: 403 Forbidden
Content-Type: application/json; charset=UTF-8
{
  "status": "error",
  "errors": [
    {
      "description": "Firm can't create bid",
      "location": "body",
      "name": "data"
    }
  ]
}

Отримали помилку

Тепер, зареєструємо пропозицію постачальником, який був допущений на першому етапі на перший лот

POST /api/2.5/tenders/d99c61237b1945578b8cde56d011dbef/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 1027
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "value": {
          "amount": 500
        },
        "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": "м. Вінниця"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/d99c61237b1945578b8cde56d011dbef/bids/27921103a2704670ae2a47f38fa67f97
{
  "access": {
    "transfer": "ea57ae49d8fe4779939bd0f01d5f89a6",
    "token": "9191533b54b74f78ae18e9980146ac3f"
  },
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "827f341aa45e495f853f5493aee68c42",
        "date": "2020-05-15T01:00:00+03:00",
        "status": "pending",
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "id": "27921103a2704670ae2a47f38fa67f97",
    "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": "2020-05-15T01:00:00+03:00",
    "selfQualified": true
  }
}

Вдалося!

Тепер спробуємо зареєструємо на лот на який постачальник не був допущений.

POST /api/2.5/tenders/d99c61237b1945578b8cde56d011dbef/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 1027
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "fadc6f1d86d045bc995c327e65c864fa",
        "value": {
          "amount": 300
        },
        "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": "м. Вінниця"
        }
      }
    ]
  }
}

Response: 403 Forbidden
Content-Type: application/json; charset=UTF-8
{
  "status": "error",
  "errors": [
    {
      "description": "Firm can't create bid",
      "location": "body",
      "name": "data"
    }
  ]
}

Ми знову виявляємо помилку. Таким чином, ми можемо зробити висновок, що тільки користувач з першого етапу може зареєструвати ставку на другому етапі.