Welcome to openprocurement.tender.openuadefense’s documentation!

Please report any problems or suggestions for improvement either via the mailing list or the issue tracker.

Contents:

Overview

The Defense open tender is plugin to Open Procurement API software.

REST-ful interface to plugin is in line with core software design principles.

Conventions

This plugin conventions follow the Open Procurement API conventions.

Main responsibilities

The Defense open tender is a procedure dedicated to Ukrainian above threshold procurements for defense purposes. The code for this type of procedure is aboveThresholdUA.defense.

Business logic

The approach to Defense open tender is different from core Open Procurement API procedure (that is used for below threshold procurements) mainly in stage that precedes auction. Differences are in the following aspects:

  1. Tender can be edited through the whole tenderPeriod (while in active.tendering state), but any edit that is close to tenderPeriod.endDate would require extending that period.
  2. There is no dedicated active.enguiries state.
  3. Questions can be asked within enquiryPeriod that is based upon tenderPeriod.
  4. Answers are provided during the whole tenderPeriod.
  5. Bids can be placed during the whole tenderPeriod.
  6. Placed bids are invalidated after any tender condition editing and have to be re-confirmed.

Project status

The project is in active development and has pilot installations.

The source repository for this project is on GitHub: https://github.com/openprocurement/openprocurement.tender.openuadefense

You can leave feedback by raising a new issue on the issue tracker (GitHub registration necessary). For general discussion use Open Procurement General maillist.

API stability

API is highly unstable, and while API endpoints are expected to remain relatively stable the data exchange formats are expected to be changed a lot. The changes in the API are communicated via Open Procurement API maillist.

Change log

0.1

Released: not released yet

Next steps

You might find it helpful to look at the Tutorial, or the API Reference.

Tendering

Constraints

  • tenderPeriod cannot be shorter than 5 working days.
  • enquiryPeriod always ends 2 working days before tenderPeriod ends.
  • If question is not answered tenderPeriod is extended for 2 working days.

Claims and Complaits

  • Award complaint period is 2 working days.

Tutorial

Exploring basic rules

Let’s try exploring the /tenders endpoint:

GET /api/2.3/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.3/tenders?offset=",
    "uri": "http://api-sandbox.openprocurement.org/api/2.3/tenders?offset=",
    "offset": ""
  },
  "data": []
}

Just invoking it reveals empty set.

Now let’s attempt creating some tender:

POST /api/2.3/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.3/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.3/tenders?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2516
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-07-07T16:09:10.869858+03:00"
    },
    "title": "футляри до державних нагород",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "id": "37810000-9",
          "description": "Test"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "procurementMethodType": "aboveThresholdUA.defense",
    "value": {
      "currency": "UAH",
      "amount": 500
    },
    "procuringEntity": {
      "kind": "defense",
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "address": {
        "countryName": "Україна",
        "postalCode": "21027",
        "region": "м. Вінниця",
        "streetAddress": "вул. Стахурського. 22",
        "locality": "м. Вінниця"
      },
      "name": "ЗОСШ #10 м.Вінниці"
    }
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/b5b4dee8452445ef902b1612220155c2
{
  "access": {
    "token": "edebc6f9e6f34451b32cc4b2bcca9a92"
  },
  "data": {
    "procurementMethod": "open",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T16:09:29.299343+03:00",
      "endDate": "2017-07-07T16:09:10.869858+03:00"
    },
    "title": "футляри до державних нагород",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T16:09:29.299343+03:00",
      "clarificationsUntil": "2017-07-06T16:09:10.869858+03:00",
      "endDate": "2017-07-04T16:09:10.869858+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T16:09:29.299343+03:00",
      "endDate": "2017-07-05T00:00:00+03:00"
    },
    "procurementMethodType": "aboveThresholdUA.defense",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T16:09:29.334491+03:00",
    "next_check": "2017-07-07T16:09:10.869858+03:00",
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "kind": "defense",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "name": "ЗОСШ #10 м.Вінниці"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-07-08T00:00:00+03:00"
    },
    "owner": "broker",
    "dateModified": "2017-06-21T16:09:29.338833+03:00",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "25213fedc82c4366ad4a865ab3d3f9b3",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "id": "b5b4dee8452445ef902b1612220155c2",
    "tenderID": "UA-2017-06-21-000002"
  }
}

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 Defense open tender is that procurementMethodType was changed from belowThreshold to aboveThresholdUA.defense. Also there is no opportunity to set up enquiryPeriod, it will be assigned automatically.

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

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd 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.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T16:09:24.755173+03:00",
      "endDate": "2017-07-07T16:09:10.869858+03:00"
    },
    "title": "футляри до державних нагород",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T16:09:24.755173+03:00",
      "clarificationsUntil": "2017-07-06T16:09:10.869858+03:00",
      "endDate": "2017-07-04T16:09:10.869858+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T16:09:24.755173+03:00",
      "endDate": "2017-07-05T00:00:00+03:00"
    },
    "procurementMethodType": "aboveThresholdUA.defense",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T16:09:24.792303+03:00",
    "next_check": "2017-07-07T16:09:10.869858+03:00",
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "kind": "defense",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "name": "ЗОСШ #10 м.Вінниці"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-07-08T00:00:00+03:00"
    },
    "owner": "broker",
    "dateModified": "2017-06-21T16:09:24.797369+03:00",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "088c06079114432a868884642967dd98",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "id": "d3dba9240047439492b162acda141abd",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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

Let’s see what listing of tenders reveals us:

GET /api/2.3/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.3/tenders?offset=",
    "uri": "http://api-sandbox.openprocurement.org/api/2.3/tenders?offset=",
    "offset": ""
  },
  "data": []
}

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.3/tenders/d3dba9240047439492b162acda141abd?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-07-06T16:09:34.900823+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T16:09:24.755173+03:00",
      "endDate": "2017-07-06T16:09:34.900823+03:00"
    },
    "title": "футляри до державних нагород",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T16:09:24.755173+03:00",
      "clarificationsUntil": "2017-07-05T16:09:34.900823+03:00",
      "endDate": "2017-07-03T16:09:34.900823+03:00",
      "invalidationDate": "2017-06-21T16:09:24.966118+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T16:09:24.755173+03:00",
      "endDate": "2017-07-04T00:00:00+03:00"
    },
    "procurementMethodType": "aboveThresholdUA.defense",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T16:09:24.792303+03:00",
    "next_check": "2017-07-06T16:09:34.900823+03:00",
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "kind": "defense",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "name": "ЗОСШ #10 м.Вінниці"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-07-07T00:00:00+03:00"
    },
    "owner": "broker",
    "dateModified": "2017-06-21T16:09:24.969226+03:00",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "088c06079114432a868884642967dd98",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "id": "d3dba9240047439492b162acda141abd",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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.3/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.3/tenders?offset=2017-06-21T16%3A09%3A24.797369%2B03%3A00",
    "uri": "http://api-sandbox.openprocurement.org/api/2.3/tenders?offset=2017-06-21T16%3A09%3A24.797369%2B03%3A00",
    "offset": "2017-06-21T16:09:24.797369+03:00"
  },
  "data": [
    {
      "id": "d3dba9240047439492b162acda141abd",
      "dateModified": "2017-06-21T16:09:24.797369+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.

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 38
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "value": {
      "amount": 501.0
    }
  }
}

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

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

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 120
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-06-29T16:09:25.823677+03:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 501
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-06-08T16:09:25.643555+03:00",
      "endDate": "2017-06-26T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-06-08T16:09:25.643555+03:00",
      "clarificationsUntil": "2017-06-27T16:09:25.823677+03:00",
      "endDate": "2017-06-23T16:09:25.823677+03:00",
      "invalidationDate": "2017-06-21T16:09:25.937680+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-29T16:09:25.823677+03:00",
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "kind": "defense",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "name": "ЗОСШ #10 м.Вінниці"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-06-21T16:09:25.542870+03:00",
        "title": "Калорійність",
        "date": "2017-06-21T16:09:25.463612+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "ca012dda99b94ddb99d87c244874692a",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "d3dba9240047439492b162acda141abd",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/31049c2f5b9144868d88a0160c934d60?download=636b9b3d3667402fa489569bf305f564",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:25.183718+03:00",
        "id": "31049c2f5b9144868d88a0160c934d60",
        "dateModified": "2017-06-21T16:09:25.183751+03:00"
      },
      {
        "title": "AwardCriteria.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?download=62864d28d1564434b77f6a964f1123fb",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:25.274380+03:00",
        "id": "9560b6640681409fa8a6038826443683",
        "dateModified": "2017-06-21T16:09:25.274416+03:00"
      },
      {
        "title": "AwardCriteria-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?download=53701f8f3501480aa50dac54e0f4e5d3",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:25.274380+03:00",
        "id": "9560b6640681409fa8a6038826443683",
        "dateModified": "2017-06-21T16:09:25.369568+03:00"
      }
    ],
    "title": "футляри до державних нагород",
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T16:09:25.942023+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-06-08T16:09:25.643555+03:00",
      "endDate": "2017-06-29T16:09:25.823677+03:00"
    },
    "auctionPeriod": {
      "startDate": "2017-06-23T16:09:25.643555+03:00",
      "shouldStartAfter": "2017-06-30T00:00:00+03:00"
    },
    "procurementMethodType": "aboveThresholdUA.defense",
    "date": "2017-06-21T16:09:24.792303+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "088c06079114432a868884642967dd98",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Uploading documentation

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

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/documents?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 186
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy853697123718$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/31049c2f5b9144868d88a0160c934d60
{
  "data": {
    "title": "Notice.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/31049c2f5b9144868d88a0160c934d60?download=636b9b3d3667402fa489569bf305f564",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:25.183718+03:00",
    "id": "31049c2f5b9144868d88a0160c934d60",
    "dateModified": "2017-06-21T16:09:25.183751+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.3/tenders/d3dba9240047439492b162acda141abd/documents/31049c2f5b9144868d88a0160c934d60?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "title": "Notice.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/31049c2f5b9144868d88a0160c934d60?download=636b9b3d3667402fa489569bf305f564",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:25.183718+03:00",
    "previousVersions": [],
    "id": "31049c2f5b9144868d88a0160c934d60",
    "dateModified": "2017-06-21T16:09:25.183751+03:00"
  }
}

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

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/documents?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 193
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy405032363387$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683
{
  "data": {
    "title": "AwardCriteria.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?download=62864d28d1564434b77f6a964f1123fb",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:25.274380+03:00",
    "id": "9560b6640681409fa8a6038826443683",
    "dateModified": "2017-06-21T16:09:25.274416+03:00"
  }
}

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

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/documents?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "title": "Notice.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/31049c2f5b9144868d88a0160c934d60?download=636b9b3d3667402fa489569bf305f564",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T16:09:25.183718+03:00",
      "id": "31049c2f5b9144868d88a0160c934d60",
      "dateModified": "2017-06-21T16:09:25.183751+03:00"
    },
    {
      "title": "AwardCriteria.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?download=62864d28d1564434b77f6a964f1123fb",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T16:09:25.274380+03:00",
      "id": "9560b6640681409fa8a6038826443683",
      "dateModified": "2017-06-21T16:09:25.274416+03:00"
    }
  ]
}

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

PUT /api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 194
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy17177434189$
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "title": "AwardCriteria-2.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?download=53701f8f3501480aa50dac54e0f4e5d3",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:25.274380+03:00",
    "id": "9560b6640681409fa8a6038826443683",
    "dateModified": "2017-06-21T16:09:25.369568+03:00"
  }
}

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

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "title": "Notice.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/31049c2f5b9144868d88a0160c934d60?download=636b9b3d3667402fa489569bf305f564",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T16:09:25.183718+03:00",
      "id": "31049c2f5b9144868d88a0160c934d60",
      "dateModified": "2017-06-21T16:09:25.183751+03:00"
    },
    {
      "title": "AwardCriteria-2.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?download=53701f8f3501480aa50dac54e0f4e5d3",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T16:09:25.274380+03:00",
      "id": "9560b6640681409fa8a6038826443683",
      "dateModified": "2017-06-21T16:09:25.369568+03:00"
    }
  ]
}

Enquiries

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

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/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.3/tenders/d3dba9240047439492b162acda141abd/questions/ca012dda99b94ddb99d87c244874692a
{
  "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-06-21T16:09:25.463612+03:00",
    "id": "ca012dda99b94ddb99d87c244874692a",
    "questionOf": "tender"
  }
}

Procuring entity can answer them:

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd/questions/ca012dda99b94ddb99d87c244874692a?acc_token=4d2022f0685446d6ab06c53b51e10410 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-06-21T16:09:25.542870+03:00",
    "title": "Калорійність",
    "date": "2017-06-21T16:09:25.463612+03:00",
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
    "id": "ca012dda99b94ddb99d87c244874692a",
    "questionOf": "tender"
  }
}

One can retrieve either questions list:

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/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-06-21T16:09:25.542870+03:00",
      "title": "Калорійність",
      "date": "2017-06-21T16:09:25.463612+03:00",
      "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
      "id": "ca012dda99b94ddb99d87c244874692a",
      "questionOf": "tender"
    }
  ]
}

or individual answer:

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/questions/ca012dda99b94ddb99d87c244874692a 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-06-21T16:09:25.542870+03:00",
    "title": "Калорійність",
    "date": "2017-06-21T16:09:25.463612+03:00",
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
    "id": "ca012dda99b94ddb99d87c244874692a",
    "questionOf": "tender"
  }
}

Enquiries can be made only during Tender.enqueryPeriod

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/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

Tender status active.tendering allows registration of bids.

Bidder can register a bid:

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1055
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "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": "м. Вінниця"
        }
      }
    ],
    "selfQualified": true,
    "value": {
      "amount": 500
    },
    "subcontractingDetails": "ДКП «книга», Україна, м. Львів, вул. Островського, 33"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d
{
  "access": {
    "token": "663e011aa89f4e64b50f9daaf3e27baa"
  },
  "data": {
    "status": "active",
    "selfEligible": true,
    "id": "ff2ca0fb8e5e4150ba7f2b5851657b9d",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «книга», Україна, м. Львів, вул. Островського, 33",
    "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-06-21T16:09:26.028412+03:00",
    "selfQualified": true
  }
}

Proposal Uploading

Then bidder should upload proposal document(s):

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d/documents?acc_token=663e011aa89f4e64b50f9daaf3e27baa HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 188
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy681543412954$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d/documents/d715358e8bfd43d6ba5e93f3f23f4ced
{
  "data": {
    "title": "Proposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d/documents/d715358e8bfd43d6ba5e93f3f23f4ced?download=be32ec8f3cb64fa4873995173ce10d6d",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:26.133246+03:00",
    "id": "d715358e8bfd43d6ba5e93f3f23f4ced",
    "dateModified": "2017-06-21T16:09:26.133280+03:00"
  }
}

It is possible to check the uploaded documents:

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d/documents?acc_token=663e011aa89f4e64b50f9daaf3e27baa HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "title": "Proposal.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d/documents/d715358e8bfd43d6ba5e93f3f23f4ced?download=be32ec8f3cb64fa4873995173ce10d6d",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T16:09:26.133246+03:00",
      "id": "d715358e8bfd43d6ba5e93f3f23f4ced",
      "dateModified": "2017-06-21T16:09:26.133280+03:00"
    }
  ]
}

Bid invalidation

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

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d?acc_token=663e011aa89f4e64b50f9daaf3e27baa 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": "ff2ca0fb8e5e4150ba7f2b5851657b9d"
  }
}

Bid confirmation

Bidder should confirm bid proposal:

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d?acc_token=663e011aa89f4e64b50f9daaf3e27baa 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": [
      {
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d/documents/d715358e8bfd43d6ba5e93f3f23f4ced?download=be32ec8f3cb64fa4873995173ce10d6d",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:26.133246+03:00",
        "id": "d715358e8bfd43d6ba5e93f3f23f4ced",
        "dateModified": "2017-06-21T16:09:26.133280+03:00"
      }
    ],
    "selfEligible": true,
    "id": "ff2ca0fb8e5e4150ba7f2b5851657b9d",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «книга», Україна, м. Львів, вул. Островського, 33",
    "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-06-21T16:09:26.028412+03:00",
    "selfQualified": true
  }
}

Defense open tender demands at least two bidders, so there should be at least two bid proposals registered to move to auction stage:

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 749
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "value": {
      "amount": 499
    },
    "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.3/tenders/d3dba9240047439492b162acda141abd/bids/3a603e289a1b4c06ad023bd5705e03a2
{
  "access": {
    "token": "c38be9af940b4fbb8a33e80d0beff7b2"
  },
  "data": {
    "status": "active",
    "selfEligible": true,
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "selfQualified": true,
    "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-06-21T16:09:26.572193+03:00",
    "id": "3a603e289a1b4c06ad023bd5705e03a2"
  }
}

Pay attention!

If there are no bidders, procurement is unsuccessful.

If there is only 1 bidder, then procedure will move to active.qualification status (see confirming qualification).

If there are 2 or more bidders, then auction will start.

Auction

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

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd 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-06-05T16:09:09.844494+03:00",
      "endDate": "2017-06-19T00:00:00+03:00"
    },
    "auctionUrl": "http://auction-sandbox.openprocurement.org/tenders/d3dba9240047439492b162acda141abd",
    "enquiryPeriod": {
      "startDate": "2017-06-05T16:09:09.844494+03:00",
      "clarificationsUntil": "2017-06-20T16:09:09.844494+03:00",
      "endDate": "2017-06-16T16:09:09.844494+03:00",
      "invalidationDate": "2017-06-21T16:09:26.333674+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-21T16:45:09.844494+03:00",
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "kind": "defense",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "name": "ЗОСШ #10 м.Вінниці"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-06-21T16:09:25.542870+03:00",
        "title": "Калорійність",
        "date": "2017-06-21T16:09:25.463612+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "ca012dda99b94ddb99d87c244874692a",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "d3dba9240047439492b162acda141abd",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/31049c2f5b9144868d88a0160c934d60?download=636b9b3d3667402fa489569bf305f564",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:25.183718+03:00",
        "id": "31049c2f5b9144868d88a0160c934d60",
        "dateModified": "2017-06-21T16:09:25.183751+03:00"
      },
      {
        "title": "AwardCriteria.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?download=62864d28d1564434b77f6a964f1123fb",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:25.274380+03:00",
        "id": "9560b6640681409fa8a6038826443683",
        "dateModified": "2017-06-21T16:09:25.274416+03:00"
      },
      {
        "title": "AwardCriteria-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/documents/9560b6640681409fa8a6038826443683?download=53701f8f3501480aa50dac54e0f4e5d3",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:25.274380+03:00",
        "id": "9560b6640681409fa8a6038826443683",
        "dateModified": "2017-06-21T16:09:25.369568+03:00"
      }
    ],
    "title": "футляри до державних нагород",
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T16:09:26.874155+03:00",
    "status": "active.auction",
    "tenderPeriod": {
      "startDate": "2017-06-05T16:09:09.844494+03:00",
      "endDate": "2017-06-21T16:09:09.844494+03:00"
    },
    "auctionPeriod": {
      "startDate": "2017-06-21T16:09:09.844494+03:00",
      "shouldStartAfter": "2017-06-22T00:00:00+03:00"
    },
    "procurementMethodType": "aboveThresholdUA.defense",
    "date": "2017-06-21T16:09:24.792303+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "088c06079114432a868884642967dd98",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "kind": "defense",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "name": "ЗОСШ #10 м.Вінниці"
    }
  }
}

Bidders can find out their participation URLs via their bids:

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d?acc_token=663e011aa89f4e64b50f9daaf3e27baa 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": [
      {
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/ff2ca0fb8e5e4150ba7f2b5851657b9d/documents/d715358e8bfd43d6ba5e93f3f23f4ced?download=be32ec8f3cb64fa4873995173ce10d6d",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:26.133246+03:00",
        "id": "d715358e8bfd43d6ba5e93f3f23f4ced",
        "dateModified": "2017-06-21T16:09:26.133280+03:00"
      }
    ],
    "selfEligible": true,
    "id": "ff2ca0fb8e5e4150ba7f2b5851657b9d",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «книга», Україна, м. Львів, вул. Островського, 33",
    "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-06-21T16:09:26.028412+03:00",
    "selfQualified": true,
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/d3dba9240047439492b162acda141abd?key_for_bid=ff2ca0fb8e5e4150ba7f2b5851657b9d"
  }
}

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

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/bids/3a603e289a1b4c06ad023bd5705e03a2?acc_token=c38be9af940b4fbb8a33e80d0beff7b2 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "selfEligible": true,
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "id": "3a603e289a1b4c06ad023bd5705e03a2",
    "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-06-21T16:09:26.572193+03:00",
    "selfQualified": true,
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/d3dba9240047439492b162acda141abd?key_for_bid=3a603e289a1b4c06ad023bd5705e03a2"
  }
}

Confirming qualification

Qualification commission registers its decision via the following call:

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd/awards/e3d40093a1cf4f438eb0915fbd77f847?acc_token=4d2022f0685446d6ab06c53b51e10410 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": "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": "м. Львів"
        }
      }
    ],
    "complaintPeriod": {
      "startDate": "2017-06-21T16:09:27.228895+03:00",
      "endDate": "2017-07-07T00:00:00+03:00"
    },
    "bid_id": "3a603e289a1b4c06ad023bd5705e03a2",
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "qualified": true,
    "date": "2017-06-21T16:09:27.418164+03:00",
    "id": "e3d40093a1cf4f438eb0915fbd77f847"
  }
}

Setting contract value

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

If you want to lower contract value, you can insert new one into the amount field.

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd/contracts/465353a6aab44e30861bda991f255702?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 36
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "value": {
      "amount": 238
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "088c06079114432a868884642967dd98",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "suppliers": [
      {
        "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": "м. Львів"
        }
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "e3d40093a1cf4f438eb0915fbd77f847",
    "id": "465353a6aab44e30861bda991f255702",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

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

Setting contract signature date

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

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

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd/contracts/465353a6aab44e30861bda991f255702?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 60
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "dateSigned": "2017-06-21T16:09:27.739357+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"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "088c06079114432a868884642967dd98",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "suppliers": [
      {
        "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": "м. Львів"
        }
      }
    ],
    "dateSigned": "2017-06-21T16:09:27.739357+03:00",
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "e3d40093a1cf4f438eb0915fbd77f847",
    "id": "465353a6aab44e30861bda991f255702",
    "contractID": "UA-2017-06-21-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.3/tenders/d3dba9240047439492b162acda141abd/contracts/465353a6aab44e30861bda991f255702?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 118
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "period": {
      "startDate": "2017-06-21T16:09:27.906548+03:00",
      "endDate": "2018-06-21T16:09:27.906598+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"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "088c06079114432a868884642967dd98",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "suppliers": [
      {
        "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": "м. Львів"
        }
      }
    ],
    "period": {
      "startDate": "2017-06-21T16:09:27.906548+03:00",
      "endDate": "2018-06-21T16:09:27.906598+03:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "dateSigned": "2017-06-21T16:09:27.739357+03:00",
    "awardID": "e3d40093a1cf4f438eb0915fbd77f847",
    "id": "465353a6aab44e30861bda991f255702",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

Uploading contract documentation

You can upload contract documents for the Defense open tender procedure.

Let’s upload contract document:

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/contracts/465353a6aab44e30861bda991f255702/documents?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 200
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy955757329002$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/contracts/465353a6aab44e30861bda991f255702/documents/ab45771ead4b42d2b6c84551925dcb39
{
  "data": {
    "title": "contract_document.doc",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/contracts/465353a6aab44e30861bda991f255702/documents/ab45771ead4b42d2b6c84551925dcb39?download=d4cdcba1fc2d4dada09ad28181bf4064",
    "format": "application/msword",
    "datePublished": "2017-06-21T16:09:28.154379+03:00",
    "dateModified": "2017-06-21T16:09:28.154415+03:00",
    "id": "ab45771ead4b42d2b6c84551925dcb39"
  }
}

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

Let’s view the uploaded contract document:

GET /api/2.3/tenders/d3dba9240047439492b162acda141abd/contracts/465353a6aab44e30861bda991f255702?acc_token=4d2022f0685446d6ab06c53b51e10410 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": [
      {
        "title": "contract_document.doc",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/contracts/465353a6aab44e30861bda991f255702/documents/ab45771ead4b42d2b6c84551925dcb39?download=d4cdcba1fc2d4dada09ad28181bf4064",
        "format": "application/msword",
        "datePublished": "2017-06-21T16:09:28.154379+03:00",
        "dateModified": "2017-06-21T16:09:28.154415+03:00",
        "id": "ab45771ead4b42d2b6c84551925dcb39"
      }
    ],
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T16:09:10.869776+03:00",
          "endDate": "2017-08-10T16:09:10.869828+03:00"
        },
        "id": "088c06079114432a868884642967dd98",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "suppliers": [
      {
        "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": "м. Львів"
        }
      }
    ],
    "period": {
      "startDate": "2017-06-21T16:09:27.906548+03:00",
      "endDate": "2018-06-21T16:09:27.906598+03:00"
    },
    "dateSigned": "2017-06-21T16:09:27.739357+03:00",
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "e3d40093a1cf4f438eb0915fbd77f847",
    "id": "465353a6aab44e30861bda991f255702",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

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.3/tenders/d3dba9240047439492b162acda141abd/cancellations?acc_token=4d2022f0685446d6ab06c53b51e10410 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.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "cancelled",
    "date": "2017-06-21T16:09:28.364339+03:00",
    "cancellationOf": "tender",
    "id": "10645ea78fed4f2a87b4a6e3eacda9e4"
  }
}

Filling cancellation with protocol and supplementary documentation

Upload the file contents

POST /api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 186
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy586421084935$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents/f1a62c9892b14beba0d751c11f230860
{
  "data": {
    "title": "Notice.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents/f1a62c9892b14beba0d751c11f230860?download=fb067c2a79e24b9f86512b61c242811f",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:28.669636+03:00",
    "id": "f1a62c9892b14beba0d751c11f230860",
    "dateModified": "2017-06-21T16:09:28.669674+03:00"
  }
}

Change the document description and other properties

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents/f1a62c9892b14beba0d751c11f230860?acc_token=4d2022f0685446d6ab06c53b51e10410 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": {
    "description": "Changed description",
    "title": "Notice.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents/f1a62c9892b14beba0d751c11f230860?download=fb067c2a79e24b9f86512b61c242811f",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:28.669636+03:00",
    "id": "f1a62c9892b14beba0d751c11f230860",
    "dateModified": "2017-06-21T16:09:28.669674+03:00"
  }
}

Upload new version of the document

PUT /api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents/f1a62c9892b14beba0d751c11f230860?acc_token=4d2022f0685446d6ab06c53b51e10410 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 189
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy223309513709$
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "description": "Changed description",
    "title": "Notice-2.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents/f1a62c9892b14beba0d751c11f230860?download=76bee80564b74f62b9067367b2896772",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:28.669636+03:00",
    "id": "f1a62c9892b14beba0d751c11f230860",
    "dateModified": "2017-06-21T16:09:29.008932+03:00"
  }
}

Activating the request and cancelling tender

PATCH /api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4?acc_token=4d2022f0685446d6ab06c53b51e10410 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": [
      {
        "description": "Changed description",
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents/f1a62c9892b14beba0d751c11f230860?download=fb067c2a79e24b9f86512b61c242811f",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:28.669636+03:00",
        "id": "f1a62c9892b14beba0d751c11f230860",
        "dateModified": "2017-06-21T16:09:28.669674+03:00"
      },
      {
        "description": "Changed description",
        "title": "Notice-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/d3dba9240047439492b162acda141abd/cancellations/10645ea78fed4f2a87b4a6e3eacda9e4/documents/f1a62c9892b14beba0d751c11f230860?download=76bee80564b74f62b9067367b2896772",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:28.669636+03:00",
        "id": "f1a62c9892b14beba0d751c11f230860",
        "dateModified": "2017-06-21T16:09:29.008932+03:00"
      }
    ],
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2017-06-21T16:09:29.199537+03:00",
    "cancellationOf": "tender",
    "id": "10645ea78fed4f2a87b4a6e3eacda9e4"
  }
}

Data Standard

Data standard is modelled along the Open Contracting Standard with extensions in areas that were not covered by it.

Tender

Schema

title:

string, multilingual

The name of the tender, displayed in listings. You can include the following items:

  • tender code (in procuring organization management system)
  • periodicity of the tender (annual, quarterly, etc.)
  • item being procured
  • some other info
description:

string, multilingual

Detailed description of tender.

tenderID:

string, auto-generated, read-only

The tender identifier to refer tender to in “paper” documentation.

OpenContracting Description: TenderID should always be the same as the OCID. It is included to make the flattened data structure more convenient.

procurementMethodType:
 

string

value: aboveThresholdUA.defense

procuringEntity:
 

ProcuringEntity, required

Organization conducting the tender.

OpenContracting Description: The entity managing the procurement, which may be different from the buyer who is paying / using the items being procured.

value:

Value, required

Total available tender budget. Bids greater then value will be rejected.

OpenContracting Description: The total estimated value of the procurement.

guarantee:

Guarantee

Bid guarantee

items:

list of Item objects, required

List that contains single item being procured.

OpenContracting Description: The goods and services to be purchased, broken into line items wherever possible. Items should not be duplicated, but a quantity of 2 specified instead.

features:

list of Feature objects

Features of tender.

documents:

List of Document objects

OpenContracting Description: All documents and attachments related to the tender.

questions:

List of Question objects

Questions to procuringEntity and answers to them.

complaints:

List of Complaint objects

Complaints to tender conditions and their resolutions.

bids:

List of Bid objects

A list of all bids placed in the tender with information about tenderers, their proposal and other qualification documentation.

OpenContracting Description: A list of all the companies who entered submissions for the tender.

minimalStep:

Value, required

The minimal step of auction (reduction). Validation rules:

  • amount should be less then Tender.value.amount
  • currency should either be absent or match Tender.value.currency
  • valueAddedTaxIncluded should either be absent or match Tender.value.valueAddedTaxIncluded
awards:

List of Award objects

All qualifications (disqualifications and awards).

contracts:

List of Contract objects

enquiryPeriod:

Period, required

Period when questions are allowed.

OpenContracting Description: The period during which enquiries may be made.

tenderPeriod:

Period, required

Period when bids can be submitted. At least endDate has to be provided.

OpenContracting Description: The period when the tender is open for submissions. The end date is the closing date for tender submissions.

auctionPeriod:

Period, read-only

Period when Auction is conducted.

auctionUrl:

url

A web address for view auction.

awardPeriod:

Period, read-only

Awarding process period.

OpenContracting Description: The date or period on which an award is anticipated to be made.

status:

string

active.tendering:
 Tendering period (tendering)
active.auction:Auction period (auction)
active.qualification:
 Winner qualification (qualification)
active.awarded:Standstill period (standstill)
unsuccessful:Unsuccessful tender (unsuccessful)
complete:Complete tender (complete)
cancelled:Cancelled tender (cancelled)

Status of the Tender.

lots:

List of Lot objects.

Contains all tender lots.

cancellations:

List of Cancellation objects.

Contains 1 object with active status in case of cancelled Tender.

The Cancellation object describes the reason of tender cancellation contains accompanying documents if any.

revisions:

List of Revision objects, auto-generated

Historical changes to Tender object properties.

Important

The Tender dates should be sequential:

  • Current time
  • enquiryPeriod.startDate
  • enquiryPeriod.endDate
  • tenderPeriod.startDate
  • tenderPeriod.endDate

Organization

Schema

name:

string, multilingual

OpenContracting Description: The common name of the organization.

identifier:

Identifier

OpenContracting Description: The primary identifier for this organization.

additionalIdentifiers:
 

List of Identifier objects

address:

Address, required

contactPoint:

ContactPoint, required

Identifier

Schema

scheme:

string

OpenContracting Description: Organization identifiers be drawn from an existing identification scheme. This field is used to indicate the scheme or codelist in which the identifier will be found. This value should be drawn from the Organization Identifier Scheme.

id:

string, required

OpenContracting Description: The identifier of the organization in the selected scheme.

The allowed codes are the ones found in “Organisation Registration Agency” codelist of IATI Standard with addition of UA-EDR code for organizations registered in Ukraine (EDRPOU and IPN).

legalName:

string, multilingual

OpenContracting Description: The legally registered name of the organization.

uri:

uri

OpenContracting Description: A URI to identify the organization, such as those provided by Open Corporates or some other relevant URI provider. This is not for listing the website of the organization: that can be done through the url field of the Organization contact point.

Address

Schema

streetAddress:

string, required

OpenContracting Description: The street address. For example, 1600 Amphitheatre Pkwy.

locality:

string, required

OpenContracting Description: The locality. For example, Mountain View.

region:

string, required

OpenContracting Description: The region. For example, CA.

postalCode:

string, required

OpenContracting Description: The postal code. For example, 94043.

countryName:

string, multilingual, required

OpenContracting Description: The country name. For example, United States.

ContactPoint

Schema

name:

string, multilingual, required

OpenContracting Description: The name of the contact person, department, or contact point, for correspondence relating to this contracting process.

email:

email

OpenContracting Description: The e-mail address of the contact point/person.

telephone:

string

OpenContracting Description: The telephone number of the contact point/person. This should include the international dialling code.

faxNumber:

string

OpenContracting Description: The fax number of the contact point/person. This should include the international dialling code.

url:

url

OpenContracting Description: A web address for the contact point/person.

Either email or telephone field has to be provided.

ProcuringEntity

Schema

name:

string, multilingual

OpenContracting Description: The common name of the organization.

identifier:

Identifier

OpenContracting Description: The primary identifier for this organization.

additionalIdentifiers:
 

List of Identifier objects

address:

Address, required

contactPoint:

ContactPoint, required

kind:

string

Type of procuring entity

Possible values:
  • defense - Procuring entity that conducts procurement for the defense needs

Item

Schema

id:

string, auto-generated

description:

string, multilingual, required

OpenContracting Description: A description of the goods, services to be provided.

classification:

Classification

OpenContracting Description: The primary classification for the item. See the itemClassificationScheme to identify preferred classification lists, including CPV and GSIN.

It is mandatory for classification.scheme to be CPV. The classification.id should be valid CPV code.

additionalClassifications:
 

List of Classification objects

OpenContracting Description: An array of additional classifications for the item. See the itemClassificationScheme codelist for common options to use in OCDS. This may also be used to present codes from an internal classification scheme.

It is mandatory to have at least one item with ДКПП as scheme.

unit:

Unit

OpenContracting Description: Description of the unit which the good comes in e.g. hours, kilograms. Made up of a unit name, and the value of a single unit.

quantity:

integer

OpenContracting Description: The number of units required

deliveryDate:

Period, required

Period during which the item should be delivered.

deliveryAddress:
 

Address, required

Address, where the item should be delivered.

deliveryLocation:
 

dictionary

Geographical coordinates of delivery location. Element consist of the following items:

latitude:string, required
longitude:string, required
elevation:string, optional, usually not used

deliveryLocation usually takes precedence over deliveryAddress if both are present.

relatedLot:

string

Id of related Lot.

Classification

Schema

scheme:

string

OpenContracting Description: A classification should be drawn from an existing scheme or list of codes. This field is used to indicate the scheme/codelist from which the classification is drawn. For line item classifications, this value should represent a known Item Classification Scheme wherever possible.

id:

string

OpenContracting Description: The classification code drawn from the selected scheme.

description:

string

OpenContracting Description: A textual description or title for the code.

uri:

uri

OpenContracting Description: A URI to identify the code. In the event individual URIs are not available for items in the identifier scheme this value should be left blank.

Unit

Schema

code:

string, required

UN/CEFACT Recommendation 20 unit code.

name:

string

OpenContracting Description: Name of the unit

Document

Schema

id:

string, auto-generated

documentType:

string

Possible values for Tender

  • notice - Tender notice

    The formal notice that gives details of a tender. This may be a link to a downloadable document, to a web page, or to an official gazette in which the notice is contained.

  • biddingDocuments - Bidding Documents

    Information for potential suppliers, describing the goals of the contract (e.g. goods and services to be procured), and the bidding process.

  • technicalSpecifications - Technical Specifications

    Detailed technical information about goods or services to be provided.

  • evaluationCriteria - Evaluation Criteria

    Information about how bids will be evaluated.

  • clarifications - Clarifications to bidders questions

    Including replies to issues raised in pre-bid conferences.

  • eligibilityCriteria - Eligibility Criteria

    Detailed documents about the eligibility of bidders.

  • shortlistedFirms - Shortlisted Firms

  • riskProvisions - Provisions for management of risks and liabilities

  • billOfQuantity - Bill Of Quantity

  • bidders - Information on bidders

    Information on bidders or participants, their validation documents and any procedural exemptions for which they qualify.

  • conflictOfInterest - Conflicts of interest uncovered

  • debarments - Debarments issued

  • contractProforma - Draft contract

Possible values for Award

  • notice - Award Notice

    The formal notice that gives details of the contract award. This may be a link to a downloadable document, to a web page, or to an official gazette in which the notice is contained.

  • evaluationReports - Evaluation report

    Report on the evaluation of the bids and the application of the evaluation criteria, including the justification fo the award.

  • winningBid - Winning Bid

  • complaints - Complaints and decisions

Possible values for Contract

  • notice - Contract notice

    The formal notice that gives details of a contract being signed and valid to start implementation. This may be a link to a downloadable document, to a web page, or to an official gazette in which the notice is contained.

  • contractSigned - Signed Contract

  • contractArrangements - Arrangements for ending contract

  • contractSchedule - Schedules and milestones

  • contractAnnexe - Annexes to the Contract

  • contractGuarantees - Guarantees

  • subContract - Subcontracts

Possible values for Bid

  • commercialProposal - Сommercial proposal
  • qualificationDocuments - Qualification documents
  • eligibilityDocuments - Eligibility documents
title:

string, multilingual

OpenContracting Description: The document title.

description:

string, multilingual

OpenContracting Description: A short description of the document. In the event the document is not accessible online, the description field can be used to describe arrangements for obtaining a copy of the document.

format:

string

OpenContracting Description: The format of the document taken from the IANA Media Types code list, with the addition of one extra value for ‘offline/print’, used when this document entry is being used to describe the offline publication of a document.

url:

string, auto-generated

OpenContracting Description: Direct link to the document or attachment.

datePublished:

string, Date

OpenContracting Description: The date on which the document was first published.

dateModified:

string, Date

OpenContracting Description: Date that the document was last modified

language:

string

OpenContracting Description: Specifies the language of the linked document using either two-digit ISO 639-1, or extended BCP47 language tags.

documentOf:

string

Possible values are:

  • tender
  • item
  • lot
relatedItem:

string

Id of related Lot or Item.

Lot

Schema

id:

string, auto-generated

title:

string, multilingual

The name of the tender lot.

description:

string, multilingual

Detailed description of tender lot.

value:

Value, required

Total available tender lot budget. Bids greater then value will be rejected.

guarantee:

Guarantee

Bid guarantee

minimalStep:

Value, required

The minimal step of auction (reduction). Validation rules:

  • amount should be less then Lot.value.amount
  • currency should either be absent or match Lot.value.currency
  • valueAddedTaxIncluded should either be absent or match Lot.value.valueAddedTaxIncluded
auctionPeriod:

Period, read-only

Period when Auction is conducted.

auctionUrl:

url

A web address for view auction.

status:

string

active:Active tender lot (active)
unsuccessful:Unsuccessful tender lot (unsuccessful)
complete:Complete tender lot (complete)
cancelled:Cancelled tender lot (cancelled)

Status of the Lot.

Bid

Schema

tenderers:

List of Organization objects

date:

string, Date, auto-generated

id:

uid, auto-generated

status:

string

Possible values are:

  • draft
  • active
  • invalid
  • deleted
value:

Value, required

Validation rules:

  • amount should be less than Tender.value.amout
  • currency should either be absent or match Tender.value.currency
  • valueAddedTaxIncluded should either be absent or match Tender.value.valueAddedTaxIncluded
selfEligible’:

True, required

Confirms compliance of eligibility criteria set by the procuring entity in the tendering documents.

selfQualified:

True, required

Confirms the absence of grounds for refusal to participate in accordance with Article 17 of the Law of Ukraine “On Public Procurement”.

subcontractingDetails:
 

string

While submitting bid proposal, participant can fill in the text field of any length about subcontractor.

documents:

List of Document objects

parameters:

List of Parameter objects

lotValues:

List of LotValue objects

participationUrl:
 

url

A web address for participation in auction.

Parameter

Schema

code:

string, required

Code of the feature.

value:

float, required

Value of the feature.

LotValue

Schema

value:

Value, required

Validation rules:

  • amount should be less than Lot.value.amout
  • currency should either be absent or match Lot.value.currency
  • valueAddedTaxIncluded should either be absent or match Lot.value.valueAddedTaxIncluded
relatedLot:

string

Id of related Lot.

date:

string, Date, auto-generated

subcontractingDetails:
 

string

While submitting bid proposal, participant can fill in the text field of any length about subcontractor.

participationUrl:
 

url

A web address for participation in auction.

Award

Schema

id:

string, auto-generated, read-only

OpenContracting Description: The identifier for this award.

bid_id:

string, auto-generated, read-only

The Id of a bid that the award relates to.

title:

string, multilingual

OpenContracting Description: Award title.

description:

string, multilingual

OpenContracting Description: Award description.

eligible:

bool

Confirms compliance of eligibility criteria set by the procuring entity in the tendering documents.

qualified:

bool

Confirms the absence of grounds for refusal to participate in accordance with Article 17 of the Law of Ukraine “On Public Procurement”.

status:

string

OpenContracting Description: The current status of the award drawn from the awardStatus codelist.

Possible values are:

  • pending - the award is under review of qualification committee
  • unsuccessful - the award has been rejected by qualification comittee
  • active - the tender is awarded to the bidder from the bid_id
  • cancelled - the award has been cancelled by complaint review body
date:

string, Date, auto-generated, read-only

OpenContracting Description: The date of the contract award.

value:

List of Value objects, auto-generated, read-only

OpenContracting Description: The total value of this award.

suppliers:

List of Organization objects, auto-generated, read-only

OpenContracting Description: The suppliers awarded with this award.

items:

List of Item objects, auto-generated, read-only

OpenContracting Description: The goods and services awarded in this award, broken into line items wherever possible. Items should not be duplicated, but the quantity specified instead.

documents:

List of Document objects

OpenContracting Description: All documents and attachments related to the award, including any notices.

complaints:

List of Complaint objects

complaintPeriod:
 

Period

The timeframe when complaints can be submitted.

lotID:

string

Id of related Lot.

Question

Schema

id:

uid, auto-generated

author:

Organization, required

Who is asking a question (contactPoint - person, identification - organization that person represents).

title:

string, required

Title of the question.

description:

string

Description of the question.

date:

string, Date, auto-generated

Date of posting.

answer:

string

Answer for the question asked.

questionOf:

string

Possible values are:

  • tender
  • item
  • lot
relatedItem:

string

Id of related Lot or Item.

Complaint

Schema

id:

uid, auto-generated

author:

Organization, required

Organization filing a complaint (contactPoint - person, identification - organization that person represents).

title:

string, required

Title of the complaint.

description:

Description of the issue.

date:

string, Date, auto-generated

Date of posting.

dateSubmitted:

string, Date, auto-generated

Date when claim was submitted.

dateAnswered:

string, Date, auto-generated

Date when Procuring entity answered the claim.

dateEscalated:

string, Date, auto-generated

Date of claim to complaint escalation.

dateDecision:

string, Date, auto-generated

Date of complaint decision.

dateCanceled:

string, Date, auto-generated

Date of cancelling.

status:

string

Possible values are:

  • draft
  • claim
  • answered
  • pending
  • invalid
  • declined
  • resolved
  • cancelled
  • accepted
type:

string

Possible values of type are:

  • claim
  • complaint
resolution:

string

Resolution of Procuring entity.

resolutionType:

string

Possible values of resolution type are:

  • invalid
  • declined
  • resolved
satisfied:

bool

Claim is satisfied?

decision:

string

Reviewer decision.

cancellationReason:
 

string

Cancellation reason.

documents:

List of Document objects

relatedLot:

string

Id of related Lot.

tendererAction:

string

Tenderer action.

tendererActionDate:
 

string, Date, auto-generated

Date of tenderer action.

acceptance:

bool

Claim is satisfied?

rejectReason:

string

Possible values of reject reason are:

  • lawNonСompliance - law non compliance
  • noPaymentReceived - no payment received
  • buyerViolationsСorrected - violations were corrected by Procuring entity
rejectReasonDescription:
 

string

Reject reason description.

reviewDate:

string, Date, auto-generated

Date of review.

reviewPlace:

string

Place of review.

Contract

Schema

id:

uid, auto-generated

OpenContracting Description: The identifier for this contract.

awardID:

string, required

OpenContracting Description: The Award.id against which this contract is being issued.

contractID:

string, auto-generated, read-only

contractNumber:

string

title:

string, required

OpenContracting Description: Contract title

description:

string

OpenContracting Description: Contract description

status:

string, required

OpenContracting Description: The current status of the contract.

Possible values are:

  • pending - this contract has been proposed, but is not yet in force. It may be awaiting signature.
  • active - this contract has been signed by all the parties, and is now legally in force.
  • cancelled - this contract has been cancelled prior to being signed.
  • terminated - this contract was signed and in force, and has now come to a close. This may be due to a successful completion of the contract, or may be early termination due to some non-completion issue.
period:

Period

OpenContracting Description: The start and end date for the contract.

items:

List of Item objects, auto-generated, read-only

OpenContracting Description: The goods, services, and any intangible outcomes in this contract. Note: If the items are the same as the award do not repeat.

suppliers:

List of Organization objects, auto-generated, read-only

value:

Value object, auto-generated, read-only

OpenContracting Description: The total value of this contract.

dateSigned:

string, Date, auto-generated

OpenContracting Description: The date when the contract was signed. In the case of multiple signatures, the date of the last signature.

date:

string, Date

The date when the contract was changed or activated.

documents:

List of Document objects

OpenContracting Description: All documents and attachments related to the contract, including any notices.

Period

Schema

startDate:

string, Date

OpenContracting Description: The start date for the period.

endDate:

string, required, Date

OpenContracting Description: The end date for the period.

startDate should always precede endDate.

Date

Date/time in Date Format: ISO 8601.

Value

Schema

amount:

float, required

OpenContracting Description: Amount as a number.

Should be positive.

currency:

string, required

OpenContracting Description: The currency in 3-letter ISO 4217 format.

valueAddedTaxIncluded:
 

bool, required

Revision

Schema

date:

string, Date

Date when changes were recorded.

changes:

List of Change objects

Cancellation

Schema

id:

uid, auto-generated

reason:

string, multilingual, required

The reason, why Tender is being cancelled.

status:

string

Possible values are:
pending:Default. The request is being prepared.
active:Cancellation activated.
documents:

List of Document objects

Documents accompanying the Cancellation: Protocol of Tender Committee with decision to cancel the Tender.

date:

string, Date

Cancellation date.

cancellationOf:

string

Possible values are:

  • tender
  • lot
relatedLot:

string

Id of related Lot.

Feature

Schema

code:

string, auto-generated

Code of the feature.

featureOf:

string, required

Possible values are:

  • tenderer
  • lot
  • item
relatedItem:

string

Id of related item.

title:

string, multilingual, required

Title of the feature.

description:

string, multilingual

Description of the feature.

enum:

list

List of values:

value:

float, required

Value of the feature.

title:

string, multilingual, required

Title of the value.

description:

string, multilingual

Description of the value.

Complaint Workflow

For more detailed information read Complaints.

Tender Conditions Claims/Complaints

digraph G {
    rankdir=LR;
    {rank=same; mistaken; invalid; resolved; declined; stopped; cancelled;}
    subgraph cluster_claim {
        label = "claim";
        claim; answered;
    }
    subgraph cluster_complaint {
        label = "complaint";
        pending; satisfied; accepted; stopping;
    }
    claim -> answered;
    satisfied -> resolved;
    edge[style=dashed];
    answered -> {pending,resolved};
    draft -> {claim,pending};
    claim -> pending;
    {draft,claim,answered} -> cancelled;
    {pending,accepted} -> stopping;
    edge[style=bold];
    accepted -> {declined,satisfied,stopped};
    pending -> {accepted,invalid,stopped};
    stopping -> {stopped,invalid,declined,satisfied};
    {pending;stopping} -> mistaken;
    edge[label="auction" style=dotted];
    answered -> {declined,resolved,invalid};
}

Claim/Complaint Retrieval

Tender Conditions Claim/Complaint Retrieval

You can list all Tender Conditions Claims/Complaints:

GET /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "resolved",
      "dateDecision": "2017-06-21T16:09:22.935844+03:00",
      "documents": [
        {
          "author": "complaint_owner",
          "title": "Complaint_Attachement.pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T16:09:20.845593+03:00",
          "id": "88ccb2488c7841dcaf11779a9e473ea8",
          "dateModified": "2017-06-21T16:09:20.845635+03:00"
        },
        {
          "author": "aboveThresholdReviewers",
          "title": "ComplaintResolution.pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/31361a5b20df4ea89e93a039d03ae6e1?download=b28963f5442449f1906c0e5a4c652380",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T16:09:22.693125+03:00",
          "id": "31361a5b20df4ea89e93a039d03ae6e1",
          "dateModified": "2017-06-21T16:09:22.693163+03:00"
        }
      ],
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "title": "Недостатньо інформації",
      "tendererAction": "Умови виправлено",
      "tendererActionDate": "2017-06-21T16:09:23.393951+03:00",
      "dateSubmitted": "2017-06-21T16:09:21.262859+03:00",
      "complaintID": "UA-2017-06-21-000001.1",
      "date": "2017-06-21T16:09:23.401604+03:00",
      "acceptance": true,
      "type": "complaint",
      "id": "049ab535aeb84789a56318014a00aade",
      "dateAccepted": "2017-06-21T16:09:22.170148+03:00"
    },
    {
      "status": "resolved",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "resolutionType": "resolved",
      "type": "claim",
      "satisfied": true,
      "dateAnswered": "2017-06-21T16:09:21.367705+03:00",
      "complaintID": "UA-2017-06-21-000001.2",
      "date": "2017-06-21T16:09:21.577072+03:00",
      "resolution": "Виправлено неконкурентні умови",
      "id": "0373c139d1164fa3afd41a4677e13bda"
    },
    {
      "status": "declined",
      "dateDecision": "2017-06-21T16:09:23.082207+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": true,
      "dateAccepted": "2017-06-21T16:09:22.300593+03:00",
      "dateSubmitted": "2017-06-21T16:09:21.071199+03:00",
      "complaintID": "UA-2017-06-21-000001.3",
      "date": "2017-06-21T16:09:23.089894+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "be4b982fe88a48b494da7d4582392508"
    },
    {
      "status": "invalid",
      "dateDecision": "2017-06-21T16:09:22.029842+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "resolutionType": "invalid",
      "type": "complaint",
      "acceptance": false,
      "satisfied": false,
      "dateEscalated": "2017-06-21T16:09:21.683137+03:00",
      "dateAnswered": "2017-06-21T16:09:21.468456+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "complaintID": "UA-2017-06-21-000001.4",
      "date": "2017-06-21T16:09:22.037489+03:00",
      "resolution": "Вимога не відповідає предмету закупівлі",
      "id": "e276da503cc64421b95e2384b04a2905"
    },
    {
      "status": "stopped",
      "dateDecision": "2017-06-21T16:09:23.232954+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "decision": "Тендер скасовується замовником",
      "acceptance": true,
      "dateCanceled": "2017-06-21T16:09:23.232993+03:00",
      "dateAccepted": "2017-06-21T16:09:22.432463+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T16:09:21.786661+03:00",
      "complaintID": "UA-2017-06-21-000001.5",
      "date": "2017-06-21T16:09:23.240517+03:00",
      "type": "complaint",
      "id": "336a83354d5c4aaa8e04848540ef1289"
    },
    {
      "status": "stopped",
      "dateDecision": "2017-06-21T16:09:23.702289+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "decision": "Тендер скасовується замовником",
      "acceptance": true,
      "cancellationReason": "Тендер скасовується замовником",
      "dateCanceled": "2017-06-21T16:09:23.547765+03:00",
      "dateAccepted": "2017-06-21T16:09:22.563554+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T16:09:21.900854+03:00",
      "complaintID": "UA-2017-06-21-000001.6",
      "date": "2017-06-21T16:09:23.711258+03:00",
      "type": "complaint",
      "id": "b94097c8f3b747ecbec7cc86b4cbb0b0"
    },
    {
      "status": "cancelled",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "cancellationReason": "Умови виправлено",
      "dateCanceled": "2017-06-21T16:09:24.020699+03:00",
      "complaintID": "UA-2017-06-21-000001.7",
      "date": "2017-06-21T16:09:24.029153+03:00",
      "type": "claim",
      "id": "f2cabe6d19dd473bb09750ce13c72e86"
    }
  ]
}

And check individual complaint or claim:

GET /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "dateDecision": "2017-06-21T16:09:22.935844+03:00",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:20.845593+03:00",
        "id": "88ccb2488c7841dcaf11779a9e473ea8",
        "dateModified": "2017-06-21T16:09:20.845635+03:00"
      },
      {
        "author": "aboveThresholdReviewers",
        "title": "ComplaintResolution.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/31361a5b20df4ea89e93a039d03ae6e1?download=b28963f5442449f1906c0e5a4c652380",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:22.693125+03:00",
        "id": "31361a5b20df4ea89e93a039d03ae6e1",
        "dateModified": "2017-06-21T16:09:22.693163+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "tendererAction": "Умови виправлено",
    "tendererActionDate": "2017-06-21T16:09:23.393951+03:00",
    "dateSubmitted": "2017-06-21T16:09:21.262859+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:23.401604+03:00",
    "acceptance": true,
    "type": "complaint",
    "id": "049ab535aeb84789a56318014a00aade",
    "dateAccepted": "2017-06-21T16:09:22.170148+03:00"
  }
}

Claim Submission

If tender conditions are favoriting particular supplier, or in any other viable case, any registered user can submit Tender Conditions Claim.

Tender Conditions Claim Submission (with documents)

At first create a claim:

POST /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1682
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": "13313462",
        "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.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade
{
  "access": {
    "token": "77957aa64dc24b669d681339dc47b154"
  },
  "data": {
    "status": "draft",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:20.786441+03:00",
    "type": "claim",
    "id": "049ab535aeb84789a56318014a00aade"
  }
}

Then upload necessary documents:

POST /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents?acc_token=77957aa64dc24b669d681339dc47b154 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 201
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy986692153728$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8
{
  "data": {
    "author": "complaint_owner",
    "title": "Complaint_Attachement.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:20.845593+03:00",
    "id": "88ccb2488c7841dcaf11779a9e473ea8",
    "dateModified": "2017-06-21T16:09:20.845635+03:00"
  }
}

Submit tender conditions claim:

PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade?acc_token=77957aa64dc24b669d681339dc47b154 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 29
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "claim"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "claim",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:20.845593+03:00",
        "id": "88ccb2488c7841dcaf11779a9e473ea8",
        "dateModified": "2017-06-21T16:09:20.845635+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T16:09:20.920952+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:20.924906+03:00",
    "type": "claim",
    "id": "049ab535aeb84789a56318014a00aade"
  }
}
Tender Conditions Claim Submission (without documents)

You can submit claim that does not need additional documents:

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/0373c139d1164fa3afd41a4677e13bda
{
  "access": {
    "token": "fc5c888a84014dadb442d694574075a9"
  },
  "data": {
    "status": "claim",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "complaintID": "UA-2017-06-21-000001.2",
    "date": "2017-06-21T16:09:20.990024+03:00",
    "type": "claim",
    "id": "0373c139d1164fa3afd41a4677e13bda"
  }
}

Complaint Submission

If tender conditions are favoriting particular supplier, or in any other viable case, any registered user can submit Tender Conditions Complaint.

Tender Conditions Complaint Submission (with documents)

At first create a draft:

POST /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1682
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": "13313462",
        "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.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade
{
  "access": {
    "token": "77957aa64dc24b669d681339dc47b154"
  },
  "data": {
    "status": "draft",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:20.786441+03:00",
    "type": "claim",
    "id": "049ab535aeb84789a56318014a00aade"
  }
}

Then upload necessary documents:

POST /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents?acc_token=77957aa64dc24b669d681339dc47b154 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 201
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy986692153728$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8
{
  "data": {
    "author": "complaint_owner",
    "title": "Complaint_Attachement.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:20.845593+03:00",
    "id": "88ccb2488c7841dcaf11779a9e473ea8",
    "dateModified": "2017-06-21T16:09:20.845635+03:00"
  }
}

Submit tender conditions complaint:

PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade?acc_token=77957aa64dc24b669d681339dc47b154 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": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:20.845593+03:00",
        "id": "88ccb2488c7841dcaf11779a9e473ea8",
        "dateModified": "2017-06-21T16:09:20.845635+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateSubmitted": "2017-06-21T16:09:21.262859+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:21.268638+03:00",
    "type": "complaint",
    "id": "049ab535aeb84789a56318014a00aade"
  }
}
Tender Conditions Complaint Submission (without documents)

You can submit complaint that does not need additional documents:

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/be4b982fe88a48b494da7d4582392508
{
  "access": {
    "token": "738fef8366bf4466a1aacf4fde41e183"
  },
  "data": {
    "status": "pending",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T16:09:21.071199+03:00",
    "complaintID": "UA-2017-06-21-000001.3",
    "date": "2017-06-21T16:09:21.069307+03:00",
    "type": "complaint",
    "id": "be4b982fe88a48b494da7d4582392508"
  }
}

Claim’s Answer

Answer to resolved claim
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/0373c139d1164fa3afd41a4677e13bda?acc_token=6604884d6b9d49e5a074d82f27ffae6d HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 250
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "answered",
    "resolutionType": "resolved",
    "resolution": "Виправлено неконкурентні умови"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "answered",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "resolutionType": "resolved",
    "type": "claim",
    "dateAnswered": "2017-06-21T16:09:21.367705+03:00",
    "complaintID": "UA-2017-06-21-000001.2",
    "date": "2017-06-21T16:09:21.373611+03:00",
    "resolution": "Виправлено неконкурентні умови",
    "id": "0373c139d1164fa3afd41a4677e13bda"
  }
}

Satisfied Claim

Satisfying resolution
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/0373c139d1164fa3afd41a4677e13bda?acc_token=fc5c888a84014dadb442d694574075a9 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 51
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "resolved",
    "satisfied": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "resolutionType": "resolved",
    "type": "claim",
    "satisfied": true,
    "dateAnswered": "2017-06-21T16:09:21.367705+03:00",
    "complaintID": "UA-2017-06-21-000001.2",
    "date": "2017-06-21T16:09:21.577072+03:00",
    "resolution": "Виправлено неконкурентні умови",
    "id": "0373c139d1164fa3afd41a4677e13bda"
  }
}
Escalate claim to complaint
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/e276da503cc64421b95e2384b04a2905?acc_token=e1ef8f4fcdca42eda0013814ac092fef HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 51
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending",
    "satisfied": false
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "resolutionType": "invalid",
    "type": "complaint",
    "title": "Недостатньо інформації",
    "satisfied": false,
    "dateEscalated": "2017-06-21T16:09:21.683137+03:00",
    "dateAnswered": "2017-06-21T16:09:21.468456+03:00",
    "complaintID": "UA-2017-06-21-000001.4",
    "date": "2017-06-21T16:09:21.689205+03:00",
    "resolution": "Вимога не відповідає предмету закупівлі",
    "id": "e276da503cc64421b95e2384b04a2905"
  }
}

Complaint Resolution

Rejecting Tender Conditions Complaint
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/e276da503cc64421b95e2384b04a2905 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "invalid"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "invalid",
    "dateDecision": "2017-06-21T16:09:22.029842+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "resolutionType": "invalid",
    "type": "complaint",
    "acceptance": false,
    "satisfied": false,
    "dateEscalated": "2017-06-21T16:09:21.683137+03:00",
    "dateAnswered": "2017-06-21T16:09:21.468456+03:00",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "complaintID": "UA-2017-06-21-000001.4",
    "date": "2017-06-21T16:09:22.037489+03:00",
    "resolution": "Вимога не відповідає предмету закупівлі",
    "id": "e276da503cc64421b95e2384b04a2905"
  }
}
Accepting Tender Conditions Complaint
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "accepted"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "accepted",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:20.845593+03:00",
        "id": "88ccb2488c7841dcaf11779a9e473ea8",
        "dateModified": "2017-06-21T16:09:20.845635+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateAccepted": "2017-06-21T16:09:22.170148+03:00",
    "dateSubmitted": "2017-06-21T16:09:21.262859+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:22.177705+03:00",
    "acceptance": true,
    "type": "complaint",
    "id": "049ab535aeb84789a56318014a00aade"
  }
}
Submitting Tender Conditions Complaint Resolution

The Complaint Review Body uploads the resolution document:

POST /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy921944783055$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/31361a5b20df4ea89e93a039d03ae6e1
{
  "data": {
    "author": "aboveThresholdReviewers",
    "title": "ComplaintResolution.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/31361a5b20df4ea89e93a039d03ae6e1?download=b28963f5442449f1906c0e5a4c652380",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:22.693125+03:00",
    "id": "31361a5b20df4ea89e93a039d03ae6e1",
    "dateModified": "2017-06-21T16:09:22.693163+03:00"
  }
}

And either resolves complaint:

PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 33
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "satisfied"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "satisfied",
    "dateDecision": "2017-06-21T16:09:22.935844+03:00",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:20.845593+03:00",
        "id": "88ccb2488c7841dcaf11779a9e473ea8",
        "dateModified": "2017-06-21T16:09:20.845635+03:00"
      },
      {
        "author": "aboveThresholdReviewers",
        "title": "ComplaintResolution.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/31361a5b20df4ea89e93a039d03ae6e1?download=b28963f5442449f1906c0e5a4c652380",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:22.693125+03:00",
        "id": "31361a5b20df4ea89e93a039d03ae6e1",
        "dateModified": "2017-06-21T16:09:22.693163+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateAccepted": "2017-06-21T16:09:22.170148+03:00",
    "dateSubmitted": "2017-06-21T16:09:21.262859+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:22.943907+03:00",
    "acceptance": true,
    "type": "complaint",
    "id": "049ab535aeb84789a56318014a00aade"
  }
}

Or declines it:

PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/be4b982fe88a48b494da7d4582392508 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "declined"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "declined",
    "dateDecision": "2017-06-21T16:09:23.082207+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T16:09:22.300593+03:00",
    "dateSubmitted": "2017-06-21T16:09:21.071199+03:00",
    "complaintID": "UA-2017-06-21-000001.3",
    "date": "2017-06-21T16:09:23.089894+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "be4b982fe88a48b494da7d4582392508"
  }
}
Submitting Resolution Confirmation
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade?acc_token=6604884d6b9d49e5a074d82f27ffae6d HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 145
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "resolved",
    "tendererAction": "Умови виправлено"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "dateDecision": "2017-06-21T16:09:22.935844+03:00",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/88ccb2488c7841dcaf11779a9e473ea8?download=22c9c8df023f406db6807e4bd52e52e9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:20.845593+03:00",
        "id": "88ccb2488c7841dcaf11779a9e473ea8",
        "dateModified": "2017-06-21T16:09:20.845635+03:00"
      },
      {
        "author": "aboveThresholdReviewers",
        "title": "ComplaintResolution.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/049ab535aeb84789a56318014a00aade/documents/31361a5b20df4ea89e93a039d03ae6e1?download=b28963f5442449f1906c0e5a4c652380",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:22.693125+03:00",
        "id": "31361a5b20df4ea89e93a039d03ae6e1",
        "dateModified": "2017-06-21T16:09:22.693163+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "tendererAction": "Умови виправлено",
    "tendererActionDate": "2017-06-21T16:09:23.393951+03:00",
    "dateSubmitted": "2017-06-21T16:09:21.262859+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:23.401604+03:00",
    "acceptance": true,
    "type": "complaint",
    "id": "049ab535aeb84789a56318014a00aade",
    "dateAccepted": "2017-06-21T16:09:22.170148+03:00"
  }
}

Cancelling Tender Conditions Complaint

Cancelling not accepted complaint
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/f2cabe6d19dd473bb09750ce13c72e86?acc_token=7e6d9d7b24a443fdb054a0591d1ce3a1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 150
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "cancelled",
    "cancellationReason": "Умови виправлено"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "cancelled",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "cancellationReason": "Умови виправлено",
    "dateCanceled": "2017-06-21T16:09:24.020699+03:00",
    "complaintID": "UA-2017-06-21-000001.7",
    "date": "2017-06-21T16:09:24.029153+03:00",
    "type": "claim",
    "id": "f2cabe6d19dd473bb09750ce13c72e86"
  }
}
Cancelling accepted complaint by Complainant
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/b94097c8f3b747ecbec7cc86b4cbb0b0?acc_token=1872d5dde73d4be092ef71961dc5cae0 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 228
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "stopping",
    "cancellationReason": "Тендер скасовується замовником"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "stopping",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "cancellationReason": "Тендер скасовується замовником",
    "dateCanceled": "2017-06-21T16:09:23.547765+03:00",
    "dateAccepted": "2017-06-21T16:09:22.563554+03:00",
    "dateSubmitted": "2017-06-21T16:09:21.900854+03:00",
    "complaintID": "UA-2017-06-21-000001.6",
    "date": "2017-06-21T16:09:23.555694+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "b94097c8f3b747ecbec7cc86b4cbb0b0"
  }
}
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/b94097c8f3b747ecbec7cc86b4cbb0b0 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 217
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "stopped",
    "decision": "Тендер скасовується замовником"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "stopped",
    "dateDecision": "2017-06-21T16:09:23.702289+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "decision": "Тендер скасовується замовником",
    "acceptance": true,
    "cancellationReason": "Тендер скасовується замовником",
    "dateCanceled": "2017-06-21T16:09:23.547765+03:00",
    "dateAccepted": "2017-06-21T16:09:22.563554+03:00",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateSubmitted": "2017-06-21T16:09:21.900854+03:00",
    "complaintID": "UA-2017-06-21-000001.6",
    "date": "2017-06-21T16:09:23.711258+03:00",
    "type": "complaint",
    "id": "b94097c8f3b747ecbec7cc86b4cbb0b0"
  }
}
Cancelling accepted complaint by Reviewer
PATCH /api/2.3/tenders/95406b89097549e48c364931fcf50fc9/complaints/336a83354d5c4aaa8e04848540ef1289 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 217
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "stopped",
    "decision": "Тендер скасовується замовником"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "stopped",
    "dateDecision": "2017-06-21T16:09:23.232954+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "decision": "Тендер скасовується замовником",
    "acceptance": true,
    "dateCanceled": "2017-06-21T16:09:23.232993+03:00",
    "dateAccepted": "2017-06-21T16:09:22.432463+03:00",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateSubmitted": "2017-06-21T16:09:21.786661+03:00",
    "complaintID": "UA-2017-06-21-000001.5",
    "date": "2017-06-21T16:09:23.240517+03:00",
    "type": "complaint",
    "id": "336a83354d5c4aaa8e04848540ef1289"
  }
}

Tender Award Claims/Complaints

digraph G {
    rankdir=LR;
    {rank=same; mistaken; invalid; resolved; declined; stopped; cancelled;}
    subgraph cluster_complaint {
        label = "complaint";
        pending; accepted; stopping; satisfied;
    }
    subgraph cluster_claim {
        label = "claim";
        claim; answered;
    }
    claim -> answered;
    satisfied -> resolved;
    edge[style=dashed];
    draft -> {claim,pending};
    {draft,claim,answered} -> cancelled;
    pending -> stopping;
    accepted -> stopping;
    edge[style=bold];
    pending -> {accepted,invalid,stopped};
    stopping -> {stopped,invalid,declined,satisfied};
    accepted -> {declined,satisfied,stopped};
    {pending;stopping} -> mistaken;
}

Claim/Complaint Retrieval

Tender Award Claim/Complaint Retrieval

You can list all Tender Award Claims/Complaints:

GET /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "satisfied",
      "dateDecision": "2017-06-21T16:09:17.389508+03:00",
      "documents": [
        {
          "author": "complaint_owner",
          "title": "Complaint_Attachement.pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T16:09:13.189927+03:00",
          "id": "cf48e570d8544515a33154f23e96f3a4",
          "dateModified": "2017-06-21T16:09:13.189972+03:00"
        },
        {
          "author": "aboveThresholdReviewers",
          "title": "ComplaintResolution.pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/fc95600fd74b40e492090589375a6b59?download=1340173509594e039f3d914c97a08c5c",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T16:09:17.135295+03:00",
          "id": "fc95600fd74b40e492090589375a6b59",
          "dateModified": "2017-06-21T16:09:17.135353+03:00"
        }
      ],
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateAccepted": "2017-06-21T16:09:16.210910+03:00",
      "dateSubmitted": "2017-06-21T16:09:13.327594+03:00",
      "complaintID": "UA-2017-06-21-000001.1",
      "date": "2017-06-21T16:09:17.401377+03:00",
      "acceptance": true,
      "type": "complaint",
      "id": "d84af87c20d5478fb80b2589a974eab5"
    },
    {
      "status": "invalid",
      "dateDecision": "2017-06-21T16:09:15.982993+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": false,
      "dateSubmitted": "2017-06-21T16:09:13.456287+03:00",
      "complaintID": "UA-2017-06-21-000001.2",
      "date": "2017-06-21T16:09:15.994863+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "37d082b804054e3dba05b313b218c94d"
    },
    {
      "status": "declined",
      "dateDecision": "2017-06-21T16:09:17.633526+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": true,
      "dateAccepted": "2017-06-21T16:09:16.440758+03:00",
      "dateSubmitted": "2017-06-21T16:09:13.600871+03:00",
      "complaintID": "UA-2017-06-21-000001.3",
      "date": "2017-06-21T16:09:17.645571+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "1f5ea244b9dd46cc959b7c8946606b1d"
    },
    {
      "status": "accepted",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": true,
      "dateAccepted": "2017-06-21T16:09:16.664614+03:00",
      "dateSubmitted": "2017-06-21T16:09:13.770931+03:00",
      "complaintID": "UA-2017-06-21-000001.4",
      "date": "2017-06-21T16:09:16.676280+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "9722b5f153b648b59e15420d378771a1"
    },
    {
      "status": "stopped",
      "dateDecision": "2017-06-21T16:09:17.880080+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "decision": "Тендер скасовується замовником",
      "acceptance": true,
      "dateCanceled": "2017-06-21T16:09:17.880106+03:00",
      "dateAccepted": "2017-06-21T16:09:16.894070+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T16:09:13.984716+03:00",
      "complaintID": "UA-2017-06-21-000001.5",
      "date": "2017-06-21T16:09:17.892041+03:00",
      "type": "complaint",
      "id": "c96ada9a04984b3f97ec5a5b6b98fc80"
    },
    {
      "status": "answered",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "resolutionType": "resolved",
      "type": "claim",
      "title": "Недостатньо інформації",
      "satisfied": true,
      "dateAnswered": "2017-06-21T16:09:14.468823+03:00",
      "dateSubmitted": "2017-06-21T16:09:14.230231+03:00",
      "complaintID": "UA-2017-06-21-000001.6",
      "date": "2017-06-21T16:09:14.483594+03:00",
      "resolution": "Умови виправлено, вибір переможня буде розгянуто повторно",
      "id": "f59b4014cb5b4513aaec1051c0d291ff"
    },
    {
      "status": "answered",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "resolutionType": "invalid",
      "type": "claim",
      "title": "Недостатньо інформації",
      "satisfied": false,
      "dateAnswered": "2017-06-21T16:09:15.108230+03:00",
      "dateSubmitted": "2017-06-21T16:09:14.905941+03:00",
      "complaintID": "UA-2017-06-21-000001.7",
      "date": "2017-06-21T16:09:15.119447+03:00",
      "resolution": "Вимога не відповідає предмету закупівлі",
      "id": "ff735d3cac574529af7a51506da0ff9a"
    },
    {
      "status": "claim",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "title": "Недостатньо інформації",
      "dateSubmitted": "2017-06-21T16:09:15.759765+03:00",
      "complaintID": "UA-2017-06-21-000001.8",
      "date": "2017-06-21T16:09:15.771658+03:00",
      "type": "claim",
      "id": "bbbd0a99715f4da58cf807b3f50e14ba"
    }
  ]
}

And check individual complaint:

GET /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5 HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "satisfied",
    "dateDecision": "2017-06-21T16:09:17.389508+03:00",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:13.189927+03:00",
        "id": "cf48e570d8544515a33154f23e96f3a4",
        "dateModified": "2017-06-21T16:09:13.189972+03:00"
      },
      {
        "author": "aboveThresholdReviewers",
        "title": "ComplaintResolution.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/fc95600fd74b40e492090589375a6b59?download=1340173509594e039f3d914c97a08c5c",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:17.135295+03:00",
        "id": "fc95600fd74b40e492090589375a6b59",
        "dateModified": "2017-06-21T16:09:17.135353+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateAccepted": "2017-06-21T16:09:16.210910+03:00",
    "dateSubmitted": "2017-06-21T16:09:13.327594+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:17.401377+03:00",
    "acceptance": true,
    "type": "complaint",
    "id": "d84af87c20d5478fb80b2589a974eab5"
  }
}

Claim Submission

If tender award is favoriting certain supplier, or in any other viable case, participants can submit Tender Award Claim.

Tender Award Claim Submission (with documents)

At first create a claim. Send POST request with bidder’s access token.

POST /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints?acc_token=23a62f05b22b4a9e975b97206d0b5276 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1682
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": "13313462",
        "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.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5
{
  "access": {
    "token": "a7d7b1bb811342678199adb4835e3f2a"
  },
  "data": {
    "status": "draft",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:12.867285+03:00",
    "type": "claim",
    "id": "d84af87c20d5478fb80b2589a974eab5"
  }
}

Then upload necessary documents:

POST /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents?acc_token=a7d7b1bb811342678199adb4835e3f2a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 201
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy919554791378$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4
{
  "data": {
    "author": "complaint_owner",
    "title": "Complaint_Attachement.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:13.189927+03:00",
    "id": "cf48e570d8544515a33154f23e96f3a4",
    "dateModified": "2017-06-21T16:09:13.189972+03:00"
  }
}

Submit tender award claim:

PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/bbbd0a99715f4da58cf807b3f50e14ba?acc_token=3ee3936c1a43485e8e548d23788f65b3 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 29
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "claim"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "claim",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T16:09:15.759765+03:00",
    "complaintID": "UA-2017-06-21-000001.8",
    "date": "2017-06-21T16:09:15.771658+03:00",
    "type": "claim",
    "id": "bbbd0a99715f4da58cf807b3f50e14ba"
  }
}
Tender Award Claim Submission (without documents)

You can submit claim that does not need additional documents:

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/f59b4014cb5b4513aaec1051c0d291ff
{
  "access": {
    "token": "7cb5d9330ce840c5957ca3cf9dca3b0f"
  },
  "data": {
    "status": "claim",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T16:09:14.230231+03:00",
    "complaintID": "UA-2017-06-21-000001.6",
    "date": "2017-06-21T16:09:14.229944+03:00",
    "type": "claim",
    "id": "f59b4014cb5b4513aaec1051c0d291ff"
  }
}

Complaint Submission

If tender award is favoriting certain supplier, or in any other viable case, participants can submit Tender Award Complaint.

Tender Award Complaint Submission (with documents)

At first create a complaint. Send POST request with bidder’s access token.

POST /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints?acc_token=23a62f05b22b4a9e975b97206d0b5276 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1682
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": "13313462",
        "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.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5
{
  "access": {
    "token": "a7d7b1bb811342678199adb4835e3f2a"
  },
  "data": {
    "status": "draft",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:12.867285+03:00",
    "type": "claim",
    "id": "d84af87c20d5478fb80b2589a974eab5"
  }
}

Then upload necessary documents:

POST /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents?acc_token=a7d7b1bb811342678199adb4835e3f2a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 201
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy919554791378$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4
{
  "data": {
    "author": "complaint_owner",
    "title": "Complaint_Attachement.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:13.189927+03:00",
    "id": "cf48e570d8544515a33154f23e96f3a4",
    "dateModified": "2017-06-21T16:09:13.189972+03:00"
  }
}

Submit tender award complaint:

PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5?acc_token=a7d7b1bb811342678199adb4835e3f2a 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": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:13.189927+03:00",
        "id": "cf48e570d8544515a33154f23e96f3a4",
        "dateModified": "2017-06-21T16:09:13.189972+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateSubmitted": "2017-06-21T16:09:13.327594+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:13.334659+03:00",
    "type": "complaint",
    "id": "d84af87c20d5478fb80b2589a974eab5"
  }
}
Tender Award Complaint Submission (without documents)

You can submit complaint that does not need additional documents:

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/37d082b804054e3dba05b313b218c94d
{
  "access": {
    "token": "497e3a53c9fc4dbabfd69a7146d30b43"
  },
  "data": {
    "status": "pending",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T16:09:13.456287+03:00",
    "complaintID": "UA-2017-06-21-000001.2",
    "date": "2017-06-21T16:09:13.456110+03:00",
    "type": "complaint",
    "id": "37d082b804054e3dba05b313b218c94d"
  }
}

Claim’s Answer

Answer to resolved claim
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/f59b4014cb5b4513aaec1051c0d291ff?acc_token=fc209776af50475fb0b3ddeeae2afdeb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 387
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "answered",
    "resolutionType": "resolved",
    "resolution": "Умови виправлено, вибір переможня буде розгянуто повторно"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "answered",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "resolutionType": "resolved",
    "type": "claim",
    "title": "Недостатньо інформації",
    "dateAnswered": "2017-06-21T16:09:14.468823+03:00",
    "dateSubmitted": "2017-06-21T16:09:14.230231+03:00",
    "complaintID": "UA-2017-06-21-000001.6",
    "date": "2017-06-21T16:09:14.483594+03:00",
    "resolution": "Умови виправлено, вибір переможня буде розгянуто повторно",
    "id": "f59b4014cb5b4513aaec1051c0d291ff"
  }
}

Satisfied Claim

Satisfying resolution
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/f59b4014cb5b4513aaec1051c0d291ff?acc_token=7cb5d9330ce840c5957ca3cf9dca3b0f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 29
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "satisfied": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "answered",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "resolutionType": "resolved",
    "type": "claim",
    "title": "Недостатньо інформації",
    "satisfied": true,
    "dateAnswered": "2017-06-21T16:09:14.468823+03:00",
    "dateSubmitted": "2017-06-21T16:09:14.230231+03:00",
    "complaintID": "UA-2017-06-21-000001.6",
    "date": "2017-06-21T16:09:14.483594+03:00",
    "resolution": "Умови виправлено, вибір переможня буде розгянуто повторно",
    "id": "f59b4014cb5b4513aaec1051c0d291ff"
  }
}
Unsatisfying resolution
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/ff735d3cac574529af7a51506da0ff9a?acc_token=415f8f6697794a4eb808205b548cefd0 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "satisfied": false
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "answered",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "resolutionType": "invalid",
    "type": "claim",
    "title": "Недостатньо інформації",
    "satisfied": false,
    "dateAnswered": "2017-06-21T16:09:15.108230+03:00",
    "dateSubmitted": "2017-06-21T16:09:14.905941+03:00",
    "complaintID": "UA-2017-06-21-000001.7",
    "date": "2017-06-21T16:09:15.119447+03:00",
    "resolution": "Вимога не відповідає предмету закупівлі",
    "id": "ff735d3cac574529af7a51506da0ff9a"
  }
}

Complaint Resolution

Rejecting Tender Award Complaint
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/37d082b804054e3dba05b313b218c94d HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "invalid"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "invalid",
    "dateDecision": "2017-06-21T16:09:15.982993+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": false,
    "dateSubmitted": "2017-06-21T16:09:13.456287+03:00",
    "complaintID": "UA-2017-06-21-000001.2",
    "date": "2017-06-21T16:09:15.994863+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "37d082b804054e3dba05b313b218c94d"
  }
}
Accepting Tender Award Complaint
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "accepted"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "accepted",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:13.189927+03:00",
        "id": "cf48e570d8544515a33154f23e96f3a4",
        "dateModified": "2017-06-21T16:09:13.189972+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateAccepted": "2017-06-21T16:09:16.210910+03:00",
    "dateSubmitted": "2017-06-21T16:09:13.327594+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:16.222857+03:00",
    "acceptance": true,
    "type": "complaint",
    "id": "d84af87c20d5478fb80b2589a974eab5"
  }
}
Submitting Tender Award Complaint Resolution

The Complaint Review Body uploads the resolution document:

POST /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy466642221711$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/fc95600fd74b40e492090589375a6b59
{
  "data": {
    "author": "aboveThresholdReviewers",
    "title": "ComplaintResolution.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/fc95600fd74b40e492090589375a6b59?download=1340173509594e039f3d914c97a08c5c",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T16:09:17.135295+03:00",
    "id": "fc95600fd74b40e492090589375a6b59",
    "dateModified": "2017-06-21T16:09:17.135353+03:00"
  }
}

And either resolves complaint:

PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 33
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "satisfied"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "satisfied",
    "dateDecision": "2017-06-21T16:09:17.389508+03:00",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:13.189927+03:00",
        "id": "cf48e570d8544515a33154f23e96f3a4",
        "dateModified": "2017-06-21T16:09:13.189972+03:00"
      },
      {
        "author": "aboveThresholdReviewers",
        "title": "ComplaintResolution.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/fc95600fd74b40e492090589375a6b59?download=1340173509594e039f3d914c97a08c5c",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:17.135295+03:00",
        "id": "fc95600fd74b40e492090589375a6b59",
        "dateModified": "2017-06-21T16:09:17.135353+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateAccepted": "2017-06-21T16:09:16.210910+03:00",
    "dateSubmitted": "2017-06-21T16:09:13.327594+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:17.401377+03:00",
    "acceptance": true,
    "type": "complaint",
    "id": "d84af87c20d5478fb80b2589a974eab5"
  }
}

Or declines it:

PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/1f5ea244b9dd46cc959b7c8946606b1d HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "declined"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "declined",
    "dateDecision": "2017-06-21T16:09:17.633526+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T16:09:16.440758+03:00",
    "dateSubmitted": "2017-06-21T16:09:13.600871+03:00",
    "complaintID": "UA-2017-06-21-000001.3",
    "date": "2017-06-21T16:09:17.645571+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "1f5ea244b9dd46cc959b7c8946606b1d"
  }
}
Correcting problems

If tender award complaint was satisfied by the Complaint Review Body, then procuring entity has to correct problems.

One of the possible solutions is award cancellation:

PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3?acc_token=fc209776af50475fb0b3ddeeae2afdeb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 33
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "cancelled"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/12f81f516f3a4989b9f62964d6d15155
{
  "data": {
    "status": "cancelled",
    "eligible": true,
    "suppliers": [
      {
        "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": "м. Львів"
        }
      }
    ],
    "complaintPeriod": {
      "startDate": "2017-06-21T16:09:12.624932+03:00",
      "endDate": "2017-06-21T16:09:19.182994+03:00"
    },
    "bid_id": "3b8be97e68d8446b8c208b8545a4783f",
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2017-06-21T16:09:19.199765+03:00",
    "qualified": true,
    "complaints": [
      {
        "status": "resolved",
        "dateDecision": "2017-06-21T16:09:17.389508+03:00",
        "documents": [
          {
            "author": "complaint_owner",
            "title": "Complaint_Attachement.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T16:09:13.189927+03:00",
            "id": "cf48e570d8544515a33154f23e96f3a4",
            "dateModified": "2017-06-21T16:09:13.189972+03:00"
          },
          {
            "author": "aboveThresholdReviewers",
            "title": "ComplaintResolution.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/fc95600fd74b40e492090589375a6b59?download=1340173509594e039f3d914c97a08c5c",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T16:09:17.135295+03:00",
            "id": "fc95600fd74b40e492090589375a6b59",
            "dateModified": "2017-06-21T16:09:17.135353+03:00"
          }
        ],
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Недостатньо інформації",
        "tendererAction": "Умови виправлено, вибір переможня буде розгянуто повторно",
        "tendererActionDate": "2017-06-21T16:09:18.289197+03:00",
        "dateSubmitted": "2017-06-21T16:09:13.327594+03:00",
        "complaintID": "UA-2017-06-21-000001.1",
        "date": "2017-06-21T16:09:18.301235+03:00",
        "acceptance": true,
        "type": "complaint",
        "id": "d84af87c20d5478fb80b2589a974eab5",
        "dateAccepted": "2017-06-21T16:09:16.210910+03:00"
      },
      {
        "status": "invalid",
        "dateDecision": "2017-06-21T16:09:15.982993+03:00",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "acceptance": false,
        "dateSubmitted": "2017-06-21T16:09:13.456287+03:00",
        "complaintID": "UA-2017-06-21-000001.2",
        "date": "2017-06-21T16:09:15.994863+03:00",
        "title": "Недостатньо інформації",
        "type": "complaint",
        "id": "37d082b804054e3dba05b313b218c94d"
      },
      {
        "status": "declined",
        "dateDecision": "2017-06-21T16:09:17.633526+03:00",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "acceptance": true,
        "dateAccepted": "2017-06-21T16:09:16.440758+03:00",
        "dateSubmitted": "2017-06-21T16:09:13.600871+03:00",
        "complaintID": "UA-2017-06-21-000001.3",
        "date": "2017-06-21T16:09:17.645571+03:00",
        "title": "Недостатньо інформації",
        "type": "complaint",
        "id": "1f5ea244b9dd46cc959b7c8946606b1d"
      },
      {
        "status": "stopped",
        "dateDecision": "2017-06-21T16:09:18.808835+03:00",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "title": "Недостатньо інформації",
        "decision": "Тендер скасовується замовником",
        "acceptance": true,
        "cancellationReason": "Тендер скасовується замовником",
        "dateCanceled": "2017-06-21T16:09:18.538232+03:00",
        "dateAccepted": "2017-06-21T16:09:16.664614+03:00",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "dateSubmitted": "2017-06-21T16:09:13.770931+03:00",
        "complaintID": "UA-2017-06-21-000001.4",
        "date": "2017-06-21T16:09:18.821617+03:00",
        "type": "complaint",
        "id": "9722b5f153b648b59e15420d378771a1"
      },
      {
        "status": "stopped",
        "dateDecision": "2017-06-21T16:09:17.880080+03:00",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "title": "Недостатньо інформації",
        "decision": "Тендер скасовується замовником",
        "acceptance": true,
        "dateCanceled": "2017-06-21T16:09:17.880106+03:00",
        "dateAccepted": "2017-06-21T16:09:16.894070+03:00",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "dateSubmitted": "2017-06-21T16:09:13.984716+03:00",
        "complaintID": "UA-2017-06-21-000001.5",
        "date": "2017-06-21T16:09:17.892041+03:00",
        "type": "complaint",
        "id": "c96ada9a04984b3f97ec5a5b6b98fc80"
      },
      {
        "status": "answered",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "resolutionType": "resolved",
        "type": "claim",
        "title": "Недостатньо інформації",
        "satisfied": true,
        "dateAnswered": "2017-06-21T16:09:14.468823+03:00",
        "dateSubmitted": "2017-06-21T16:09:14.230231+03:00",
        "complaintID": "UA-2017-06-21-000001.6",
        "date": "2017-06-21T16:09:14.483594+03:00",
        "resolution": "Умови виправлено, вибір переможня буде розгянуто повторно",
        "id": "f59b4014cb5b4513aaec1051c0d291ff"
      },
      {
        "status": "answered",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "resolutionType": "invalid",
        "type": "claim",
        "title": "Недостатньо інформації",
        "satisfied": false,
        "dateAnswered": "2017-06-21T16:09:15.108230+03:00",
        "dateSubmitted": "2017-06-21T16:09:14.905941+03:00",
        "complaintID": "UA-2017-06-21-000001.7",
        "date": "2017-06-21T16:09:15.119447+03:00",
        "resolution": "Вимога не відповідає предмету закупівлі",
        "id": "ff735d3cac574529af7a51506da0ff9a"
      },
      {
        "status": "claim",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Недостатньо інформації",
        "dateSubmitted": "2017-06-21T16:09:15.759765+03:00",
        "complaintID": "UA-2017-06-21-000001.8",
        "date": "2017-06-21T16:09:15.771658+03:00",
        "type": "claim",
        "id": "bbbd0a99715f4da58cf807b3f50e14ba"
      }
    ],
    "id": "3430a774ec1c41f480b2fb9294d2a0f3"
  }
}

After award cancellation system generates new award. Its location is present in the Location header of response.

Submitting Resolution Confirmation

When complaint has been successfully resolved, procuring entity submits resolution confirmation.

PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5?acc_token=fc209776af50475fb0b3ddeeae2afdeb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 361
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "resolved",
    "tendererAction": "Умови виправлено, вибір переможня буде розгянуто повторно"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "dateDecision": "2017-06-21T16:09:17.389508+03:00",
    "documents": [
      {
        "author": "complaint_owner",
        "title": "Complaint_Attachement.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/cf48e570d8544515a33154f23e96f3a4?download=dbccdbe07bef4ae7bde978e2196d2a28",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:13.189927+03:00",
        "id": "cf48e570d8544515a33154f23e96f3a4",
        "dateModified": "2017-06-21T16:09:13.189972+03:00"
      },
      {
        "author": "aboveThresholdReviewers",
        "title": "ComplaintResolution.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/d84af87c20d5478fb80b2589a974eab5/documents/fc95600fd74b40e492090589375a6b59?download=1340173509594e039f3d914c97a08c5c",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T16:09:17.135295+03:00",
        "id": "fc95600fd74b40e492090589375a6b59",
        "dateModified": "2017-06-21T16:09:17.135353+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "tendererAction": "Умови виправлено, вибір переможня буде розгянуто повторно",
    "tendererActionDate": "2017-06-21T16:09:18.289197+03:00",
    "dateSubmitted": "2017-06-21T16:09:13.327594+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T16:09:18.301235+03:00",
    "acceptance": true,
    "type": "complaint",
    "id": "d84af87c20d5478fb80b2589a974eab5",
    "dateAccepted": "2017-06-21T16:09:16.210910+03:00"
  }
}
Submitting complaint to a new award
POST /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/12f81f516f3a4989b9f62964d6d15155/complaints?acc_token=23a62f05b22b4a9e975b97206d0b5276 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1682
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": "13313462",
        "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.3/tenders/7e137f2a666348cc89438625519e4438/awards/12f81f516f3a4989b9f62964d6d15155/complaints/99188d0bcb154234b49855391f68c986
{
  "access": {
    "token": "0fe05e2e58e24675bc35b78142bbe127"
  },
  "data": {
    "status": "draft",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "complaintID": "UA-2017-06-21-000001.9",
    "date": "2017-06-21T16:09:19.795012+03:00",
    "type": "claim",
    "id": "99188d0bcb154234b49855391f68c986"
  }
}

Cancelling Tender Award Complaint

Cancelling not accepted complaint
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/12f81f516f3a4989b9f62964d6d15155/complaints/99188d0bcb154234b49855391f68c986?acc_token=0fe05e2e58e24675bc35b78142bbe127 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 150
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "cancelled",
    "cancellationReason": "Умови виправлено"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "cancelled",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "cancellationReason": "Умови виправлено",
    "dateCanceled": "2017-06-21T16:09:20.086509+03:00",
    "complaintID": "UA-2017-06-21-000001.9",
    "date": "2017-06-21T16:09:20.101170+03:00",
    "type": "claim",
    "id": "99188d0bcb154234b49855391f68c986"
  }
}
Cancelling accepted complaint by Complainant
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/9722b5f153b648b59e15420d378771a1?acc_token=0dfdd4aa1aff4e9794e4fd30fb7ab75a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 228
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "stopping",
    "cancellationReason": "Тендер скасовується замовником"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "stopping",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "cancellationReason": "Тендер скасовується замовником",
    "dateCanceled": "2017-06-21T16:09:18.538232+03:00",
    "dateAccepted": "2017-06-21T16:09:16.664614+03:00",
    "dateSubmitted": "2017-06-21T16:09:13.770931+03:00",
    "complaintID": "UA-2017-06-21-000001.4",
    "date": "2017-06-21T16:09:18.550239+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "9722b5f153b648b59e15420d378771a1"
  }
}
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/9722b5f153b648b59e15420d378771a1 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 217
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "stopped",
    "decision": "Тендер скасовується замовником"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "stopped",
    "dateDecision": "2017-06-21T16:09:18.808835+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "decision": "Тендер скасовується замовником",
    "acceptance": true,
    "cancellationReason": "Тендер скасовується замовником",
    "dateCanceled": "2017-06-21T16:09:18.538232+03:00",
    "dateAccepted": "2017-06-21T16:09:16.664614+03:00",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateSubmitted": "2017-06-21T16:09:13.770931+03:00",
    "complaintID": "UA-2017-06-21-000001.4",
    "date": "2017-06-21T16:09:18.821617+03:00",
    "type": "complaint",
    "id": "9722b5f153b648b59e15420d378771a1"
  }
}
Cancelling accepted complaint by Reviewer
PATCH /api/2.3/tenders/7e137f2a666348cc89438625519e4438/awards/3430a774ec1c41f480b2fb9294d2a0f3/complaints/c96ada9a04984b3f97ec5a5b6b98fc80 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 217
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "stopped",
    "decision": "Тендер скасовується замовником"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "stopped",
    "dateDecision": "2017-06-21T16:09:17.880080+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "decision": "Тендер скасовується замовником",
    "acceptance": true,
    "dateCanceled": "2017-06-21T16:09:17.880106+03:00",
    "dateAccepted": "2017-06-21T16:09:16.894070+03:00",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "dateSubmitted": "2017-06-21T16:09:13.984716+03:00",
    "complaintID": "UA-2017-06-21-000001.5",
    "date": "2017-06-21T16:09:17.892041+03:00",
    "type": "complaint",
    "id": "c96ada9a04984b3f97ec5a5b6b98fc80"
  }
}

Roles

Complainant:dashed
Procuring entity:
 plain
Reviewer:bold
Chronograph:dotted

Statuses

draft:

Initial status

Complainant can submit claim, upload documents, cancel claim, and re-submit it.

claim:

Procuring entity can upload documents and answer to claim.

Complainant can cancel claim.

answered:

Complainant can cancel claim, upload documents, accept solution or escalate claim to complaint.

pending:

Reviewer can upload documents and review complaint.

Complainant can cancel claim.

invalid:

Terminal status

Complaint recognized as invalid.

declined:

Terminal status

Complaint recognized as declined.

resolved:

Terminal status

Complaint recognized as resolved.

cancelled:

Terminal status

Complaint cancelled by complainant.

Acceleration mode for sandbox

Acceleration mode was developed to enable Defense open tender procedures testing in the sandbox and to reduce time frames of these procedures.

In order to use acceleration mode you should set quick, accelerator=1440 as text value for procurementMethodDetails during tender creation. The number 1440 shows that restrictions and time frames will be reduced in 1440 times. For example, tenderingPeriod for the Defense open tender procedure should be at least 5 days. When using the acceleration mode with 1440 value, tenderingPeriod can be as short as 5 minutes (5 days = 7200 min; 7200/1440 = 5 min). This mode will work only in the sandbox.

API Reference

Indices and tables