Welcome to openprocurement.tender.twostage documentation!

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

Contents:

Overview

The Open Procurement Two-stage tendering procedure is a plugin to Open Procurement API software.

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

Conventions

These plugin conventions follow the Open Procurement API conventions.

Project status

The project is in active development.

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

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.

Next steps

You might find it helpful to look at the Tutorial or Multiple Lots Tutorial.

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, uk (title) is obligatory, en (title_en) is optional

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: aboveThresholdTS

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 than 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.

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 than 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.

qualificationPeriod:
 

Period, read-only

This period consists of qualification and up till 5 minutes of stand still period.

OpenContracting Description: Period when qualification can be submitted with stand still period.

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:
 Enquiries and tendering period
active.pre-qualification:
 Pre qulification period
active.pre-qualification.stand-still:
 Standstill before auction
active.auction:Auction period (auction)
active.qualification:
 Winner qualification (qualification)
active.awarded:Standstill period (standstill)
complete:Complete tender (complete)
unsuccessful:Unsuccessful tender (unsuccessful)
cancelled:Cancelled tender (cancelled)

Status of the Tender.

lots:

List of Lot objects.

Contains all tender lots.

qualifications:

List of Qualification objects.

Contains all tender qualifications.

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
  • tenderPeriod.startDate
  • enquiryPeriod.endDate
  • tenderPeriod.endDate

Organization

Schema

name:

string, multilingual, uk (title) and en (title_en) translations are required

OpenContracting Description: The common name of the organization.

identifier:

Identifier

OpenContracting Description: The primary identifier for this organization.

address:

Address, required

contactPoint:

ContactPoint, required

additionalContactPoints:
 

List of ContactPoint objects

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.

availableLanguage:
 

string

Possible values are:

  • uk
  • en
  • ru

Specifies the language of communication.

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.

address:

Address, required

contactPoint:

ContactPoint, required

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 a valid CPV code.

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

  • technicalSpecifications - Technical Specifications

    Detailed technical information about goods or services to be provided. For Two-stage tendering procedure technicalSpecifications should be contained in documents envelope. See Bid.

`qualificationDocuments` - **qualificationDocuments*

Information about how bids will be evaluated.

  • clarifications - Clarifications to bidders questions

commercialProposal` - **financialDocuments*

  • 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.

  • winningBid - Winning Bid

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

    For Two-stage tendering procedure commercialProposal should be contained in financialDocuments envelope. See Bid.

  • qualificationDocuments - Qualification documents

    For Two-stage tendering procedure qualificationDocuments should be contained in documents envelope. See Bid.

  • technicalSpecifications - technical Specifications

    For Two-stage tendering procedure technicalSpecifications should be contained in documents envelope. See Bid.

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

Possible values are:

  • uk
  • en
  • ru

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
unsuccessful:Unsuccessful tender lot
complete:Completed tender lot
cancelled:Cancelled tender lot

Status of the Lot.

Workflow

digraph G {
    A [ label="active*" ]
    B [ label="complete"]
    C [ label="cancelled"]
    D [ label="unsuccessful"]
     A -> B;
     A -> C;
     A -> D;
}

* marks initial state

Bid

Schema

tenderers:

List of Organization objects

date:

string, Date, autogenerated

id:

uid, autogenerated

status:

string

Possible values are:

  • draft
  • pending
  • active
  • invalid
  • invalid.pre-qualification
  • 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
parameters:

List of Parameter objects

lotValues:

List of LotValue objects

participationUrl:
 

url

A web address for participation in auction.

There are several envelopes - document containers that manage time when their information will be revealed:

documents:This envelope has to contain (technicalSpecifications and qualificationDocuments). It is revealed at pre-qualification.
financialDocuments:
 This envelope can contain financial part of proposal (commercialProposal). It is revealed at post-qualification.

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, autogenerated

participationUrl:
 

url

A web address for participation in auction.

Workflow

digraph G {
    A [ label="pending*" ]
    B [ label="active"]
    C [ label="cancelled"]
    D [ label="unsuccessful"]
    E [ label="deleted"]
    F [ label="invalid"]
     A -> B [dir="both"];
     A -> C;
     A -> D [dir="both"];
     A -> E;
     A -> F [dir="both"];
     B -> C;
     D -> C;
     E -> C;
     F -> C;
     F -> E;
}

* marks initial state

Qualification

Schema

id:

string, auto-generated

title:

string, multilingual

OpenContracting Description: Qualification title.

description:

string, multilingual

OpenContracting Description: Qualification description.

qualified:

bool

Confirms the absence of grounds for refusal to participate in the auction.

bidID:

string, auto-generated

Bid that this Qualification protocol relates to.

lotID:

string, auto-generated

In Multilot tenders, lot that this Qualification protocol relates to.

date:

string, Date, auto-generated, read-only

The date of the qualification.

documents:

List of Document objects

Container for technicalSpecifications, qualificationDocuments

status:

string

Possible values are:

  • pending - waiting for qualification
  • active - qualification has been confirmed
  • unsuccessful - participant didn’t pass qualification
  • cancelled- qualification decision has been cancelled

Workflow

digraph G {
    A [ label="pending*" ]
    B [ label="active"]
    C [ label="cancelled"]
    D [ label="unsuccessful"]
     A -> B;
     A -> C;
     A -> D;
     D -> C;
     B -> C;
}

* marks initial state

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.

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.

lotID:

string

Id of related Lot.

Workflow

digraph G {
    A [ label="pending*" ]
    B [ label="active"]
    C [ label="cancelled"]
    D [ label="unsuccessful"]
     A -> B;
     A -> D;
     B -> C;
     D -> C;
}

* marks initial state

Question

Schema

Important

Unattended requests do not block the procedure.

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.

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.

Workflow

digraph G {
    A [ label="pending*" ]
    B [ label="active"]
    C [ label="cancelled"]
     A -> B [ headlabel="Broker action"
              labeldistance=3.7;
              labelangle=75;
     ];
     A -> C [label="on Award cancellation"];
}

* marks initial state

Period

Schema

startDate:

string, Date

OpenContracting Description: The start date for the period.

endDate:

string, Date, required

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

Guarantee

Schema

amount:

float, required

OpenContracting Description: Amount as a number.

Should be positive.

currency:

string, required, default = UAH

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

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.
reasonType:

string

There are two possible types of cancellation reason set by procuring entity:

cancelled:Default. Tender was cancelled.
unsuccessful:Tender was unsuccessful.
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.

Workflow

digraph G {
    A [ label="pending*" ]
    B [ label="active"]
     A -> B;
}

* marks initial state

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.

Tutorial

Exploring basic rules

Let’s try to explore 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 an empty set.

Now let’s attempt to create a 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 a 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: 3753
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-03-19T13:35:25.283800+02:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500
    },
    "procurementMethodType": "aboveThresholdTS",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "countryName": "Україна",
        "postalCode": "21027",
        "region": "м. Вінниця",
        "streetAddress": "вул. Стахурського. 22",
        "locality": "м. Вінниця"
      },
      "name_en": "School #10 of Vinnytsia",
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      }
    }
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2
{
  "access": {
    "transfer": "9ac13fe7de5e4bd38a7afbd27ecf7942",
    "token": "12edb463846948e88706a2df2912ba45"
  },
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "endDate": "2017-02-16T13:35:28.635482+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "clarificationsUntil": "2017-03-18T13:35:25.283800+02:00",
      "endDate": "2017-03-18T13:35:25.283800+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-03-19T13:35:25.283800+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "title": "Послуги шкільних їдалень",
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:27.642301+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "endDate": "2017-03-19T13:35:25.283800+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-03-21T00:00:00+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:27.635873+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Success! Now we can see that a new object was created. Response code is 201 and Location response header reports the location of the created object. The body of the 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. Note that ‘complaintPeriod’ in seconds, because complaints have been temporarily disabled. ‘enquiryPeriod’ ends the day before ‘tenderPeriod’ and ‘enquiryPeriod:clarificationUnitl == enquiryPeriod:endDate’

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

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2 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-02-16T13:35:27.635482+02:00",
      "endDate": "2017-02-16T13:35:28.635482+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "clarificationsUntil": "2017-03-18T13:35:25.283800+02:00",
      "endDate": "2017-03-18T13:35:25.283800+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-03-19T13:35:25.283800+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "title": "Послуги шкільних їдалень",
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:27.642301+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "endDate": "2017-03-19T13:35:25.283800+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-03-21T00:00:00+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:27.635873+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

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

Let’s see what listing of tenders reveals to 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 the tender

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

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-03-18T13:35:37.755915+02:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "endDate": "2017-02-16T13:35:28.635482+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "clarificationsUntil": "2017-03-17T13:35:37.755915+02:00",
      "endDate": "2017-03-17T13:35:37.755915+02:00",
      "invalidationDate": "2017-02-16T13:35:27.845129+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-03-18T13:35:37.755915+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "title": "Послуги шкільних їдалень",
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:27.849349+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "endDate": "2017-03-18T13:35:37.755915+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-03-20T00:00:00+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:27.635873+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

We see the added properies have merged with the 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-02-16T13%3A35%3A27.642301%2B02%3A00",
    "uri": "http://api-sandbox.openprocurement.org/api/2.3/tenders?offset=2017-02-16T13%3A35%3A27.642301%2B02%3A00",
    "offset": "2017-02-16T13:35:27.642301+02:00"
  },
  "data": [
    {
      "id": "69620e7245b048d696d61d9b5061cee2",
      "dateModified": "2017-02-16T13:35:27.642301+02:00"
    }
  ]
}

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

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2?acc_token=12edb463846948e88706a2df2912ba45 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-02-09T13:35:28.866533+02:00",
      "endDate": "2017-02-09T13:35:29.866533+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-09T13:35:28.866533+02:00",
      "clarificationsUntil": "2017-02-18T13:35:28.866533+02:00",
      "endDate": "2017-02-18T13:35:28.866533+02:00",
      "invalidationDate": "2017-02-16T13:35:28.542272+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-02-19T13:35:28.866533+02:00",
    "awardCriteria": "lowestCost",
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-02-16T13:35:28.749826+02:00",
        "title": "Калорійність",
        "date": "2017-02-16T13:35:28.651782+02:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "9f81c4879d5748c7a601deb37ed57627",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.315761+02:00",
        "id": "6f7cd941e6d64479a88f1404aeb178fb",
        "dateModified": "2017-02-16T13:35:28.315794+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=edd57144ff0c426fb38be60f4bb626d8",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.425114+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=e870c5ad71704344ac8888d1090bedc5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.541864+02:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:28.757689+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-09T13:35:28.866533+02:00",
      "endDate": "2017-02-19T13:35:28.866533+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-02-21T00:00:00+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:27.635873+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    }
  }
}

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2?acc_token=12edb463846948e88706a2df2912ba45 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 3 days",
      "location": "body",
      "name": "data"
    }
  ]
}

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

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 120
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-02-24T13:35:29.081121+02:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 501
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-02-09T13:35:28.866533+02:00",
      "endDate": "2017-02-09T13:35:29.866533+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-09T13:35:28.866533+02:00",
      "clarificationsUntil": "2017-02-23T13:35:29.081121+02:00",
      "endDate": "2017-02-23T13:35:29.081121+02:00",
      "invalidationDate": "2017-02-16T13:35:29.213728+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-02-24T13:35:29.081121+02:00",
    "awardCriteria": "lowestCost",
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-02-16T13:35:28.749826+02:00",
        "title": "Калорійність",
        "date": "2017-02-16T13:35:28.651782+02:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "9f81c4879d5748c7a601deb37ed57627",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.315761+02:00",
        "id": "6f7cd941e6d64479a88f1404aeb178fb",
        "dateModified": "2017-02-16T13:35:28.315794+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=edd57144ff0c426fb38be60f4bb626d8",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.425114+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=e870c5ad71704344ac8888d1090bedc5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.541864+02:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:29.218818+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-09T13:35:28.866533+02:00",
      "endDate": "2017-02-24T13:35:29.081121+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-02-26T00:00:00+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:27.635873+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    }
  }
}

Procuring entity can set bid guarantee:

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "endDate": "2017-02-16T13:35:28.635482+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "clarificationsUntil": "2017-03-17T13:35:37.755915+02:00",
      "endDate": "2017-03-17T13:35:37.755915+02:00",
      "invalidationDate": "2017-02-16T13:35:28.038885+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-03-18T13:35:37.755915+02:00",
    "awardCriteria": "lowestCost",
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "title": "Послуги шкільних їдалень",
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:28.042587+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-16T13:35:27.635482+02:00",
      "endDate": "2017-03-18T13:35:37.755915+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-03-20T00:00:00+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:27.635873+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    }
  }
}

Uploading documentation

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

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 184
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy17988392723$
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/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb
{
  "data": {
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:28.315761+02:00",
    "id": "6f7cd941e6d64479a88f1404aeb178fb",
    "dateModified": "2017-02-16T13:35:28.315794+02: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/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:28.315761+02:00",
    "previousVersions": [],
    "id": "6f7cd941e6d64479a88f1404aeb178fb",
    "dateModified": "2017-02-16T13:35:28.315794+02:00"
  }
}

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

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 195
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy0571266451556$
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/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a
{
  "data": {
    "language": "uk",
    "title": "AwardCriteria.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=edd57144ff0c426fb38be60f4bb626d8",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:28.425081+02:00",
    "id": "98f7c328d6c248528f1307046045127a",
    "dateModified": "2017-02-16T13:35:28.425114+02:00"
  }
}

And again we can confirm that there have been two documents uploaded.

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-02-16T13:35:28.315761+02:00",
      "id": "6f7cd941e6d64479a88f1404aeb178fb",
      "dateModified": "2017-02-16T13:35:28.315794+02:00"
    },
    {
      "language": "uk",
      "title": "AwardCriteria.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=edd57144ff0c426fb38be60f4bb626d8",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-02-16T13:35:28.425081+02:00",
      "id": "98f7c328d6c248528f1307046045127a",
      "dateModified": "2017-02-16T13:35:28.425114+02:00"
    }
  ]
}

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

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-02-16T13:35:28.315761+02:00",
      "id": "6f7cd941e6d64479a88f1404aeb178fb",
      "dateModified": "2017-02-16T13:35:28.315794+02:00"
    },
    {
      "language": "uk",
      "title": "AwardCriteria-2.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=e870c5ad71704344ac8888d1090bedc5",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-02-16T13:35:28.425081+02:00",
      "id": "98f7c328d6c248528f1307046045127a",
      "dateModified": "2017-02-16T13:35:28.541864+02: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/69620e7245b048d696d61d9b5061cee2/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/69620e7245b048d696d61d9b5061cee2/questions/9f81c4879d5748c7a601deb37ed57627
{
  "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-02-16T13:35:28.651782+02:00",
    "id": "9f81c4879d5748c7a601deb37ed57627",
    "questionOf": "tender"
  }
}

Procuring entity can answer them:

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/questions/9f81c4879d5748c7a601deb37ed57627?acc_token=12edb463846948e88706a2df2912ba45 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-02-16T13:35:28.749826+02:00",
    "title": "Калорійність",
    "date": "2017-02-16T13:35:28.651782+02:00",
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
    "id": "9f81c4879d5748c7a601deb37ed57627",
    "questionOf": "tender"
  }
}

One can retrieve either questions list:

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/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-02-16T13:35:28.749826+02:00",
      "title": "Калорійність",
      "date": "2017-02-16T13:35:28.651782+02:00",
      "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
      "id": "9f81c4879d5748c7a601deb37ed57627",
      "questionOf": "tender"
    }
  ]
}

or an individual answer:

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/questions/9f81c4879d5748c7a601deb37ed57627 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-02-16T13:35:28.749826+02:00",
    "title": "Калорійність",
    "date": "2017-02-16T13:35:28.651782+02:00",
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
    "id": "9f81c4879d5748c7a601deb37ed57627",
    "questionOf": "tender"
  }
}

Enquiries can be made only during Tender.enqueryPeriod, which ends a day before t``enderPeriod:endDate``

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/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 a bid

Tender status active.tendering allows registration of bids.

Bidder can register a bid with draft status:

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 757
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "draft",
    "value": {
      "amount": 500
    },
    "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": "м. Вінниця"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3
{
  "access": {
    "transfer": "91c48bb200c3488a9952d47b23dbde06",
    "token": "293f6dd5c1d94f3eafaa4320ed3a5494"
  },
  "data": {
    "date": "2017-02-16T13:35:29.316768+02:00",
    "status": "draft",
    "id": "64c6b855beba4212a4e8434cec225ff3",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "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": "м. Вінниця"
        }
      }
    ]
  }
}

and approve to pending status:

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 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": {
    "date": "2017-02-16T13:35:29.316768+02:00",
    "status": "pending",
    "id": "64c6b855beba4212a4e8434cec225ff3",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "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": "м. Вінниця"
        }
      }
    ]
  }
}

Proposal uploading

Then bidder should upload proposal technical document(s):

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 188
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy843847729095$
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/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/d647bef6eee54a75adfaf07f87b7fbb1
{
  "data": {
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/d647bef6eee54a75adfaf07f87b7fbb1?download=9d8c61714bf04567849c2ca561ee1f0a",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:29.551953+02:00",
    "id": "d647bef6eee54a75adfaf07f87b7fbb1",
    "dateModified": "2017-02-16T13:35:29.551986+02:00"
  }
}
Confidentiality

Documents can be either public or private:

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

Let’s upload private document:

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 200
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy443792027176$
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/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd
{
  "data": {
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal_top_secrets.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?download=01fc3d85ef00483aa62bba9d86ce8dc9",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:29.672007+02:00",
    "id": "6a9751a40b364da4aab33472bfc110cd",
    "dateModified": "2017-02-16T13:35:29.672039+02:00"
  }
}

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

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

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

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

Let’s mark the document as “private”:

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 120
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "confidentiality": "buyerOnly"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "confidentiality": "buyerOnly",
    "language": "uk",
    "title": "Proposal_top_secrets.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?download=01fc3d85ef00483aa62bba9d86ce8dc9",
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:29.672007+02:00",
    "id": "6a9751a40b364da4aab33472bfc110cd",
    "dateModified": "2017-02-16T13:35:29.672039+02:00"
  }
}

It is possible to check the uploaded documents:

GET /api/0.12/tenders/426b4a12a7914da4b5085c151d304492/bids/ccb2b531e4e8432d85ae97b5e04c41b7/documents?acc_token=c4800a35b685408591fd652aa663abbc HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "confidentiality": "public",
      "title": "Proposal.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/0.12/tenders/426b4a12a7914da4b5085c151d304492/bids/ccb2b531e4e8432d85ae97b5e04c41b7/documents/82ea43476db846558de6b14dd10f437f?download=308576b6f09647408bdae1d5acf4d4ee",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2016-02-08T14:33:11.330995+02:00",
      "id": "82ea43476db846558de6b14dd10f437f",
      "dateModified": "2016-02-08T14:33:11.331043+02:00"
    },
    {
      "confidentiality": "buyerOnly",
      "title": "Proposal_top_secrets.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/0.12/tenders/426b4a12a7914da4b5085c151d304492/bids/ccb2b531e4e8432d85ae97b5e04c41b7/documents/809cda9d319f4054a3cf6ad2df2c16ac?download=410dcf0954ed476f8c92ddfe80b3ca07",
      "confidentialityRationale": "Only our company sells badgers with pink hair.",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2016-02-08T14:33:11.475748+02:00",
      "id": "809cda9d319f4054a3cf6ad2df2c16ac",
      "dateModified": "2016-02-08T14:33:11.475787+02:00"
    }
  ]
}
Financial documents uploading

Financial documents are a part of Bid but are located in different end-points.

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

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 191
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy144874832972$
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/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents/4bfbbf9721df4b6ebecb3ae13b7bac65
{
  "data": {
    "confidentiality": "public",
    "language": "uk",
    "title": "financial_doc.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents/4bfbbf9721df4b6ebecb3ae13b7bac65?download=4f265373001540be9433effcd0bb50ce",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:29.921324+02:00",
    "id": "4bfbbf9721df4b6ebecb3ae13b7bac65",
    "dateModified": "2017-02-16T13:35:29.921356+02:00"
  }
}

Get financial documents:

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "confidentiality": "public",
      "language": "uk",
      "title": "financial_doc.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents/4bfbbf9721df4b6ebecb3ae13b7bac65?download=4f265373001540be9433effcd0bb50ce",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-02-16T13:35:29.921324+02:00",
      "id": "4bfbbf9721df4b6ebecb3ae13b7bac65",
      "dateModified": "2017-02-16T13:35:29.921356+02:00"
    },
    {
      "confidentiality": "public",
      "language": "uk",
      "title": "financial_doc2.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents/ef1c6646564c4fdd98c141780f3f321a?download=36372a4dd51d441396acb0725da09e9a",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-02-16T13:35:30.058707+02:00",
      "id": "ef1c6646564c4fdd98c141780f3f321a",
      "dateModified": "2017-02-16T13:35:30.058747+02:00"
    }
  ]
}

Financial documents will be publicly accessible after the auction.

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/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 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": "64c6b855beba4212a4e8434cec225ff3"
  }
}

Bid confirmation

Bidder should confirm bid proposal:

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 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": [
      {
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/d647bef6eee54a75adfaf07f87b7fbb1?download=9d8c61714bf04567849c2ca561ee1f0a",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:29.551953+02:00",
        "id": "d647bef6eee54a75adfaf07f87b7fbb1",
        "dateModified": "2017-02-16T13:35:29.551986+02:00"
      },
      {
        "confidentiality": "buyerOnly",
        "language": "uk",
        "title": "Proposal_top_secrets.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?download=01fc3d85ef00483aa62bba9d86ce8dc9",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:29.672007+02:00",
        "id": "6a9751a40b364da4aab33472bfc110cd",
        "dateModified": "2017-02-16T13:35:29.672039+02:00"
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "financialDocuments": [
      {
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents/4bfbbf9721df4b6ebecb3ae13b7bac65?download=4f265373001540be9433effcd0bb50ce",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:29.921324+02:00",
        "id": "4bfbbf9721df4b6ebecb3ae13b7bac65",
        "dateModified": "2017-02-16T13:35:29.921356+02:00"
      },
      {
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents/ef1c6646564c4fdd98c141780f3f321a?download=36372a4dd51d441396acb0725da09e9a",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:30.058707+02:00",
        "id": "ef1c6646564c4fdd98c141780f3f321a",
        "dateModified": "2017-02-16T13:35:30.058747+02:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-02-16T13:35:29.316768+02:00",
    "id": "64c6b855beba4212a4e8434cec225ff3"
  }
}

Open Two Stage procedure 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/69620e7245b048d696d61d9b5061cee2/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 704
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "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/69620e7245b048d696d61d9b5061cee2/bids/35e7d4ecdfe2489989257ea9acd43787
{
  "access": {
    "transfer": "a0deda6b104f4b34b17c18708394d7c8",
    "token": "1509d32e49c14586b7c50d272e9ff1f5"
  },
  "data": {
    "date": "2017-02-16T13:35:30.730403+02:00",
    "status": "pending",
    "id": "35e7d4ecdfe2489989257ea9acd43787",
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": 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": "м. Львів"
        }
      }
    ]
  }
}

Register one more bid:

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 682
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "value": {
      "amount": 5
    },
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко",
          "email": "fake@mail.com"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Снігур»",
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "м. Львів",
          "streetAddress": "вул. Островського, 35",
          "locality": "м. Львів"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/631df1f78a114db8afb0c09592b20178
{
  "access": {
    "transfer": "ca64801bb2fe48fbacc58040da6f83c3",
    "token": "59b5e44c1f1547ddb85cbee7817e6d50"
  },
  "data": {
    "date": "2017-02-16T13:35:30.888215+02:00",
    "status": "pending",
    "id": "631df1f78a114db8afb0c09592b20178",
    "value": {
      "currency": "UAH",
      "amount": 5.0,
      "valueAddedTaxIncluded": true
    },
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Снігур»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 35",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ]
  }
}

Bid Qualification

Open Two Stage procedure requires bid qualification.

Let’s list qualifications:

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.pre-qualification",
    "complaintPeriod": {
      "startDate": "2017-02-10T13:35:25.282008+02:00",
      "endDate": "2017-02-10T13:35:26.282008+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-10T13:35:25.282008+02:00",
      "clarificationsUntil": "2017-02-15T13:35:25.282008+02:00",
      "endDate": "2017-02-15T13:35:25.282008+02:00",
      "invalidationDate": "2017-02-16T13:35:30.385476+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "awardCriteria": "lowestCost",
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-02-16T13:35:28.651782+02:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-02-16T13:35:28.749826+02:00",
        "id": "9f81c4879d5748c7a601deb37ed57627",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.315761+02:00",
        "id": "6f7cd941e6d64479a88f1404aeb178fb",
        "dateModified": "2017-02-16T13:35:28.315794+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=edd57144ff0c426fb38be60f4bb626d8",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.425114+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=e870c5ad71704344ac8888d1090bedc5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.541864+02:00"
      }
    ],
    "transfer_token": "9de1e547abcf27c2f7d08a8195ad010b5df63d057f3fd5edad2f951d40f33d060bed3c77d62ccedda2439665cd1d7a2b46a33f0e9c6d5295d691f598f6041d3d",
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-02-16T13:35:31.289640+02:00"
    },
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:31.299523+02:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2017-02-10T13:35:25.282008+02:00",
      "endDate": "2017-02-16T13:35:25.282008+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "qualifications": [
      {
        "status": "pending",
        "date": "2017-02-16T13:35:31.290464+02:00",
        "id": "5aaf7966f70e44a08abcec2a899a1745",
        "bidID": "64c6b855beba4212a4e8434cec225ff3"
      },
      {
        "status": "pending",
        "date": "2017-02-16T13:35:31.290794+02:00",
        "id": "32cf035dd8ca41b2993e7813bc3939ad",
        "bidID": "35e7d4ecdfe2489989257ea9acd43787"
      },
      {
        "status": "pending",
        "date": "2017-02-16T13:35:31.291121+02:00",
        "id": "b7c47c7e87554904824e1868c75fdb1a",
        "bidID": "631df1f78a114db8afb0c09592b20178"
      }
    ],
    "date": "2017-02-16T13:35:31.299523+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "pending",
        "documents": [
          {
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/d647bef6eee54a75adfaf07f87b7fbb1?download=9d8c61714bf04567849c2ca561ee1f0a",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-02-16T13:35:29.551953+02:00",
            "id": "d647bef6eee54a75adfaf07f87b7fbb1",
            "dateModified": "2017-02-16T13:35:29.551986+02:00"
          },
          {
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "Proposal_top_secrets.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?download=01fc3d85ef00483aa62bba9d86ce8dc9",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-02-16T13:35:29.672007+02:00",
            "id": "6a9751a40b364da4aab33472bfc110cd",
            "dateModified": "2017-02-16T13:35:29.672039+02:00"
          }
        ],
        "id": "64c6b855beba4212a4e8434cec225ff3",
        "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": "м. Вінниця"
            }
          }
        ]
      },
      {
        "status": "pending",
        "id": "35e7d4ecdfe2489989257ea9acd43787",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Книга»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "pending",
        "id": "631df1f78a114db8afb0c09592b20178",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    }
  }
}

Approve first two bids through qualification objects:

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/qualifications/5aaf7966f70e44a08abcec2a899a1745?acc_token=12edb463846948e88706a2df2912ba45 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",
    "date": "2017-02-16T13:35:31.534466+02:00",
    "id": "5aaf7966f70e44a08abcec2a899a1745",
    "bidID": "64c6b855beba4212a4e8434cec225ff3"
  }
}
PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/qualifications/32cf035dd8ca41b2993e7813bc3939ad?acc_token=12edb463846948e88706a2df2912ba45 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",
    "date": "2017-02-16T13:35:31.695774+02:00",
    "id": "32cf035dd8ca41b2993e7813bc3939ad",
    "bidID": "35e7d4ecdfe2489989257ea9acd43787"
  }
}

We can also reject bid:

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/qualifications/b7c47c7e87554904824e1868c75fdb1a?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 36
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "unsuccessful"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "date": "2017-02-16T13:35:31.857840+02:00",
    "id": "b7c47c7e87554904824e1868c75fdb1a",
    "bidID": "631df1f78a114db8afb0c09592b20178"
  }
}

And check that qualified bids are switched to active:

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids?acc_token=12edb463846948e88706a2df2912ba45 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": [
        {
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal.pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/d647bef6eee54a75adfaf07f87b7fbb1?download=9d8c61714bf04567849c2ca561ee1f0a",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-02-16T13:35:29.551953+02:00",
          "id": "d647bef6eee54a75adfaf07f87b7fbb1",
          "dateModified": "2017-02-16T13:35:29.551986+02:00"
        },
        {
          "confidentiality": "buyerOnly",
          "language": "uk",
          "title": "Proposal_top_secrets.pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?download=01fc3d85ef00483aa62bba9d86ce8dc9",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-02-16T13:35:29.672007+02:00",
          "id": "6a9751a40b364da4aab33472bfc110cd",
          "dateModified": "2017-02-16T13:35:29.672039+02:00"
        }
      ],
      "id": "64c6b855beba4212a4e8434cec225ff3",
      "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": "м. Вінниця"
          }
        }
      ]
    },
    {
      "status": "active",
      "id": "35e7d4ecdfe2489989257ea9acd43787",
      "tenderers": [
        {
          "contactPoint": {
            "email": "aagt@gmail.com",
            "telephone": "+380 (322) 91-69-30",
            "name": "Андрій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137226",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "ДКП «Книга»",
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 34",
            "region": "м. Львів",
            "locality": "м. Львів"
          }
        }
      ]
    },
    {
      "status": "unsuccessful",
      "id": "631df1f78a114db8afb0c09592b20178",
      "tenderers": [
        {
          "contactPoint": {
            "email": "fake@mail.com",
            "telephone": "+380 (322) 12-34-56",
            "name": "Іван Іваненко"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137226",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "«Снігур»",
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 35",
            "region": "м. Львів",
            "locality": "м. Львів"
          }
        }
      ]
    }
  ]
}

Rejected bid is not shown in bids/ listing.

We can access rejected bid by id:

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/631df1f78a114db8afb0c09592b20178?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "id": "631df1f78a114db8afb0c09592b20178",
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Снігур»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 35",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ]
  }
}

Procuring entity approves qualifications by switching to next status:

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 60
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active.pre-qualification.stand-still"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.pre-qualification.stand-still",
    "complaintPeriod": {
      "startDate": "2017-02-10T13:35:25.282008+02:00",
      "endDate": "2017-02-10T13:35:26.282008+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-10T13:35:25.282008+02:00",
      "clarificationsUntil": "2017-02-15T13:35:25.282008+02:00",
      "endDate": "2017-02-15T13:35:25.282008+02:00",
      "invalidationDate": "2017-02-16T13:35:30.385476+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-02-17T00:00:01+02:00",
    "awardCriteria": "lowestCost",
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-02-16T13:35:28.651782+02:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-02-16T13:35:28.749826+02:00",
        "id": "9f81c4879d5748c7a601deb37ed57627",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.315761+02:00",
        "id": "6f7cd941e6d64479a88f1404aeb178fb",
        "dateModified": "2017-02-16T13:35:28.315794+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=edd57144ff0c426fb38be60f4bb626d8",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.425114+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=e870c5ad71704344ac8888d1090bedc5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.541864+02:00"
      }
    ],
    "transfer_token": "9de1e547abcf27c2f7d08a8195ad010b5df63d057f3fd5edad2f951d40f33d060bed3c77d62ccedda2439665cd1d7a2b46a33f0e9c6d5295d691f598f6041d3d",
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-02-16T13:35:31.289640+02:00",
      "endDate": "2017-02-17T00:00:01+02:00"
    },
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:32.315922+02:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-02-10T13:35:25.282008+02:00",
      "endDate": "2017-02-16T13:35:25.282008+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-02-18T00:00:00+02:00"
    },
    "qualifications": [
      {
        "status": "active",
        "date": "2017-02-16T13:35:31.534466+02:00",
        "id": "5aaf7966f70e44a08abcec2a899a1745",
        "bidID": "64c6b855beba4212a4e8434cec225ff3"
      },
      {
        "status": "active",
        "date": "2017-02-16T13:35:31.695774+02:00",
        "id": "32cf035dd8ca41b2993e7813bc3939ad",
        "bidID": "35e7d4ecdfe2489989257ea9acd43787"
      },
      {
        "status": "unsuccessful",
        "date": "2017-02-16T13:35:31.857840+02:00",
        "id": "b7c47c7e87554904824e1868c75fdb1a",
        "bidID": "631df1f78a114db8afb0c09592b20178"
      }
    ],
    "date": "2017-02-16T13:35:32.315922+02:00",
    "procurementMethodType": "aboveThresholdTS",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/d647bef6eee54a75adfaf07f87b7fbb1?download=9d8c61714bf04567849c2ca561ee1f0a",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-02-16T13:35:29.551953+02:00",
            "id": "d647bef6eee54a75adfaf07f87b7fbb1",
            "dateModified": "2017-02-16T13:35:29.551986+02:00"
          },
          {
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "Proposal_top_secrets.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?download=01fc3d85ef00483aa62bba9d86ce8dc9",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-02-16T13:35:29.672007+02:00",
            "id": "6a9751a40b364da4aab33472bfc110cd",
            "dateModified": "2017-02-16T13:35:29.672039+02:00"
          }
        ],
        "id": "64c6b855beba4212a4e8434cec225ff3",
        "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": "м. Вінниця"
            }
          }
        ]
      },
      {
        "status": "active",
        "id": "35e7d4ecdfe2489989257ea9acd43787",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Книга»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "unsuccessful",
        "id": "631df1f78a114db8afb0c09592b20178",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    }
  }
}

If qualification has been cancelled, new Qualification object is generated for this participant.

Auction

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.auction",
    "complaintPeriod": {
      "startDate": "2017-02-10T13:35:24.282008+02:00",
      "endDate": "2017-02-10T13:35:25.282008+02:00"
    },
    "auctionUrl": "http://auction-sandbox.openprocurement.org/tenders/69620e7245b048d696d61d9b5061cee2",
    "enquiryPeriod": {
      "startDate": "2017-02-10T13:35:24.282008+02:00",
      "clarificationsUntil": "2017-02-15T13:35:24.282008+02:00",
      "endDate": "2017-02-15T13:35:24.282008+02:00",
      "invalidationDate": "2017-02-16T13:35:30.385476+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-02-16T14:11:25.282008+02:00",
    "awardCriteria": "lowestCost",
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-02-16T13:35:28.749826+02:00",
        "title": "Калорійність",
        "date": "2017-02-16T13:35:28.651782+02:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "9f81c4879d5748c7a601deb37ed57627",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "69620e7245b048d696d61d9b5061cee2",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/6f7cd941e6d64479a88f1404aeb178fb?download=e62c67795ed640ff83fb024d688fca9b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.315761+02:00",
        "id": "6f7cd941e6d64479a88f1404aeb178fb",
        "dateModified": "2017-02-16T13:35:28.315794+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=edd57144ff0c426fb38be60f4bb626d8",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.425114+02:00"
      },
      {
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/documents/98f7c328d6c248528f1307046045127a?download=e870c5ad71704344ac8888d1090bedc5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:28.425081+02:00",
        "id": "98f7c328d6c248528f1307046045127a",
        "dateModified": "2017-02-16T13:35:28.541864+02:00"
      }
    ],
    "transfer_token": "9de1e547abcf27c2f7d08a8195ad010b5df63d057f3fd5edad2f951d40f33d060bed3c77d62ccedda2439665cd1d7a2b46a33f0e9c6d5295d691f598f6041d3d",
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-02-16T13:35:24.282008+02:00",
      "endDate": "2017-02-16T13:35:25.282008+02:00"
    },
    "tenderID": "R-UA-2017-02-16-000001",
    "auctionPeriod": {
      "startDate": "2017-02-16T13:35:25.282008+02:00",
      "shouldStartAfter": "2017-02-17T00:00:00+02:00"
    },
    "dateModified": "2017-02-16T13:35:32.780774+02:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-02-10T13:35:24.282008+02:00",
      "endDate": "2017-02-16T13:35:24.282008+02:00"
    },
    "qualifications": [
      {
        "status": "active",
        "date": "2017-02-16T13:35:31.534466+02:00",
        "id": "5aaf7966f70e44a08abcec2a899a1745",
        "bidID": "64c6b855beba4212a4e8434cec225ff3"
      },
      {
        "status": "active",
        "date": "2017-02-16T13:35:31.695774+02:00",
        "id": "32cf035dd8ca41b2993e7813bc3939ad",
        "bidID": "35e7d4ecdfe2489989257ea9acd43787"
      },
      {
        "status": "unsuccessful",
        "date": "2017-02-16T13:35:31.857840+02:00",
        "id": "b7c47c7e87554904824e1868c75fdb1a",
        "bidID": "631df1f78a114db8afb0c09592b20178"
      }
    ],
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:32.315922+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/d647bef6eee54a75adfaf07f87b7fbb1?download=9d8c61714bf04567849c2ca561ee1f0a",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-02-16T13:35:29.551953+02:00",
            "id": "d647bef6eee54a75adfaf07f87b7fbb1",
            "dateModified": "2017-02-16T13:35:29.551986+02:00"
          },
          {
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "Proposal_top_secrets.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?download=01fc3d85ef00483aa62bba9d86ce8dc9",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-02-16T13:35:29.672007+02:00",
            "id": "6a9751a40b364da4aab33472bfc110cd",
            "dateModified": "2017-02-16T13:35:29.672039+02:00"
          }
        ],
        "id": "64c6b855beba4212a4e8434cec225ff3",
        "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": "м. Вінниця"
            }
          }
        ]
      },
      {
        "status": "active",
        "id": "35e7d4ecdfe2489989257ea9acd43787",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Книга»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "unsuccessful",
        "id": "631df1f78a114db8afb0c09592b20178",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    }
  }
}

Bidders can find out their participation URLs via their bids:

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3?acc_token=293f6dd5c1d94f3eafaa4320ed3a5494 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": [
      {
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/d647bef6eee54a75adfaf07f87b7fbb1?download=9d8c61714bf04567849c2ca561ee1f0a",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:29.551953+02:00",
        "id": "d647bef6eee54a75adfaf07f87b7fbb1",
        "dateModified": "2017-02-16T13:35:29.551986+02:00"
      },
      {
        "confidentiality": "buyerOnly",
        "language": "uk",
        "title": "Proposal_top_secrets.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/documents/6a9751a40b364da4aab33472bfc110cd?download=01fc3d85ef00483aa62bba9d86ce8dc9",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:29.672007+02:00",
        "id": "6a9751a40b364da4aab33472bfc110cd",
        "dateModified": "2017-02-16T13:35:29.672039+02:00"
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "financialDocuments": [
      {
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents/4bfbbf9721df4b6ebecb3ae13b7bac65?download=4f265373001540be9433effcd0bb50ce",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:29.921324+02:00",
        "id": "4bfbbf9721df4b6ebecb3ae13b7bac65",
        "dateModified": "2017-02-16T13:35:29.921356+02:00"
      },
      {
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/64c6b855beba4212a4e8434cec225ff3/financial_documents/ef1c6646564c4fdd98c141780f3f321a?download=36372a4dd51d441396acb0725da09e9a",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:30.058707+02:00",
        "id": "ef1c6646564c4fdd98c141780f3f321a",
        "dateModified": "2017-02-16T13:35:30.058747+02:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-02-16T13:35:29.316768+02:00",
    "id": "64c6b855beba4212a4e8434cec225ff3",
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/69620e7245b048d696d61d9b5061cee2?key_for_bid=64c6b855beba4212a4e8434cec225ff3"
  }
}

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

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/bids/35e7d4ecdfe2489989257ea9acd43787?acc_token=1509d32e49c14586b7c50d272e9ff1f5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": 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-02-16T13:35:30.730403+02:00",
    "id": "35e7d4ecdfe2489989257ea9acd43787",
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/69620e7245b048d696d61d9b5061cee2?key_for_bid=35e7d4ecdfe2489989257ea9acd43787"
  }
}

Confirming qualification

Qualification commission registers its decision via the following call:

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/awards/01d610681d4d4b2a8be30b759369751b?acc_token=12edb463846948e88706a2df2912ba45 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",
    "complaintPeriod": {
      "startDate": "2017-02-16T13:35:33.357253+02:00",
      "endDate": "2017-02-16T13:35:37.357253+02:00"
    },
    "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": "м. Львів"
        }
      }
    ],
    "bid_id": "35e7d4ecdfe2489989257ea9acd43787",
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2017-02-16T13:35:33.640513+02:00",
    "id": "01d610681d4d4b2a8be30b759369751b"
  }
}

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/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 68
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "contractNumber": "contract#1",
    "value": {
      "amount": 238
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "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": "м. Львів"
        }
      }
    ],
    "contractNumber": "contract#1",
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "01d610681d4d4b2a8be30b759369751b",
    "id": "30ed55ef482e4cbcaa880765c712e719",
    "contractID": "R-UA-2017-02-16-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/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 60
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "dateSigned": "2017-02-16T13:35:34.122861+02:00"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "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": "м. Львів"
        }
      }
    ],
    "contractNumber": "contract#1",
    "dateSigned": "2017-02-16T13:35:34.122861+02:00",
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "01d610681d4d4b2a8be30b759369751b",
    "id": "30ed55ef482e4cbcaa880765c712e719",
    "contractID": "R-UA-2017-02-16-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/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 118
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "period": {
      "startDate": "2017-02-16T13:35:34.376977+02:00",
      "endDate": "2018-02-16T13:35:34.377039+02:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "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": "м. Львів"
        }
      }
    ],
    "contractNumber": "contract#1",
    "period": {
      "startDate": "2017-02-16T13:35:34.376977+02:00",
      "endDate": "2018-02-16T13:35:34.377039+02:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "dateSigned": "2017-02-16T13:35:34.122861+02:00",
    "awardID": "01d610681d4d4b2a8be30b759369751b",
    "id": "30ed55ef482e4cbcaa880765c712e719",
    "contractID": "R-UA-2017-02-16-000001-1"
  }
}

Uploading contract documentation

You can upload contract documents for the Open Two Stage procedure.

Let’s upload contract document:

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 206
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy510097326604$
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/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/a3af76c9bfe44f5eab2a1b0398e1b39f
{
  "data": {
    "language": "uk",
    "title": "contract_first_document.doc",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/a3af76c9bfe44f5eab2a1b0398e1b39f?download=8b238039bac14ef4a87cf493f2370feb",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:34.876363+02:00",
    "id": "a3af76c9bfe44f5eab2a1b0398e1b39f",
    "dateModified": "2017-02-16T13:35:34.876403+02:00"
  }
}

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

Let’s see the list of contract documents:

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "language": "uk",
      "title": "contract_first_document.doc",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/a3af76c9bfe44f5eab2a1b0398e1b39f?download=8b238039bac14ef4a87cf493f2370feb",
      "format": "application/msword",
      "documentOf": "tender",
      "datePublished": "2017-02-16T13:35:34.876363+02:00",
      "id": "a3af76c9bfe44f5eab2a1b0398e1b39f",
      "dateModified": "2017-02-16T13:35:34.876403+02:00"
    }
  ]
}

We can upload another contract document:

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 207
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy556098597729$
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/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/1d2f6ac219994d128c045c0d8fbb07ee
{
  "data": {
    "language": "uk",
    "title": "contract_second_document.doc",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/1d2f6ac219994d128c045c0d8fbb07ee?download=2872cffc15a94346a510fc526de48bb9",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:35.196767+02:00",
    "id": "1d2f6ac219994d128c045c0d8fbb07ee",
    "dateModified": "2017-02-16T13:35:35.196813+02:00"
  }
}

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

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

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/1d2f6ac219994d128c045c0d8fbb07ee?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 106
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "title_en": "Title of Document",
    "language": "en",
    "description_en": "Description of Document"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "language": "en",
    "title": "contract_second_document.doc",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/1d2f6ac219994d128c045c0d8fbb07ee?download=2872cffc15a94346a510fc526de48bb9",
    "format": "application/msword",
    "title_en": "Title of Document",
    "description_en": "Description of Document",
    "datePublished": "2017-02-16T13:35:35.196767+02:00",
    "documentOf": "tender",
    "id": "1d2f6ac219994d128c045c0d8fbb07ee",
    "dateModified": "2017-02-16T13:35:35.196813+02:00"
  }
}

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

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "language": "uk",
      "title": "contract_first_document.doc",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/a3af76c9bfe44f5eab2a1b0398e1b39f?download=8b238039bac14ef4a87cf493f2370feb",
      "format": "application/msword",
      "documentOf": "tender",
      "datePublished": "2017-02-16T13:35:34.876363+02:00",
      "id": "a3af76c9bfe44f5eab2a1b0398e1b39f",
      "dateModified": "2017-02-16T13:35:34.876403+02:00"
    },
    {
      "language": "en",
      "title": "contract_second_document.doc",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/1d2f6ac219994d128c045c0d8fbb07ee?download=2872cffc15a94346a510fc526de48bb9",
      "format": "application/msword",
      "title_en": "Title of Document",
      "description_en": "Description of Document",
      "datePublished": "2017-02-16T13:35:35.196767+02:00",
      "documentOf": "tender",
      "id": "1d2f6ac219994d128c045c0d8fbb07ee",
      "dateModified": "2017-02-16T13:35:35.196813+02:00"
    }
  ]
}

Let’s view separate contract document:

GET /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719?acc_token=12edb463846948e88706a2df2912ba45 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": [
      {
        "language": "uk",
        "title": "contract_first_document.doc",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/a3af76c9bfe44f5eab2a1b0398e1b39f?download=8b238039bac14ef4a87cf493f2370feb",
        "format": "application/msword",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:34.876363+02:00",
        "id": "a3af76c9bfe44f5eab2a1b0398e1b39f",
        "dateModified": "2017-02-16T13:35:34.876403+02:00"
      },
      {
        "language": "en",
        "title": "contract_second_document.doc",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/contracts/30ed55ef482e4cbcaa880765c712e719/documents/1d2f6ac219994d128c045c0d8fbb07ee?download=2872cffc15a94346a510fc526de48bb9",
        "format": "application/msword",
        "title_en": "Title of Document",
        "description_en": "Description of Document",
        "datePublished": "2017-02-16T13:35:35.196767+02:00",
        "documentOf": "tender",
        "id": "1d2f6ac219994d128c045c0d8fbb07ee",
        "dateModified": "2017-02-16T13:35:35.196813+02:00"
      }
    ],
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "7a806448d0014f8fab19eaf6b328dfeb",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "9462dda6089446b3b7aa7cda61518b33",
        "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": "м. Львів"
        }
      }
    ],
    "contractNumber": "contract#1",
    "period": {
      "startDate": "2017-02-16T13:35:34.376977+02:00",
      "endDate": "2018-02-16T13:35:34.377039+02:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "dateSigned": "2017-02-16T13:35:34.122861+02:00",
    "awardID": "01d610681d4d4b2a8be30b759369751b",
    "id": "30ed55ef482e4cbcaa880765c712e719",
    "contractID": "R-UA-2017-02-16-000001-1"
  }
}

Cancelling a tender

PE can cancel the tender anytime. The following steps should be applied:

  1. Prepare a 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/69620e7245b048d696d61d9b5061cee2/cancellations?acc_token=12edb463846948e88706a2df2912ba45 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/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "cancelled",
    "date": "2017-02-16T13:35:35.814026+02:00",
    "cancellationOf": "tender",
    "id": "6f0590c33dda4e61953fe2faa02cd3a7"
  }
}

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

You can change reasonType value to unsuccessful.

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 40
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "reasonType": "unsuccessful"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2017-02-16T13:35:36.050182+02:00",
    "cancellationOf": "tender",
    "id": "6f0590c33dda4e61953fe2faa02cd3a7"
  }
}

Filling cancellation with protocol and supplementary documentation

Upload the file contents

POST /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 184
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy79397268684$
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/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents/ea1603229efc482587b75997d0219539
{
  "data": {
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents/ea1603229efc482587b75997d0219539?download=9298b6bb35a94dc986d006693e0ef403",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:36.279348+02:00",
    "id": "ea1603229efc482587b75997d0219539",
    "dateModified": "2017-02-16T13:35:36.279391+02:00"
  }
}

Change the document description and other properties

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents/ea1603229efc482587b75997d0219539?acc_token=12edb463846948e88706a2df2912ba45 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",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents/ea1603229efc482587b75997d0219539?download=9298b6bb35a94dc986d006693e0ef403",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:36.279348+02:00",
    "id": "ea1603229efc482587b75997d0219539",
    "dateModified": "2017-02-16T13:35:36.279391+02:00"
  }
}

Upload new version of the document

PUT /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents/ea1603229efc482587b75997d0219539?acc_token=12edb463846948e88706a2df2912ba45 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 189
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy644548926624$
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "description": "Changed description",
    "language": "uk",
    "title": "Notice-2.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents/ea1603229efc482587b75997d0219539?download=894052308d624f8b87aa538399a6216d",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-02-16T13:35:36.279348+02:00",
    "id": "ea1603229efc482587b75997d0219539",
    "dateModified": "2017-02-16T13:35:36.788471+02:00"
  }
}

Activating the request and cancelling tender

PATCH /api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7?acc_token=12edb463846948e88706a2df2912ba45 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",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents/ea1603229efc482587b75997d0219539?download=9298b6bb35a94dc986d006693e0ef403",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:36.279348+02:00",
        "id": "ea1603229efc482587b75997d0219539",
        "dateModified": "2017-02-16T13:35:36.279391+02:00"
      },
      {
        "description": "Changed description",
        "language": "uk",
        "title": "Notice-2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69620e7245b048d696d61d9b5061cee2/cancellations/6f0590c33dda4e61953fe2faa02cd3a7/documents/ea1603229efc482587b75997d0219539?download=894052308d624f8b87aa538399a6216d",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-02-16T13:35:36.279348+02:00",
        "id": "ea1603229efc482587b75997d0219539",
        "dateModified": "2017-02-16T13:35:36.788471+02:00"
      }
    ],
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2017-02-16T13:35:37.070663+02:00",
    "cancellationOf": "tender",
    "id": "6f0590c33dda4e61953fe2faa02cd3a7"
  }
}

Multiple Lots Tutorial

Creating a tender

Let’s create a tender:

POST /api/2.3/tenders?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 3753
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-03-19T13:35:25.283800+02:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500
    },
    "procurementMethodType": "aboveThresholdTS",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "countryName": "Україна",
        "postalCode": "21027",
        "region": "м. Вінниця",
        "streetAddress": "вул. Стахурського. 22",
        "locality": "м. Вінниця"
      },
      "name_en": "School #10 of Vinnytsia",
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      }
    }
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/5be924af98a445448a0a8a81b5f109db
{
  "access": {
    "transfer": "f3e439fc545d444184ba53949f9722f4",
    "token": "3254958c3d944d8eb0f670a2d9af96d5"
  },
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "endDate": "2017-02-16T13:35:39.308570+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "clarificationsUntil": "2017-03-18T13:35:25.283800+02:00",
      "endDate": "2017-03-18T13:35:25.283800+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-03-19T13:35:25.283800+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5be924af98a445448a0a8a81b5f109db",
    "title": "Послуги шкільних їдалень",
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:38.315175+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "endDate": "2017-03-19T13:35:25.283800+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-03-21T00:00:00+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:38.308887+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "0322a1ec11a9443daf7e03d1dc070caf",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "bacc2842f1ba4337ae7b0840ab0f1c0c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Now we can see that a new object was created. Response code is 201 and Location response header reports the location of the created object. The body of the 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 Two-stage tendering procedure is that enquiryPeriod ends one day before tenderPeriod.

Tender can contain several different lots. We can add a lot the following way:

POST /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/lots?acc_token=3254958c3d944d8eb0f670a2d9af96d5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 214
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "minimalStep": {
      "currency": "UAH",
      "amount": 35
    },
    "description": "Опис Лот №1",
    "value": {
      "currency": "UAH",
      "amount": 500
    },
    "title": "Лот №1"
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/lots/f2542173d5f74511bd1d3fd7b0ca6333
{
  "data": {
    "status": "active",
    "description": "Опис Лот №1",
    "title": "Лот №1",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-03-21T00:00:00+02:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2017-02-16T13:35:38.383146+02:00",
    "id": "f2542173d5f74511bd1d3fd7b0ca6333"
  }
}

Also, you will need to update data about item’s related lots:

PATCH /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db?acc_token=3254958c3d944d8eb0f670a2d9af96d5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 125
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "items": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333"
      },
      {
        "relatedLot": "37dbcb6cabfe4c44b6c42457cb39dcc9"
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "endDate": "2017-02-16T13:35:39.308570+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "clarificationsUntil": "2017-03-18T13:35:25.283800+02:00",
      "endDate": "2017-03-18T13:35:25.283800+02:00",
      "invalidationDate": "2017-02-16T13:35:38.611426+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-03-19T13:35:25.283800+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "id": "5be924af98a445448a0a8a81b5f109db",
    "title": "Послуги шкільних їдалень",
    "lots": [
      {
        "status": "active",
        "description": "Опис Лот №1",
        "title": "Лот №1",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "auctionPeriod": {
          "shouldStartAfter": "2017-03-21T00:00:00+02:00"
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-02-16T13:35:38.383146+02:00",
        "id": "f2542173d5f74511bd1d3fd7b0ca6333"
      },
      {
        "status": "active",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "auctionPeriod": {
          "shouldStartAfter": "2017-03-21T00:00:00+02:00"
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-02-16T13:35:38.457427+02:00",
        "id": "37dbcb6cabfe4c44b6c42457cb39dcc9"
      }
    ],
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:38.617068+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "endDate": "2017-03-19T13:35:25.283800+02:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:38.308887+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "0322a1ec11a9443daf7e03d1dc070caf",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "relatedLot": "37dbcb6cabfe4c44b6c42457cb39dcc9",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "bacc2842f1ba4337ae7b0840ab0f1c0c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 1000.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

View tender listing:

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": []
}

or view tender:

GET /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "endDate": "2017-02-16T13:35:39.308570+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "clarificationsUntil": "2017-03-18T13:35:25.283800+02:00",
      "endDate": "2017-03-18T13:35:25.283800+02:00",
      "invalidationDate": "2017-02-16T13:35:38.611426+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-03-19T13:35:25.283800+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "id": "5be924af98a445448a0a8a81b5f109db",
    "title": "Послуги шкільних їдалень",
    "lots": [
      {
        "status": "active",
        "description": "Опис Лот №1",
        "title": "Лот №1",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "auctionPeriod": {
          "shouldStartAfter": "2017-03-21T00:00:00+02:00"
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-02-16T13:35:38.383146+02:00",
        "id": "f2542173d5f74511bd1d3fd7b0ca6333"
      },
      {
        "status": "active",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "auctionPeriod": {
          "shouldStartAfter": "2017-03-21T00:00:00+02:00"
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-02-16T13:35:38.457427+02:00",
        "id": "37dbcb6cabfe4c44b6c42457cb39dcc9"
      }
    ],
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:38.617068+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-02-16T13:35:38.308570+02:00",
      "endDate": "2017-03-19T13:35:25.283800+02:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "aboveThresholdTS",
    "date": "2017-02-16T13:35:38.308887+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "0322a1ec11a9443daf7e03d1dc070caf",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "relatedLot": "37dbcb6cabfe4c44b6c42457cb39dcc9",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "bacc2842f1ba4337ae7b0840ab0f1c0c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 1000.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Registering a bid

Tender status active.tendering allows registration of bids.

Bidder can register a bid for lot №1:

POST /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 805
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "lotValues": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "value": {
          "amount": 500
        }
      }
    ],
    "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": "м. Вінниця"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/bids/0e394c14e7d6442a8e054b41ace2b246
{
  "access": {
    "transfer": "cbbd77066c5d4022819ebca9b349629c",
    "token": "409eda271d244a6a93f9e9b2013eba36"
  },
  "data": {
    "date": "2017-02-16T13:35:38.793024+02:00",
    "status": "pending",
    "id": "0e394c14e7d6442a8e054b41ace2b246",
    "lotValues": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "date": "2017-02-16T13:35:38.793713+02:00",
        "status": "pending",
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        }
      }
    ],
    "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": "м. Вінниця"
        }
      }
    ]
  }
}

Bidder can register bids for all lots:

POST /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 849
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "lotValues": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "value": {
          "amount": 500
        }
      },
      {
        "relatedLot": "37dbcb6cabfe4c44b6c42457cb39dcc9",
        "value": {
          "amount": 500
        }
      }
    ],
    "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/5be924af98a445448a0a8a81b5f109db/bids/c8e665a8d0f8479f82d29057e9a1eba8
{
  "access": {
    "transfer": "997250d856de455a8f2e6b7ba0a0712c",
    "token": "0173b76dcf374ed1bcfe585440525a67"
  },
  "data": {
    "date": "2017-02-16T13:35:38.907221+02:00",
    "status": "pending",
    "id": "c8e665a8d0f8479f82d29057e9a1eba8",
    "lotValues": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "date": "2017-02-16T13:35:38.907907+02:00",
        "status": "pending",
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        }
      },
      {
        "relatedLot": "37dbcb6cabfe4c44b6c42457cb39dcc9",
        "date": "2017-02-16T13:35:38.908518+02:00",
        "status": "pending",
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": 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": "м. Львів"
        }
      }
    ]
  }
}

Then bidder should upload technical and private documents of proposal.

We can update tender during active.tendering period. Bids will be invalid after updating tender. For example, let’s reduce the lot price to 400.

PATCH /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/lots/37dbcb6cabfe4c44b6c42457cb39dcc9?acc_token=3254958c3d944d8eb0f670a2d9af96d5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 36
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "value": {
      "amount": 400
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "description": "Опис Лот №2",
    "title": "Лот №2",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-03-21T00:00:00+02:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 400.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2017-02-16T13:35:38.457427+02:00",
    "id": "37dbcb6cabfe4c44b6c42457cb39dcc9"
  }
}

Here is the bidder’s proposal after tender was updated.

GET /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/bids/0e394c14e7d6442a8e054b41ace2b246?acc_token=409eda271d244a6a93f9e9b2013eba36 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": "0e394c14e7d6442a8e054b41ace2b246"
  }
}

Firstly bidder has to renew bid, even if he was placing a bid just for a lot №1.

PATCH /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/bids/0e394c14e7d6442a8e054b41ace2b246?acc_token=409eda271d244a6a93f9e9b2013eba36 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 124
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "value": {
          "amount": 500
        }
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "date": "2017-02-16T13:35:38.793024+02:00",
    "status": "pending",
    "id": "0e394c14e7d6442a8e054b41ace2b246",
    "lotValues": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "date": "2017-02-16T13:35:38.793713+02:00",
        "status": "pending",
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        }
      }
    ],
    "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": "м. Вінниця"
        }
      }
    ]
  }
}

Then bidder has to renew bid only for a lot №1.

PATCH /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/bids/c8e665a8d0f8479f82d29057e9a1eba8?acc_token=0173b76dcf374ed1bcfe585440525a67 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 124
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "value": {
          "amount": 500
        }
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "date": "2017-02-16T13:35:38.907221+02:00",
    "status": "pending",
    "id": "c8e665a8d0f8479f82d29057e9a1eba8",
    "lotValues": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "date": "2017-02-16T13:35:38.907907+02:00",
        "status": "pending",
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": 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": "м. Львів"
        }
      }
    ]
  }
}

Bid Qualification

Two-stage tendering procedure requires bid’s value qualification.

Let’s view tender:

GET /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db?acc_token=3254958c3d944d8eb0f670a2d9af96d5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.pre-qualification",
    "complaintPeriod": {
      "startDate": "2017-02-11T13:35:39.377098+02:00",
      "endDate": "2017-02-11T13:35:40.377098+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-11T13:35:39.377098+02:00",
      "clarificationsUntil": "2017-02-15T13:35:39.377098+02:00",
      "endDate": "2017-02-15T13:35:39.377098+02:00",
      "invalidationDate": "2017-02-16T13:35:39.023355+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5be924af98a445448a0a8a81b5f109db",
    "transfer_token": "68b667da50b941a3363a9557b4eb10b3a52e735651e3574d0fe3c6c29a68547e3fa95cfe5bf13db0148eae35a204b9cdad3fc2d4a7601795a13d3faadd071872",
    "title": "Послуги шкільних їдалень",
    "lots": [
      {
        "status": "active",
        "description": "Опис Лот №1",
        "title": "Лот №1",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-02-16T13:35:38.383146+02:00",
        "id": "f2542173d5f74511bd1d3fd7b0ca6333"
      },
      {
        "status": "unsuccessful",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 400.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-02-16T13:35:39.560544+02:00",
        "id": "37dbcb6cabfe4c44b6c42457cb39dcc9"
      }
    ],
    "qualificationPeriod": {
      "startDate": "2017-02-16T13:35:39.551420+02:00"
    },
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:39.560544+02:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-02-11T13:35:39.377098+02:00",
      "endDate": "2017-02-16T13:35:39.377098+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "qualifications": [
      {
        "status": "pending",
        "date": "2017-02-16T13:35:39.552505+02:00",
        "lotID": "f2542173d5f74511bd1d3fd7b0ca6333",
        "id": "a364da935c8d4be1ae0f6daf125a4893",
        "bidID": "0e394c14e7d6442a8e054b41ace2b246"
      },
      {
        "status": "pending",
        "date": "2017-02-16T13:35:39.552853+02:00",
        "lotID": "f2542173d5f74511bd1d3fd7b0ca6333",
        "id": "b8f81df67c624be983e2bb55e36afe14",
        "bidID": "c8e665a8d0f8479f82d29057e9a1eba8"
      }
    ],
    "date": "2017-02-16T13:35:39.560544+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "0322a1ec11a9443daf7e03d1dc070caf",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "relatedLot": "37dbcb6cabfe4c44b6c42457cb39dcc9",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "bacc2842f1ba4337ae7b0840ab0f1c0c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "pending",
        "id": "0e394c14e7d6442a8e054b41ace2b246",
        "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": "м. Вінниця"
            }
          }
        ]
      },
      {
        "status": "pending",
        "id": "c8e665a8d0f8479f82d29057e9a1eba8",
        "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": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 900.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Let’s list qualifications:

GET /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/qualifications?acc_token=3254958c3d944d8eb0f670a2d9af96d5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "pending",
      "date": "2017-02-16T13:35:39.552505+02:00",
      "lotID": "f2542173d5f74511bd1d3fd7b0ca6333",
      "id": "a364da935c8d4be1ae0f6daf125a4893",
      "bidID": "0e394c14e7d6442a8e054b41ace2b246"
    },
    {
      "status": "pending",
      "date": "2017-02-16T13:35:39.552853+02:00",
      "lotID": "f2542173d5f74511bd1d3fd7b0ca6333",
      "id": "b8f81df67c624be983e2bb55e36afe14",
      "bidID": "c8e665a8d0f8479f82d29057e9a1eba8"
    }
  ]
}

Approve bid’s value through qualification objects:

PATCH /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db/qualifications/a364da935c8d4be1ae0f6daf125a4893?acc_token=3254958c3d944d8eb0f670a2d9af96d5 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",
    "date": "2017-02-16T13:35:39.777061+02:00",
    "lotID": "f2542173d5f74511bd1d3fd7b0ca6333",
    "id": "a364da935c8d4be1ae0f6daf125a4893",
    "bidID": "0e394c14e7d6442a8e054b41ace2b246"
  }
}

Procuring entity approves qualifications by switching to next status:

PATCH /api/2.3/tenders/5be924af98a445448a0a8a81b5f109db?acc_token=3254958c3d944d8eb0f670a2d9af96d5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 60
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active.pre-qualification.stand-still"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.pre-qualification.stand-still",
    "complaintPeriod": {
      "startDate": "2017-02-11T13:35:39.377098+02:00",
      "endDate": "2017-02-11T13:35:40.377098+02:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-02-11T13:35:39.377098+02:00",
      "clarificationsUntil": "2017-02-15T13:35:39.377098+02:00",
      "endDate": "2017-02-15T13:35:39.377098+02:00",
      "invalidationDate": "2017-02-16T13:35:39.023355+02:00"
    },
    "submissionMethod": "electronicAuction",
    "operator": "ua",
    "next_check": "2017-02-17T00:00:01+02:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "5be924af98a445448a0a8a81b5f109db",
    "transfer_token": "68b667da50b941a3363a9557b4eb10b3a52e735651e3574d0fe3c6c29a68547e3fa95cfe5bf13db0148eae35a204b9cdad3fc2d4a7601795a13d3faadd071872",
    "title": "Послуги шкільних їдалень",
    "lots": [
      {
        "status": "active",
        "description": "Опис Лот №1",
        "title": "Лот №1",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "auctionPeriod": {
          "shouldStartAfter": "2017-02-18T00:00:00+02:00"
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-02-16T13:35:38.383146+02:00",
        "id": "f2542173d5f74511bd1d3fd7b0ca6333"
      },
      {
        "status": "unsuccessful",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 400.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-02-16T13:35:39.560544+02:00",
        "id": "37dbcb6cabfe4c44b6c42457cb39dcc9"
      }
    ],
    "qualificationPeriod": {
      "startDate": "2017-02-16T13:35:39.551420+02:00",
      "endDate": "2017-02-17T00:00:01+02:00"
    },
    "tenderID": "R-UA-2017-02-16-000001",
    "dateModified": "2017-02-16T13:35:40.148010+02:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-02-11T13:35:39.377098+02:00",
      "endDate": "2017-02-16T13:35:39.377098+02:00"
    },
    "procurementMethodType": "aboveThresholdTS",
    "qualifications": [
      {
        "status": "active",
        "date": "2017-02-16T13:35:39.777061+02:00",
        "lotID": "f2542173d5f74511bd1d3fd7b0ca6333",
        "id": "a364da935c8d4be1ae0f6daf125a4893",
        "bidID": "0e394c14e7d6442a8e054b41ace2b246"
      },
      {
        "status": "active",
        "date": "2017-02-16T13:35:39.898377+02:00",
        "lotID": "f2542173d5f74511bd1d3fd7b0ca6333",
        "id": "b8f81df67c624be983e2bb55e36afe14",
        "bidID": "c8e665a8d0f8479f82d29057e9a1eba8"
      }
    ],
    "date": "2017-02-16T13:35:40.148010+02:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "f2542173d5f74511bd1d3fd7b0ca6333",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283623+02:00",
          "endDate": "2017-04-07T13:35:25.283712+02:00"
        },
        "id": "0322a1ec11a9443daf7e03d1dc070caf",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "relatedLot": "37dbcb6cabfe4c44b6c42457cb39dcc9",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "CPV",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-03-08T13:35:25.283746+02:00",
          "endDate": "2017-04-07T13:35:25.283773+02:00"
        },
        "id": "bacc2842f1ba4337ae7b0840ab0f1c0c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "id": "0e394c14e7d6442a8e054b41ace2b246",
        "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": "м. Вінниця"
            }
          }
        ]
      },
      {
        "status": "active",
        "id": "c8e665a8d0f8479f82d29057e9a1eba8",
        "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": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 900.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

API Reference

Indices and tables