Tutorial

Exploring basic rules

Let’s try exploring the /tenders endpoint:

GET /api/2.4/tenders?opt_pretty=1 HTTP/1.0
Host: api-sandbox.openprocurement.org

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

Just invoking it reveals empty set.

Now let’s attempt creating some tender:

POST /api/2.4/tenders?opt_pretty=1 HTTP/1.0
Content-Length: 4
Content-Type: application/x-www-form-urlencoded
Host: api-sandbox.openprocurement.org

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.4/tenders?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 4
Content-Type: application/json
Host: api-sandbox.openprocurement.org

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

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

Creating tender

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

POST /api/2.4/tenders?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 3792
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-11-11T17:19:48.277146+03:00"
    },
    "fundingKind": "other",
    "title": "Послуги шкільних їдалень",
    "NBUdiscountRate": 0.22986,
    "procurementMethodType": "esco",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "countryName": "Україна",
        "postalCode": "21027",
        "region": "м. Вінниця",
        "streetAddress": "вул. Стахурського. 22",
        "locality": "м. Вінниця"
      },
      "name_en": "School #10 of Vinnytsia",
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      }
    },
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-10-31T17:19:48.277018+03:00",
          "endDate": "2017-11-30T17:19:48.277078+03: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": "2017-10-31T17:19:48.277104+03:00",
          "endDate": "2017-11-30T17:19:48.277124+03:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "title_en": "Services in school canteens"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b
{
  "access": {
    "token": "c882469d40054373bf95c9ab87c9249f"
  },
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "endDate": "2017-11-07T00:00:00+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "clarificationsUntil": "2017-11-06T17:19:48.277146+03:00",
      "endDate": "2017-11-01T17:19:48.277146+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-11-11T16:19:48.277146+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2017-10-11T17:20:16.460780+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "endDate": "2017-11-11T17:19:48.277146+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-12-17T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2017-10-11T17:20:16.454423+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Success! Now we can see that new object was created. Response code is 201 and Location response header reports the location of the created object. The body of response reveals the information about the created tender: its internal id (that matches the Location segment), its official tenderID and dateModified datestamp stating the moment in time when tender was last modified. Note that tender is created with active.tendering status.

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

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

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

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "endDate": "2017-11-07T00:00:00+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "clarificationsUntil": "2017-11-06T17:19:48.277146+03:00",
      "endDate": "2017-11-01T17:19:48.277146+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-11-11T16:19:48.277146+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2017-10-11T17:20:16.460780+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "endDate": "2017-11-11T17:19:48.277146+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-12-17T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2017-10-11T17:20:16.454423+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

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

Let’s see what listing of tenders reveals us:

GET /api/2.4/tenders?opt_pretty=1 HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "next_page": {
    "path": "/api/2.4/tenders?offset=2017-10-11T17%3A20%3A16.460780%2B03%3A00",
    "uri": "http://api-sandbox.openprocurement.org/api/2.4/tenders?offset=2017-10-11T17%3A20%3A16.460780%2B03%3A00",
    "offset": "2017-10-11T17:20:16.460780+03:00"
  },
  "data": [
    {
      "id": "5a12aa2342aa4042bf6980a62d52669b",
      "dateModified": "2017-10-11T17:20:16.460780+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.4/tenders/5a12aa2342aa4042bf6980a62d52669b?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-11-10T17:20:26.653070+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "endDate": "2017-11-06T00:00:00+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "clarificationsUntil": "2017-11-03T17:20:26.653070+03:00",
      "endDate": "2017-10-31T17:20:26.653070+03:00",
      "invalidationDate": "2017-10-11T17:20:16.726441+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-11-10T16:20:26.653070+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2017-10-11T17:20:16.729759+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "endDate": "2017-11-10T17:20:26.653070+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-12-16T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2017-10-11T17:20:16.454423+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

We see the added properies have merged with existing tender data. Additionally, the dateModified property was updated to reflect the last modification datestamp.

Checking the listing again reflects the new modification date:

GET /api/2.4/tenders?opt_pretty=1 HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "next_page": {
    "path": "/api/2.4/tenders?offset=2017-10-11T17%3A20%3A16.460780%2B03%3A00",
    "uri": "http://api-sandbox.openprocurement.org/api/2.4/tenders?offset=2017-10-11T17%3A20%3A16.460780%2B03%3A00",
    "offset": "2017-10-11T17:20:16.460780+03:00"
  },
  "data": [
    {
      "id": "5a12aa2342aa4042bf6980a62d52669b",
      "dateModified": "2017-10-11T17:20:16.460780+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.4/tenders/5a12aa2342aa4042bf6980a62d52669b?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-09-13T17:20:17.955574+03:00",
      "endDate": "2017-10-09T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-09-13T17:20:17.955574+03:00",
      "clarificationsUntil": "2017-10-06T17:20:17.955574+03:00",
      "endDate": "2017-10-03T17:20:17.955574+03:00",
      "invalidationDate": "2017-10-11T17:20:17.183363+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-10-13T17:20:17.955574+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": "2017-10-11T17:20:17.371180+03:00",
        "title": "Калорійність",
        "date": "2017-10-11T17:20:17.286566+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "79bf150e5b814d618584f92855c0d473",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:16.971855+03:00",
        "id": "64b854b11ba84359a27e490a87d2faeb",
        "dateModified": "2017-10-11T17:20:16.971886+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0af62453e6af467ba2083b144229f275?KeyID=e9f0c83f&Signature=XuYtAMm0wT5cErp5g7OSq1p6EtEkBtl8hNYOQxar%252BCs%252B8niyVLQ9lFg672qTYjjSf3mHwDbzr4QO6hHsKFHpCg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.075972+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/388335d5b65c489c8f3ace818cb7292f?KeyID=e9f0c83f&Signature=k86WoqnBxcYDBuydw%2FfrHWl%2FlkTsS7P%2FK%2FkcLugisxF7JTISSKtvv86h%2FoLLMtyO6ShkrL8LU7B8me%2FBW4%252BHDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.182430+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2017-10-11T17:20:17.378196+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-09-13T17:20:17.955574+03:00",
      "endDate": "2017-10-13T17:20:17.955574+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-11-18T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2017-10-11T17:20:16.454423+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 41
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "minValue": {
      "amount": 501.0
    }
  }
}

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

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

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 123
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-10-19T17:20:18.155752+03:00"
    },
    "minValue": {
      "currency": "UAH",
      "amount": 501
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-09-13T17:20:17.955574+03:00",
      "endDate": "2017-10-15T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-09-13T17:20:17.955574+03:00",
      "clarificationsUntil": "2017-10-12T17:20:18.155752+03:00",
      "endDate": "2017-10-09T17:20:18.155752+03:00",
      "invalidationDate": "2017-10-11T17:20:18.275649+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-10-19T17:20:18.155752+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": "2017-10-11T17:20:17.371180+03:00",
        "title": "Калорійність",
        "date": "2017-10-11T17:20:17.286566+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "79bf150e5b814d618584f92855c0d473",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:16.971855+03:00",
        "id": "64b854b11ba84359a27e490a87d2faeb",
        "dateModified": "2017-10-11T17:20:16.971886+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0af62453e6af467ba2083b144229f275?KeyID=e9f0c83f&Signature=XuYtAMm0wT5cErp5g7OSq1p6EtEkBtl8hNYOQxar%252BCs%252B8niyVLQ9lFg672qTYjjSf3mHwDbzr4QO6hHsKFHpCg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.075972+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/388335d5b65c489c8f3ace818cb7292f?KeyID=e9f0c83f&Signature=k86WoqnBxcYDBuydw%2FfrHWl%2FlkTsS7P%2FK%2FkcLugisxF7JTISSKtvv86h%2FoLLMtyO6ShkrL8LU7B8me%2FBW4%252BHDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.182430+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2017-10-11T17:20:18.280565+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-09-13T17:20:17.955574+03:00",
      "endDate": "2017-10-19T17:20:18.155752+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-11-24T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2017-10-11T17:20:16.454423+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Procuring entity can set bid guarantee:

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 57
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "guarantee": {
      "currency": "USD",
      "amount": 8
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "endDate": "2017-11-06T00:00:00+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "clarificationsUntil": "2017-11-03T17:20:26.653070+03:00",
      "endDate": "2017-10-31T17:20:26.653070+03:00",
      "invalidationDate": "2017-10-11T17:20:16.890878+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-11-10T16:20:26.653070+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2017-10-11T17:20:16.894304+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-10-11T17:20:16.421908+03:00",
      "endDate": "2017-11-10T17:20:26.653070+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-12-16T00:00:00+03:00"
    },
    "procurementMethodType": "esco",
    "date": "2017-10-11T17:20:16.454423+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Uploading documentation

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

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/documents?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 186
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy755623597482$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/documents/64b854b11ba84359a27e490a87d2faeb
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "tender_owner",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:16.971855+03:00",
    "id": "64b854b11ba84359a27e490a87d2faeb",
    "dateModified": "2017-10-11T17:20:16.971886+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.4/tenders/5a12aa2342aa4042bf6980a62d52669b/documents/64b854b11ba84359a27e490a87d2faeb?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:16.971855+03:00",
    "previousVersions": [],
    "id": "64b854b11ba84359a27e490a87d2faeb",
    "dateModified": "2017-10-11T17:20:16.971886+03:00"
  }
}

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

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/documents?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 193
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy610846071984$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/documents/a60e45d0c39e411fab6b2cb4f8b58dbb
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "tender_owner",
    "language": "uk",
    "title": "AwardCriteria.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/0af62453e6af467ba2083b144229f275?KeyID=e9f0c83f&Signature=XuYtAMm0wT5cErp5g7OSq1p6EtEkBtl8hNYOQxar%252BCs%252B8niyVLQ9lFg672qTYjjSf3mHwDbzr4QO6hHsKFHpCg%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:17.075936+03:00",
    "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
    "dateModified": "2017-10-11T17:20:17.075972+03:00"
  }
}

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

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/documents?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:16.971855+03:00",
      "id": "64b854b11ba84359a27e490a87d2faeb",
      "dateModified": "2017-10-11T17:20:16.971886+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "author": "tender_owner",
      "language": "uk",
      "title": "AwardCriteria.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/0af62453e6af467ba2083b144229f275?KeyID=e9f0c83f&Signature=XuYtAMm0wT5cErp5g7OSq1p6EtEkBtl8hNYOQxar%252BCs%252B8niyVLQ9lFg672qTYjjSf3mHwDbzr4QO6hHsKFHpCg%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:17.075936+03:00",
      "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
      "dateModified": "2017-10-11T17:20:17.075972+03:00"
    }
  ]
}

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

PUT /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/documents/a60e45d0c39e411fab6b2cb4f8b58dbb?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 198
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy0436992451213$
Host: api-sandbox.openprocurement.org

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.openprocurement.org/get/388335d5b65c489c8f3ace818cb7292f?KeyID=e9f0c83f&Signature=k86WoqnBxcYDBuydw%2FfrHWl%2FlkTsS7P%2FK%2FkcLugisxF7JTISSKtvv86h%2FoLLMtyO6ShkrL8LU7B8me%2FBW4%252BHDQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:17.075936+03:00",
    "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
    "dateModified": "2017-10-11T17:20:17.182430+03:00"
  }
}

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

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:16.971855+03:00",
      "id": "64b854b11ba84359a27e490a87d2faeb",
      "dateModified": "2017-10-11T17:20:16.971886+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "author": "tender_owner",
      "language": "uk",
      "title": "AwardCriteria-2.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/388335d5b65c489c8f3ace818cb7292f?KeyID=e9f0c83f&Signature=k86WoqnBxcYDBuydw%2FfrHWl%2FlkTsS7P%2FK%2FkcLugisxF7JTISSKtvv86h%2FoLLMtyO6ShkrL8LU7B8me%2FBW4%252BHDQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:17.075936+03:00",
      "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
      "dateModified": "2017-10-11T17:20:17.182430+03:00"
    }
  ]
}

Enquiries

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

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1506
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "author": {
      "contactPoint": {
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк",
        "email": "soleksuk@gmail.com"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "00137226",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "countryName": "Україна",
        "postalCode": "21100",
        "region": "м. Вінниця",
        "streetAddress": "вул. Островського, 33",
        "locality": "м. Вінниця"
      }
    },
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "title": "Калорійність"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/questions/79bf150e5b814d618584f92855c0d473
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "00137226",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Калорійність",
    "date": "2017-10-11T17:20:17.286566+03:00",
    "id": "79bf150e5b814d618584f92855c0d473",
    "questionOf": "tender"
  }
}

Procuring entity can answer them:

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/questions/79bf150e5b814d618584f92855c0d473?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 162
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\""
  }
}

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

One can retrieve either questions list:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

or individual answer:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/questions/79bf150e5b814d618584f92855c0d473 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

Enquiries can be made only during Tender.enquiryPeriod

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1506
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "author": {
      "contactPoint": {
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк",
        "email": "soleksuk@gmail.com"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "00137226",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "countryName": "Україна",
        "postalCode": "21100",
        "region": "м. Вінниця",
        "streetAddress": "вул. Островського, 33",
        "locality": "м. Вінниця"
      }
    },
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "title": "Калорійність"
  }
}

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

Registering bid

Bid registration

Tender status active.tendering allows registration of bids.

Bidder can register a bid with draft status:

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f
{
  "access": {
    "token": "1ab5d30c28ca485cb0d7dba5d46aa131"
  },
  "data": {
    "status": "draft",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9432.74,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 865.24,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-10-11T17:20:18.389185+03:00",
    "id": "90968d627c5844b5bfbfb37fd1e8267f"
  }
}

and approve to pending status:

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending"
  }
}

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

Proposal Uploading

Then bidder should upload proposal technical document(s):

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 190
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy0988793685348$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/a1f8e9e0911743c1b01b5d00cbf919da
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/a1f8e9e0911743c1b01b5d00cbf919da?download=f0439210b1ba4996a2b7fb4ae6daa2c6",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:18.764931+03:00",
    "id": "a1f8e9e0911743c1b01b5d00cbf919da",
    "dateModified": "2017-10-11T17:20:18.764959+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.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 200
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy796983608456$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal_top_secrets.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:18.918410+03:00",
    "id": "0277fd7af0e74972b1af73f48ac0661a",
    "dateModified": "2017-10-11T17:20:18.918438+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.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 120
Content-Type: application/json
Host: api-sandbox.openprocurement.org
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://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "title": "Proposal_top_secrets.pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:18.918410+03:00",
    "id": "0277fd7af0e74972b1af73f48ac0661a",
    "dateModified": "2017-10-11T17:20:18.918438+03:00"
  }
}

It is possible to check the uploaded documents:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "Proposal.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/a1f8e9e0911743c1b01b5d00cbf919da?download=f0439210b1ba4996a2b7fb4ae6daa2c6",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:18.764931+03:00",
      "id": "a1f8e9e0911743c1b01b5d00cbf919da",
      "dateModified": "2017-10-11T17:20:18.764959+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "buyerOnly",
      "language": "uk",
      "format": "application/pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
      "confidentialityRationale": "Only our company sells badgers with pink hair.",
      "title": "Proposal_top_secrets.pdf",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:18.918410+03:00",
      "id": "0277fd7af0e74972b1af73f48ac0661a",
      "dateModified": "2017-10-11T17:20:18.918438+03:00"
    }
  ]
}

Financial, eligibility and qualification documents uploading

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

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

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 191
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy978110950163$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/05fbc1a547cb4257be07251e68a93cd5
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "financial_doc.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/05fbc1a547cb4257be07251e68a93cd5?download=95bac191ba7e4d8daa50e58a1748d776",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:19.226993+03:00",
    "id": "05fbc1a547cb4257be07251e68a93cd5",
    "dateModified": "2017-10-11T17:20:19.227021+03:00"
  }
}

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 192
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy696434530963$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/9158de44a2ee4356b740fd95f72c9c70
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "financial_doc2.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/9158de44a2ee4356b740fd95f72c9c70?download=4eb87949effb4cca9b92101a418ac6bf",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:19.389280+03:00",
    "id": "9158de44a2ee4356b740fd95f72c9c70",
    "dateModified": "2017-10-11T17:20:19.389308+03:00"
  }
}

Get financial documents:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "financial_doc.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/05fbc1a547cb4257be07251e68a93cd5?download=95bac191ba7e4d8daa50e58a1748d776",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:19.226993+03:00",
      "id": "05fbc1a547cb4257be07251e68a93cd5",
      "dateModified": "2017-10-11T17:20:19.227021+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "financial_doc2.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/9158de44a2ee4356b740fd95f72c9c70?download=4eb87949effb4cca9b92101a418ac6bf",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:19.389280+03:00",
      "id": "9158de44a2ee4356b740fd95f72c9c70",
      "dateModified": "2017-10-11T17:20:19.389308+03:00"
    }
  ]
}

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

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/eligibility_documents?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 195
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy833821757495$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/eligibility_documents/b6ff5ad74dbe4665b4d4e0fea02239b8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "eligibility_doc.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/eligibility_documents/b6ff5ad74dbe4665b4d4e0fea02239b8?download=66f083febd1d49ab898b46202cbf5c27",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:19.648909+03:00",
    "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
    "dateModified": "2017-10-11T17:20:19.648938+03:00"
  }
}

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

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/qualification_documents?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 202
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy379112463778$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/qualification_documents/a84b35cbab194af387f2fb26ac63cc03
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "qualification_document.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/qualification_documents/a84b35cbab194af387f2fb26ac63cc03?download=2996c0719cab43f2ae595f2a682a2d12",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:19.825884+03:00",
    "id": "a84b35cbab194af387f2fb26ac63cc03",
    "dateModified": "2017-10-11T17:20:19.825912+03:00"
  }
}

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

Here is bidder proposal with all documents.

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/a1f8e9e0911743c1b01b5d00cbf919da?download=f0439210b1ba4996a2b7fb4ae6daa2c6",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:18.764931+03:00",
        "id": "a1f8e9e0911743c1b01b5d00cbf919da",
        "dateModified": "2017-10-11T17:20:18.764959+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:18.918410+03:00",
        "id": "0277fd7af0e74972b1af73f48ac0661a",
        "dateModified": "2017-10-11T17:20:18.918438+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/eligibility_documents/b6ff5ad74dbe4665b4d4e0fea02239b8?download=66f083febd1d49ab898b46202cbf5c27",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.648909+03:00",
        "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
        "dateModified": "2017-10-11T17:20:19.648938+03:00"
      }
    ],
    "id": "90968d627c5844b5bfbfb37fd1e8267f",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9432.74,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 865.24,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/05fbc1a547cb4257be07251e68a93cd5?download=95bac191ba7e4d8daa50e58a1748d776",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.226993+03:00",
        "id": "05fbc1a547cb4257be07251e68a93cd5",
        "dateModified": "2017-10-11T17:20:19.227021+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/9158de44a2ee4356b740fd95f72c9c70?download=4eb87949effb4cca9b92101a418ac6bf",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.389280+03:00",
        "id": "9158de44a2ee4356b740fd95f72c9c70",
        "dateModified": "2017-10-11T17:20:19.389308+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-10-11T17:20:18.389185+03:00",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/qualification_documents/a84b35cbab194af387f2fb26ac63cc03?download=2996c0719cab43f2ae595f2a682a2d12",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.825884+03:00",
        "id": "a84b35cbab194af387f2fb26ac63cc03",
        "dateModified": "2017-10-11T17:20:19.825912+03:00"
      }
    ]
  }
}

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

Bid invalidation

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

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

Bid confirmation

Bidder should confirm bid proposal:

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
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://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/a1f8e9e0911743c1b01b5d00cbf919da?download=f0439210b1ba4996a2b7fb4ae6daa2c6",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:18.764931+03:00",
        "id": "a1f8e9e0911743c1b01b5d00cbf919da",
        "dateModified": "2017-10-11T17:20:18.764959+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:18.918410+03:00",
        "id": "0277fd7af0e74972b1af73f48ac0661a",
        "dateModified": "2017-10-11T17:20:18.918438+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/eligibility_documents/b6ff5ad74dbe4665b4d4e0fea02239b8?download=66f083febd1d49ab898b46202cbf5c27",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.648909+03:00",
        "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
        "dateModified": "2017-10-11T17:20:19.648938+03:00"
      }
    ],
    "id": "90968d627c5844b5bfbfb37fd1e8267f",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9432.74,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 865.24,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/05fbc1a547cb4257be07251e68a93cd5?download=95bac191ba7e4d8daa50e58a1748d776",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.226993+03:00",
        "id": "05fbc1a547cb4257be07251e68a93cd5",
        "dateModified": "2017-10-11T17:20:19.227021+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/9158de44a2ee4356b740fd95f72c9c70?download=4eb87949effb4cca9b92101a418ac6bf",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.389280+03:00",
        "id": "9158de44a2ee4356b740fd95f72c9c70",
        "dateModified": "2017-10-11T17:20:19.389308+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-10-11T17:20:18.389185+03:00",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/qualification_documents/a84b35cbab194af387f2fb26ac63cc03?download=2996c0719cab43f2ae595f2a682a2d12",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.825884+03:00",
        "id": "a84b35cbab194af387f2fb26ac63cc03",
        "dateModified": "2017-10-11T17:20:19.825912+03:00"
      }
    ]
  }
}

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

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/dbe6cb9dd5454745a87b165318a0ff53
{
  "access": {
    "token": "7a956c6647424583889388dde7a52319"
  },
  "data": {
    "date": "2017-10-11T17:20:20.701085+03:00",
    "status": "pending",
    "id": "dbe6cb9dd5454745a87b165318a0ff53",
    "value": {
      "yearlyPaymentsPercentage": 0.85,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9769.41,
      "contractDuration": {
        "days": 200,
        "years": 12
      },
      "amountPerformance": 802.21,
      "annualCostsReduction": [
        400.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0
      ]
    },
    "tenderers": [
      {
        "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": "м. Львів"
        }
      }
    ]
  }
}

Batch-mode bid registration

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

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2726
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "documents": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/23720b3b2afc4f31ad278958894712ad?KeyID=e9f0c83f&Signature=0C%2Bldsj1eGNb%2Fz2Sr3GCPfUo4zCZ9ie67sIrI%2BQG9%2BEM6I4P%2ByjdwAULYGC0AuQRE6mTY7zv86bwxA9TGFMSBg%3D%3D",
        "title": "Proposal_part1.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "title": "Proposal_part2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/7c4109f2ad4e4598a79e40cefb2afb10?KeyID=e9f0c83f&Signature=N%2FuXCyPtfB4k3MgDJnhFCe%2FkZgXX3lgs7B98PD17o4LjkIZDgXTbCp6BGsXF7umrq1ETeQ0yf4BLegaI%2BPgGBA%3D%3D",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "format": "application/pdf"
      }
    ],
    "eligibilityDocuments": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/75cd369db45243c5bc215c5c6599381f?KeyID=e9f0c83f&Signature=dB5fEYHP2gjPPs3JjE8rDIOV5O4Fnp5SQ23yGE2yyBPkWOYqFMehbzun%2FO7zwBX70IKnX2bxX9EpYu2rd9s5Cw%3D%3D",
        "title": "eligibility_doc.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      }
    ],
    "value": {
      "contractDuration": {
        "days": 40,
        "years": 13
      },
      "yearlyPaymentsPercentage": 0.86,
      "annualCostsReduction": [
        200,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800,
        800
      ]
    },
    "financialDocuments": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/b426272339bb4c87a6befbf0513b054c?KeyID=e9f0c83f&Signature=vHbRYVNS4QTRUqigkZArLKFfpLYvs4f1W9uiAqkqZYoRW4JTD1xDus3wBOlm6B7TJ7emDLFeMXZs7TiODW9BDA%3D%3D",
        "title": "financial_doc.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко",
          "email": "fake@mail.com"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Снігур»",
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "м. Львів",
          "streetAddress": "вул. Островського, 35",
          "locality": "м. Львів"
        }
      }
    ],
    "qualificationDocuments": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/2830b827eac64090a58f8336ed4949c5?KeyID=e9f0c83f&Signature=VAFv1wPEFHUUHSZGNRnhWeqa36y5u0lj%2BXh04D8OQa8iCjOJ%2Fxu%2Fct9US9FtMcNstphUt5oexo5V2698X3q8BQ%3D%3D",
        "title": "qualification_document.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2
{
  "access": {
    "token": "acdbbe8c337346eab1b92b5842d4e8af"
  },
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal_part1.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/documents/9609d0e79e6d45c59100af58483d340e?download=23720b3b2afc4f31ad278958894712ad",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:20.965173+03:00",
        "id": "9609d0e79e6d45c59100af58483d340e",
        "dateModified": "2017-10-11T17:20:20.965199+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/documents/87639b0dd6ee413fac1900fad49b0fca?download=7c4109f2ad4e4598a79e40cefb2afb10",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:20.965965+03:00",
        "id": "87639b0dd6ee413fac1900fad49b0fca",
        "dateModified": "2017-10-11T17:20:20.965992+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/eligibility_documents/d115f26bac7a4b85b621ed521815c20c?download=75cd369db45243c5bc215c5c6599381f",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:20.967637+03:00",
        "id": "d115f26bac7a4b85b621ed521815c20c",
        "dateModified": "2017-10-11T17:20:20.967663+03:00"
      }
    ],
    "value": {
      "yearlyPaymentsPercentage": 0.86,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9038.72,
      "contractDuration": {
        "days": 40,
        "years": 13
      },
      "amountPerformance": 633.49,
      "annualCostsReduction": [
        200.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0,
        800.0
      ]
    },
    "id": "edebd038c1ea42b490be7902f76d8cd2",
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/financial_documents/e0c2bf861ea2423f9ec1bccbac55fd8a?download=b426272339bb4c87a6befbf0513b054c",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:20.966774+03:00",
        "id": "e0c2bf861ea2423f9ec1bccbac55fd8a",
        "dateModified": "2017-10-11T17:20:20.966800+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Снігур»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 35",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-10-11T17:20:20.964366+03:00",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/qualification_documents/9e48d9b60152450e83a263a913b18a47?download=2830b827eac64090a58f8336ed4949c5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:20.968520+03:00",
        "id": "9e48d9b60152450e83a263a913b18a47",
        "dateModified": "2017-10-11T17:20:20.968547+03:00"
      }
    ]
  }
}

Bid Qualification

ESCO procedure requires bid qualification.

Let’s list qualifications:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.pre-qualification",
    "complaintPeriod": {
      "startDate": "2017-09-10T17:19:48.241034+03:00",
      "endDate": "2017-10-07T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-09-10T17:19:48.241034+03:00",
      "clarificationsUntil": "2017-10-05T00:00:00+03:00",
      "endDate": "2017-10-01T17:19:48.241034+03:00",
      "invalidationDate": "2017-10-11T17:20:20.210756+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": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-10-11T17:20:17.286566+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-10-11T17:20:17.371180+03:00",
        "id": "79bf150e5b814d618584f92855c0d473",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:16.971855+03:00",
        "id": "64b854b11ba84359a27e490a87d2faeb",
        "dateModified": "2017-10-11T17:20:16.971886+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0af62453e6af467ba2083b144229f275?KeyID=e9f0c83f&Signature=XuYtAMm0wT5cErp5g7OSq1p6EtEkBtl8hNYOQxar%252BCs%252B8niyVLQ9lFg672qTYjjSf3mHwDbzr4QO6hHsKFHpCg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.075972+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/388335d5b65c489c8f3ace818cb7292f?KeyID=e9f0c83f&Signature=k86WoqnBxcYDBuydw%2FfrHWl%2FlkTsS7P%2FK%2FkcLugisxF7JTISSKtvv86h%2FoLLMtyO6ShkrL8LU7B8me%2FBW4%252BHDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.182430+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-10-11T17:20:21.627205+03:00"
    },
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "yearlyPaymentsPercentageRange": 0.8,
    "dateModified": "2017-10-11T17:20:21.677068+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2017-09-10T17:19:48.241034+03:00",
      "endDate": "2017-10-11T17:19:48.241034+03:00"
    },
    "procurementMethodType": "esco",
    "qualifications": [
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "90968d627c5844b5bfbfb37fd1e8267f",
        "date": "2017-10-11T17:20:21.628190+03:00",
        "id": "b7e5cdd7411041e888c703024172ef74"
      },
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "dbe6cb9dd5454745a87b165318a0ff53",
        "date": "2017-10-11T17:20:21.628520+03:00",
        "id": "f38920472e204e3dbb468138ed800186"
      },
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "edebd038c1ea42b490be7902f76d8cd2",
        "date": "2017-10-11T17:20:21.628850+03:00",
        "id": "04ec57f210034399b544923edd7c6867"
      }
    ],
    "date": "2017-10-11T17:20:21.677068+03:00",
    "NBUdiscountRate": 0.22986,
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "bids": [
      {
        "status": "pending",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/f0439210b1ba4996a2b7fb4ae6daa2c6?KeyID=e9f0c83f&Signature=jGVbdv1dyW%2FkagdkX%252BscVrikl%2FuzyJcUFkUjALlR%252BgBQwqDgXcLiDVDUInBnZ5CqE8pFUzSjp3KqKJiUhf9QDw%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:18.764931+03:00",
            "id": "a1f8e9e0911743c1b01b5d00cbf919da",
            "dateModified": "2017-10-11T17:20:18.764959+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:18.918410+03:00",
            "id": "0277fd7af0e74972b1af73f48ac0661a",
            "dateModified": "2017-10-11T17:20:18.918438+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Школяр»",
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "id": "90968d627c5844b5bfbfb37fd1e8267f",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/66f083febd1d49ab898b46202cbf5c27?KeyID=e9f0c83f&Signature=RUUJMgRoaCzIFChLnZljGmEgqDfCfpvesucdv2ZJADoCswGyVueCojA6o3%252BSXOxE5%2F%2FnauO0Y8uLT%2F8dJIbABg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:19.648909+03:00",
            "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
            "dateModified": "2017-10-11T17:20:19.648938+03:00"
          }
        ]
      },
      {
        "status": "pending",
        "id": "dbe6cb9dd5454745a87b165318a0ff53",
        "tenderers": [
          {
            "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": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "pending",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/23720b3b2afc4f31ad278958894712ad?KeyID=e9f0c83f&Signature=tAHsWZW8oimWbXL7KkYTCtymSVgiqZrB4rSMZGlOF3Or1RLTtgkWYTrHVM5PxQTijB1GhEq5Lv9Eaw2SkLLADg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.965173+03:00",
            "id": "9609d0e79e6d45c59100af58483d340e",
            "dateModified": "2017-10-11T17:20:20.965199+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/documents/87639b0dd6ee413fac1900fad49b0fca?download=7c4109f2ad4e4598a79e40cefb2afb10",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.965965+03:00",
            "id": "87639b0dd6ee413fac1900fad49b0fca",
            "dateModified": "2017-10-11T17:20:20.965992+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "id": "edebd038c1ea42b490be7902f76d8cd2",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/75cd369db45243c5bc215c5c6599381f?KeyID=e9f0c83f&Signature=SkhioXftKls6Nf8gCFrf7q49Xg4%252BBTvhF0tnw5EJKKRDvusQW26qAww%2F83quFxsgoPPf8Bx6w5ofsrYocw1hCQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.967637+03:00",
            "id": "d115f26bac7a4b85b621ed521815c20c",
            "dateModified": "2017-10-11T17:20:20.967663+03:00"
          }
        ]
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Approve first two bids through qualification objects:

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/qualifications/b7e5cdd7411041e888c703024172ef74?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
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": "90968d627c5844b5bfbfb37fd1e8267f",
    "date": "2017-10-11T17:20:22.090399+03:00",
    "id": "b7e5cdd7411041e888c703024172ef74"
  }
}
PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/qualifications/f38920472e204e3dbb468138ed800186?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
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": "dbe6cb9dd5454745a87b165318a0ff53",
    "date": "2017-10-11T17:20:22.392505+03:00",
    "id": "f38920472e204e3dbb468138ed800186"
  }
}

We can also reject bid:

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/qualifications/04ec57f210034399b544923edd7c6867?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 36
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "unsuccessful"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "eligible": false,
    "qualified": false,
    "bidID": "edebd038c1ea42b490be7902f76d8cd2",
    "date": "2017-10-11T17:20:23.005277+03:00",
    "id": "04ec57f210034399b544923edd7c6867"
  }
}

And check that qualified bids are switched to active:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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.openprocurement.org/get/f0439210b1ba4996a2b7fb4ae6daa2c6?KeyID=e9f0c83f&Signature=jGVbdv1dyW%2FkagdkX%252BscVrikl%2FuzyJcUFkUjALlR%252BgBQwqDgXcLiDVDUInBnZ5CqE8pFUzSjp3KqKJiUhf9QDw%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-10-11T17:20:18.764931+03:00",
          "id": "a1f8e9e0911743c1b01b5d00cbf919da",
          "dateModified": "2017-10-11T17:20:18.764959+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "format": "application/pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_top_secrets.pdf",
          "documentOf": "tender",
          "datePublished": "2017-10-11T17:20:18.918410+03:00",
          "id": "0277fd7af0e74972b1af73f48ac0661a",
          "dateModified": "2017-10-11T17:20:18.918438+03:00"
        }
      ],
      "tenderers": [
        {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137256",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        }
      ],
      "id": "90968d627c5844b5bfbfb37fd1e8267f",
      "eligibilityDocuments": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "eligibility_doc.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/66f083febd1d49ab898b46202cbf5c27?KeyID=e9f0c83f&Signature=RUUJMgRoaCzIFChLnZljGmEgqDfCfpvesucdv2ZJADoCswGyVueCojA6o3%252BSXOxE5%2F%2FnauO0Y8uLT%2F8dJIbABg%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-10-11T17:20:19.648909+03:00",
          "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
          "dateModified": "2017-10-11T17:20:19.648938+03:00"
        }
      ]
    },
    {
      "status": "active",
      "id": "dbe6cb9dd5454745a87b165318a0ff53",
      "tenderers": [
        {
          "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": "м. Львів"
          }
        }
      ]
    },
    {
      "status": "unsuccessful",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal_part1.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/23720b3b2afc4f31ad278958894712ad?KeyID=e9f0c83f&Signature=tAHsWZW8oimWbXL7KkYTCtymSVgiqZrB4rSMZGlOF3Or1RLTtgkWYTrHVM5PxQTijB1GhEq5Lv9Eaw2SkLLADg%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-10-11T17:20:20.965173+03:00",
          "id": "9609d0e79e6d45c59100af58483d340e",
          "dateModified": "2017-10-11T17:20:20.965199+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "format": "application/pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/documents/87639b0dd6ee413fac1900fad49b0fca?download=7c4109f2ad4e4598a79e40cefb2afb10",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_part2.pdf",
          "documentOf": "tender",
          "datePublished": "2017-10-11T17:20:20.965965+03:00",
          "id": "87639b0dd6ee413fac1900fad49b0fca",
          "dateModified": "2017-10-11T17:20:20.965992+03:00"
        }
      ],
      "tenderers": [
        {
          "contactPoint": {
            "email": "fake@mail.com",
            "telephone": "+380 (322) 12-34-56",
            "name": "Іван Іваненко"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137226",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "«Снігур»",
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 35",
            "region": "м. Львів",
            "locality": "м. Львів"
          }
        }
      ],
      "id": "edebd038c1ea42b490be7902f76d8cd2",
      "eligibilityDocuments": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "eligibility_doc.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/75cd369db45243c5bc215c5c6599381f?KeyID=e9f0c83f&Signature=SkhioXftKls6Nf8gCFrf7q49Xg4%252BBTvhF0tnw5EJKKRDvusQW26qAww%2F83quFxsgoPPf8Bx6w5ofsrYocw1hCQ%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-10-11T17:20:20.967637+03:00",
          "id": "d115f26bac7a4b85b621ed521815c20c",
          "dateModified": "2017-10-11T17:20:20.967663+03:00"
        }
      ]
    }
  ]
}

Rejected bid is not shown in bids/ listing.

We can access rejected bid by id:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal_part1.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/23720b3b2afc4f31ad278958894712ad?KeyID=e9f0c83f&Signature=tAHsWZW8oimWbXL7KkYTCtymSVgiqZrB4rSMZGlOF3Or1RLTtgkWYTrHVM5PxQTijB1GhEq5Lv9Eaw2SkLLADg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:20.965173+03:00",
        "id": "9609d0e79e6d45c59100af58483d340e",
        "dateModified": "2017-10-11T17:20:20.965199+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/documents/87639b0dd6ee413fac1900fad49b0fca?download=7c4109f2ad4e4598a79e40cefb2afb10",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:20.965965+03:00",
        "id": "87639b0dd6ee413fac1900fad49b0fca",
        "dateModified": "2017-10-11T17:20:20.965992+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Снігур»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 35",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "id": "edebd038c1ea42b490be7902f76d8cd2",
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/75cd369db45243c5bc215c5c6599381f?KeyID=e9f0c83f&Signature=SkhioXftKls6Nf8gCFrf7q49Xg4%252BBTvhF0tnw5EJKKRDvusQW26qAww%2F83quFxsgoPPf8Bx6w5ofsrYocw1hCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:20.967637+03:00",
        "id": "d115f26bac7a4b85b621ed521815c20c",
        "dateModified": "2017-10-11T17:20:20.967663+03:00"
      }
    ]
  }
}

Procuring entity approves qualifications by switching to next status:

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 60
Content-Type: application/json
Host: api-sandbox.openprocurement.org
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",
    "complaintPeriod": {
      "startDate": "2017-09-10T17:19:48.241034+03:00",
      "endDate": "2017-10-07T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-09-10T17:19:48.241034+03:00",
      "clarificationsUntil": "2017-10-05T00:00:00+03:00",
      "endDate": "2017-10-01T17:19:48.241034+03:00",
      "invalidationDate": "2017-10-11T17:20:20.210756+03:00"
    },
    "submissionMethod": "electronicAuction",
    "title_en": "Services in school canteens",
    "next_check": "2017-10-17T00: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": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-10-11T17:20:17.286566+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-10-11T17:20:17.371180+03:00",
        "id": "79bf150e5b814d618584f92855c0d473",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "90968d627c5844b5bfbfb37fd1e8267f",
        "date": "2017-10-11T17:20:22.090399+03:00",
        "id": "b7e5cdd7411041e888c703024172ef74"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "dbe6cb9dd5454745a87b165318a0ff53",
        "date": "2017-10-11T17:20:22.392505+03:00",
        "id": "f38920472e204e3dbb468138ed800186"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "edebd038c1ea42b490be7902f76d8cd2",
        "date": "2017-10-11T17:20:23.005277+03:00",
        "id": "04ec57f210034399b544923edd7c6867"
      }
    ],
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:16.971855+03:00",
        "id": "64b854b11ba84359a27e490a87d2faeb",
        "dateModified": "2017-10-11T17:20:16.971886+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0af62453e6af467ba2083b144229f275?KeyID=e9f0c83f&Signature=XuYtAMm0wT5cErp5g7OSq1p6EtEkBtl8hNYOQxar%252BCs%252B8niyVLQ9lFg672qTYjjSf3mHwDbzr4QO6hHsKFHpCg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.075972+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/388335d5b65c489c8f3ace818cb7292f?KeyID=e9f0c83f&Signature=k86WoqnBxcYDBuydw%2FfrHWl%2FlkTsS7P%2FK%2FkcLugisxF7JTISSKtvv86h%2FoLLMtyO6ShkrL8LU7B8me%2FBW4%252BHDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.182430+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-10-11T17:20:21.627205+03:00",
      "endDate": "2017-10-17T00:00:00+03:00"
    },
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "NBUdiscountRate": 0.22986,
    "dateModified": "2017-10-11T17:20:23.714470+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-09-10T17:19:48.241034+03:00",
      "endDate": "2017-10-11T17:19:48.241034+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-10-17T00:00:00+03:00"
    },
    "yearlyPaymentsPercentageRange": 0.8,
    "procurementMethodType": "esco",
    "date": "2017-10-11T17:20:23.714470+03:00",
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/f0439210b1ba4996a2b7fb4ae6daa2c6?KeyID=e9f0c83f&Signature=jGVbdv1dyW%2FkagdkX%252BscVrikl%2FuzyJcUFkUjALlR%252BgBQwqDgXcLiDVDUInBnZ5CqE8pFUzSjp3KqKJiUhf9QDw%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:18.764931+03:00",
            "id": "a1f8e9e0911743c1b01b5d00cbf919da",
            "dateModified": "2017-10-11T17:20:18.764959+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:18.918410+03:00",
            "id": "0277fd7af0e74972b1af73f48ac0661a",
            "dateModified": "2017-10-11T17:20:18.918438+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Школяр»",
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "id": "90968d627c5844b5bfbfb37fd1e8267f",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/66f083febd1d49ab898b46202cbf5c27?KeyID=e9f0c83f&Signature=RUUJMgRoaCzIFChLnZljGmEgqDfCfpvesucdv2ZJADoCswGyVueCojA6o3%252BSXOxE5%2F%2FnauO0Y8uLT%2F8dJIbABg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:19.648909+03:00",
            "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
            "dateModified": "2017-10-11T17:20:19.648938+03:00"
          }
        ]
      },
      {
        "status": "active",
        "id": "dbe6cb9dd5454745a87b165318a0ff53",
        "tenderers": [
          {
            "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": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "unsuccessful",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/23720b3b2afc4f31ad278958894712ad?KeyID=e9f0c83f&Signature=tAHsWZW8oimWbXL7KkYTCtymSVgiqZrB4rSMZGlOF3Or1RLTtgkWYTrHVM5PxQTijB1GhEq5Lv9Eaw2SkLLADg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.965173+03:00",
            "id": "9609d0e79e6d45c59100af58483d340e",
            "dateModified": "2017-10-11T17:20:20.965199+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/documents/87639b0dd6ee413fac1900fad49b0fca?download=7c4109f2ad4e4598a79e40cefb2afb10",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.965965+03:00",
            "id": "87639b0dd6ee413fac1900fad49b0fca",
            "dateModified": "2017-10-11T17:20:20.965992+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "id": "edebd038c1ea42b490be7902f76d8cd2",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/75cd369db45243c5bc215c5c6599381f?KeyID=e9f0c83f&Signature=SkhioXftKls6Nf8gCFrf7q49Xg4%252BBTvhF0tnw5EJKKRDvusQW26qAww%2F83quFxsgoPPf8Bx6w5ofsrYocw1hCQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.967637+03:00",
            "id": "d115f26bac7a4b85b621ed521815c20c",
            "dateModified": "2017-10-11T17:20:20.967663+03:00"
          }
        ]
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

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

Auction

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

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.auction",
    "complaintPeriod": {
      "startDate": "2017-08-31T17:19:48.241034+03:00",
      "endDate": "2017-09-27T00:00:00+03:00"
    },
    "auctionUrl": "http://auction-sandbox.openprocurement.org/tenders/5a12aa2342aa4042bf6980a62d52669b",
    "enquiryPeriod": {
      "startDate": "2017-08-31T17:19:48.241034+03:00",
      "clarificationsUntil": "2017-09-26T17:19:48.241034+03:00",
      "endDate": "2017-09-21T17:19:48.241034+03:00",
      "invalidationDate": "2017-10-11T17:20:20.210756+03:00"
    },
    "submissionMethod": "electronicAuction",
    "title_en": "Services in school canteens",
    "next_check": "2017-10-11T17:55:48.241034+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": "2017-10-11T17:20:17.371180+03:00",
        "title": "Калорійність",
        "date": "2017-10-11T17:20:17.286566+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "79bf150e5b814d618584f92855c0d473",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "90968d627c5844b5bfbfb37fd1e8267f",
        "date": "2017-10-11T17:20:22.090399+03:00",
        "id": "b7e5cdd7411041e888c703024172ef74"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "dbe6cb9dd5454745a87b165318a0ff53",
        "date": "2017-10-11T17:20:22.392505+03:00",
        "id": "f38920472e204e3dbb468138ed800186"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "edebd038c1ea42b490be7902f76d8cd2",
        "date": "2017-10-11T17:20:23.005277+03:00",
        "id": "04ec57f210034399b544923edd7c6867"
      }
    ],
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:16.971855+03:00",
        "id": "64b854b11ba84359a27e490a87d2faeb",
        "dateModified": "2017-10-11T17:20:16.971886+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0af62453e6af467ba2083b144229f275?KeyID=e9f0c83f&Signature=XuYtAMm0wT5cErp5g7OSq1p6EtEkBtl8hNYOQxar%252BCs%252B8niyVLQ9lFg672qTYjjSf3mHwDbzr4QO6hHsKFHpCg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.075972+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/388335d5b65c489c8f3ace818cb7292f?KeyID=e9f0c83f&Signature=k86WoqnBxcYDBuydw%2FfrHWl%2FlkTsS7P%2FK%2FkcLugisxF7JTISSKtvv86h%2FoLLMtyO6ShkrL8LU7B8me%2FBW4%252BHDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.182430+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-10-01T17:19:48.241034+03:00",
      "endDate": "2017-10-11T17:19:48.241034+03:00"
    },
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "auctionPeriod": {
      "startDate": "2017-10-11T17:19:48.241034+03:00",
      "shouldStartAfter": "2017-10-12T00:00:00+03:00"
    },
    "dateModified": "2017-10-11T17:20:24.403335+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-08-31T17:19:48.241034+03:00",
      "endDate": "2017-10-01T17:19:48.241034+03:00"
    },
    "NBUdiscountRate": 0.22986,
    "yearlyPaymentsPercentageRange": 0.8,
    "procurementMethodType": "esco",
    "date": "2017-10-11T17:20:23.714470+03:00",
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/f0439210b1ba4996a2b7fb4ae6daa2c6?KeyID=e9f0c83f&Signature=jGVbdv1dyW%2FkagdkX%252BscVrikl%2FuzyJcUFkUjALlR%252BgBQwqDgXcLiDVDUInBnZ5CqE8pFUzSjp3KqKJiUhf9QDw%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:18.764931+03:00",
            "id": "a1f8e9e0911743c1b01b5d00cbf919da",
            "dateModified": "2017-10-11T17:20:18.764959+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:18.918410+03:00",
            "id": "0277fd7af0e74972b1af73f48ac0661a",
            "dateModified": "2017-10-11T17:20:18.918438+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Школяр»",
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "id": "90968d627c5844b5bfbfb37fd1e8267f",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/66f083febd1d49ab898b46202cbf5c27?KeyID=e9f0c83f&Signature=RUUJMgRoaCzIFChLnZljGmEgqDfCfpvesucdv2ZJADoCswGyVueCojA6o3%252BSXOxE5%2F%2FnauO0Y8uLT%2F8dJIbABg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:19.648909+03:00",
            "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
            "dateModified": "2017-10-11T17:20:19.648938+03:00"
          }
        ]
      },
      {
        "status": "active",
        "id": "dbe6cb9dd5454745a87b165318a0ff53",
        "tenderers": [
          {
            "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": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "unsuccessful",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/23720b3b2afc4f31ad278958894712ad?KeyID=e9f0c83f&Signature=tAHsWZW8oimWbXL7KkYTCtymSVgiqZrB4rSMZGlOF3Or1RLTtgkWYTrHVM5PxQTijB1GhEq5Lv9Eaw2SkLLADg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.965173+03:00",
            "id": "9609d0e79e6d45c59100af58483d340e",
            "dateModified": "2017-10-11T17:20:20.965199+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/documents/87639b0dd6ee413fac1900fad49b0fca?download=7c4109f2ad4e4598a79e40cefb2afb10",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.965965+03:00",
            "id": "87639b0dd6ee413fac1900fad49b0fca",
            "dateModified": "2017-10-11T17:20:20.965992+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "id": "edebd038c1ea42b490be7902f76d8cd2",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/75cd369db45243c5bc215c5c6599381f?KeyID=e9f0c83f&Signature=SkhioXftKls6Nf8gCFrf7q49Xg4%252BBTvhF0tnw5EJKKRDvusQW26qAww%2F83quFxsgoPPf8Bx6w5ofsrYocw1hCQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.967637+03:00",
            "id": "d115f26bac7a4b85b621ed521815c20c",
            "dateModified": "2017-10-11T17:20:20.967663+03:00"
          }
        ]
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Bidders can find out their participation URLs via their bids:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f?acc_token=1ab5d30c28ca485cb0d7dba5d46aa131 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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.openprocurement.org/get/f0439210b1ba4996a2b7fb4ae6daa2c6?KeyID=e9f0c83f&Signature=jGVbdv1dyW%2FkagdkX%252BscVrikl%2FuzyJcUFkUjALlR%252BgBQwqDgXcLiDVDUInBnZ5CqE8pFUzSjp3KqKJiUhf9QDw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:18.764931+03:00",
        "id": "a1f8e9e0911743c1b01b5d00cbf919da",
        "dateModified": "2017-10-11T17:20:18.764959+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:18.918410+03:00",
        "id": "0277fd7af0e74972b1af73f48ac0661a",
        "dateModified": "2017-10-11T17:20:18.918438+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/66f083febd1d49ab898b46202cbf5c27?KeyID=e9f0c83f&Signature=RUUJMgRoaCzIFChLnZljGmEgqDfCfpvesucdv2ZJADoCswGyVueCojA6o3%252BSXOxE5%2F%2FnauO0Y8uLT%2F8dJIbABg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.648909+03:00",
        "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
        "dateModified": "2017-10-11T17:20:19.648938+03:00"
      }
    ],
    "id": "90968d627c5844b5bfbfb37fd1e8267f",
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9432.74,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 865.24,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/05fbc1a547cb4257be07251e68a93cd5?download=95bac191ba7e4d8daa50e58a1748d776",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.226993+03:00",
        "id": "05fbc1a547cb4257be07251e68a93cd5",
        "dateModified": "2017-10-11T17:20:19.227021+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/financial_documents/9158de44a2ee4356b740fd95f72c9c70?download=4eb87949effb4cca9b92101a418ac6bf",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.389280+03:00",
        "id": "9158de44a2ee4356b740fd95f72c9c70",
        "dateModified": "2017-10-11T17:20:19.389308+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-10-11T17:20:18.389185+03:00",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/qualification_documents/a84b35cbab194af387f2fb26ac63cc03?download=2996c0719cab43f2ae595f2a682a2d12",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:19.825884+03:00",
        "id": "a84b35cbab194af387f2fb26ac63cc03",
        "dateModified": "2017-10-11T17:20:19.825912+03:00"
      }
    ],
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/5a12aa2342aa4042bf6980a62d52669b?key_for_bid=90968d627c5844b5bfbfb37fd1e8267f"
  }
}

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

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/dbe6cb9dd5454745a87b165318a0ff53?acc_token=7a956c6647424583889388dde7a52319 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "value": {
      "yearlyPaymentsPercentage": 0.85,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9769.41,
      "contractDuration": {
        "days": 200,
        "years": 12
      },
      "amountPerformance": 802.21,
      "annualCostsReduction": [
        400.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0,
        900.0
      ]
    },
    "tenderers": [
      {
        "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": "м. Львів"
        }
      }
    ],
    "date": "2017-10-11T17:20:20.701085+03:00",
    "id": "dbe6cb9dd5454745a87b165318a0ff53",
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/5a12aa2342aa4042bf6980a62d52669b?key_for_bid=dbe6cb9dd5454745a87b165318a0ff53"
  }
}

Confirming qualification

Qualification commission registers its decision via the following call:

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/awards/7d531ab11c7c4f56ae13f1edc0bf2061?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

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

Setting contract signature date

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

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

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 60
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "dateSigned": "2017-10-11T17:20:26.159568+03:00"
  }
}

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

Setting contract validity period

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

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 118
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "period": {
      "startDate": "2017-10-11T17:20:26.559997+03:00",
      "endDate": "2018-10-11T17:20:26.560051+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "suppliers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "period": {
      "startDate": "2017-10-11T17:20:26.559997+03:00",
      "endDate": "2018-10-11T17:20:26.560051+03:00"
    },
    "value": {
      "yearlyPaymentsPercentage": 0.9,
      "valueAddedTaxIncluded": true,
      "currency": "UAH",
      "amount": 9432.74,
      "contractDuration": {
        "days": 74,
        "years": 10
      },
      "amountPerformance": 865.24,
      "annualCostsReduction": [
        500.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0,
        1000.0
      ]
    },
    "dateSigned": "2017-10-11T17:20:26.159568+03:00",
    "awardID": "7d531ab11c7c4f56ae13f1edc0bf2061",
    "id": "14592124eee847cc86f970c2e238626d",
    "contractID": "UA-2017-10-11-000001-1"
  }
}

Uploading contract documentation

You can upload contract documents for the ESCO procedure.

Let’s upload contract document:

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d/documents?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 206
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy482637452578$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d/documents/749aabfc28ce4773b7f82246e2e8f249
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "contract_first_document.doc",
    "url": "http://public.docs-sandbox.openprocurement.org/get/97f2f714419d47f0b40480e6e9d67d80?KeyID=e9f0c83f&Signature=MNrcVDFXhJaiJj4MspFjSf%2F5Q1KVTpatvqanUf9wskkDqeEipuX0GuDMUDe6IFuFkydXphA1ScEo%2Fo9ynJQcDQ%253D%253D",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:27.120325+03:00",
    "id": "749aabfc28ce4773b7f82246e2e8f249",
    "dateModified": "2017-10-11T17:20:27.120361+03:00"
  }
}

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

Let’s see the list of contract documents:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "contract_first_document.doc",
      "url": "http://public.docs-sandbox.openprocurement.org/get/97f2f714419d47f0b40480e6e9d67d80?KeyID=e9f0c83f&Signature=MNrcVDFXhJaiJj4MspFjSf%2F5Q1KVTpatvqanUf9wskkDqeEipuX0GuDMUDe6IFuFkydXphA1ScEo%2Fo9ynJQcDQ%253D%253D",
      "format": "application/msword",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:27.120325+03:00",
      "id": "749aabfc28ce4773b7f82246e2e8f249",
      "dateModified": "2017-10-11T17:20:27.120361+03:00"
    }
  ]
}

We can upload another contract document:

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d/documents?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 205
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy61602844886$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d/documents/1e88ca34b5964d5497fb82cb6c6c44da
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "contract_second_document.doc",
    "url": "http://public.docs-sandbox.openprocurement.org/get/53ae263805aa4a5ea46d4370c9edfc84?KeyID=e9f0c83f&Signature=u8dUl4aqI8M%252B4VDybOk4tvAYFd%2FLWLfr9ABwuLM3uBSU5n47vgy64Dvhn%252Bbj9aIC%2Ff5ee3%2FlzIjfzLFBRBSpCw%253D%253D",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:27.753546+03:00",
    "id": "1e88ca34b5964d5497fb82cb6c6c44da",
    "dateModified": "2017-10-11T17:20:27.753592+03:00"
  }
}

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

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

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d/documents/1e88ca34b5964d5497fb82cb6c6c44da?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 106
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "title_en": "Title of Document",
    "language": "en",
    "description_en": "Description of Document"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "en",
    "title": "contract_second_document.doc",
    "url": "http://public.docs-sandbox.openprocurement.org/get/53ae263805aa4a5ea46d4370c9edfc84?KeyID=e9f0c83f&Signature=u8dUl4aqI8M%252B4VDybOk4tvAYFd%2FLWLfr9ABwuLM3uBSU5n47vgy64Dvhn%252Bbj9aIC%2Ff5ee3%2FlzIjfzLFBRBSpCw%253D%253D",
    "format": "application/msword",
    "title_en": "Title of Document",
    "description_en": "Description of Document",
    "datePublished": "2017-10-11T17:20:27.753546+03:00",
    "documentOf": "tender",
    "id": "1e88ca34b5964d5497fb82cb6c6c44da",
    "dateModified": "2017-10-11T17:20:27.753592+03:00"
  }
}

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

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "contract_first_document.doc",
      "url": "http://public.docs-sandbox.openprocurement.org/get/97f2f714419d47f0b40480e6e9d67d80?KeyID=e9f0c83f&Signature=MNrcVDFXhJaiJj4MspFjSf%2F5Q1KVTpatvqanUf9wskkDqeEipuX0GuDMUDe6IFuFkydXphA1ScEo%2Fo9ynJQcDQ%253D%253D",
      "format": "application/msword",
      "documentOf": "tender",
      "datePublished": "2017-10-11T17:20:27.120325+03:00",
      "id": "749aabfc28ce4773b7f82246e2e8f249",
      "dateModified": "2017-10-11T17:20:27.120361+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "en",
      "title": "contract_second_document.doc",
      "url": "http://public.docs-sandbox.openprocurement.org/get/53ae263805aa4a5ea46d4370c9edfc84?KeyID=e9f0c83f&Signature=u8dUl4aqI8M%252B4VDybOk4tvAYFd%2FLWLfr9ABwuLM3uBSU5n47vgy64Dvhn%252Bbj9aIC%2Ff5ee3%2FlzIjfzLFBRBSpCw%253D%253D",
      "format": "application/msword",
      "title_en": "Title of Document",
      "description_en": "Description of Document",
      "datePublished": "2017-10-11T17:20:27.753546+03:00",
      "documentOf": "tender",
      "id": "1e88ca34b5964d5497fb82cb6c6c44da",
      "dateModified": "2017-10-11T17:20:27.753592+03:00"
    }
  ]
}

Let’s view separate contract document:

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/contracts/14592124eee847cc86f970c2e238626d/documents/749aabfc28ce4773b7f82246e2e8f249?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "contract_first_document.doc",
    "url": "http://public.docs-sandbox.openprocurement.org/get/97f2f714419d47f0b40480e6e9d67d80?KeyID=e9f0c83f&Signature=MNrcVDFXhJaiJj4MspFjSf%2F5Q1KVTpatvqanUf9wskkDqeEipuX0GuDMUDe6IFuFkydXphA1ScEo%2Fo9ynJQcDQ%253D%253D",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:27.120325+03:00",
    "previousVersions": [],
    "id": "749aabfc28ce4773b7f82246e2e8f249",
    "dateModified": "2017-10-11T17:20:27.120361+03:00"
  }
}

Cancelling tender

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

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

Only the request that has been activated (3rd step above) has power to cancel tender. I.e. you have to not only prepare cancellation request but to activate it as well.

See Cancellation data structure for details.

Preparing the cancellation request

You should pass reason, status defaults to pending.

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

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/cancellations?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 43
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "reason": "cancellation reason"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/cancellations/f832040080294beab8bf97d501ea7a26
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "cancelled",
    "date": "2017-10-11T17:20:28.671637+03:00",
    "cancellationOf": "tender",
    "id": "f832040080294beab8bf97d501ea7a26"
  }
}

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.4/tenders/5a12aa2342aa4042bf6980a62d52669b/cancellations/f832040080294beab8bf97d501ea7a26?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 40
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "reasonType": "unsuccessful"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2017-10-11T17:20:29.048096+03:00",
    "cancellationOf": "tender",
    "id": "f832040080294beab8bf97d501ea7a26"
  }
}

Filling cancellation with protocol and supplementary documentation

Upload the file contents

POST /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/cancellations/f832040080294beab8bf97d501ea7a26/documents?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 186
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy420727502608$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/cancellations/f832040080294beab8bf97d501ea7a26/documents/15b94d4f96154ef384cf7753eada982f
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/e4404cf80f9542e39af2378da79d4f6d?KeyID=e9f0c83f&Signature=6ID09BxPYoh2rKp%2F6v1J2cTe6zRcSd7%252BeKxSk69QFgUtzjsjXQPN6IlH1UXjZIHQrTXTdTYmUVxatw%252BTlaWJBw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:29.436776+03:00",
    "id": "15b94d4f96154ef384cf7753eada982f",
    "dateModified": "2017-10-11T17:20:29.436813+03:00"
  }
}

Change the document description and other properties

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/cancellations/f832040080294beab8bf97d501ea7a26/documents/15b94d4f96154ef384cf7753eada982f?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 48
Content-Type: application/json
Host: api-sandbox.openprocurement.org
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.openprocurement.org/get/e4404cf80f9542e39af2378da79d4f6d?KeyID=e9f0c83f&Signature=6ID09BxPYoh2rKp%2F6v1J2cTe6zRcSd7%252BeKxSk69QFgUtzjsjXQPN6IlH1UXjZIHQrTXTdTYmUVxatw%252BTlaWJBw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:29.436776+03:00",
    "id": "15b94d4f96154ef384cf7753eada982f",
    "dateModified": "2017-10-11T17:20:29.436813+03:00"
  }
}

Upload new version of the document

PUT /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/cancellations/f832040080294beab8bf97d501ea7a26/documents/15b94d4f96154ef384cf7753eada982f?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 189
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy353039250009$
Host: api-sandbox.openprocurement.org

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.openprocurement.org/get/c6f89b92473441cbaa2a8e2bb0f22353?KeyID=e9f0c83f&Signature=keEFy5%2FljgE9pHQf23osRx%2FnBS4gZnw8mgvKxPdn00%2Fsgpucej9NUmswL6DL5jnb9CiACTlkF%2FxER3MfOlCcAQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-10-11T17:20:29.436776+03:00",
    "id": "15b94d4f96154ef384cf7753eada982f",
    "dateModified": "2017-10-11T17:20:30.211215+03:00"
  }
}

Activating the request and cancelling tender

PATCH /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/cancellations/f832040080294beab8bf97d501ea7a26?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/e4404cf80f9542e39af2378da79d4f6d?KeyID=e9f0c83f&Signature=6ID09BxPYoh2rKp%2F6v1J2cTe6zRcSd7%252BeKxSk69QFgUtzjsjXQPN6IlH1UXjZIHQrTXTdTYmUVxatw%252BTlaWJBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:29.436776+03:00",
        "id": "15b94d4f96154ef384cf7753eada982f",
        "dateModified": "2017-10-11T17:20:29.436813+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "language": "uk",
        "title": "Notice-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/c6f89b92473441cbaa2a8e2bb0f22353?KeyID=e9f0c83f&Signature=keEFy5%2FljgE9pHQf23osRx%2FnBS4gZnw8mgvKxPdn00%2Fsgpucej9NUmswL6DL5jnb9CiACTlkF%2FxER3MfOlCcAQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:29.436776+03:00",
        "id": "15b94d4f96154ef384cf7753eada982f",
        "dateModified": "2017-10-11T17:20:30.211215+03:00"
      }
    ],
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2017-10-11T17:20:30.663489+03:00",
    "cancellationOf": "tender",
    "id": "f832040080294beab8bf97d501ea7a26"
  }
}

We can check if tender was actually cancelled.

GET /api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b?acc_token=c882469d40054373bf95c9ab87c9249f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "cancelled",
    "awardPeriod": {
      "startDate": "2017-10-11T17:20:25.344652+03:00",
      "endDate": "2017-10-11T17:20:25.823663+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-08-31T17:19:48.241034+03:00",
      "endDate": "2017-09-27T00:00:00+03:00"
    },
    "auctionUrl": "http://auction-sandbox.openprocurement.org/tenders/5a12aa2342aa4042bf6980a62d52669b",
    "enquiryPeriod": {
      "startDate": "2017-08-31T17:19:48.241034+03:00",
      "clarificationsUntil": "2017-09-26T17:19:48.241034+03:00",
      "endDate": "2017-09-21T17:19:48.241034+03:00",
      "invalidationDate": "2017-10-11T17:20:20.210756+03:00"
    },
    "submissionMethod": "electronicAuction",
    "title_en": "Services in school canteens",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-10-11T17:20:17.286566+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-10-11T17:20:17.371180+03:00",
        "id": "79bf150e5b814d618584f92855c0d473",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "90968d627c5844b5bfbfb37fd1e8267f",
        "date": "2017-10-11T17:20:22.090399+03:00",
        "id": "b7e5cdd7411041e888c703024172ef74"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "dbe6cb9dd5454745a87b165318a0ff53",
        "date": "2017-10-11T17:20:22.392505+03:00",
        "id": "f38920472e204e3dbb468138ed800186"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "edebd038c1ea42b490be7902f76d8cd2",
        "date": "2017-10-11T17:20:23.005277+03:00",
        "id": "04ec57f210034399b544923edd7c6867"
      }
    ],
    "id": "5a12aa2342aa4042bf6980a62d52669b",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/32eb2b2e95df4ad3b13b6e53d4537ad0?KeyID=e9f0c83f&Signature=OPAi4iNrK7tN1V86W2Rl%252BAjB92liVY9CJw5F6hoF3Gvk%2FEvp5zNXhCNy2Rl3TA6qcTYgr7PFbi5TeNyg4tSDCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:16.971855+03:00",
        "id": "64b854b11ba84359a27e490a87d2faeb",
        "dateModified": "2017-10-11T17:20:16.971886+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0af62453e6af467ba2083b144229f275?KeyID=e9f0c83f&Signature=XuYtAMm0wT5cErp5g7OSq1p6EtEkBtl8hNYOQxar%252BCs%252B8niyVLQ9lFg672qTYjjSf3mHwDbzr4QO6hHsKFHpCg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.075972+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "tender_owner",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/388335d5b65c489c8f3ace818cb7292f?KeyID=e9f0c83f&Signature=k86WoqnBxcYDBuydw%2FfrHWl%2FlkTsS7P%2FK%2FkcLugisxF7JTISSKtvv86h%2FoLLMtyO6ShkrL8LU7B8me%2FBW4%252BHDQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-10-11T17:20:17.075936+03:00",
        "id": "a60e45d0c39e411fab6b2cb4f8b58dbb",
        "dateModified": "2017-10-11T17:20:17.182430+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-10-01T17:19:48.241034+03:00",
      "endDate": "2017-10-11T17:19:48.241034+03:00"
    },
    "tenderID": "UA-2017-10-11-000001",
    "minimalStepPercentage": 0.006,
    "auctionPeriod": {
      "startDate": "2017-10-11T17:19:48.241034+03:00",
      "endDate": "2017-10-11T17:20:25.292621+03:00"
    },
    "dateModified": "2017-10-11T17:20:30.663489+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-08-31T17:19:48.241034+03:00",
      "endDate": "2017-10-01T17:19:48.241034+03:00"
    },
    "contracts": [
      {
        "status": "pending",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "language": "uk",
            "title": "contract_first_document.doc",
            "url": "http://public.docs-sandbox.openprocurement.org/get/97f2f714419d47f0b40480e6e9d67d80?KeyID=e9f0c83f&Signature=MNrcVDFXhJaiJj4MspFjSf%2F5Q1KVTpatvqanUf9wskkDqeEipuX0GuDMUDe6IFuFkydXphA1ScEo%2Fo9ynJQcDQ%253D%253D",
            "format": "application/msword",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:27.120325+03:00",
            "id": "749aabfc28ce4773b7f82246e2e8f249",
            "dateModified": "2017-10-11T17:20:27.120361+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "language": "en",
            "title": "contract_second_document.doc",
            "url": "http://public.docs-sandbox.openprocurement.org/get/53ae263805aa4a5ea46d4370c9edfc84?KeyID=e9f0c83f&Signature=u8dUl4aqI8M%252B4VDybOk4tvAYFd%2FLWLfr9ABwuLM3uBSU5n47vgy64Dvhn%252Bbj9aIC%2Ff5ee3%2FlzIjfzLFBRBSpCw%253D%253D",
            "format": "application/msword",
            "title_en": "Title of Document",
            "description_en": "Description of Document",
            "datePublished": "2017-10-11T17:20:27.753546+03:00",
            "documentOf": "tender",
            "id": "1e88ca34b5964d5497fb82cb6c6c44da",
            "dateModified": "2017-10-11T17:20:27.753592+03:00"
          }
        ],
        "items": [
          {
            "description": "Послуги шкільних їдалень",
            "classification": {
              "scheme": "ДК021",
              "description": "Test",
              "id": "37810000-9"
            },
            "description_en": "Services in school canteens",
            "additionalClassifications": [
              {
                "scheme": "ДКПП",
                "id": "17.21.1",
                "description": "Послуги шкільних їдалень"
              }
            ],
            "deliveryAddress": {
              "postalCode": "79000",
              "countryName": "Україна",
              "streetAddress": "вул. Банкова 1",
              "region": "м. Київ",
              "locality": "м. Київ"
            },
            "id": "a73f68d005d244fd8972480d9fffe56a",
            "unit": {
              "code": "44617100-9",
              "name": "item"
            }
          },
          {
            "description": "Послуги шкільних їдалень",
            "classification": {
              "scheme": "ДК021",
              "description": "Test",
              "id": "37810000-9"
            },
            "description_en": "Services in school canteens",
            "additionalClassifications": [
              {
                "scheme": "ДКПП",
                "id": "17.21.1",
                "description": "Послуги шкільних їдалень"
              }
            ],
            "deliveryAddress": {
              "postalCode": "79000",
              "countryName": "Україна",
              "streetAddress": "вул. Банкова 1",
              "region": "м. Київ",
              "locality": "м. Київ"
            },
            "id": "885400cdaccf4fa0b174b5c17f7b4cba",
            "unit": {
              "code": "44617100-9",
              "name": "item"
            }
          }
        ],
        "suppliers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Школяр»",
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "period": {
          "startDate": "2017-10-11T17:20:26.559997+03:00",
          "endDate": "2018-10-11T17:20:26.560051+03:00"
        },
        "dateSigned": "2017-10-11T17:20:26.159568+03:00",
        "value": {
          "yearlyPaymentsPercentage": 0.9,
          "valueAddedTaxIncluded": true,
          "currency": "UAH",
          "amount": 9432.74,
          "contractDuration": {
            "days": 74,
            "years": 10
          },
          "amountPerformance": 865.24,
          "annualCostsReduction": [
            500.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0
          ]
        },
        "awardID": "7d531ab11c7c4f56ae13f1edc0bf2061",
        "id": "14592124eee847cc86f970c2e238626d",
        "contractID": "UA-2017-10-11-000001-1"
      }
    ],
    "NBUdiscountRate": 0.22986,
    "yearlyPaymentsPercentageRange": 0.8,
    "procurementMethodType": "esco",
    "awards": [
      {
        "status": "active",
        "eligible": true,
        "suppliers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Школяр»",
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "complaintPeriod": {
          "startDate": "2017-10-11T17:20:25.369669+03:00",
          "endDate": "2017-10-11T17:20:25.369669+03:00"
        },
        "bid_id": "90968d627c5844b5bfbfb37fd1e8267f",
        "value": {
          "yearlyPaymentsPercentage": 0.9,
          "valueAddedTaxIncluded": true,
          "currency": "UAH",
          "amount": 9432.74,
          "contractDuration": {
            "days": 74,
            "years": 10
          },
          "amountPerformance": 865.24,
          "annualCostsReduction": [
            500.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0
          ]
        },
        "qualified": true,
        "date": "2017-10-11T17:20:25.875169+03:00",
        "id": "7d531ab11c7c4f56ae13f1edc0bf2061"
      }
    ],
    "date": "2017-10-11T17:20:30.663489+03:00",
    "minValue": {
      "currency": "UAH",
      "amount": 0.0,
      "valueAddedTaxIncluded": true
    },
    "fundingKind": "other",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "a73f68d005d244fd8972480d9fffe56a",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "885400cdaccf4fa0b174b5c17f7b4cba",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        }
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/f0439210b1ba4996a2b7fb4ae6daa2c6?KeyID=e9f0c83f&Signature=jGVbdv1dyW%2FkagdkX%252BscVrikl%2FuzyJcUFkUjALlR%252BgBQwqDgXcLiDVDUInBnZ5CqE8pFUzSjp3KqKJiUhf9QDw%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:18.764931+03:00",
            "id": "a1f8e9e0911743c1b01b5d00cbf919da",
            "dateModified": "2017-10-11T17:20:18.764959+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/90968d627c5844b5bfbfb37fd1e8267f/documents/0277fd7af0e74972b1af73f48ac0661a?download=d190c911ff5e47b489eb7612463ba5c5",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:18.918410+03:00",
            "id": "0277fd7af0e74972b1af73f48ac0661a",
            "dateModified": "2017-10-11T17:20:18.918438+03:00"
          }
        ],
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/66f083febd1d49ab898b46202cbf5c27?KeyID=e9f0c83f&Signature=RUUJMgRoaCzIFChLnZljGmEgqDfCfpvesucdv2ZJADoCswGyVueCojA6o3%252BSXOxE5%2F%2FnauO0Y8uLT%2F8dJIbABg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:19.648909+03:00",
            "id": "b6ff5ad74dbe4665b4d4e0fea02239b8",
            "dateModified": "2017-10-11T17:20:19.648938+03:00"
          }
        ],
        "id": "90968d627c5844b5bfbfb37fd1e8267f",
        "value": {
          "yearlyPaymentsPercentage": 0.9,
          "valueAddedTaxIncluded": true,
          "currency": "UAH",
          "amount": 9432.74,
          "contractDuration": {
            "days": 74,
            "years": 10
          },
          "amountPerformance": 865.24,
          "annualCostsReduction": [
            500.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0,
            1000.0
          ]
        },
        "subcontractingDetails": "ДКП «Орфей», Україна",
        "financialDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "financial_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/95bac191ba7e4d8daa50e58a1748d776?KeyID=e9f0c83f&Signature=60lhRcfjGRor329Ls2hyiiQ1K4BHWH9SGnPn9b%252BtiW22n0oeTGUPqjpN7rwR1D%252BTz94RttY4zIsYp6DtveygBg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:19.226993+03:00",
            "id": "05fbc1a547cb4257be07251e68a93cd5",
            "dateModified": "2017-10-11T17:20:19.227021+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "financial_doc2.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/4eb87949effb4cca9b92101a418ac6bf?KeyID=e9f0c83f&Signature=qWirdZHErG9IkMkyLLwLSrePFa%2Fy6mRXQQd1%2FlkqC2%2F%252BLMBDUSXdTcAIu2zPytnj0mjlSTks3klBBDGcMapUBA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:19.389280+03:00",
            "id": "9158de44a2ee4356b740fd95f72c9c70",
            "dateModified": "2017-10-11T17:20:19.389308+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "soleksuk@gmail.com",
              "telephone": "+380 (432) 21-69-30",
              "name": "Сергій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137256",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Школяр»",
            "address": {
              "postalCode": "21100",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 33",
              "region": "м. Вінниця",
              "locality": "м. Вінниця"
            }
          }
        ],
        "date": "2017-10-11T17:20:18.389185+03:00",
        "qualificationDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "qualification_document.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/2996c0719cab43f2ae595f2a682a2d12?KeyID=e9f0c83f&Signature=cPWMAA3xdB95Uw6Nt%252BPxK%2FtnLgaKm62V6dZgSIR2AQ1qZAawMy%252BhwTSQdNXNFIOywkc5Nz56woNZS6ZqkjOHBQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:19.825884+03:00",
            "id": "a84b35cbab194af387f2fb26ac63cc03",
            "dateModified": "2017-10-11T17:20:19.825912+03:00"
          }
        ],
        "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/5a12aa2342aa4042bf6980a62d52669b?key_for_bid=90968d627c5844b5bfbfb37fd1e8267f"
      },
      {
        "status": "active",
        "value": {
          "yearlyPaymentsPercentage": 0.85,
          "valueAddedTaxIncluded": true,
          "currency": "UAH",
          "amount": 9769.41,
          "contractDuration": {
            "days": 200,
            "years": 12
          },
          "amountPerformance": 802.21,
          "annualCostsReduction": [
            400.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0,
            900.0
          ]
        },
        "tenderers": [
          {
            "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": "м. Львів"
            }
          }
        ],
        "date": "2017-10-11T17:20:20.701085+03:00",
        "id": "dbe6cb9dd5454745a87b165318a0ff53",
        "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/5a12aa2342aa4042bf6980a62d52669b?key_for_bid=dbe6cb9dd5454745a87b165318a0ff53"
      },
      {
        "status": "unsuccessful",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/23720b3b2afc4f31ad278958894712ad?KeyID=e9f0c83f&Signature=tAHsWZW8oimWbXL7KkYTCtymSVgiqZrB4rSMZGlOF3Or1RLTtgkWYTrHVM5PxQTijB1GhEq5Lv9Eaw2SkLLADg%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.965173+03:00",
            "id": "9609d0e79e6d45c59100af58483d340e",
            "dateModified": "2017-10-11T17:20:20.965199+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.4/tenders/5a12aa2342aa4042bf6980a62d52669b/bids/edebd038c1ea42b490be7902f76d8cd2/documents/87639b0dd6ee413fac1900fad49b0fca?download=7c4109f2ad4e4598a79e40cefb2afb10",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.965965+03:00",
            "id": "87639b0dd6ee413fac1900fad49b0fca",
            "dateModified": "2017-10-11T17:20:20.965992+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "id": "edebd038c1ea42b490be7902f76d8cd2",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/75cd369db45243c5bc215c5c6599381f?KeyID=e9f0c83f&Signature=SkhioXftKls6Nf8gCFrf7q49Xg4%252BBTvhF0tnw5EJKKRDvusQW26qAww%2F83quFxsgoPPf8Bx6w5ofsrYocw1hCQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:20.967637+03:00",
            "id": "d115f26bac7a4b85b621ed521815c20c",
            "dateModified": "2017-10-11T17:20:20.967663+03:00"
          }
        ]
      }
    ],
    "cancellations": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "description": "Changed description",
            "language": "uk",
            "title": "Notice.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/e4404cf80f9542e39af2378da79d4f6d?KeyID=e9f0c83f&Signature=6ID09BxPYoh2rKp%2F6v1J2cTe6zRcSd7%252BeKxSk69QFgUtzjsjXQPN6IlH1UXjZIHQrTXTdTYmUVxatw%252BTlaWJBw%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:29.436776+03:00",
            "id": "15b94d4f96154ef384cf7753eada982f",
            "dateModified": "2017-10-11T17:20:29.436813+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "description": "Changed description",
            "language": "uk",
            "title": "Notice-2.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/c6f89b92473441cbaa2a8e2bb0f22353?KeyID=e9f0c83f&Signature=keEFy5%2FljgE9pHQf23osRx%2FnBS4gZnw8mgvKxPdn00%2Fsgpucej9NUmswL6DL5jnb9CiACTlkF%2FxER3MfOlCcAQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-10-11T17:20:29.436776+03:00",
            "id": "15b94d4f96154ef384cf7753eada982f",
            "dateModified": "2017-10-11T17:20:30.211215+03:00"
          }
        ],
        "reason": "cancellation reason",
        "reasonType": "unsuccessful",
        "date": "2017-10-11T17:20:30.663489+03:00",
        "cancellationOf": "tender",
        "id": "f832040080294beab8bf97d501ea7a26"
      }
    ],
    "noticePublicationDate": "2017-10-11T17:20:16.434661+03:00",
    "awardCriteria": "ratedCriteria"
  }
}

Now status value is cancelled.