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 on first stage

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: 4169
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-25T01: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": "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
      }
    ],
    "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/35f93e8dd5484abb8b90687952c82010
{
  "access": {
    "transfer": "8008cd9dd5f446c4b727996a935b47cc",
    "token": "67e88a4fa34541c2bbdd1b66c8b11b71"
  },
  "data": {
    "procurementMethod": "open",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-21T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "clarificationsUntil": "2019-11-21T00:00:00+03:00",
      "endDate": "2019-11-15T01:00:00+03: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",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "dateModified": "2019-10-25T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-25T01:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

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 CompetitiveDialogue procedure is that procurementMethodType can be CompetitiveDialogueEU or CompetitiveDialogueUA.

If you choice CompetitiveDialogueEU on second stage will be created procedure which similar on Open EU, if CompetitiveDialogueUA then on Open UA.

Also there is 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/35f93e8dd5484abb8b90687952c82010 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+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "clarificationsUntil": "2019-11-21T00:00:00+03:00",
      "endDate": "2019-11-15T01:00:00+03: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",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "dateModified": "2019-10-25T01:00:00+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-25T01:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

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": "35f93e8dd5484abb8b90687952c82010",
      "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/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "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"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

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": "35f93e8dd5484abb8b90687952c82010",
      "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/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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": "f74db777262d460099620965f673a415",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "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/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "588c354ef78f4155a37d4c22dbec1a9d",
        "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/0d2761804fdb420aa12c0adad1c06c65?KeyID=a8968c46&Signature=sbObhmcEbppKi4eZAllrjNUbkOwWSsKRZU1RLSqTy3LqH9lGOKQ4Vp49qAbw2XU2egbmexaEAcruNXTzaqOiDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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/d3921bb3169f47d4aa0048f2094e1b1a?KeyID=a8968c46&Signature=XMvb4vRCXAclorqdyoEzjjfKzF5Wxu%2FQctqL67LHsm8M%252BpvhBr08ep33esbJbN7CQ%252BBuIaMLfrb9CWEyY0uWDw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "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"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 HTTP/1.0
Authorization: Bearer broker
Content-Length: 38
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "value": {
      "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/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 HTTP/1.0
Authorization: Bearer broker
Content-Length: 113
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2019-11-02T01:00:00+03:00"
    },
    "value": {
      "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": "f74db777262d460099620965f673a415",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "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/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "588c354ef78f4155a37d4c22dbec1a9d",
        "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/0d2761804fdb420aa12c0adad1c06c65?KeyID=a8968c46&Signature=sbObhmcEbppKi4eZAllrjNUbkOwWSsKRZU1RLSqTy3LqH9lGOKQ4Vp49qAbw2XU2egbmexaEAcruNXTzaqOiDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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/d3921bb3169f47d4aa0048f2094e1b1a?KeyID=a8968c46&Signature=XMvb4vRCXAclorqdyoEzjjfKzF5Wxu%2FQctqL67LHsm8M%252BpvhBr08ep33esbJbN7CQ%252BBuIaMLfrb9CWEyY0uWDw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "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"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Procuring entity can set bid guarantee:

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2019-10-25-000001",
    "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"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Uploading documentation

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

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/documents?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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/35f93e8dd5484abb8b90687952c82010/documents/588c354ef78f4155a37d4c22dbec1a9d
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "tender_owner",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "588c354ef78f4155a37d4c22dbec1a9d",
    "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/35f93e8dd5484abb8b90687952c82010/documents/588c354ef78f4155a37d4c22dbec1a9d?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "previousVersions": [],
    "id": "588c354ef78f4155a37d4c22dbec1a9d",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

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

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/documents?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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": "AwardCriteria.pdf",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/0d2761804fdb420aa12c0adad1c06c65?KeyID=a8968c46&Signature=sbObhmcEbppKi4eZAllrjNUbkOwWSsKRZU1RLSqTy3LqH9lGOKQ4Vp49qAbw2XU2egbmexaEAcruNXTzaqOiDQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "de1a505be7ed4337b657a9a1332b38cb",
      "dateModified": "2019-10-25T01:00:00+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "author": "tender_owner",
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "588c354ef78f4155a37d4c22dbec1a9d",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

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

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/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": "AwardCriteria-2.pdf",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/d3921bb3169f47d4aa0048f2094e1b1a?KeyID=a8968c46&Signature=XMvb4vRCXAclorqdyoEzjjfKzF5Wxu%2FQctqL67LHsm8M%252BpvhBr08ep33esbJbN7CQ%252BBuIaMLfrb9CWEyY0uWDw%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "de1a505be7ed4337b657a9a1332b38cb",
      "dateModified": "2019-10-25T01:00:00+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "author": "tender_owner",
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://public-docs-sandbox.prozorro.gov.ua/get/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "588c354ef78f4155a37d4c22dbec1a9d",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

Enquiries

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

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/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/35f93e8dd5484abb8b90687952c82010/questions/f74db777262d460099620965f673a415
{
  "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": "f74db777262d460099620965f673a415",
    "questionOf": "tender"
  }
}

Procuring entity can answer them:

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/questions/f74db777262d460099620965f673a415?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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": "f74db777262d460099620965f673a415",
    "questionOf": "tender"
  }
}

One can retrieve either questions list:

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/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": "f74db777262d460099620965f673a415",
      "questionOf": "tender"
    }
  ]
}

or individual answer:

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/questions/f74db777262d460099620965f673a415 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": "f74db777262d460099620965f673a415",
    "questionOf": "tender"
  }
}

Enquiries can be made only during Tender.enqueryPeriod

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/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

Tender status active.tendering allows registration of bids.

Bidder can register a bid with draft status:

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 928
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "draft",
    "selfEligible": true,
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": true,
    "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c
{
  "access": {
    "transfer": "cbe8219212264f088149330cce760248",
    "token": "3779418188014a5197c514e6dd1908a2"
  },
  "data": {
    "status": "draft",
    "selfEligible": true,
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": true,
    "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",
    "id": "9161500fb17744ce90346052ddf8479c"
  }
}

and approve to pending status:

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c?acc_token=3779418188014a5197c514e6dd1908a2 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,
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": true,
    "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",
    "id": "9161500fb17744ce90346052ddf8479c"
  }
}

Proposal Uploading

Then bidder should upload proposal technical document(s):

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents?acc_token=3779418188014a5197c514e6dd1908a2 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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/bdf03760f26641e6b662ddd1eb2e1e1f
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/bdf03760f26641e6b662ddd1eb2e1e1f?download=752bdc92fce4442596aec7342e050667",
    "format": "application/pdf",
    "isDescriptionDecision": false,
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "bdf03760f26641e6b662ddd1eb2e1e1f",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

Document can be type descriptive decision. If you want that document be descriptive decision need set isDescriptionDecision

First upload file

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents?acc_token=3779418188014a5197c514e6dd1908a2 HTTP/1.0
Authorization: Bearer broker
Content-Length: 155
Content-Type: multipart/form-data; boundary=---BOUNDARY
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
-----BOUNDARY
Content-Disposition: form-data; name="file"; filename="DescriptiveProposal.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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "DescriptiveProposal.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
    "format": "application/pdf",
    "isDescriptionDecision": false,
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "b3ba98a293ec412b966a9cb2c035020a",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

Then set isDescriptionDecision

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?acc_token=3779418188014a5197c514e6dd1908a2 HTTP/1.0
Authorization: Bearer broker
Content-Length: 41
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "isDescriptionDecision": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "DescriptiveProposal.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
    "format": "application/pdf",
    "isDescriptionDecision": true,
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "b3ba98a293ec412b966a9cb2c035020a",
    "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents?acc_token=3779418188014a5197c514e6dd1908a2 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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c
{
  "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
    "format": "application/pdf",
    "isDescriptionDecision": false,
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "c1b944c8854543e58b0d043843de553c",
    "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?acc_token=3779418188014a5197c514e6dd1908a2 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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "title": "Proposal_top_secrets.pdf",
    "isDescriptionDecision": false,
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "c1b944c8854543e58b0d043843de553c",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

When documents with parameter isDescriptionDecision set to privacy confidentialityRationale must be missed.

Let’s mark the document as “private”:

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?acc_token=3779418188014a5197c514e6dd1908a2 HTTP/1.0
Authorization: Bearer broker
Content-Length: 42
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "confidentiality": "buyerOnly"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "buyerOnly",
    "language": "uk",
    "title": "DescriptiveProposal.pdf",
    "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
    "format": "application/pdf",
    "isDescriptionDecision": true,
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "b3ba98a293ec412b966a9cb2c035020a",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

It is possible to check the uploaded documents:

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents?acc_token=3779418188014a5197c514e6dd1908a2 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": "Proposal.pdf",
      "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/bdf03760f26641e6b662ddd1eb2e1e1f?download=752bdc92fce4442596aec7342e050667",
      "format": "application/pdf",
      "isDescriptionDecision": false,
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "bdf03760f26641e6b662ddd1eb2e1e1f",
      "dateModified": "2019-10-25T01:00:00+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "buyerOnly",
      "language": "uk",
      "title": "DescriptiveProposal.pdf",
      "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
      "format": "application/pdf",
      "isDescriptionDecision": true,
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "b3ba98a293ec412b966a9cb2c035020a",
      "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
      "confidentialityRationale": "Only our company sells badgers with pink hair.",
      "title": "Proposal_top_secrets.pdf",
      "isDescriptionDecision": false,
      "documentOf": "tender",
      "datePublished": "2019-10-25T01:00:00+03:00",
      "id": "c1b944c8854543e58b0d043843de553c",
      "dateModified": "2019-10-25T01:00:00+03:00"
    }
  ]
}

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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c?acc_token=3779418188014a5197c514e6dd1908a2 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": "9161500fb17744ce90346052ddf8479c"
  }
}

Bid confirmation

Bidder should confirm bid proposal:

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c?acc_token=3779418188014a5197c514e6dd1908a2 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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/bdf03760f26641e6b662ddd1eb2e1e1f?download=752bdc92fce4442596aec7342e050667",
        "format": "application/pdf",
        "isDescriptionDecision": false,
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "bdf03760f26641e6b662ddd1eb2e1e1f",
        "dateModified": "2019-10-25T01:00:00+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "title": "DescriptiveProposal.pdf",
        "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
        "format": "application/pdf",
        "isDescriptionDecision": true,
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "b3ba98a293ec412b966a9cb2c035020a",
        "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "isDescriptionDecision": false,
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "c1b944c8854543e58b0d043843de553c",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "selfEligible": true,
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": true,
    "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",
    "id": "9161500fb17744ce90346052ddf8479c"
  }
}

Competitive Dialogue procedure demands at least three bidders:

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 765
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "value": {
      "amount": 499
    },
    "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/35f93e8dd5484abb8b90687952c82010/bids/253a8b6e43504db9a3d4ec839dc7e5ce
{
  "access": {
    "transfer": "ba23f3b16ee24741bb13d14b9433db00",
    "token": "cd63d2f076eb412c9ab423ff0a83ba89"
  },
  "data": {
    "status": "pending",
    "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": "м. Львів"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "id": "253a8b6e43504db9a3d4ec839dc7e5ce"
  }
}

Register two more bid:

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 743
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "value": {
      "amount": 5
    },
    "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/35f93e8dd5484abb8b90687952c82010/bids/d2423013b43642f98ce4b78bc3c99d66
{
  "access": {
    "transfer": "b443c2e5a1484d049dc1c3fc2694e9a8",
    "token": "bd8c8ff401304ac4939e7ecf9e5d3a0e"
  },
  "data": {
    "status": "pending",
    "selfEligible": true,
    "selfQualified": true,
    "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": "2019-10-25T01:00:00+03:00",
    "id": "d2423013b43642f98ce4b78bc3c99d66"
  }
}

Batch-mode bid registration

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

POST /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids HTTP/1.0
Authorization: Bearer broker
Content-Length: 1572
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "selfEligible": true,
    "documents": [
      {
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/19d7c62da8e144799eb146bcd5501b48?KeyID=a8968c46&Signature=s3TNC0Q8b7cxRiK4GvQwM2WwQxWYg9e%2Bo5PE1s416Ot%2FEcvKnkY%2Bi%2Bqq%2FBTbnh6tNirCVMVo4nUl654as0JaAA%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/9256c48555a442f9991381bf30f8f2c2?KeyID=a8968c46&Signature=mvNhuSAUHm%2FwERkPz2dYsMGwRO0OEnmgybsyCxkpMvb9OPHc7yQQZmaHnKR1222cd98jvmooAvGaBkDvoeT1Aw%3D%3D",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf"
      }
    ],
    "selfQualified": true,
    "value": {
      "amount": 5
    },
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "name": "Іван Карпенко",
          "telephone": "+380 (322) 12-34-56"
        },
        "scale": "large",
        "name": "«Кенгуру»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "м. Запоріжжя",
          "streetAddress": "вул. Коцюбинського, 15",
          "locality": "м. Запоріжя"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/8fe55741897d438581a0af90c21cc42d
{
  "access": {
    "transfer": "e1084e14db254a5eaacd772014cc79e0",
    "token": "aadc63be78604ee7b77daa03ed5d9558"
  },
  "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/35f93e8dd5484abb8b90687952c82010/bids/8fe55741897d438581a0af90c21cc42d/documents/e92a237d2cc241d1ae1047f4599874c7?download=19d7c62da8e144799eb146bcd5501b48",
        "format": "application/pdf",
        "isDescriptionDecision": false,
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "e92a237d2cc241d1ae1047f4599874c7",
        "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/35f93e8dd5484abb8b90687952c82010/bids/8fe55741897d438581a0af90c21cc42d/documents/3ee0045cc6314ac78ba7a67aa8c90a52?download=9256c48555a442f9991381bf30f8f2c2",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf",
        "isDescriptionDecision": false,
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "3ee0045cc6314ac78ba7a67aa8c90a52",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "selfEligible": true,
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Карпенко"
        },
        "scale": "large",
        "name": "«Кенгуру»",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Коцюбинського, 15",
          "region": "м. Запоріжжя",
          "locality": "м. Запоріжя"
        }
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "id": "8fe55741897d438581a0af90c21cc42d"
  }
}

Bid Qualification

Competitive Dialogue procedure requires bid qualification.

Let’s list qualifications:

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/qualifications 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",
      "eligible": false,
      "qualified": false,
      "bidID": "9161500fb17744ce90346052ddf8479c",
      "date": "2019-10-25T01:00:00+03:00",
      "id": "688adb9bb70e4d4fbcaf4ba1025e7e1a"
    },
    {
      "status": "pending",
      "eligible": false,
      "qualified": false,
      "bidID": "253a8b6e43504db9a3d4ec839dc7e5ce",
      "date": "2019-10-25T01:00:00+03:00",
      "id": "be53976fae27403594b3de9b7bdfba6a"
    },
    {
      "status": "pending",
      "eligible": false,
      "qualified": false,
      "bidID": "d2423013b43642f98ce4b78bc3c99d66",
      "date": "2019-10-25T01:00:00+03:00",
      "id": "5ffc4b1c851848199fd66861aa118688"
    },
    {
      "status": "pending",
      "eligible": false,
      "qualified": false,
      "bidID": "8fe55741897d438581a0af90c21cc42d",
      "date": "2019-10-25T01:00:00+03:00",
      "id": "21a68f5b2e664a23827a19a669007d33"
    }
  ]
}

Approve first three bids through qualification objects:

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/qualifications/688adb9bb70e4d4fbcaf4ba1025e7e1a?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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": "9161500fb17744ce90346052ddf8479c",
    "date": "2019-10-25T01:00:00+03:00",
    "id": "688adb9bb70e4d4fbcaf4ba1025e7e1a"
  }
}
PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/qualifications/be53976fae27403594b3de9b7bdfba6a?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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": "253a8b6e43504db9a3d4ec839dc7e5ce",
    "date": "2019-10-25T01:00:00+03:00",
    "id": "be53976fae27403594b3de9b7bdfba6a"
  }
}
PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/qualifications/21a68f5b2e664a23827a19a669007d33?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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": "8fe55741897d438581a0af90c21cc42d",
    "date": "2019-10-25T01:00:00+03:00",
    "id": "21a68f5b2e664a23827a19a669007d33"
  }
}

We can also reject bid:

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/qualifications/5ffc4b1c851848199fd66861aa118688?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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": "d2423013b43642f98ce4b78bc3c99d66",
    "date": "2019-10-25T01:00:00+03:00",
    "id": "5ffc4b1c851848199fd66861aa118688"
  }
}

And check that qualified bids are switched to active:

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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/752bdc92fce4442596aec7342e050667?KeyID=a8968c46&Signature=D0iV1UCO0gdVQ8XMHwJldRFTsIzTXQ1CjU3x4oKy9fyCVWARZs%252BH1%2FjX7%252BubiW6841KkqEXSVJNz3rlcj2IIAA%253D%253D",
          "format": "application/pdf",
          "isDescriptionDecision": false,
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "bdf03760f26641e6b662ddd1eb2e1e1f",
          "dateModified": "2019-10-25T01:00:00+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "title": "DescriptiveProposal.pdf",
          "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
          "format": "application/pdf",
          "isDescriptionDecision": true,
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "b3ba98a293ec412b966a9cb2c035020a",
          "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_top_secrets.pdf",
          "isDescriptionDecision": false,
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "c1b944c8854543e58b0d043843de553c",
          "dateModified": "2019-10-25T01:00:00+03:00"
        }
      ],
      "id": "9161500fb17744ce90346052ddf8479c",
      "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": "253a8b6e43504db9a3d4ec839dc7e5ce",
      "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",
      "selfEligible": true,
      "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": "м. Львів"
          }
        }
      ],
      "selfQualified": true,
      "id": "d2423013b43642f98ce4b78bc3c99d66"
    },
    {
      "status": "active",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal_part1.pdf",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/19d7c62da8e144799eb146bcd5501b48?KeyID=a8968c46&Signature=FIMSeD6yEWVtDOwH59G9AdzY6%252BG6sMCieLgltXtOaDdFJ%2F%252Bq00eiD0RVWW%2FnXEPn%252BC84bpaMYkE%252BcMWdmtb1DQ%253D%253D",
          "format": "application/pdf",
          "isDescriptionDecision": false,
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "e92a237d2cc241d1ae1047f4599874c7",
          "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/35f93e8dd5484abb8b90687952c82010/bids/8fe55741897d438581a0af90c21cc42d/documents/3ee0045cc6314ac78ba7a67aa8c90a52?download=9256c48555a442f9991381bf30f8f2c2",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_part2.pdf",
          "isDescriptionDecision": false,
          "documentOf": "tender",
          "datePublished": "2019-10-25T01:00:00+03:00",
          "id": "3ee0045cc6314ac78ba7a67aa8c90a52",
          "dateModified": "2019-10-25T01:00:00+03:00"
        }
      ],
      "id": "8fe55741897d438581a0af90c21cc42d",
      "tenderers": [
        {
          "contactPoint": {
            "email": "fake@mail.com",
            "telephone": "+380 (322) 12-34-56",
            "name": "Іван Карпенко"
          },
          "scale": "large",
          "name": "«Кенгуру»",
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137228",
            "uri": "http://www.sc.gov.ua/"
          },
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Коцюбинського, 15",
            "region": "м. Запоріжжя",
            "locality": "м. Запоріжя"
          }
        }
      ]
    }
  ]
}

Rejected bid is not shown in bids/ listing.

We can access rejected bid by id:

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/d2423013b43642f98ce4b78bc3c99d66?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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",
    "selfEligible": true,
    "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": "м. Львів"
        }
      }
    ],
    "selfQualified": true,
    "id": "d2423013b43642f98ce4b78bc3c99d66"
  }
}

Procuring entity approves qualifications by switching to next status:

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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",
    "next_check": "2019-10-30T00: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": "f74db777262d460099620965f673a415",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "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/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "588c354ef78f4155a37d4c22dbec1a9d",
        "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/0d2761804fdb420aa12c0adad1c06c65?KeyID=a8968c46&Signature=sbObhmcEbppKi4eZAllrjNUbkOwWSsKRZU1RLSqTy3LqH9lGOKQ4Vp49qAbw2XU2egbmexaEAcruNXTzaqOiDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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/d3921bb3169f47d4aa0048f2094e1b1a?KeyID=a8968c46&Signature=XMvb4vRCXAclorqdyoEzjjfKzF5Wxu%2FQctqL67LHsm8M%252BpvhBr08ep33esbJbN7CQ%252BBuIaMLfrb9CWEyY0uWDw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "dateModified": "2019-10-25T01:00:00+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-10-30T01:00:00+03:00"
    },
    "tenderID": "UA-2019-10-25-000001",
    "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"
    },
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "9161500fb17744ce90346052ddf8479c",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "688adb9bb70e4d4fbcaf4ba1025e7e1a"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "253a8b6e43504db9a3d4ec839dc7e5ce",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "be53976fae27403594b3de9b7bdfba6a"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "d2423013b43642f98ce4b78bc3c99d66",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "5ffc4b1c851848199fd66861aa118688"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "8fe55741897d438581a0af90c21cc42d",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "21a68f5b2e664a23827a19a669007d33"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/752bdc92fce4442596aec7342e050667?KeyID=a8968c46&Signature=D0iV1UCO0gdVQ8XMHwJldRFTsIzTXQ1CjU3x4oKy9fyCVWARZs%252BH1%2FjX7%252BubiW6841KkqEXSVJNz3rlcj2IIAA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "bdf03760f26641e6b662ddd1eb2e1e1f",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "DescriptiveProposal.pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
            "format": "application/pdf",
            "isDescriptionDecision": true,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "b3ba98a293ec412b966a9cb2c035020a",
            "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "c1b944c8854543e58b0d043843de553c",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "id": "9161500fb17744ce90346052ddf8479c",
        "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": "253a8b6e43504db9a3d4ec839dc7e5ce",
        "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",
        "id": "d2423013b43642f98ce4b78bc3c99d66",
        "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": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/19d7c62da8e144799eb146bcd5501b48?KeyID=a8968c46&Signature=FIMSeD6yEWVtDOwH59G9AdzY6%252BG6sMCieLgltXtOaDdFJ%2F%252Bq00eiD0RVWW%2FnXEPn%252BC84bpaMYkE%252BcMWdmtb1DQ%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "e92a237d2cc241d1ae1047f4599874c7",
            "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/35f93e8dd5484abb8b90687952c82010/bids/8fe55741897d438581a0af90c21cc42d/documents/3ee0045cc6314ac78ba7a67aa8c90a52?download=9256c48555a442f9991381bf30f8f2c2",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "3ee0045cc6314ac78ba7a67aa8c90a52",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "id": "8fe55741897d438581a0af90c21cc42d",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "scale": "large",
            "name": "«Кенгуру»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

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

Ready to stage2

When qualification period end tender will has status active.stage2.pending

Lets look on your tender

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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.stage2.pending",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-11T00:00:00+03:00"
    },
    "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",
    "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": "f74db777262d460099620965f673a415",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "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/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "588c354ef78f4155a37d4c22dbec1a9d",
        "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/0d2761804fdb420aa12c0adad1c06c65?KeyID=a8968c46&Signature=sbObhmcEbppKi4eZAllrjNUbkOwWSsKRZU1RLSqTy3LqH9lGOKQ4Vp49qAbw2XU2egbmexaEAcruNXTzaqOiDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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/d3921bb3169f47d4aa0048f2094e1b1a?KeyID=a8968c46&Signature=XMvb4vRCXAclorqdyoEzjjfKzF5Wxu%2FQctqL67LHsm8M%252BpvhBr08ep33esbJbN7CQ%252BBuIaMLfrb9CWEyY0uWDw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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",
    "dateModified": "2019-10-25T01:00:00+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-15T01:00:00+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "9161500fb17744ce90346052ddf8479c",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "688adb9bb70e4d4fbcaf4ba1025e7e1a"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "253a8b6e43504db9a3d4ec839dc7e5ce",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "be53976fae27403594b3de9b7bdfba6a"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "d2423013b43642f98ce4b78bc3c99d66",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "5ffc4b1c851848199fd66861aa118688"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "8fe55741897d438581a0af90c21cc42d",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "21a68f5b2e664a23827a19a669007d33"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/752bdc92fce4442596aec7342e050667?KeyID=a8968c46&Signature=D0iV1UCO0gdVQ8XMHwJldRFTsIzTXQ1CjU3x4oKy9fyCVWARZs%252BH1%2FjX7%252BubiW6841KkqEXSVJNz3rlcj2IIAA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "bdf03760f26641e6b662ddd1eb2e1e1f",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "DescriptiveProposal.pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
            "format": "application/pdf",
            "isDescriptionDecision": true,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "b3ba98a293ec412b966a9cb2c035020a",
            "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "c1b944c8854543e58b0d043843de553c",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "id": "9161500fb17744ce90346052ddf8479c",
        "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": "253a8b6e43504db9a3d4ec839dc7e5ce",
        "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",
        "id": "d2423013b43642f98ce4b78bc3c99d66",
        "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": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/19d7c62da8e144799eb146bcd5501b48?KeyID=a8968c46&Signature=FIMSeD6yEWVtDOwH59G9AdzY6%252BG6sMCieLgltXtOaDdFJ%2F%252Bq00eiD0RVWW%2FnXEPn%252BC84bpaMYkE%252BcMWdmtb1DQ%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "e92a237d2cc241d1ae1047f4599874c7",
            "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/35f93e8dd5484abb8b90687952c82010/bids/8fe55741897d438581a0af90c21cc42d/documents/3ee0045cc6314ac78ba7a67aa8c90a52?download=9256c48555a442f9991381bf30f8f2c2",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "3ee0045cc6314ac78ba7a67aa8c90a52",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "id": "8fe55741897d438581a0af90c21cc42d",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "scale": "large",
            "name": "«Кенгуру»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Hoт purchasing can set that he is ready for second stage, by setting status to active.stage2.waiting.

PATCH /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 HTTP/1.0
Authorization: Bearer broker
Content-Length: 45
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "active.stage2.waiting"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.stage2.waiting",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-11T00:00:00+03:00"
    },
    "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",
    "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": "f74db777262d460099620965f673a415",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "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/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "588c354ef78f4155a37d4c22dbec1a9d",
        "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/0d2761804fdb420aa12c0adad1c06c65?KeyID=a8968c46&Signature=sbObhmcEbppKi4eZAllrjNUbkOwWSsKRZU1RLSqTy3LqH9lGOKQ4Vp49qAbw2XU2egbmexaEAcruNXTzaqOiDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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/d3921bb3169f47d4aa0048f2094e1b1a?KeyID=a8968c46&Signature=XMvb4vRCXAclorqdyoEzjjfKzF5Wxu%2FQctqL67LHsm8M%252BpvhBr08ep33esbJbN7CQ%252BBuIaMLfrb9CWEyY0uWDw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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",
    "dateModified": "2019-10-25T01:00:00+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-15T01:00:00+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "9161500fb17744ce90346052ddf8479c",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "688adb9bb70e4d4fbcaf4ba1025e7e1a"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "253a8b6e43504db9a3d4ec839dc7e5ce",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "be53976fae27403594b3de9b7bdfba6a"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "d2423013b43642f98ce4b78bc3c99d66",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "5ffc4b1c851848199fd66861aa118688"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "8fe55741897d438581a0af90c21cc42d",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "21a68f5b2e664a23827a19a669007d33"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/752bdc92fce4442596aec7342e050667?KeyID=a8968c46&Signature=D0iV1UCO0gdVQ8XMHwJldRFTsIzTXQ1CjU3x4oKy9fyCVWARZs%252BH1%2FjX7%252BubiW6841KkqEXSVJNz3rlcj2IIAA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "bdf03760f26641e6b662ddd1eb2e1e1f",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "DescriptiveProposal.pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
            "format": "application/pdf",
            "isDescriptionDecision": true,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "b3ba98a293ec412b966a9cb2c035020a",
            "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "c1b944c8854543e58b0d043843de553c",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "id": "9161500fb17744ce90346052ddf8479c",
        "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": "253a8b6e43504db9a3d4ec839dc7e5ce",
        "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",
        "id": "d2423013b43642f98ce4b78bc3c99d66",
        "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": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/19d7c62da8e144799eb146bcd5501b48?KeyID=a8968c46&Signature=FIMSeD6yEWVtDOwH59G9AdzY6%252BG6sMCieLgltXtOaDdFJ%2F%252Bq00eiD0RVWW%2FnXEPn%252BC84bpaMYkE%252BcMWdmtb1DQ%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "e92a237d2cc241d1ae1047f4599874c7",
            "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/35f93e8dd5484abb8b90687952c82010/bids/8fe55741897d438581a0af90c21cc42d/documents/3ee0045cc6314ac78ba7a67aa8c90a52?download=9256c48555a442f9991381bf30f8f2c2",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "3ee0045cc6314ac78ba7a67aa8c90a52",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "id": "8fe55741897d438581a0af90c21cc42d",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "scale": "large",
            "name": "«Кенгуру»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Get token for second stage

When tender status is complete, we can get id new stage.

First lets look on tender and find field stage2TenderID

GET /api/2.5/tenders/35f93e8dd5484abb8b90687952c82010?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 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": "complete",
    "mainProcurementCategory": "services",
    "complaintPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-11T00:00:00+03:00"
    },
    "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",
    "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": "f74db777262d460099620965f673a415",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "35f93e8dd5484abb8b90687952c82010",
    "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/4595254e01ba4f178bc3f567f549c368?KeyID=a8968c46&Signature=vATRHadWn0nVBxb0CiMIpgP0xxQIku%252BdiyZ8ihkWO95OatUx1wZ4jP%2FgFmiPl39XpZ20nMbkVtTZ8dyP4BuRCw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "588c354ef78f4155a37d4c22dbec1a9d",
        "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/0d2761804fdb420aa12c0adad1c06c65?KeyID=a8968c46&Signature=sbObhmcEbppKi4eZAllrjNUbkOwWSsKRZU1RLSqTy3LqH9lGOKQ4Vp49qAbw2XU2egbmexaEAcruNXTzaqOiDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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/d3921bb3169f47d4aa0048f2094e1b1a?KeyID=a8968c46&Signature=XMvb4vRCXAclorqdyoEzjjfKzF5Wxu%2FQctqL67LHsm8M%252BpvhBr08ep33esbJbN7CQ%252BBuIaMLfrb9CWEyY0uWDw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:00+03:00",
        "id": "de1a505be7ed4337b657a9a1332b38cb",
        "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",
    "dateModified": "2019-10-25T01:00:00+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2019-09-14T01:00:00+03:00",
      "endDate": "2019-10-15T01:00:00+03:00"
    },
    "stage2TenderID": "785f8bdb2f804fe4be16b2cc4134dec6",
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "9161500fb17744ce90346052ddf8479c",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "688adb9bb70e4d4fbcaf4ba1025e7e1a"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "253a8b6e43504db9a3d4ec839dc7e5ce",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "be53976fae27403594b3de9b7bdfba6a"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "d2423013b43642f98ce4b78bc3c99d66",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "5ffc4b1c851848199fd66861aa118688"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "8fe55741897d438581a0af90c21cc42d",
        "date": "2019-10-25T01:00:00+03:00",
        "id": "21a68f5b2e664a23827a19a669007d33"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2019-10-25T01: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": "e355df7685f14016b48e45d3b6ba7f0f"
      }
    ],
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "95b041402a794b48aa9200874907a06a",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "8673d15afe1147e3b19e6aa7ee6fe462",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/752bdc92fce4442596aec7342e050667?KeyID=a8968c46&Signature=D0iV1UCO0gdVQ8XMHwJldRFTsIzTXQ1CjU3x4oKy9fyCVWARZs%252BH1%2FjX7%252BubiW6841KkqEXSVJNz3rlcj2IIAA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "bdf03760f26641e6b662ddd1eb2e1e1f",
            "dateModified": "2019-10-25T01:00:00+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "DescriptiveProposal.pdf",
            "url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/b3ba98a293ec412b966a9cb2c035020a?download=ec4c001ffaee4fb494eaa38e6bfe7bd7",
            "format": "application/pdf",
            "isDescriptionDecision": true,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "b3ba98a293ec412b966a9cb2c035020a",
            "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/35f93e8dd5484abb8b90687952c82010/bids/9161500fb17744ce90346052ddf8479c/documents/c1b944c8854543e58b0d043843de553c?download=f47657026ea64bf6b5a840519258f836",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "c1b944c8854543e58b0d043843de553c",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "selfEligible": true,
        "subcontractingDetails": "ДКП «Орфей», Україна",
        "selfQualified": true,
        "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",
        "id": "9161500fb17744ce90346052ddf8479c"
      },
      {
        "status": "active",
        "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": "м. Львів"
            }
          }
        ],
        "date": "2019-10-25T01:00:00+03:00",
        "id": "253a8b6e43504db9a3d4ec839dc7e5ce"
      },
      {
        "status": "unsuccessful",
        "selfEligible": true,
        "selfQualified": true,
        "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": "2019-10-25T01:00:00+03:00",
        "id": "d2423013b43642f98ce4b78bc3c99d66"
      },
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/19d7c62da8e144799eb146bcd5501b48?KeyID=a8968c46&Signature=FIMSeD6yEWVtDOwH59G9AdzY6%252BG6sMCieLgltXtOaDdFJ%2F%252Bq00eiD0RVWW%2FnXEPn%252BC84bpaMYkE%252BcMWdmtb1DQ%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "e92a237d2cc241d1ae1047f4599874c7",
            "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/35f93e8dd5484abb8b90687952c82010/bids/8fe55741897d438581a0af90c21cc42d/documents/3ee0045cc6314ac78ba7a67aa8c90a52?download=9256c48555a442f9991381bf30f8f2c2",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2019-10-25T01:00:00+03:00",
            "id": "3ee0045cc6314ac78ba7a67aa8c90a52",
            "dateModified": "2019-10-25T01:00:00+03:00"
          }
        ],
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "scale": "large",
            "name": "«Кенгуру»",
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ],
        "date": "2019-10-25T01:00:00+03:00",
        "id": "8fe55741897d438581a0af90c21cc42d"
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Form making changes in second stage we need token

PATCH /api/2.5/tenders/785f8bdb2f804fe4be16b2cc4134dec6/credentials?acc_token=67e88a4fa34541c2bbdd1b66c8b11b71 HTTP/1.0
Authorization: Bearer broker
Content-Length: 2
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "access": {
    "transfer": "9eb7c60c9b5246f3a84bfa8094343442",
    "token": "e14403b324d64b32b07f6d5355a3ca47"
  },
  "data": {
    "status": "draft.stage2",
    "numberOfBids": 0,
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-24T01:00:00+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "clarificationsUntil": "2019-11-20T00:00:00+03:00",
      "endDate": "2019-11-14T01:00:00+03:00"
    },
    "complaintPeriod": {
      "startDate": "2019-10-25T01:00:00+03:00",
      "endDate": "2019-11-20T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "date": "2019-10-25T01:00:00+03:00",
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "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"
    },
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "7b511293045e49b8a328224196e04d55",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "1ad12baa812349259ed30e5b5f014a52",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "owner": "broker",
    "dateModified": "2019-10-25T01:00:00+03:00",
    "id": "785f8bdb2f804fe4be16b2cc4134dec6",
    "procurementMethod": "selective",
    "tenderID": "UA-2019-10-25-000002"
  }
}

Make changes second stage

Good, now we get token, and can make changes, so lets change status from draft.stage2 to active.tendering

PATCH /api/2.5/tenders/785f8bdb2f804fe4be16b2cc4134dec6?acc_token=e14403b324d64b32b07f6d5355a3ca47 HTTP/1.0
Authorization: Bearer broker
Content-Length: 40
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "active.tendering"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "selective",
    "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:00+03:00",
      "invalidationDate": "2019-10-25T01:00:00+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2019-11-24T00:00:00+02:00",
    "awardCriteria": "lowestCost",
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "785f8bdb2f804fe4be16b2cc4134dec6",
    "title": "Послуги шкільних їдалень",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2019-10-25-000002",
    "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:00+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2019-12-30T00:00:00+03:00"
    },
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "date": "2019-10-25T01:00:00+03:00",
    "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "7b511293045e49b8a328224196e04d55",
        "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": "2019-11-14T00:00:00+02:00",
          "endDate": "2019-12-14T00:00:00+02:00"
        },
        "id": "1ad12baa812349259ed30e5b5f014a52",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1.0
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "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"
    }
  }
}

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/6012d8a8840848c5ae64c001fd7d7d0f/cancellations?acc_token=7c331da730084988a45b600fe21381eb 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/6012d8a8840848c5ae64c001fd7d7d0f/cancellations/49515b18ca6f4302ad53f708eaeaa0ef
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "cancelled",
    "date": "2019-10-25T01:00:00+03:00",
    "cancellationOf": "tender",
    "id": "49515b18ca6f4302ad53f708eaeaa0ef"
  }
}

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/6012d8a8840848c5ae64c001fd7d7d0f/cancellations/49515b18ca6f4302ad53f708eaeaa0ef?acc_token=7c331da730084988a45b600fe21381eb 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:00+03:00",
    "cancellationOf": "tender",
    "id": "49515b18ca6f4302ad53f708eaeaa0ef"
  }
}

Filling cancellation with protocol and supplementary documentation

Upload the file contents

POST /api/2.5/tenders/6012d8a8840848c5ae64c001fd7d7d0f/cancellations/49515b18ca6f4302ad53f708eaeaa0ef/documents?acc_token=7c331da730084988a45b600fe21381eb 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/6012d8a8840848c5ae64c001fd7d7d0f/cancellations/49515b18ca6f4302ad53f708eaeaa0ef/documents/524d0415c1b74971bb53c28c5e4221cc
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/affb25f3b1214cb1b0a919c8973f995a?KeyID=a8968c46&Signature=eraNSZxlmiu31LNrE34dyrYsytEk7%2FTJy35uS178iDQUeUiAl%252B6pZHgqUHRD9AfUVXpV%252B1ESIgN7KnOKK9QwAw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "524d0415c1b74971bb53c28c5e4221cc",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

Change the document description and other properties

PATCH /api/2.5/tenders/6012d8a8840848c5ae64c001fd7d7d0f/cancellations/49515b18ca6f4302ad53f708eaeaa0ef/documents/524d0415c1b74971bb53c28c5e4221cc?acc_token=7c331da730084988a45b600fe21381eb 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/affb25f3b1214cb1b0a919c8973f995a?KeyID=a8968c46&Signature=eraNSZxlmiu31LNrE34dyrYsytEk7%2FTJy35uS178iDQUeUiAl%252B6pZHgqUHRD9AfUVXpV%252B1ESIgN7KnOKK9QwAw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "524d0415c1b74971bb53c28c5e4221cc",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

Upload new version of the document

PUT /api/2.5/tenders/6012d8a8840848c5ae64c001fd7d7d0f/cancellations/49515b18ca6f4302ad53f708eaeaa0ef/documents/524d0415c1b74971bb53c28c5e4221cc?acc_token=7c331da730084988a45b600fe21381eb 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/e896f644c70e4be69dce1e5906500a92?KeyID=a8968c46&Signature=FTlANFA3LZjnSAQcf7S6SL85fpY19L0114N%2FWvIPayVNtzTJ4%252BKX3HDH6WUZrP7CqIMHcC10DLoyG7DeIQ5OCA%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2019-10-25T01:00:00+03:00",
    "id": "524d0415c1b74971bb53c28c5e4221cc",
    "dateModified": "2019-10-25T01:00:00+03:00"
  }
}

Activating the request and cancelling tender

PATCH /api/2.5/tenders/c4eafa4139e24f1d84c1ce5ccbb4560d/cancellations/2a66556a408c4a17a62940b1ad3c728e?acc_token=ce9ee5fc97484fc3b51e3f4dcea722d4 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",
        "title": "Notice.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/e85ae2a32fb548f29d2b321f6661db4b?KeyID=a8968c46&Signature=QwOcKTHTR%252BiaW3nV5Jb0Xs806tn%2FkWhE2eXgcAX5PtcIsLV8ZL%2FsWldHGOrPXQn1Ochj2eBquhQEr6XAOZTbBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:03+03:00",
        "id": "b660c69f66784b979da3b1cf1fff9e76",
        "dateModified": "2019-10-25T01:00:03+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "title": "Notice-2.pdf",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3ac9a4ce62c4476ba9625858f2afdd7b?KeyID=a8968c46&Signature=OlH1qH0aTmkEShCvVI3QImyM%2FWwbqgj9cnxOLXbOi%2FjuueUHgxpygOt%252BK4lyRoTt4fyTIgSgQrek%2FrMpp%252BUVBg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2019-10-25T01:00:03+03:00",
        "id": "b660c69f66784b979da3b1cf1fff9e76",
        "dateModified": "2019-10-25T01:00:03+03:00"
      }
    ],
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2019-10-25T01:00:03+03:00",
    "cancellationOf": "tender",
    "id": "2a66556a408c4a17a62940b1ad3c728e"
  }
}