Welcome to openprocurement.tender.competitivedialogue’s documentation!

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

Contents:

Overview

The Competitive Dialogue procedure is plugin to Open Procurement API software.

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

Conventions

This plugin conventions follow the Open Procurement API conventions.

Main responsibilities

CompetitiveDialogue procedure which split on 2 stages, first it’s where broker specify requirements, and second where he create tender with requirements from first stage. Second stage by procedure similar to Open EU, and Open UA.

Project status

The project is in active development and has pilot installations.

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

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) and en (title_en) translations are required

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.

stage2TenderID:

string, auto-generated, read-only

The tender identifier on second stage

procurementMethodType:
 

string

value: competitiveDialogueEU or competitiveDialogueUA

procuringEntity:
 

ProcuringEntity, required

Organization conducting the tender.

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

value:

Value, required

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

OpenContracting Description: The total estimated value of the procurement.

guarantee:

Guarantee

Bid guarantee

items:

list of Item objects, required

List that contains single item being procured.

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

features:

list of Feature objects

Features of tender.

documents:

List of Document objects

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

questions:

List of Question objects

Questions to procuringEntity and answers to them.

complaints:

List of Complaint objects

Complaints to tender conditions and their resolutions.

bids:

List of Bid second stage objects

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

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

minimalStep:

Value, required

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

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

List of Award objects

All qualifications (disqualifications and awards).

contracts:

List of Contract objects

enquiryPeriod:

Period, required

Period when questions are allowed.

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

tenderPeriod:

Period, required

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

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

qualificationPeriod:
 

Period, read-only

This period consists of qualification and 10 days 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

ConfidentialDocument first stage

Schema

id:

string, auto-generated

documentType:

string

Possible values for Tender

  • notice - Tender notice

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

  • biddingDocuments - Bidding Documents

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

  • technicalSpecifications - Technical Specifications

    Detailed technical information about goods or services to be provided.

  • evaluationCriteria - Evaluation Criteria

    Information about how bids will be evaluated.

  • clarifications - Clarifications to bidders questions

    Including replies to issues raised in pre-bid conferences.

  • eligibilityCriteria - Eligibility Criteria

    Detailed documents about the eligibility of bidders.

  • shortlistedFirms - Shortlisted Firms

  • riskProvisions - Provisions for management of risks and liabilities

  • billOfQuantity - Bill Of Quantity

  • bidders - Information on bidders

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

  • conflictOfInterest - Conflicts of interest uncovered

  • debarments - Debarments issued

Possible values for Award

  • notice - Award Notice

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

  • evaluationReports - Evaluation report

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

  • winningBid - Winning Bid

  • complaints - Complaints and decisions

Possible values for Contract

  • notice - Contract notice

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

  • contractSigned - Signed Contract

  • contractArrangements - Arrangements for ending contract

  • contractSchedule - Schedules and milestones

  • contractAnnexe - Annexes to the Contract

  • contractGuarantees - Guarantees

  • subContract - Subcontracts

Possible values for Bid second stage

  • commercialProposal - Сommercial proposal

    For Competitive Dialogue procedure commercialProposal should be contained in financialDocuments envelope. See Bid second stage.

  • qualificationDocuments - Qualification documents

    For Competitive Dialogue procedure qualificationDocuments should be contained in documents envelope. See Bid second stage.

  • eligibilityDocuments - Eligibility documents

    For Competitive Dialogue procedure eligibilityDocuments should be contained in eligibilityDocuments envelope. See Bid second stage.

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.

isDescriptionDecision:
 

bool

OpenContracting Description: Make document “Description of the decision to purchase”.

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.

confidentiality:
 

string

Possible values are:

  • public
  • buyerOnly
confidentialityRationale:
 

string

Reasons for confidentiality of documents.

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, default = uk

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.

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.

additionalIdentifiers:
 

List of Identifier objects

address:

Address, required

contactPoint:

ContactPoint, required

Identifier

Schema

scheme:

string

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

id:

string, required

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

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

legalName:

string, multilingual

OpenContracting Description: The legally registered name of the organization.

uri:

uri

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

Address

Schema

streetAddress:

string, required

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

locality:

string, required

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

region:

string, required

OpenContracting Description: The region. For example, CA.

postalCode:

string, required

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

countryName:

string, multilingual, required

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

ContactPoint

Schema

name:

string, multilingual, required

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

email:

email

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

telephone:

string

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

faxNumber:

string

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

url:

url

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

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.

additionalIdentifiers:
 

List of Identifier objects

address:

Address, required

contactPoint:

ContactPoint, required

kind:

string

Type of procuring entity

Possible values:
  • general - Procuring entity (general)
  • special - Procuring entity that operates in certain spheres of economic activity
  • defense - Procuring entity that conducts procurement for the defense needs

Item

Schema

id:

string, auto-generated

description:

string, multilingual, required

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

classification:

Classification

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

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

additionalClassifications:
 

List of Classification objects

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

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

unit:

Unit

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

quantity:

integer

OpenContracting Description: The number of units required

deliveryDate:

Period, required

Period during which the item should be delivered.

deliveryAddress:
 

Address, required

Address, where the item should be delivered.

deliveryLocation:
 

dictionary

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

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

deliveryLocation usually takes precedence over deliveryAddress if both are present.

relatedLot:

string

Id of related Lot.

Classification

Schema

scheme:

string

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

id:

string

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

description:

string

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

uri:

uri

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

Unit

Schema

code:

string, required

UN/CEFACT Recommendation 20 unit code.

name:

string

OpenContracting Description: Name of the unit

Document

Schema

id:

string, auto-generated

documentType:

string

Possible values for Tender

  • notice - Tender notice

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

  • biddingDocuments - Bidding Documents

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

  • technicalSpecifications - Technical Specifications

    Detailed technical information about goods or services to be provided. For Open EU procedure technicalSpecifications should be contained in documents envelope. See Bid second stage.

  • evaluationCriteria - Evaluation Criteria

    Information about how bids will be evaluated.

  • clarifications - Clarifications to bidders questions

    Including replies to issues raised in pre-bid conferences.

  • eligibilityCriteria - Eligibility Criteria

    Detailed documents about the eligibility of bidders.

  • shortlistedFirms - Shortlisted Firms

  • riskProvisions - Provisions for management of risks and liabilities

  • billOfQuantity - Bill Of Quantity

    For Open EU procedure billOfQuantity should be contained in financialDocuments envelope. See Bid second stage.

  • bidders - Information on bidders

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

  • conflictOfInterest - Conflicts of interest uncovered

  • debarments - Debarments issued

  • contractProforma - Draft contract

Possible values for Award

  • notice - Award Notice

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

  • evaluationReports - Evaluation report

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

  • winningBid - Winning Bid

  • complaints - Complaints and decisions

Possible values for Contract

  • notice - Contract notice

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

  • contractSigned - Signed Contract

  • contractArrangements - Arrangements for ending contract

  • contractSchedule - Schedules and milestones

  • contractAnnexe - Annexes to the Contract

  • contractGuarantees - Guarantees

  • subContract - Subcontracts

Possible values for Bid second stage

  • commercialProposal - Сommercial proposal

    For Open EU procedure commercialProposal should be contained in financialDocuments envelope. See Bid second stage.

  • qualificationDocuments - Qualification documents

    For Open EU procedure qualificationDocuments should be contained in documents envelope. See Bid second stage.

  • eligibilityDocuments - Eligibility documents

    For Open EU procedure eligibilityDocuments should be contained in eligibilityDocuments envelope. See Bid second stage.

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
  • 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
subcontractingDetails:
 

string

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

selfEligible’:

True, required

Confirms compliance of eligibility criteria set by the customer in the tendering documents

selfQualified:

True, required

Confirms the absence of grounds for refusal to participate in accordance with Article 17 of the Law of Ukraine “On public procurement”

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:List of ConfidentialDocument first stage objects. This envelope has to contain only technical part of proposal (technicalSpecifications and qualificationDocuments). It is revealed at pre-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.

subcontractingDetails:
 

string

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

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.

eligible:

bool

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

qualified:

bool

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

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 Qualification documentation, protocols, reasons for qualification or disqualification. Uploaded by tender committee.

status:

string

Possible values are:

  • pending
  • active
  • unsuccessful
  • 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.

eligible:

bool

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

qualified:

bool

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

status:

string

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

Possible values are:

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

string, Date, auto-generated, read-only

OpenContracting Description: The date of the contract award.

value:

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

OpenContracting Description: The total value of this award.

suppliers:

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

OpenContracting Description: The suppliers awarded with this award.

items:

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

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

documents:

List of Document objects

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

complaints:

List of Complaint objects

complaintPeriod:
 

Period

The timeframe when complaints can be submitted.

lotID:

string

Id of related Lot.

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

id:

uid, auto-generated

author:

Organization, required

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

title:

string, required

Title of the question.

description:

string

Description of the question.

date:

string, Date, auto-generated

Date of posting.

answer:

string

Answer for the question asked.

questionOf:

string

Possible values are:

  • tender
  • item
  • lot
relatedItem:

string

Id of related Lot or Item.

Complaint

Schema

id:

uid, auto-generated

author:

Organization, required

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

title:

string, required

Title of the complaint.

description:

Description of the issue.

date:

string, Date, auto-generated

Date of posting.

dateSubmitted:

string, Date, auto-generated

Date when claim was submitted.

dateAnswered:

string, Date, auto-generated

Date when Procuring entity answered the claim.

dateEscalated:

string, Date, auto-generated

Date of claim to complaint escalation.

dateDecision:

string, Date, auto-generated

Date of complaint decision.

dateCanceled:

string, Date, auto-generated

Date of cancelling.

status:

string

Possible values are:

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

string

Possible values of type are:

  • claim
  • complaint
resolution:

string

Resolution of Procuring entity.

resolutionType:

string

Possible values of resolution type are:

  • invalid
  • declined
  • resolved
satisfied:

bool

Claim is satisfied?

decision:

string

Reviewer decision.

cancellationReason:
 

string

Cancellation reason.

documents:

List of Document objects

relatedLot:

string

Id of related Lot.

tendererAction:

string

Tenderer action.

tendererActionDate:
 

string, Date, auto-generated

Date of tenderer action.

acceptance:

bool

Claim is satisfied?

rejectReason:

string

Possible values of reject reason are:

  • law
  • payment
  • fixed
rejectReasonDescription:
 

string

Reject reason description.

reviewDate:

string, Date, auto-generated

Date of review.

reviewPlace:

string

Place of review.

Contract

Schema

id:

uid, auto-generated

OpenContracting Description: The identifier for this contract.

awardID:

string, required

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

contractID:

string, auto-generated, read-only

contractNumber:

string

title:

string, required

OpenContracting Description: Contract title

description:

string

OpenContracting Description: Contract description

status:

string, required

OpenContracting Description: The current status of the contract.

Possible values are:

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

Period

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

items:

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

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

suppliers:

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

value:

Value object, auto-generated, read-only

OpenContracting Description: The total value of this contract.

dateSigned:

string, Date, auto-generated

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

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.

Tender second stage EU

Schema

title:

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

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: competitiveDialogueEU.stage2

shortlistedFirms:
 

shortlistedFirms, auto-generated, read-only

OpenContracting Description: List of firm which can register bid on tender

procuringEntity:
 

ProcuringEntity, required

Organization conducting the tender.

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

value:

Value, required

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

OpenContracting Description: The total estimated value of the procurement.

guarantee:

Guarantee

Bid guarantee

items:

list of item_stage2_UA objects, required

List that contains single item being procured.

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

features:

list of Feature objects

Features of tender.

documents:

List of Document objects

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

questions:

List of Question objects

Questions to procuringEntity and answers to them.

complaints:

List of Complaint objects

Complaints to tender conditions and their resolutions.

bids:

List of Bid second stage objects

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

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

minimalStep:

Value, required

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

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

List of Award objects

All qualifications (disqualifications and awards).

contracts:

List of Contract objects

enquiryPeriod:

Period, required

Period when questions are allowed.

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

tenderPeriod:

Period, required

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

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

qualificationPeriod:
 

Period, read-only

This period consists of qualification and 10 days 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

Tender second stage UA

Schema

title:

string, multilingual

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

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

string, multilingual

Detailed description of tender.

tenderID:

string, auto-generated, read-only

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

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

procurementMethodType:
 

string

value: competitiveDialogueUA.stage2

shortlistedFirms:
 

shortlistedFirms, auto-generated, read-only

OpenContracting Description: List of firm which can register bid on tender

procuringEntity:
 

ProcuringEntity, required

Organization conducting the tender.

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

value:

Value, required

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

OpenContracting Description: The total estimated value of the procurement.

guarantee:

Guarantee

Bid guarantee

items:

list of Item objects, required

List that contains single item being procured.

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

features:

list of Feature objects

Features of tender.

documents:

List of Document objects

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

questions:

List of Question objects

Questions to procuringEntity and answers to them.

complaints:

List of Complaint objects

Complaints to tender conditions and their resolutions.

bids:

List of Bid second stage objects

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

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

minimalStep:

Value, required

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

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

List of Award objects

All qualifications (disqualifications and awards).

contracts:

List of Contract objects

enquiryPeriod:

Period, required

Period when questions are allowed.

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

tenderPeriod:

Period, required

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

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

auctionPeriod:

Period, read-only

Period when Auction is conducted.

auctionUrl:

url

A web address for view auction.

awardPeriod:

Period, read-only

Awarding process period.

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

status:

string

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

Status of the Tender.

lots:

List of Lot objects.

Contains all tender lots.

cancellations:

List of Cancellation objects.

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

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

revisions:

List of Revision objects, auto-generated

Historical changes to Tender object properties.

Important

The Tender dates should be sequential:

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

Bid second stage

Schema

tenderers:

List of Organization objects

date:

string, Date, autogenerated

id:

uid, autogenerated

status:

string

Possible values are:

  • draft
  • pending
  • active
  • invalid
  • deleted
value:

Value, required

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

string

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

selfEligible’:

True, required

Confirms compliance of eligibility criteria set by the customer in the tendering documents

selfQualified:

True, required

Confirms the absence of grounds for refusal to participate in accordance with Article 17 of the Law of Ukraine “On public procurement”

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:List of ConfidentialDocument objects. This envelope has to contain only technical part of proposal (technicalSpecifications and qualificationDocuments). It is revealed at pre-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.amount
  • 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.

subcontractingDetails:
 

string

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

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

Item

Schema

id:

string, auto-generated

description:

string, multilingual, required

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

classification:

Classification

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

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

additionalClassifications:
 

List of Classification objects

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

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

unit:

Unit

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

quantity:

integer

OpenContracting Description: The number of units required

deliveryDate:

Period, required

Period during which the item should be delivered.

deliveryAddress:
 

Address, required

Address, where the item should be delivered.

deliveryLocation:
 

dictionary

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

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

deliveryLocation usually takes precedence over deliveryAddress if both are present.

relatedLot:

string

Id of related Lot.

Classification

Schema

scheme:

string

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

id:

string

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

description:

string

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

uri:

uri

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

Unit

Schema

code:

string, required

UN/CEFACT Recommendation 20 unit code.

name:

string

OpenContracting Description: Name of the unit

ConfidentialDocument

Schema

id:

string, auto-generated

documentType:

string

Possible values for Tender

  • notice - Tender notice

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

  • biddingDocuments - Bidding Documents

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

  • technicalSpecifications - Technical Specifications

    Detailed technical information about goods or services to be provided.

  • evaluationCriteria - Evaluation Criteria

    Information about how bids will be evaluated.

  • clarifications - Clarifications to bidders questions

    Including replies to issues raised in pre-bid conferences.

  • eligibilityCriteria - Eligibility Criteria

    Detailed documents about the eligibility of bidders.

  • shortlistedFirms - Shortlisted Firms

  • riskProvisions - Provisions for management of risks and liabilities

  • billOfQuantity - Bill Of Quantity

  • bidders - Information on bidders

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

  • conflictOfInterest - Conflicts of interest uncovered

  • debarments - Debarments issued

Possible values for Award

  • notice - Award Notice

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

  • evaluationReports - Evaluation report

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

  • winningBid - Winning Bid

  • complaints - Complaints and decisions

Possible values for Contract

  • notice - Contract notice

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

  • contractSigned - Signed Contract

  • contractArrangements - Arrangements for ending contract

  • contractSchedule - Schedules and milestones

  • contractAnnexe - Annexes to the Contract

  • contractGuarantees - Guarantees

  • subContract - Subcontracts

Possible values for Bid second stage

  • commercialProposal - Сommercial proposal

    For Open EU procedure commercialProposal should be contained in financialDocuments envelope. See Bid second stage.

  • qualificationDocuments - Qualification documents

    For Open EU procedure qualificationDocuments should be contained in documents envelope. See Bid second stage.

  • eligibilityDocuments - Eligibility documents

    For Open EU procedure eligibilityDocuments should be contained in eligibilityDocuments envelope. See Bid second stage.

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.

confidentiality:
 

string

Possible values are:

  • public
  • buyerOnly
confidentialityRationale:
 

string

Reasons for confidentiality of documents.

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, default = uk

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.

Tutorial

Exploring basic rules

Let’s try exploring the /tenders endpoint:

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

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

Just invoking it reveals empty set.

Now let’s attempt creating some tender:

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


Response: 415 Unsupported Media Type
Content-Type: application/json; charset=UTF-8
{
  "status": "error",
  "errors": [
    {
      "description": "Content-Type header should be one of ['application/json']",
      "location": "header",
      "name": "Content-Type"
    }
  ]
}

Error states that the only accepted Content-Type is application/json.

Let’s satisfy the Content-type requirement:

POST /api/2.3/tenders?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 4
Content-Type: application/json
Host: api-sandbox.openprocurement.org


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

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

Creating tender on first stage

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: 3782
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-07-22T17:04:37.419058+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500
    },
    "procurementMethodType": "competitiveDialogueEU",
    "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/c91cc0e7dffc4bc7b59cf53d9bbfd0bf
{
  "access": {
    "token": "1c073921ab5f4a30a693936b569bfa3b"
  },
  "data": {
    "procurementMethod": "open",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "endDate": "2017-07-22T17:04:37.419058+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "clarificationsUntil": "2017-07-17T17:04:37.419058+03:00",
      "endDate": "2017-07-12T17:04:37.419058+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "endDate": "2017-07-18T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T17:05:13.222591+03:00",
    "dateModified": "2017-06-21T17:05:13.230470+03:00",
    "procurementMethodType": "competitiveDialogueEU",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "next_check": "2017-07-22T17:04:37.419058+03:00",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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

The peculiarity of the CompetitiveDialogue procedure is that procurementMethodType can be CompetitiveDialogueEU or CompetitiveDialogueUA.

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

Also there is no opportunity to set up enquiryPeriod, it will be assigned automatically.

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "endDate": "2017-07-22T17:04:37.419058+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "clarificationsUntil": "2017-07-17T17:04:37.419058+03:00",
      "endDate": "2017-07-12T17:04:37.419058+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "endDate": "2017-07-18T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T17:05:13.222591+03:00",
    "dateModified": "2017-06-21T17:05:13.230470+03:00",
    "procurementMethodType": "competitiveDialogueEU",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "next_check": "2017-07-22T17:04:37.419058+03:00",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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

Let’s see what listing of tenders reveals us:

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

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

We do see the internal id of a tender (that can be used to construct full URL by prepending http://api-sandbox.openprocurement.org/api/0/tenders/) and its dateModified datestamp.

Modifying tender

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

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-07-21T17:05:23.338995+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "endDate": "2017-07-21T17:05:23.338995+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "clarificationsUntil": "2017-07-14T17:05:23.338995+03:00",
      "endDate": "2017-07-11T17:05:23.338995+03:00",
      "invalidationDate": "2017-06-21T17:05:13.421519+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "endDate": "2017-07-17T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T17:05:13.222591+03:00",
    "dateModified": "2017-06-21T17:05:13.425016+03:00",
    "procurementMethodType": "competitiveDialogueEU",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "next_check": "2017-07-21T17:05:23.338995+03:00",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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

Checking the listing again reflects the new modification date:

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "next_page": {
    "path": "/api/2.3/tenders?offset=2017-06-21T17%3A05%3A13.230470%2B03%3A00",
    "uri": "http://api-sandbox.openprocurement.org/api/2.3/tenders?offset=2017-06-21T17%3A05%3A13.230470%2B03%3A00",
    "offset": "2017-06-21T17:05:13.230470+03:00"
  },
  "data": [
    {
      "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
      "dateModified": "2017-06-21T17:05:13.230470+03:00"
    }
  ]
}

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

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b 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-05-24T17:05:14.179289+03:00",
      "endDate": "2017-06-19T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-24T17:05:14.179289+03:00",
      "clarificationsUntil": "2017-06-16T17:05:14.179289+03:00",
      "endDate": "2017-06-13T17:05:14.179289+03:00",
      "invalidationDate": "2017-06-21T17:05:13.876837+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-23T17:05:14.179289+03:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-06-21T17:05:14.073811+03:00",
        "title": "Калорійність",
        "date": "2017-06-21T17:05:13.985479+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "785c0ae40d5847b2875308789645e310",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.666862+03:00",
        "id": "8a6e4ab4338b434294b6a2eba1615813",
        "dateModified": "2017-06-21T17:05:13.666896+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ac4aae70844b4bfd99b2bd87259d7397?KeyID=ee3bcdd8&Signature=2vhWd%252B98VFz%2FczwNxsga5A94Tp0fRxPuFtUSpAy4R%2F3b9ofHGkF3HIfMYA19wqDFIe0vkDSV4wTsR3VmkkUlBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.767551+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/85d023737f00442aa17a71b8edb9b875?KeyID=ee3bcdd8&Signature=xDhrDd0TFVKo3WaL98%252B230xJwf5gcX7N091sxyL%2F9rcJl2gdikFbdgwmn92avDIt8oXludvHXQFx1xwogFlBBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.875883+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:14.081099+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-05-24T17:05:14.179289+03:00",
      "endDate": "2017-06-23T17:05:14.179289+03:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2017-06-21T17:05:13.222591+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b 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 7 days",
      "location": "body",
      "name": "data"
    }
  ]
}

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

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 120
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-06-29T17:05:14.385308+03:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 501
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "complaintPeriod": {
      "startDate": "2017-05-24T17:05:14.179289+03:00",
      "endDate": "2017-06-25T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-24T17:05:14.179289+03:00",
      "clarificationsUntil": "2017-06-22T17:05:14.385308+03:00",
      "endDate": "2017-06-19T17:05:14.385308+03:00",
      "invalidationDate": "2017-06-21T17:05:14.512053+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-29T17:05:14.385308+03:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-06-21T17:05:14.073811+03:00",
        "title": "Калорійність",
        "date": "2017-06-21T17:05:13.985479+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "785c0ae40d5847b2875308789645e310",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.666862+03:00",
        "id": "8a6e4ab4338b434294b6a2eba1615813",
        "dateModified": "2017-06-21T17:05:13.666896+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ac4aae70844b4bfd99b2bd87259d7397?KeyID=ee3bcdd8&Signature=2vhWd%252B98VFz%2FczwNxsga5A94Tp0fRxPuFtUSpAy4R%2F3b9ofHGkF3HIfMYA19wqDFIe0vkDSV4wTsR3VmkkUlBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.767551+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/85d023737f00442aa17a71b8edb9b875?KeyID=ee3bcdd8&Signature=xDhrDd0TFVKo3WaL98%252B230xJwf5gcX7N091sxyL%2F9rcJl2gdikFbdgwmn92avDIt8oXludvHXQFx1xwogFlBBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.875883+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:14.516749+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-05-24T17:05:14.179289+03:00",
      "endDate": "2017-06-29T17:05:14.385308+03:00"
    },
    "title_en": "Services in school canteens",
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2017-06-21T17:05:13.222591+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Procuring entity can set bid guarantee:

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b 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",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "endDate": "2017-07-21T17:05:23.338995+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "clarificationsUntil": "2017-07-14T17:05:23.338995+03:00",
      "endDate": "2017-07-11T17:05:23.338995+03:00",
      "invalidationDate": "2017-06-21T17:05:13.597780+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:13.179260+03:00",
      "endDate": "2017-07-17T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T17:05:13.222591+03:00",
    "dateModified": "2017-06-21T17:05:13.601305+03:00",
    "procurementMethodType": "competitiveDialogueEU",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "next_check": "2017-07-21T17:05:23.338995+03:00",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "tenderID": "UA-2017-06-21-000001"
  }
}

Uploading documentation

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

POST /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/documents?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 186
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy421356406047$
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/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/documents/8a6e4ab4338b434294b6a2eba1615813
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:13.666862+03:00",
    "id": "8a6e4ab4338b434294b6a2eba1615813",
    "dateModified": "2017-06-21T17:05:13.666896+03:00"
  }
}

201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/documents/8a6e4ab4338b434294b6a2eba1615813?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:13.666862+03:00",
    "previousVersions": [],
    "id": "8a6e4ab4338b434294b6a2eba1615813",
    "dateModified": "2017-06-21T17:05:13.666896+03:00"
  }
}

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

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/documents?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:13.666862+03:00",
      "id": "8a6e4ab4338b434294b6a2eba1615813",
      "dateModified": "2017-06-21T17:05:13.666896+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "AwardCriteria.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/ac4aae70844b4bfd99b2bd87259d7397?KeyID=ee3bcdd8&Signature=2vhWd%252B98VFz%2FczwNxsga5A94Tp0fRxPuFtUSpAy4R%2F3b9ofHGkF3HIfMYA19wqDFIe0vkDSV4wTsR3VmkkUlBQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:13.767519+03:00",
      "id": "a111e6a58c5e4068b154c7aee1f02795",
      "dateModified": "2017-06-21T17:05:13.767551+03:00"
    }
  ]
}

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:13.666862+03:00",
      "id": "8a6e4ab4338b434294b6a2eba1615813",
      "dateModified": "2017-06-21T17:05:13.666896+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "AwardCriteria-2.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/85d023737f00442aa17a71b8edb9b875?KeyID=ee3bcdd8&Signature=xDhrDd0TFVKo3WaL98%252B230xJwf5gcX7N091sxyL%2F9rcJl2gdikFbdgwmn92avDIt8oXludvHXQFx1xwogFlBBw%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:13.767519+03:00",
      "id": "a111e6a58c5e4068b154c7aee1f02795",
      "dateModified": "2017-06-21T17:05:13.875883+03:00"
    }
  ]
}

Enquiries

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

POST /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/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/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/questions/785c0ae40d5847b2875308789645e310
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "00137226",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Калорійність",
    "date": "2017-06-21T17:05:13.985479+03:00",
    "id": "785c0ae40d5847b2875308789645e310",
    "questionOf": "tender"
  }
}

Procuring entity can answer them:

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

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

One can retrieve either questions list:

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

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

or individual answer:

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/questions/785c0ae40d5847b2875308789645e310 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

Enquiries can be made only during Tender.enqueryPeriod

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

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

Registering bid

Tender status active.tendering allows registration of bids.

Bidder can register a bid with draft status:

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0
{
  "access": {
    "token": "f91fb379075c41f2909602d2d0152c2b"
  },
  "data": {
    "status": "draft",
    "selfEligible": true,
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": 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": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:14.611573+03:00",
    "id": "2b73ea4bdef34b6481601d7f4049d3f0"
  }
}

and approve to pending status:

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0?acc_token=f91fb379075c41f2909602d2d0152c2b 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",
    "selfEligible": true,
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": 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": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:14.611573+03:00",
    "id": "2b73ea4bdef34b6481601d7f4049d3f0"
  }
}

Proposal Uploading

Then bidder should upload proposal technical document(s):

POST /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents?acc_token=f91fb379075c41f2909602d2d0152c2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 188
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy805455883267$
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/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/f4cbc5957f3943f0941fd002dae1b1d3
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/f4cbc5957f3943f0941fd002dae1b1d3?download=b5573ee1dc47405994ec4b7ab2646989",
    "format": "application/pdf",
    "isDescriptionDecision": false,
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:14.833011+03:00",
    "id": "f4cbc5957f3943f0941fd002dae1b1d3",
    "dateModified": "2017-06-21T17:05:14.833044+03:00"
  }
}

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

First upload file

POST /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents?acc_token=f91fb379075c41f2909602d2d0152c2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy669501564778$
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/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "DescriptiveProposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
    "format": "application/pdf",
    "isDescriptionDecision": false,
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:14.951905+03:00",
    "id": "95baea1455bb4178956a1a19c2463961",
    "dateModified": "2017-06-21T17:05:14.951937+03:00"
  }
}

Then set isDescriptionDecision

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?acc_token=f91fb379075c41f2909602d2d0152c2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 41
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "isDescriptionDecision": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "DescriptiveProposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
    "format": "application/pdf",
    "isDescriptionDecision": true,
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:14.951905+03:00",
    "id": "95baea1455bb4178956a1a19c2463961",
    "dateModified": "2017-06-21T17:05:14.951937+03:00"
  }
}
Confidentiality

Documents can be either public or private:

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

Let’s upload private document:

POST /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents?acc_token=f91fb379075c41f2909602d2d0152c2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 200
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy154063828794$
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/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal_top_secrets.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?download=7a1b1b88795a4716b72af39eefe0cd9b",
    "format": "application/pdf",
    "isDescriptionDecision": false,
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:15.194576+03:00",
    "id": "c16e3628164f4949b130b3f1d5fef9a3",
    "dateModified": "2017-06-21T17:05:15.194609+03:00"
  }
}

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

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

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

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

Let’s mark the document as “private”:

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?acc_token=f91fb379075c41f2909602d2d0152c2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 120
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "confidentiality": "buyerOnly"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "buyerOnly",
    "language": "uk",
    "format": "application/pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?download=7a1b1b88795a4716b72af39eefe0cd9b",
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "title": "Proposal_top_secrets.pdf",
    "isDescriptionDecision": false,
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:15.194576+03:00",
    "id": "c16e3628164f4949b130b3f1d5fef9a3",
    "dateModified": "2017-06-21T17:05:15.194609+03:00"
  }
}

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

Let’s mark the document as “private”:

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?acc_token=f91fb379075c41f2909602d2d0152c2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 42
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "confidentiality": "buyerOnly"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "buyerOnly",
    "language": "uk",
    "title": "DescriptiveProposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
    "format": "application/pdf",
    "isDescriptionDecision": true,
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:14.951905+03:00",
    "id": "95baea1455bb4178956a1a19c2463961",
    "dateModified": "2017-06-21T17:05:14.951937+03:00"
  }
}

It is possible to check the uploaded documents:

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents?acc_token=f91fb379075c41f2909602d2d0152c2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "Proposal.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/f4cbc5957f3943f0941fd002dae1b1d3?download=b5573ee1dc47405994ec4b7ab2646989",
      "format": "application/pdf",
      "isDescriptionDecision": false,
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:14.833011+03:00",
      "id": "f4cbc5957f3943f0941fd002dae1b1d3",
      "dateModified": "2017-06-21T17:05:14.833044+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "buyerOnly",
      "language": "uk",
      "title": "DescriptiveProposal.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
      "format": "application/pdf",
      "isDescriptionDecision": true,
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:14.951905+03:00",
      "id": "95baea1455bb4178956a1a19c2463961",
      "dateModified": "2017-06-21T17:05:14.951937+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "buyerOnly",
      "language": "uk",
      "format": "application/pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?download=7a1b1b88795a4716b72af39eefe0cd9b",
      "confidentialityRationale": "Only our company sells badgers with pink hair.",
      "title": "Proposal_top_secrets.pdf",
      "isDescriptionDecision": false,
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:15.194576+03:00",
      "id": "c16e3628164f4949b130b3f1d5fef9a3",
      "dateModified": "2017-06-21T17:05:15.194609+03:00"
    }
  ]
}

Bid invalidation

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

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0?acc_token=f91fb379075c41f2909602d2d0152c2b 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": "2b73ea4bdef34b6481601d7f4049d3f0"
  }
}

Bid confirmation

Bidder should confirm bid proposal:

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0?acc_token=f91fb379075c41f2909602d2d0152c2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/f4cbc5957f3943f0941fd002dae1b1d3?download=b5573ee1dc47405994ec4b7ab2646989",
        "format": "application/pdf",
        "isDescriptionDecision": false,
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:14.833011+03:00",
        "id": "f4cbc5957f3943f0941fd002dae1b1d3",
        "dateModified": "2017-06-21T17:05:14.833044+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "title": "DescriptiveProposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
        "format": "application/pdf",
        "isDescriptionDecision": true,
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:14.951905+03:00",
        "id": "95baea1455bb4178956a1a19c2463961",
        "dateModified": "2017-06-21T17:05:14.951937+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?download=7a1b1b88795a4716b72af39eefe0cd9b",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "isDescriptionDecision": false,
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:15.194576+03:00",
        "id": "c16e3628164f4949b130b3f1d5fef9a3",
        "dateModified": "2017-06-21T17:05:15.194609+03:00"
      }
    ],
    "selfEligible": true,
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": 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": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:14.611573+03:00",
    "id": "2b73ea4bdef34b6481601d7f4049d3f0"
  }
}

Competitive Dialogue procedure demands at least three bidders:

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/99d190d9f85547d0af5ecb28779f5ec2
{
  "access": {
    "token": "6c723dc0a31f4b6c92470eada8892946"
  },
  "data": {
    "status": "pending",
    "selfEligible": true,
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-06-21T17:05:16.003577+03:00",
    "id": "99d190d9f85547d0af5ecb28779f5ec2"
  }
}

Register two more bid:

POST /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 727
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "value": {
      "amount": 5
    },
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко",
          "email": "fake@mail.com"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137227",
          "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/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/b017ee1976de45118f59fd0e27b3ecf1
{
  "access": {
    "token": "8b81c80bba984b078d81ad09b00873ab"
  },
  "data": {
    "status": "pending",
    "selfEligible": true,
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137227",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Снігур»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 35",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-06-21T17:05:16.154529+03:00",
    "id": "b017ee1976de45118f59fd0e27b3ecf1"
  }
}

Batch-mode bid registration

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

POST /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1564
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "documents": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/0eba44f9b85c4c2ab0a628ef8b358dcb?KeyID=ee3bcdd8&Signature=TnFYoib976xUYdZmzub4DBnnMj6mlSQtmFwbKTQ%2Bv%2FAqiABtc0hUo9MLbz7PQTZ2HeQJKK60f6IjemeTN05wBA%3D%3D",
        "title": "Proposal_part1.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "title": "Proposal_part2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/a8d02f05d73a4f72801a8223580e87c9?KeyID=ee3bcdd8&Signature=ewI%2FFmqPo36FPJlRsXBYAivJdJd6L0NQ%2FVf9KA%2FlV2Mw2umZOP1zZV68u1%2BtfQJKucSxrUXm%2B8I8k608VqhRBg%3D%3D",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "format": "application/pdf"
      }
    ],
    "selfQualified": true,
    "value": {
      "amount": 5
    },
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Карпенко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»",
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "м. Запоріжжя",
          "streetAddress": "вул. Коцюбинського, 15",
          "locality": "м. Запоріжя"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/7918119aa7584a10b19cfa71e47b1288
{
  "access": {
    "token": "ee52038ecee14f48b2cc869dff435d7d"
  },
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal_part1.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/7918119aa7584a10b19cfa71e47b1288/documents/170d3b5f86d8410eb5bc4aa6751dc015?download=0eba44f9b85c4c2ab0a628ef8b358dcb",
        "format": "application/pdf",
        "isDescriptionDecision": false,
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:16.360844+03:00",
        "id": "170d3b5f86d8410eb5bc4aa6751dc015",
        "dateModified": "2017-06-21T17:05:16.360890+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/7918119aa7584a10b19cfa71e47b1288/documents/f54d567c1aaa448ebe4ac0939f96471c?download=a8d02f05d73a4f72801a8223580e87c9",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf",
        "isDescriptionDecision": false,
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:16.362131+03:00",
        "id": "f54d567c1aaa448ebe4ac0939f96471c",
        "dateModified": "2017-06-21T17:05:16.362174+03:00"
      }
    ],
    "selfEligible": true,
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Карпенко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Коцюбинського, 15",
          "region": "м. Запоріжжя",
          "locality": "м. Запоріжя"
        }
      }
    ],
    "date": "2017-06-21T17:05:16.359333+03:00",
    "id": "7918119aa7584a10b19cfa71e47b1288"
  }
}

Bid Qualification

Competitive Dialogue procedure requires bid qualification.

Let’s list qualifications:

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "pending",
      "eligible": false,
      "qualified": false,
      "bidID": "2b73ea4bdef34b6481601d7f4049d3f0",
      "date": "2017-06-21T17:05:16.831858+03:00",
      "id": "c6090db9cd7c4420b4e5f55df3057f53"
    },
    {
      "status": "pending",
      "eligible": false,
      "qualified": false,
      "bidID": "99d190d9f85547d0af5ecb28779f5ec2",
      "date": "2017-06-21T17:05:16.832263+03:00",
      "id": "aeb9cda738bd4eeeb87da9ff9ac2bd6a"
    },
    {
      "status": "pending",
      "eligible": false,
      "qualified": false,
      "bidID": "b017ee1976de45118f59fd0e27b3ecf1",
      "date": "2017-06-21T17:05:16.832638+03:00",
      "id": "dc6d256011744635a08150bc9779145e"
    },
    {
      "status": "pending",
      "eligible": false,
      "qualified": false,
      "bidID": "7918119aa7584a10b19cfa71e47b1288",
      "date": "2017-06-21T17:05:16.833012+03:00",
      "id": "6b1cbdb28e8b446396acbdff58a7a0d0"
    }
  ]
}

Approve first three bids through qualification objects:

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/qualifications/c6090db9cd7c4420b4e5f55df3057f53?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "qualified": true,
    "bidID": "2b73ea4bdef34b6481601d7f4049d3f0",
    "date": "2017-06-21T17:05:17.081635+03:00",
    "id": "c6090db9cd7c4420b4e5f55df3057f53"
  }
}
PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/qualifications/aeb9cda738bd4eeeb87da9ff9ac2bd6a?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "qualified": true,
    "bidID": "99d190d9f85547d0af5ecb28779f5ec2",
    "date": "2017-06-21T17:05:17.254556+03:00",
    "id": "aeb9cda738bd4eeeb87da9ff9ac2bd6a"
  }
}
PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/qualifications/6b1cbdb28e8b446396acbdff58a7a0d0?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "qualified": true,
    "bidID": "7918119aa7584a10b19cfa71e47b1288",
    "date": "2017-06-21T17:05:17.609634+03:00",
    "id": "6b1cbdb28e8b446396acbdff58a7a0d0"
  }
}

We can also reject bid:

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/qualifications/dc6d256011744635a08150bc9779145e?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 36
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "unsuccessful"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "eligible": false,
    "qualified": false,
    "bidID": "b017ee1976de45118f59fd0e27b3ecf1",
    "date": "2017-06-21T17:05:17.435731+03:00",
    "id": "dc6d256011744635a08150bc9779145e"
  }
}

And check that qualified bids are switched to active:

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "active",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/b5573ee1dc47405994ec4b7ab2646989?KeyID=ee3bcdd8&Signature=uoFBnWjqoDkldsS1zX6VtjaSpxUGKGtvz4woqmh8soCMUrgXXm5cv5O52J%2FIDEemrhyKTTodTmh00F0igyfLBA%253D%253D",
          "format": "application/pdf",
          "isDescriptionDecision": false,
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:14.833011+03:00",
          "id": "f4cbc5957f3943f0941fd002dae1b1d3",
          "dateModified": "2017-06-21T17:05:14.833044+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "title": "DescriptiveProposal.pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
          "format": "application/pdf",
          "isDescriptionDecision": true,
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:14.951905+03:00",
          "id": "95baea1455bb4178956a1a19c2463961",
          "dateModified": "2017-06-21T17:05:14.951937+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "format": "application/pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?download=7a1b1b88795a4716b72af39eefe0cd9b",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_top_secrets.pdf",
          "isDescriptionDecision": false,
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:15.194576+03:00",
          "id": "c16e3628164f4949b130b3f1d5fef9a3",
          "dateModified": "2017-06-21T17:05:15.194609+03:00"
        }
      ],
      "id": "2b73ea4bdef34b6481601d7f4049d3f0",
      "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": "99d190d9f85547d0af5ecb28779f5ec2",
      "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",
      "selfEligible": true,
      "tenderers": [
        {
          "contactPoint": {
            "email": "fake@mail.com",
            "telephone": "+380 (322) 12-34-56",
            "name": "Іван Іваненко"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137227",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "«Снігур»",
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 35",
            "region": "м. Львів",
            "locality": "м. Львів"
          }
        }
      ],
      "selfQualified": true,
      "id": "b017ee1976de45118f59fd0e27b3ecf1"
    },
    {
      "status": "active",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal_part1.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/0eba44f9b85c4c2ab0a628ef8b358dcb?KeyID=ee3bcdd8&Signature=J7Wx1vhPZEFdmwOZicW9lzLjpsY4AfEUIHIvf0oFPq1DkIxcF7ukP0EaqsLU%252BFxvbjmrv2EFAEXVLbOTkcswCA%253D%253D",
          "format": "application/pdf",
          "isDescriptionDecision": false,
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:16.360844+03:00",
          "id": "170d3b5f86d8410eb5bc4aa6751dc015",
          "dateModified": "2017-06-21T17:05:16.360890+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "format": "application/pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/7918119aa7584a10b19cfa71e47b1288/documents/f54d567c1aaa448ebe4ac0939f96471c?download=a8d02f05d73a4f72801a8223580e87c9",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_part2.pdf",
          "isDescriptionDecision": false,
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:16.362131+03:00",
          "id": "f54d567c1aaa448ebe4ac0939f96471c",
          "dateModified": "2017-06-21T17:05:16.362174+03:00"
        }
      ],
      "id": "7918119aa7584a10b19cfa71e47b1288",
      "tenderers": [
        {
          "contactPoint": {
            "email": "fake@mail.com",
            "telephone": "+380 (322) 12-34-56",
            "name": "Іван Карпенко"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137228",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "«Кенгуру»",
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Коцюбинського, 15",
            "region": "м. Запоріжжя",
            "locality": "м. Запоріжя"
          }
        }
      ]
    }
  ]
}

Rejected bid is not shown in bids/ listing.

We can access rejected bid by id:

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/b017ee1976de45118f59fd0e27b3ecf1?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

Procuring entity approves qualifications by switching to next status:

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b 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-05-21T17:04:37.384821+03:00",
      "endDate": "2017-06-17T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-21T17:04:37.384821+03:00",
      "clarificationsUntil": "2017-06-15T00:00:00+03:00",
      "endDate": "2017-06-11T17:04:37.384821+03:00",
      "invalidationDate": "2017-06-21T17:05:15.690468+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-26T17:05:18.117639+03:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-06-21T17:05:13.985479+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-06-21T17:05:14.073811+03:00",
        "id": "785c0ae40d5847b2875308789645e310",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.666862+03:00",
        "id": "8a6e4ab4338b434294b6a2eba1615813",
        "dateModified": "2017-06-21T17:05:13.666896+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ac4aae70844b4bfd99b2bd87259d7397?KeyID=ee3bcdd8&Signature=2vhWd%252B98VFz%2FczwNxsga5A94Tp0fRxPuFtUSpAy4R%2F3b9ofHGkF3HIfMYA19wqDFIe0vkDSV4wTsR3VmkkUlBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.767551+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/85d023737f00442aa17a71b8edb9b875?KeyID=ee3bcdd8&Signature=xDhrDd0TFVKo3WaL98%252B230xJwf5gcX7N091sxyL%2F9rcJl2gdikFbdgwmn92avDIt8oXludvHXQFx1xwogFlBBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.875883+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-06-21T17:05:16.830954+03:00",
      "endDate": "2017-06-26T17:05:18.117639+03:00"
    },
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:18.126748+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2017-05-21T17:04:37.384821+03:00",
      "endDate": "2017-06-21T17:04:37.384821+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "2b73ea4bdef34b6481601d7f4049d3f0",
        "date": "2017-06-21T17:05:17.081635+03:00",
        "id": "c6090db9cd7c4420b4e5f55df3057f53"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "99d190d9f85547d0af5ecb28779f5ec2",
        "date": "2017-06-21T17:05:17.254556+03:00",
        "id": "aeb9cda738bd4eeeb87da9ff9ac2bd6a"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "b017ee1976de45118f59fd0e27b3ecf1",
        "date": "2017-06-21T17:05:17.435731+03:00",
        "id": "dc6d256011744635a08150bc9779145e"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "7918119aa7584a10b19cfa71e47b1288",
        "date": "2017-06-21T17:05:17.609634+03:00",
        "id": "6b1cbdb28e8b446396acbdff58a7a0d0"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2017-06-21T17:05:18.126748+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/b5573ee1dc47405994ec4b7ab2646989?KeyID=ee3bcdd8&Signature=uoFBnWjqoDkldsS1zX6VtjaSpxUGKGtvz4woqmh8soCMUrgXXm5cv5O52J%2FIDEemrhyKTTodTmh00F0igyfLBA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:14.833011+03:00",
            "id": "f4cbc5957f3943f0941fd002dae1b1d3",
            "dateModified": "2017-06-21T17:05:14.833044+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "DescriptiveProposal.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
            "format": "application/pdf",
            "isDescriptionDecision": true,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:14.951905+03:00",
            "id": "95baea1455bb4178956a1a19c2463961",
            "dateModified": "2017-06-21T17:05:14.951937+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?download=7a1b1b88795a4716b72af39eefe0cd9b",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:15.194576+03:00",
            "id": "c16e3628164f4949b130b3f1d5fef9a3",
            "dateModified": "2017-06-21T17:05:15.194609+03:00"
          }
        ],
        "id": "2b73ea4bdef34b6481601d7f4049d3f0",
        "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": "99d190d9f85547d0af5ecb28779f5ec2",
        "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": "b017ee1976de45118f59fd0e27b3ecf1",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137227",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/0eba44f9b85c4c2ab0a628ef8b358dcb?KeyID=ee3bcdd8&Signature=J7Wx1vhPZEFdmwOZicW9lzLjpsY4AfEUIHIvf0oFPq1DkIxcF7ukP0EaqsLU%252BFxvbjmrv2EFAEXVLbOTkcswCA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:16.360844+03:00",
            "id": "170d3b5f86d8410eb5bc4aa6751dc015",
            "dateModified": "2017-06-21T17:05:16.360890+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/7918119aa7584a10b19cfa71e47b1288/documents/f54d567c1aaa448ebe4ac0939f96471c?download=a8d02f05d73a4f72801a8223580e87c9",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:16.362131+03:00",
            "id": "f54d567c1aaa448ebe4ac0939f96471c",
            "dateModified": "2017-06-21T17:05:16.362174+03:00"
          }
        ],
        "id": "7918119aa7584a10b19cfa71e47b1288",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Кенгуру»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

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

Ready to stage2

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

Lets look on your tender

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b 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-05-11T17:04:37.384821+03:00",
      "endDate": "2017-06-07T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "clarificationsUntil": "2017-06-07T17:04:37.384821+03:00",
      "endDate": "2017-06-01T17:04:37.384821+03:00",
      "invalidationDate": "2017-06-21T17:05:15.690468+03:00"
    },
    "submissionMethod": "electronicAuction",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-06-21T17:05:13.985479+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-06-21T17:05:14.073811+03:00",
        "id": "785c0ae40d5847b2875308789645e310",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.666862+03:00",
        "id": "8a6e4ab4338b434294b6a2eba1615813",
        "dateModified": "2017-06-21T17:05:13.666896+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ac4aae70844b4bfd99b2bd87259d7397?KeyID=ee3bcdd8&Signature=2vhWd%252B98VFz%2FczwNxsga5A94Tp0fRxPuFtUSpAy4R%2F3b9ofHGkF3HIfMYA19wqDFIe0vkDSV4wTsR3VmkkUlBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.767551+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/85d023737f00442aa17a71b8edb9b875?KeyID=ee3bcdd8&Signature=xDhrDd0TFVKo3WaL98%252B230xJwf5gcX7N091sxyL%2F9rcJl2gdikFbdgwmn92avDIt8oXludvHXQFx1xwogFlBBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.875883+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-06-11T17:04:37.384821+03:00",
      "endDate": "2017-06-21T17:04:37.384821+03:00"
    },
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:18.638951+03:00",
    "status": "active.stage2.pending",
    "tenderPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "endDate": "2017-06-11T17:04:37.384821+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "2b73ea4bdef34b6481601d7f4049d3f0",
        "date": "2017-06-21T17:05:17.081635+03:00",
        "id": "c6090db9cd7c4420b4e5f55df3057f53"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "99d190d9f85547d0af5ecb28779f5ec2",
        "date": "2017-06-21T17:05:17.254556+03:00",
        "id": "aeb9cda738bd4eeeb87da9ff9ac2bd6a"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "b017ee1976de45118f59fd0e27b3ecf1",
        "date": "2017-06-21T17:05:17.435731+03:00",
        "id": "dc6d256011744635a08150bc9779145e"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "7918119aa7584a10b19cfa71e47b1288",
        "date": "2017-06-21T17:05:17.609634+03:00",
        "id": "6b1cbdb28e8b446396acbdff58a7a0d0"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2017-06-21T17:05:18.638951+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

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

PATCH /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 45
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active.stage2.waiting"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.stage2.waiting",
    "complaintPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "endDate": "2017-06-07T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "clarificationsUntil": "2017-06-07T17:04:37.384821+03:00",
      "endDate": "2017-06-01T17:04:37.384821+03:00",
      "invalidationDate": "2017-06-21T17:05:15.690468+03:00"
    },
    "submissionMethod": "electronicAuction",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-06-21T17:05:13.985479+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-06-21T17:05:14.073811+03:00",
        "id": "785c0ae40d5847b2875308789645e310",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.666862+03:00",
        "id": "8a6e4ab4338b434294b6a2eba1615813",
        "dateModified": "2017-06-21T17:05:13.666896+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ac4aae70844b4bfd99b2bd87259d7397?KeyID=ee3bcdd8&Signature=2vhWd%252B98VFz%2FczwNxsga5A94Tp0fRxPuFtUSpAy4R%2F3b9ofHGkF3HIfMYA19wqDFIe0vkDSV4wTsR3VmkkUlBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.767551+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/85d023737f00442aa17a71b8edb9b875?KeyID=ee3bcdd8&Signature=xDhrDd0TFVKo3WaL98%252B230xJwf5gcX7N091sxyL%2F9rcJl2gdikFbdgwmn92avDIt8oXludvHXQFx1xwogFlBBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.875883+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-06-11T17:04:37.384821+03:00",
      "endDate": "2017-06-21T17:04:37.384821+03:00"
    },
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:19.129964+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "endDate": "2017-06-11T17:04:37.384821+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "2b73ea4bdef34b6481601d7f4049d3f0",
        "date": "2017-06-21T17:05:17.081635+03:00",
        "id": "c6090db9cd7c4420b4e5f55df3057f53"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "99d190d9f85547d0af5ecb28779f5ec2",
        "date": "2017-06-21T17:05:17.254556+03:00",
        "id": "aeb9cda738bd4eeeb87da9ff9ac2bd6a"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "b017ee1976de45118f59fd0e27b3ecf1",
        "date": "2017-06-21T17:05:17.435731+03:00",
        "id": "dc6d256011744635a08150bc9779145e"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "7918119aa7584a10b19cfa71e47b1288",
        "date": "2017-06-21T17:05:17.609634+03:00",
        "id": "6b1cbdb28e8b446396acbdff58a7a0d0"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2017-06-21T17:05:19.129964+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/b5573ee1dc47405994ec4b7ab2646989?KeyID=ee3bcdd8&Signature=uoFBnWjqoDkldsS1zX6VtjaSpxUGKGtvz4woqmh8soCMUrgXXm5cv5O52J%2FIDEemrhyKTTodTmh00F0igyfLBA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:14.833011+03:00",
            "id": "f4cbc5957f3943f0941fd002dae1b1d3",
            "dateModified": "2017-06-21T17:05:14.833044+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "DescriptiveProposal.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
            "format": "application/pdf",
            "isDescriptionDecision": true,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:14.951905+03:00",
            "id": "95baea1455bb4178956a1a19c2463961",
            "dateModified": "2017-06-21T17:05:14.951937+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?download=7a1b1b88795a4716b72af39eefe0cd9b",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:15.194576+03:00",
            "id": "c16e3628164f4949b130b3f1d5fef9a3",
            "dateModified": "2017-06-21T17:05:15.194609+03:00"
          }
        ],
        "selfEligible": true,
        "id": "2b73ea4bdef34b6481601d7f4049d3f0",
        "subcontractingDetails": "ДКП «Орфей», Україна",
        "date": "2017-06-21T17:05:14.611573+03:00",
        "owner_token": "f91fb379075c41f2909602d2d0152c2b",
        "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": "м. Вінниця"
            }
          }
        ],
        "owner": "broker",
        "selfQualified": true
      },
      {
        "status": "active",
        "selfEligible": true,
        "id": "99d190d9f85547d0af5ecb28779f5ec2",
        "date": "2017-06-21T17:05:16.003577+03:00",
        "owner_token": "6c723dc0a31f4b6c92470eada8892946",
        "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": "м. Львів"
            }
          }
        ],
        "owner": "broker",
        "selfQualified": true
      },
      {
        "status": "unsuccessful",
        "selfEligible": true,
        "id": "b017ee1976de45118f59fd0e27b3ecf1",
        "date": "2017-06-21T17:05:16.154529+03:00",
        "owner_token": "8b81c80bba984b078d81ad09b00873ab",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137227",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "owner": "broker",
        "selfQualified": true
      },
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/0eba44f9b85c4c2ab0a628ef8b358dcb?KeyID=ee3bcdd8&Signature=J7Wx1vhPZEFdmwOZicW9lzLjpsY4AfEUIHIvf0oFPq1DkIxcF7ukP0EaqsLU%252BFxvbjmrv2EFAEXVLbOTkcswCA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:16.360844+03:00",
            "id": "170d3b5f86d8410eb5bc4aa6751dc015",
            "dateModified": "2017-06-21T17:05:16.360890+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/7918119aa7584a10b19cfa71e47b1288/documents/f54d567c1aaa448ebe4ac0939f96471c?download=a8d02f05d73a4f72801a8223580e87c9",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:16.362131+03:00",
            "id": "f54d567c1aaa448ebe4ac0939f96471c",
            "dateModified": "2017-06-21T17:05:16.362174+03:00"
          }
        ],
        "selfEligible": true,
        "id": "7918119aa7584a10b19cfa71e47b1288",
        "date": "2017-06-21T17:05:16.359333+03:00",
        "owner_token": "ee52038ecee14f48b2cc869dff435d7d",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Кенгуру»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ],
        "owner": "broker",
        "selfQualified": true
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Get token for second stage

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

First lets look on tender and find field stage2TenderID

GET /api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf?acc_token=1c073921ab5f4a30a693936b569bfa3b 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": "complete",
    "complaintPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "endDate": "2017-06-07T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "clarificationsUntil": "2017-06-07T17:04:37.384821+03:00",
      "endDate": "2017-06-01T17:04:37.384821+03:00",
      "invalidationDate": "2017-06-21T17:05:15.690468+03:00"
    },
    "submissionMethod": "electronicAuction",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-06-21T17:05:13.985479+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-06-21T17:05:14.073811+03:00",
        "id": "785c0ae40d5847b2875308789645e310",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "c91cc0e7dffc4bc7b59cf53d9bbfd0bf",
    "guarantee": {
      "currency": "USD",
      "amount": 8.0
    },
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/65c65623b2e74904832de0f87b92f7e5?KeyID=ee3bcdd8&Signature=XZNyxgQ4q%2Fe%2Fx90i46m%2FppB1F0lROjiTdHBGN2DDWnziWsIX9hHKrR6pWib4oBs4kQxPmv8vaEbCwppRsVx6DQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.666862+03:00",
        "id": "8a6e4ab4338b434294b6a2eba1615813",
        "dateModified": "2017-06-21T17:05:13.666896+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ac4aae70844b4bfd99b2bd87259d7397?KeyID=ee3bcdd8&Signature=2vhWd%252B98VFz%2FczwNxsga5A94Tp0fRxPuFtUSpAy4R%2F3b9ofHGkF3HIfMYA19wqDFIe0vkDSV4wTsR3VmkkUlBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.767551+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/85d023737f00442aa17a71b8edb9b875?KeyID=ee3bcdd8&Signature=xDhrDd0TFVKo3WaL98%252B230xJwf5gcX7N091sxyL%2F9rcJl2gdikFbdgwmn92avDIt8oXludvHXQFx1xwogFlBBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:13.767519+03:00",
        "id": "a111e6a58c5e4068b154c7aee1f02795",
        "dateModified": "2017-06-21T17:05:13.875883+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-06-11T17:04:37.384821+03:00",
      "endDate": "2017-06-21T17:04:37.384821+03:00"
    },
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:19.726076+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "endDate": "2017-06-11T17:04:37.384821+03:00"
    },
    "stage2TenderID": "2ef2dc9524d24bdb9acc44358e958874",
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "2b73ea4bdef34b6481601d7f4049d3f0",
        "date": "2017-06-21T17:05:17.081635+03:00",
        "id": "c6090db9cd7c4420b4e5f55df3057f53"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "99d190d9f85547d0af5ecb28779f5ec2",
        "date": "2017-06-21T17:05:17.254556+03:00",
        "id": "aeb9cda738bd4eeeb87da9ff9ac2bd6a"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "b017ee1976de45118f59fd0e27b3ecf1",
        "date": "2017-06-21T17:05:17.435731+03:00",
        "id": "dc6d256011744635a08150bc9779145e"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "7918119aa7584a10b19cfa71e47b1288",
        "date": "2017-06-21T17:05:17.609634+03:00",
        "id": "6b1cbdb28e8b446396acbdff58a7a0d0"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2017-06-21T17:05:19.726076+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "ce277c854b1443028376f6af6900b29c",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "9585d44eb74548e3b05d7aea37f16600",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/b5573ee1dc47405994ec4b7ab2646989?KeyID=ee3bcdd8&Signature=uoFBnWjqoDkldsS1zX6VtjaSpxUGKGtvz4woqmh8soCMUrgXXm5cv5O52J%2FIDEemrhyKTTodTmh00F0igyfLBA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:14.833011+03:00",
            "id": "f4cbc5957f3943f0941fd002dae1b1d3",
            "dateModified": "2017-06-21T17:05:14.833044+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "title": "DescriptiveProposal.pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/95baea1455bb4178956a1a19c2463961?download=ee55a3ff10ab4477a1d631c7b597ea74",
            "format": "application/pdf",
            "isDescriptionDecision": true,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:14.951905+03:00",
            "id": "95baea1455bb4178956a1a19c2463961",
            "dateModified": "2017-06-21T17:05:14.951937+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/2b73ea4bdef34b6481601d7f4049d3f0/documents/c16e3628164f4949b130b3f1d5fef9a3?download=7a1b1b88795a4716b72af39eefe0cd9b",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:15.194576+03:00",
            "id": "c16e3628164f4949b130b3f1d5fef9a3",
            "dateModified": "2017-06-21T17:05:15.194609+03:00"
          }
        ],
        "selfEligible": true,
        "subcontractingDetails": "ДКП «Орфей», Україна",
        "selfQualified": 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": "м. Вінниця"
            }
          }
        ],
        "date": "2017-06-21T17:05:14.611573+03:00",
        "id": "2b73ea4bdef34b6481601d7f4049d3f0"
      },
      {
        "status": "active",
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Книга»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "date": "2017-06-21T17:05:16.003577+03:00",
        "id": "99d190d9f85547d0af5ecb28779f5ec2"
      },
      {
        "status": "unsuccessful",
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137227",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ],
        "date": "2017-06-21T17:05:16.154529+03:00",
        "id": "b017ee1976de45118f59fd0e27b3ecf1"
      },
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/0eba44f9b85c4c2ab0a628ef8b358dcb?KeyID=ee3bcdd8&Signature=J7Wx1vhPZEFdmwOZicW9lzLjpsY4AfEUIHIvf0oFPq1DkIxcF7ukP0EaqsLU%252BFxvbjmrv2EFAEXVLbOTkcswCA%253D%253D",
            "format": "application/pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:16.360844+03:00",
            "id": "170d3b5f86d8410eb5bc4aa6751dc015",
            "dateModified": "2017-06-21T17:05:16.360890+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/c91cc0e7dffc4bc7b59cf53d9bbfd0bf/bids/7918119aa7584a10b19cfa71e47b1288/documents/f54d567c1aaa448ebe4ac0939f96471c?download=a8d02f05d73a4f72801a8223580e87c9",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "isDescriptionDecision": false,
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:16.362131+03:00",
            "id": "f54d567c1aaa448ebe4ac0939f96471c",
            "dateModified": "2017-06-21T17:05:16.362174+03:00"
          }
        ],
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Кенгуру»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ],
        "date": "2017-06-21T17:05:16.359333+03:00",
        "id": "7918119aa7584a10b19cfa71e47b1288"
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 501.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Form making changes in second stage we need token

PATCH /api/2.3/tenders/2ef2dc9524d24bdb9acc44358e958874/credentials?acc_token=1c073921ab5f4a30a693936b569bfa3b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "access": {
    "token": "1d5fc4d19ceb471bb2c5c48bfb976943"
  },
  "data": {
    "status": "draft.stage2",
    "numberOfBids": 0,
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:19.282636+03:00",
      "endDate": "2017-07-21T17:05:19.282636+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:19.282636+03:00",
      "clarificationsUntil": "2017-07-14T17:05:19.282636+03:00",
      "endDate": "2017-07-11T17:05:19.282636+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:19.282636+03:00",
      "endDate": "2017-07-17T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "date": "2017-06-21T17:05:19.389669+03:00",
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-08-10T17:04:37.418883+03:00"
        },
        "id": "72a1fff2fbc54547a24076df54e06167",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418917+03:00",
          "endDate": "2017-08-10T17:04:37.418938+03:00"
        },
        "id": "aee72d6cc34843938643e94e9148563b",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "dateModified": "2017-06-21T17:05:19.941239+03:00",
    "id": "2ef2dc9524d24bdb9acc44358e958874",
    "procurementMethod": "selective",
    "tenderID": "UA-2017-06-21-000002"
  }
}

Make changes second stage

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

PATCH /api/2.3/tenders/2ef2dc9524d24bdb9acc44358e958874?acc_token=1d5fc4d19ceb471bb2c5c48bfb976943 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 40
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active.tendering"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "selective",
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:19.282636+03:00",
      "endDate": "2017-07-17T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:19.282636+03:00",
      "clarificationsUntil": "2017-07-14T17:05:19.282636+03:00",
      "endDate": "2017-07-11T17:05:19.282636+03:00",
      "invalidationDate": "2017-06-21T17:05:20.067534+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-07-21T17:05:19.282636+03:00",
    "awardCriteria": "lowestCost",
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "2ef2dc9524d24bdb9acc44358e958874",
    "title": "Послуги шкільних їдалень",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2017-06-21-000002",
    "dateModified": "2017-06-21T17:05:20.071397+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:19.282636+03:00",
      "endDate": "2017-07-21T17:05:19.282636+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-08-26T00:00:00+03:00"
    },
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "date": "2017-06-21T17:05:20.071397+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-08-10T17:04:37.418883+03:00"
        },
        "id": "72a1fff2fbc54547a24076df54e06167",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418917+03:00",
          "endDate": "2017-08-10T17:04:37.418938+03:00"
        },
        "id": "aee72d6cc34843938643e94e9148563b",
        "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"
    }
  }
}

Stage2 EU

Modifying tender

On first stage you set procurementMethodType to CompetitiveDialogueEU then on second stage you have tender which similar to Open UE procedure.

You can modify only tenderPeriod.endDate and deliveryDate for items. Another changes will not be saved. Let’s update tender by supplementing it with all other essential properties:

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-07-21T17:05:32.086781+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "draft.stage2",
    "procurementMethod": "selective",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:21.942397+03:00",
      "endDate": "2017-07-21T17:05:32.086781+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:21.942397+03:00",
      "clarificationsUntil": "2017-07-14T17:05:32.086781+03:00",
      "endDate": "2017-07-11T17:05:32.086781+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:21.942397+03:00",
      "endDate": "2017-07-17T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "date": "2017-06-21T17:05:22.050098+03:00",
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-08-10T17:04:37.418883+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418917+03:00",
          "endDate": "2017-08-10T17:04:37.418938+03:00"
        },
        "id": "0a0eefea19c14635ab119c2ca32c4109",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "dateModified": "2017-06-21T17:05:22.177644+03:00",
    "id": "2332d7f2a08e47d7a9d115ad1fee1eb8",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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

Also we must set tender status to active.tendering for adding access to supplier

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 40
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active.tendering"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "selective",
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:21.942397+03:00",
      "endDate": "2017-07-17T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:21.942397+03:00",
      "clarificationsUntil": "2017-07-14T17:05:32.086781+03:00",
      "endDate": "2017-07-11T17:05:32.086781+03:00",
      "invalidationDate": "2017-06-21T17:05:22.307607+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-07-21T17:05:32.086781+03:00",
    "awardCriteria": "lowestCost",
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "2332d7f2a08e47d7a9d115ad1fee1eb8",
    "title": "Послуги шкільних їдалень",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:22.311551+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:21.942397+03:00",
      "endDate": "2017-07-21T17:05:32.086781+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-08-26T00:00:00+03:00"
    },
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "date": "2017-06-21T17:05:22.311551+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-08-10T17:04:37.418883+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418917+03:00",
          "endDate": "2017-08-10T17:04:37.418938+03:00"
        },
        "id": "0a0eefea19c14635ab119c2ca32c4109",
        "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"
    }
  }
}

Checking the listing again reflects the new modification date:

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "next_page": {
    "path": "/api/2.3/tenders?offset=2017-06-21T17%3A05%3A22.311551%2B03%3A00",
    "uri": "http://api-sandbox.openprocurement.org/api/2.3/tenders?offset=2017-06-21T17%3A05%3A22.311551%2B03%3A00",
    "offset": "2017-06-21T17:05:22.311551+03:00"
  },
  "data": [
    {
      "id": "2332d7f2a08e47d7a9d115ad1fee1eb8",
      "dateModified": "2017-06-21T17:05:22.311551+03:00"
    }
  ]
}

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

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 88
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "items": [
      {
        "deliveryDate": {
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        }
      }
    ]
  }
}

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

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

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 153
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "items": [
      {
        "deliveryDate": {
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        }
      }
    ],
    "tenderPeriod": {
      "endDate": "2017-06-29T17:05:23.269042+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "selective",
    "complaintPeriod": {
      "startDate": "2017-05-24T17:05:23.055180+03:00",
      "endDate": "2017-06-25T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-24T17:05:23.055180+03:00",
      "clarificationsUntil": "2017-06-22T17:05:23.269042+03:00",
      "endDate": "2017-06-19T17:05:23.269042+03:00",
      "invalidationDate": "2017-06-21T17:05:23.394986+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-29T17:05:23.269042+03:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-06-21T17:05:22.936772+03:00",
        "title": "Калорійність",
        "date": "2017-06-21T17:05:22.844259+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "bde54af3cda441318b0bc1e6d2eaca50",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "2332d7f2a08e47d7a9d115ad1fee1eb8",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/f8910e202a3f451a904ae67142358a74?KeyID=d8e133db&Signature=gWwLvym6za8Ii%252BfpoueQoftCtQSE4M%2FyyNKu%2FtLjuy96l%2FYJoH%252BUFQ4Up8YpoFnppZo1mHxGOuZ2XMOK49ZLDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.481301+03:00",
        "id": "95a16064160d49fe820a8bee63fff415",
        "dateModified": "2017-06-21T17:05:22.481335+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ce58586989224de490b806440143b41d?KeyID=d8e133db&Signature=b9Xyx9Qm%2F3JUf4IAH2qKtQ7%252B%2FfwQRi9tS7Yt9oO8xik8aADhYrFkseVF%252B6qbOqHpRvLifBng3TvOtW2m8%2F7fAA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.579293+03:00",
        "id": "cdf2efa990af4673a6d98331cf0c9652",
        "dateModified": "2017-06-21T17:05:22.579325+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/2efac33fede54b789b8bdc5c9bafb582?KeyID=d8e133db&Signature=0Y21zun5rS5AtRSEHnc0FGr%252B%252BoEq9iM3NZxfhyWEwbjnHBljzh%252BBBcBaLD%2F3hRwl8OWp6rlw5%2FaaPN1JAlU%2FBg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.579293+03:00",
        "id": "cdf2efa990af4673a6d98331cf0c9652",
        "dateModified": "2017-06-21T17:05:22.687041+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:23.399658+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-05-24T17:05:23.055180+03:00",
      "endDate": "2017-06-29T17:05:23.269042+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-08-04T00:00:00+03:00"
    },
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "date": "2017-06-21T17:05:22.311551+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Uploading documentation

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

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/documents?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 186
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy823892585233$
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/2332d7f2a08e47d7a9d115ad1fee1eb8/documents/95a16064160d49fe820a8bee63fff415
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/f8910e202a3f451a904ae67142358a74?KeyID=d8e133db&Signature=gWwLvym6za8Ii%252BfpoueQoftCtQSE4M%2FyyNKu%2FtLjuy96l%2FYJoH%252BUFQ4Up8YpoFnppZo1mHxGOuZ2XMOK49ZLDg%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:22.481301+03:00",
    "id": "95a16064160d49fe820a8bee63fff415",
    "dateModified": "2017-06-21T17:05:22.481335+03:00"
  }
}

201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/documents/95a16064160d49fe820a8bee63fff415?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/f8910e202a3f451a904ae67142358a74?KeyID=d8e133db&Signature=gWwLvym6za8Ii%252BfpoueQoftCtQSE4M%2FyyNKu%2FtLjuy96l%2FYJoH%252BUFQ4Up8YpoFnppZo1mHxGOuZ2XMOK49ZLDg%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:22.481301+03:00",
    "previousVersions": [],
    "id": "95a16064160d49fe820a8bee63fff415",
    "dateModified": "2017-06-21T17:05:22.481335+03:00"
  }
}

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

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/documents?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 193
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy753193821554$
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/2332d7f2a08e47d7a9d115ad1fee1eb8/documents/cdf2efa990af4673a6d98331cf0c9652
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "AwardCriteria.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/ce58586989224de490b806440143b41d?KeyID=d8e133db&Signature=b9Xyx9Qm%2F3JUf4IAH2qKtQ7%252B%2FfwQRi9tS7Yt9oO8xik8aADhYrFkseVF%252B6qbOqHpRvLifBng3TvOtW2m8%2F7fAA%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:22.579293+03:00",
    "id": "cdf2efa990af4673a6d98331cf0c9652",
    "dateModified": "2017-06-21T17:05:22.579325+03:00"
  }
}

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

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/documents?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/f8910e202a3f451a904ae67142358a74?KeyID=d8e133db&Signature=gWwLvym6za8Ii%252BfpoueQoftCtQSE4M%2FyyNKu%2FtLjuy96l%2FYJoH%252BUFQ4Up8YpoFnppZo1mHxGOuZ2XMOK49ZLDg%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:22.481301+03:00",
      "id": "95a16064160d49fe820a8bee63fff415",
      "dateModified": "2017-06-21T17:05:22.481335+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "AwardCriteria.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/ce58586989224de490b806440143b41d?KeyID=d8e133db&Signature=b9Xyx9Qm%2F3JUf4IAH2qKtQ7%252B%2FfwQRi9tS7Yt9oO8xik8aADhYrFkseVF%252B6qbOqHpRvLifBng3TvOtW2m8%2F7fAA%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:22.579293+03:00",
      "id": "cdf2efa990af4673a6d98331cf0c9652",
      "dateModified": "2017-06-21T17:05:22.579325+03:00"
    }
  ]
}

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

PUT /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/documents/cdf2efa990af4673a6d98331cf0c9652?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 196
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy801683233515$
Host: api-sandbox.openprocurement.org


Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "AwardCriteria-2.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/2efac33fede54b789b8bdc5c9bafb582?KeyID=d8e133db&Signature=0Y21zun5rS5AtRSEHnc0FGr%252B%252BoEq9iM3NZxfhyWEwbjnHBljzh%252BBBcBaLD%2F3hRwl8OWp6rlw5%2FaaPN1JAlU%2FBg%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:22.579293+03:00",
    "id": "cdf2efa990af4673a6d98331cf0c9652",
    "dateModified": "2017-06-21T17:05:22.687041+03:00"
  }
}

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "Notice.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/f8910e202a3f451a904ae67142358a74?KeyID=d8e133db&Signature=gWwLvym6za8Ii%252BfpoueQoftCtQSE4M%2FyyNKu%2FtLjuy96l%2FYJoH%252BUFQ4Up8YpoFnppZo1mHxGOuZ2XMOK49ZLDg%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:22.481301+03:00",
      "id": "95a16064160d49fe820a8bee63fff415",
      "dateModified": "2017-06-21T17:05:22.481335+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "AwardCriteria-2.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/2efac33fede54b789b8bdc5c9bafb582?KeyID=d8e133db&Signature=0Y21zun5rS5AtRSEHnc0FGr%252B%252BoEq9iM3NZxfhyWEwbjnHBljzh%252BBBcBaLD%2F3hRwl8OWp6rlw5%2FaaPN1JAlU%2FBg%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:22.579293+03:00",
      "id": "cdf2efa990af4673a6d98331cf0c9652",
      "dateModified": "2017-06-21T17:05:22.687041+03:00"
    }
  ]
}

Enquiries

When tender has active.tendering status and Tender.enqueryPeriod.endDate hasn’t come yet, interested parties can ask questions: Ask question can only participants which were approved on first stage, someone else try ask, he catch error

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1057
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "author": {
      "contactPoint": {
        "telephone": "+380 (452) 21-69-31",
        "name": "Вільям Поле",
        "email": "pole@gmail.com"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "ТОВ Бур",
        "id": "00137230",
        "uri": "http://pole.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": "Author can't create question",
      "location": "body",
      "name": "author"
    }
  ]
}

Now participant from first stage try create question.

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/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/2332d7f2a08e47d7a9d115ad1fee1eb8/questions/bde54af3cda441318b0bc1e6d2eaca50
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "00137226",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Калорійність",
    "date": "2017-06-21T17:05:22.844259+03:00",
    "id": "bde54af3cda441318b0bc1e6d2eaca50",
    "questionOf": "tender"
  }
}

Procuring entity can answer them:

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

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

One can retrieve either questions list:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

or individual answer:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/questions/bde54af3cda441318b0bc1e6d2eaca50 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

Enquiries can be made only during Tender.enqueryPeriod

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

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

Registering bid

Tender status active.tendering allows registration of bids. Bidder can register a bid with draft status.

Like with question only approved participants can register bid. If participant which did not was on first stage try create bid, he will catch error

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 871
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "draft",
    "selfEligible": true,
    "value": {
      "amount": 500
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (452) 21-69-31",
          "name": "Вільям Поле",
          "email": "pole@gmail.com"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "ТОВ Бур",
          "id": "00137230",
          "uri": "http://pole.edu.vn.ua/"
        },
        "name": "ТОВ \"Бур\"",
        "address": {
          "countryName": "Україна",
          "postalCode": "21100",
          "region": "м. Львів",
          "streetAddress": "вул. Поле, 33",
          "locality": "м. Львів"
        }
      }
    ],
    "selfQualified": true
  }
}

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

Get error, now participant from first stage try

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690
{
  "access": {
    "token": "6924864ccd3c4ab7a63cfad5f123b5f1"
  },
  "data": {
    "status": "draft",
    "selfEligible": true,
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": 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": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:23.537907+03:00",
    "id": "b20022ca69d243eb917e5ff3217b6690"
  }
}

and approve to pending status:

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 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",
    "selfEligible": true,
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "selfQualified": 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": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:23.537907+03:00",
    "id": "b20022ca69d243eb917e5ff3217b6690"
  }
}
Proposal Uploading

Then bidder should upload proposal technical document(s):

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 188
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy294481539282$
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/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/04c9706c7da9437aa10ad604cdb303fb
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/04c9706c7da9437aa10ad604cdb303fb?download=840d9651238e4aecb276d74f5c5232e1",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:23.746947+03:00",
    "id": "04c9706c7da9437aa10ad604cdb303fb",
    "dateModified": "2017-06-21T17:05:23.746988+03:00"
  }
}
Confidentiality

Documents can be either public or private:

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

Let’s upload private document:

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 200
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy353139828206$
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/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "Proposal_top_secrets.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:23.847161+03:00",
    "id": "91b40d8996d24aee9836d57ea3285451",
    "dateModified": "2017-06-21T17:05:23.847195+03:00"
  }
}

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

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

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

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

Let’s mark the document as “private”:

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 120
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "confidentiality": "buyerOnly"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "buyerOnly",
    "language": "uk",
    "format": "application/pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
    "confidentialityRationale": "Only our company sells badgers with pink hair.",
    "title": "Proposal_top_secrets.pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:23.847161+03:00",
    "id": "91b40d8996d24aee9836d57ea3285451",
    "dateModified": "2017-06-21T17:05:23.847195+03:00"
  }
}

It is possible to check the uploaded documents:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "Proposal.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/04c9706c7da9437aa10ad604cdb303fb?download=840d9651238e4aecb276d74f5c5232e1",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:23.746947+03:00",
      "id": "04c9706c7da9437aa10ad604cdb303fb",
      "dateModified": "2017-06-21T17:05:23.746988+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "buyerOnly",
      "language": "uk",
      "format": "application/pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
      "confidentialityRationale": "Only our company sells badgers with pink hair.",
      "title": "Proposal_top_secrets.pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:23.847161+03:00",
      "id": "91b40d8996d24aee9836d57ea3285451",
      "dateModified": "2017-06-21T17:05:23.847195+03:00"
    }
  ]
}
Financial documents uploading

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

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

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 191
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy803990521657$
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/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/7057c22c715e4754a6e44deca8a3beb1
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "confidentiality": "public",
    "language": "uk",
    "title": "financial_doc.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/7057c22c715e4754a6e44deca8a3beb1?download=0797f04b09374fd99ddd490ce36a5498",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:24.125000+03:00",
    "id": "7057c22c715e4754a6e44deca8a3beb1",
    "dateModified": "2017-06-21T17:05:24.125046+03:00"
  }
}

Get financial documents:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "financial_doc.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/7057c22c715e4754a6e44deca8a3beb1?download=0797f04b09374fd99ddd490ce36a5498",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:24.125000+03:00",
      "id": "7057c22c715e4754a6e44deca8a3beb1",
      "dateModified": "2017-06-21T17:05:24.125046+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "confidentiality": "public",
      "language": "uk",
      "title": "financial_doc2.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/eccb2caf274542baa27a7aa9969dbd05?download=5683971956124d43899986b84da70eb9",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:24.251934+03:00",
      "id": "eccb2caf274542baa27a7aa9969dbd05",
      "dateModified": "2017-06-21T17:05:24.251972+03:00"
    }
  ]
}

Financial documents will be publicly accessible after the auction.

Here is bidder proposal with all documents.

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/04c9706c7da9437aa10ad604cdb303fb?download=840d9651238e4aecb276d74f5c5232e1",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:23.746947+03:00",
        "id": "04c9706c7da9437aa10ad604cdb303fb",
        "dateModified": "2017-06-21T17:05:23.746988+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:23.847161+03:00",
        "id": "91b40d8996d24aee9836d57ea3285451",
        "dateModified": "2017-06-21T17:05:23.847195+03:00"
      }
    ],
    "selfEligible": true,
    "id": "b20022ca69d243eb917e5ff3217b6690",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/7057c22c715e4754a6e44deca8a3beb1?download=0797f04b09374fd99ddd490ce36a5498",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.125000+03:00",
        "id": "7057c22c715e4754a6e44deca8a3beb1",
        "dateModified": "2017-06-21T17:05:24.125046+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/eccb2caf274542baa27a7aa9969dbd05?download=5683971956124d43899986b84da70eb9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.251934+03:00",
        "id": "eccb2caf274542baa27a7aa9969dbd05",
        "dateModified": "2017-06-21T17:05:24.251972+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:23.537907+03:00",
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/qualification_documents/d9d88ad159e742d396257362cd3d4f1b?download=8d3e83edaeda49cfa17ad86459fe51a5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.427305+03:00",
        "id": "d9d88ad159e742d396257362cd3d4f1b",
        "dateModified": "2017-06-21T17:05:24.427338+03:00"
      }
    ]
  }
}

Note that financial documents are stored in financialDocuments attributes of Bid second stage.

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/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 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": "b20022ca69d243eb917e5ff3217b6690"
  }
}
Bid confirmation

Bidder should confirm bid proposal:

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/04c9706c7da9437aa10ad604cdb303fb?download=840d9651238e4aecb276d74f5c5232e1",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:23.746947+03:00",
        "id": "04c9706c7da9437aa10ad604cdb303fb",
        "dateModified": "2017-06-21T17:05:23.746988+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:23.847161+03:00",
        "id": "91b40d8996d24aee9836d57ea3285451",
        "dateModified": "2017-06-21T17:05:23.847195+03:00"
      }
    ],
    "selfEligible": true,
    "id": "b20022ca69d243eb917e5ff3217b6690",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/7057c22c715e4754a6e44deca8a3beb1?download=0797f04b09374fd99ddd490ce36a5498",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.125000+03:00",
        "id": "7057c22c715e4754a6e44deca8a3beb1",
        "dateModified": "2017-06-21T17:05:24.125046+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/eccb2caf274542baa27a7aa9969dbd05?download=5683971956124d43899986b84da70eb9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.251934+03:00",
        "id": "eccb2caf274542baa27a7aa9969dbd05",
        "dateModified": "2017-06-21T17:05:24.251972+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:23.537907+03:00",
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/qualification_documents/d9d88ad159e742d396257362cd3d4f1b?download=8d3e83edaeda49cfa17ad86459fe51a5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.427305+03:00",
        "id": "d9d88ad159e742d396257362cd3d4f1b",
        "dateModified": "2017-06-21T17:05:24.427338+03:00"
      }
    ]
  }
}

Second stage EU Competitive Dialogue 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/2332d7f2a08e47d7a9d115ad1fee1eb8/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 749
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "value": {
      "amount": 499
    },
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк",
          "email": "aagt@gmail.com"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "м. Львів",
          "streetAddress": "вул. Островського, 34",
          "locality": "м. Львів"
        }
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/f8c0332fc19b4723a6b2f279c81dc7a0
{
  "access": {
    "token": "17cfcc23652a432882ded40441115511"
  },
  "data": {
    "status": "pending",
    "selfEligible": true,
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-06-21T17:05:25.080950+03:00",
    "id": "f8c0332fc19b4723a6b2f279c81dc7a0"
  }
}
Batch-mode bid registration

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

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2628
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "documents": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/c5c2fc1b3eb540898cbc9fb85613e00c?KeyID=d8e133db&Signature=xvxzhI%2FElA%2Fc6CcCj4Rb9kyoV%2B%2BC0IltXlbEFtKoBcB8gK9lTf%2BiPCWSIi3pHOtpKq%2FyYtkoeow4kG82uKziBg%3D%3D",
        "title": "Proposal_part1.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "title": "Proposal_part2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/752877b3e3fe4d2e864edb3bd41b43c7?KeyID=d8e133db&Signature=t6qOz4d2uS2UQaCMULRnDyRrzcyuTs1lxmGQWtee2H3ctFlExhwiB4SCfMriPFiKrUbTLEdJGKurFQcUWE8QCg%3D%3D",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "format": "application/pdf"
      }
    ],
    "eligibilityDocuments": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/5e5958cbd3744e45b38a1ac0219a1e3b?KeyID=d8e133db&Signature=6oKf9AyXS53nxY5kWZRZFcK6ea0O4w0x56apEcqgroAbhZkXfvKekD%2FRRP%2BzYmSkHpynLxc6OoYd0aSw64vcAA%3D%3D",
        "title": "eligibility_doc.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      }
    ],
    "selfEligible": true,
    "value": {
      "amount": 5
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/3de37f6a21d24960ae6305236fd95778?KeyID=d8e133db&Signature=qgYgWTEKu9XddBidbuujltcg43%2FOegqk9KzXpWWWr9Nxa7vnt4wGksoV0Fu8Unbz%2BvZ%2Bm7tQrHNm2PkB0SZ6DQ%3D%3D",
        "title": "financial_doc.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Карпенко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»",
        "address": {
          "countryName": "Україна",
          "postalCode": "79013",
          "region": "м. Запоріжжя",
          "streetAddress": "вул. Коцюбинського, 15",
          "locality": "м. Запоріжя"
        }
      }
    ],
    "qualificationDocuments": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/c0cdd8c158e34d46b53ea992aeb8a8b1?KeyID=d8e133db&Signature=kGG8WqAhlBCM6K0XjOT7gvtfCaVuYN9BuHyAPuO8QlqUY2C%2FgJctZtUfq%2Fl1eys7GgYEnHbn44FADzJSKgoqAg%3D%3D",
        "title": "qualification_document.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44
{
  "access": {
    "token": "c78c14ab6595492a94f427332b7646e9"
  },
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal_part1.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/documents/2db5d8034cbe4f35bd79070d35f56d96?download=c5c2fc1b3eb540898cbc9fb85613e00c",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:25.237642+03:00",
        "id": "2db5d8034cbe4f35bd79070d35f56d96",
        "dateModified": "2017-06-21T17:05:25.237674+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/documents/a61142ae42264111a7e2777ea98d9d73?download=752877b3e3fe4d2e864edb3bd41b43c7",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:25.238576+03:00",
        "id": "a61142ae42264111a7e2777ea98d9d73",
        "dateModified": "2017-06-21T17:05:25.238607+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/eligibility_documents/7a9e8cb3065140e6a71dc636da084e49?download=5e5958cbd3744e45b38a1ac0219a1e3b",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:25.240462+03:00",
        "id": "7a9e8cb3065140e6a71dc636da084e49",
        "dateModified": "2017-06-21T17:05:25.240493+03:00"
      }
    ],
    "selfEligible": true,
    "id": "9b6ebf9b1b604decadf2ee8ba69f6d44",
    "value": {
      "currency": "UAH",
      "amount": 5.0,
      "valueAddedTaxIncluded": true
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/financial_documents/c5ccb37065744bfa913f3ef980377f06?download=3de37f6a21d24960ae6305236fd95778",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:25.239529+03:00",
        "id": "c5ccb37065744bfa913f3ef980377f06",
        "dateModified": "2017-06-21T17:05:25.239560+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Карпенко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Коцюбинського, 15",
          "region": "м. Запоріжжя",
          "locality": "м. Запоріжя"
        }
      }
    ],
    "date": "2017-06-21T17:05:25.236560+03:00",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/qualification_documents/a9cdc9933c49414f9fcb9dc8a815f2da?download=c0cdd8c158e34d46b53ea992aeb8a8b1",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:25.244714+03:00",
        "id": "a9cdc9933c49414f9fcb9dc8a815f2da",
        "dateModified": "2017-06-21T17:05:25.244766+03:00"
      }
    ]
  }
}

Bid Qualification

On second stage in Competitive Dialogue procedure requires bid qualification.

Let’s list qualifications:

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "selective",
    "status": "active.pre-qualification",
    "complaintPeriod": {
      "startDate": "2017-05-21T17:04:37.384821+03:00",
      "endDate": "2017-06-17T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-21T17:04:37.384821+03:00",
      "clarificationsUntil": "2017-06-15T00:00:00+03:00",
      "endDate": "2017-06-11T17:04:37.384821+03:00",
      "invalidationDate": "2017-06-21T17:05:24.738173+03:00"
    },
    "submissionMethod": "electronicAuction",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "00137226",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "title": "Калорійність",
        "date": "2017-06-21T17:05:22.844259+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-06-21T17:05:22.936772+03:00",
        "id": "bde54af3cda441318b0bc1e6d2eaca50",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "2332d7f2a08e47d7a9d115ad1fee1eb8",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/f8910e202a3f451a904ae67142358a74?KeyID=d8e133db&Signature=gWwLvym6za8Ii%252BfpoueQoftCtQSE4M%2FyyNKu%2FtLjuy96l%2FYJoH%252BUFQ4Up8YpoFnppZo1mHxGOuZ2XMOK49ZLDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.481301+03:00",
        "id": "95a16064160d49fe820a8bee63fff415",
        "dateModified": "2017-06-21T17:05:22.481335+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ce58586989224de490b806440143b41d?KeyID=d8e133db&Signature=b9Xyx9Qm%2F3JUf4IAH2qKtQ7%252B%2FfwQRi9tS7Yt9oO8xik8aADhYrFkseVF%252B6qbOqHpRvLifBng3TvOtW2m8%2F7fAA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.579293+03:00",
        "id": "cdf2efa990af4673a6d98331cf0c9652",
        "dateModified": "2017-06-21T17:05:22.579325+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/2efac33fede54b789b8bdc5c9bafb582?KeyID=d8e133db&Signature=0Y21zun5rS5AtRSEHnc0FGr%252B%252BoEq9iM3NZxfhyWEwbjnHBljzh%252BBBcBaLD%2F3hRwl8OWp6rlw5%2FaaPN1JAlU%2FBg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.579293+03:00",
        "id": "cdf2efa990af4673a6d98331cf0c9652",
        "dateModified": "2017-06-21T17:05:22.687041+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-06-21T17:05:25.702974+03:00"
    },
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:25.715881+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2017-05-21T17:04:37.384821+03:00",
      "endDate": "2017-06-21T17:04:37.384821+03:00"
    },
    "qualifications": [
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "b20022ca69d243eb917e5ff3217b6690",
        "date": "2017-06-21T17:05:25.703823+03:00",
        "id": "42905e11333041e28283033b6665157f"
      },
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "f8c0332fc19b4723a6b2f279c81dc7a0",
        "date": "2017-06-21T17:05:25.704221+03:00",
        "id": "bdd5f929a40f4f85b1eacb2aafca8630"
      },
      {
        "status": "pending",
        "eligible": false,
        "qualified": false,
        "bidID": "9b6ebf9b1b604decadf2ee8ba69f6d44",
        "date": "2017-06-21T17:05:25.704587+03:00",
        "id": "d44f5f78147b493ebdbe98ae275f9e9e"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "date": "2017-06-21T17:05:25.715881+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "pending",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/840d9651238e4aecb276d74f5c5232e1?KeyID=d8e133db&Signature=k5ryxv5psu9N0pCKmN4usarO%252BnzmUIJAdSQMCd31FIbxPLUwcHX2jJ4rN3%252BcED%252BzGgYiscOCH9VMxaRl1ZK8AQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:23.746947+03:00",
            "id": "04c9706c7da9437aa10ad604cdb303fb",
            "dateModified": "2017-06-21T17:05:23.746988+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:23.847161+03:00",
            "id": "91b40d8996d24aee9836d57ea3285451",
            "dateModified": "2017-06-21T17:05:23.847195+03:00"
          }
        ],
        "id": "b20022ca69d243eb917e5ff3217b6690",
        "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": "f8c0332fc19b4723a6b2f279c81dc7a0",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Книга»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "pending",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/c5c2fc1b3eb540898cbc9fb85613e00c?KeyID=d8e133db&Signature=JjnzyrMFnY4JiLWZa%252BGqPKnXIgsXfFhzPEU9Wh6woF49752EH8Dxirg1wG0GeONKFeiluD1xAVibhxp5wqp6BA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.237642+03:00",
            "id": "2db5d8034cbe4f35bd79070d35f56d96",
            "dateModified": "2017-06-21T17:05:25.237674+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/documents/a61142ae42264111a7e2777ea98d9d73?download=752877b3e3fe4d2e864edb3bd41b43c7",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.238576+03:00",
            "id": "a61142ae42264111a7e2777ea98d9d73",
            "dateModified": "2017-06-21T17:05:25.238607+03:00"
          }
        ],
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Кенгуру»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ],
        "id": "9b6ebf9b1b604decadf2ee8ba69f6d44",
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/5e5958cbd3744e45b38a1ac0219a1e3b?KeyID=d8e133db&Signature=YVHjUWlvZArEujrKOTwhQd81P9E7Jy9tRr%252Bztst7QCkAmQovpaZqFnCIq8wQFwyVZAORk7zMyNTys8gIXYhrAA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.240462+03:00",
            "id": "7a9e8cb3065140e6a71dc636da084e49",
            "dateModified": "2017-06-21T17:05:25.240493+03:00"
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Approve first two bids through qualification objects:

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/qualifications/42905e11333041e28283033b6665157f?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "qualified": true,
    "bidID": "b20022ca69d243eb917e5ff3217b6690",
    "date": "2017-06-21T17:05:25.976984+03:00",
    "id": "42905e11333041e28283033b6665157f"
  }
}
PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/qualifications/bdd5f929a40f4f85b1eacb2aafca8630?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "qualified": true,
    "bidID": "f8c0332fc19b4723a6b2f279c81dc7a0",
    "date": "2017-06-21T17:05:26.161606+03:00",
    "id": "bdd5f929a40f4f85b1eacb2aafca8630"
  }
}

We can also reject bid:

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/qualifications/d44f5f78147b493ebdbe98ae275f9e9e?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 36
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "unsuccessful"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "eligible": false,
    "qualified": false,
    "bidID": "9b6ebf9b1b604decadf2ee8ba69f6d44",
    "date": "2017-06-21T17:05:26.342558+03:00",
    "id": "d44f5f78147b493ebdbe98ae275f9e9e"
  }
}

And check that qualified bids are switched to active:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "active",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/840d9651238e4aecb276d74f5c5232e1?KeyID=d8e133db&Signature=k5ryxv5psu9N0pCKmN4usarO%252BnzmUIJAdSQMCd31FIbxPLUwcHX2jJ4rN3%252BcED%252BzGgYiscOCH9VMxaRl1ZK8AQ%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:23.746947+03:00",
          "id": "04c9706c7da9437aa10ad604cdb303fb",
          "dateModified": "2017-06-21T17:05:23.746988+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "format": "application/pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_top_secrets.pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:23.847161+03:00",
          "id": "91b40d8996d24aee9836d57ea3285451",
          "dateModified": "2017-06-21T17:05:23.847195+03:00"
        }
      ],
      "id": "b20022ca69d243eb917e5ff3217b6690",
      "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": "f8c0332fc19b4723a6b2f279c81dc7a0",
      "tenderers": [
        {
          "contactPoint": {
            "email": "aagt@gmail.com",
            "telephone": "+380 (322) 91-69-30",
            "name": "Андрій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137226",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "ДКП «Книга»",
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 34",
            "region": "м. Львів",
            "locality": "м. Львів"
          }
        }
      ]
    },
    {
      "status": "unsuccessful",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "Proposal_part1.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/c5c2fc1b3eb540898cbc9fb85613e00c?KeyID=d8e133db&Signature=JjnzyrMFnY4JiLWZa%252BGqPKnXIgsXfFhzPEU9Wh6woF49752EH8Dxirg1wG0GeONKFeiluD1xAVibhxp5wqp6BA%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:25.237642+03:00",
          "id": "2db5d8034cbe4f35bd79070d35f56d96",
          "dateModified": "2017-06-21T17:05:25.237674+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "buyerOnly",
          "language": "uk",
          "format": "application/pdf",
          "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/documents/a61142ae42264111a7e2777ea98d9d73?download=752877b3e3fe4d2e864edb3bd41b43c7",
          "confidentialityRationale": "Only our company sells badgers with pink hair.",
          "title": "Proposal_part2.pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:25.238576+03:00",
          "id": "a61142ae42264111a7e2777ea98d9d73",
          "dateModified": "2017-06-21T17:05:25.238607+03:00"
        }
      ],
      "eligibilityDocuments": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "confidentiality": "public",
          "language": "uk",
          "title": "eligibility_doc.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/5e5958cbd3744e45b38a1ac0219a1e3b?KeyID=d8e133db&Signature=YVHjUWlvZArEujrKOTwhQd81P9E7Jy9tRr%252Bztst7QCkAmQovpaZqFnCIq8wQFwyVZAORk7zMyNTys8gIXYhrAA%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:25.240462+03:00",
          "id": "7a9e8cb3065140e6a71dc636da084e49",
          "dateModified": "2017-06-21T17:05:25.240493+03:00"
        }
      ],
      "selfEligible": true,
      "selfQualified": true,
      "tenderers": [
        {
          "contactPoint": {
            "email": "fake@mail.com",
            "telephone": "+380 (322) 12-34-56",
            "name": "Іван Карпенко"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "id": "00137228",
            "uri": "http://www.sc.gov.ua/"
          },
          "name": "«Кенгуру»",
          "address": {
            "postalCode": "79013",
            "countryName": "Україна",
            "streetAddress": "вул. Коцюбинського, 15",
            "region": "м. Запоріжжя",
            "locality": "м. Запоріжя"
          }
        }
      ],
      "id": "9b6ebf9b1b604decadf2ee8ba69f6d44"
    }
  ]
}

Rejected bid is not shown in bids/ listing.

We can access rejected bid by id:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "unsuccessful",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal_part1.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/c5c2fc1b3eb540898cbc9fb85613e00c?KeyID=d8e133db&Signature=JjnzyrMFnY4JiLWZa%252BGqPKnXIgsXfFhzPEU9Wh6woF49752EH8Dxirg1wG0GeONKFeiluD1xAVibhxp5wqp6BA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:25.237642+03:00",
        "id": "2db5d8034cbe4f35bd79070d35f56d96",
        "dateModified": "2017-06-21T17:05:25.237674+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/documents/a61142ae42264111a7e2777ea98d9d73?download=752877b3e3fe4d2e864edb3bd41b43c7",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_part2.pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:25.238576+03:00",
        "id": "a61142ae42264111a7e2777ea98d9d73",
        "dateModified": "2017-06-21T17:05:25.238607+03:00"
      }
    ],
    "eligibilityDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "eligibility_doc.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/5e5958cbd3744e45b38a1ac0219a1e3b?KeyID=d8e133db&Signature=YVHjUWlvZArEujrKOTwhQd81P9E7Jy9tRr%252Bztst7QCkAmQovpaZqFnCIq8wQFwyVZAORk7zMyNTys8gIXYhrAA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:25.240462+03:00",
        "id": "7a9e8cb3065140e6a71dc636da084e49",
        "dateModified": "2017-06-21T17:05:25.240493+03:00"
      }
    ],
    "selfEligible": true,
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Карпенко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Коцюбинського, 15",
          "region": "м. Запоріжжя",
          "locality": "м. Запоріжя"
        }
      }
    ],
    "id": "9b6ebf9b1b604decadf2ee8ba69f6d44"
  }
}

Procuring entity approves qualifications by switching to next status:

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8?acc_token=e77ee989307e43bb9481309d328df6d1 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": "selective",
    "status": "active.pre-qualification.stand-still",
    "complaintPeriod": {
      "startDate": "2017-05-21T17:04:37.384821+03:00",
      "endDate": "2017-06-17T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-21T17:04:37.384821+03:00",
      "clarificationsUntil": "2017-06-15T00:00:00+03:00",
      "endDate": "2017-06-11T17:04:37.384821+03:00",
      "invalidationDate": "2017-06-21T17:05:24.738173+03:00"
    },
    "submissionMethod": "electronicAuction",
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "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-06-21T17:05:22.844259+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "dateAnswered": "2017-06-21T17:05:22.936772+03:00",
        "id": "bde54af3cda441318b0bc1e6d2eaca50",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "2332d7f2a08e47d7a9d115ad1fee1eb8",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/f8910e202a3f451a904ae67142358a74?KeyID=d8e133db&Signature=gWwLvym6za8Ii%252BfpoueQoftCtQSE4M%2FyyNKu%2FtLjuy96l%2FYJoH%252BUFQ4Up8YpoFnppZo1mHxGOuZ2XMOK49ZLDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.481301+03:00",
        "id": "95a16064160d49fe820a8bee63fff415",
        "dateModified": "2017-06-21T17:05:22.481335+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ce58586989224de490b806440143b41d?KeyID=d8e133db&Signature=b9Xyx9Qm%2F3JUf4IAH2qKtQ7%252B%2FfwQRi9tS7Yt9oO8xik8aADhYrFkseVF%252B6qbOqHpRvLifBng3TvOtW2m8%2F7fAA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.579293+03:00",
        "id": "cdf2efa990af4673a6d98331cf0c9652",
        "dateModified": "2017-06-21T17:05:22.579325+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/2efac33fede54b789b8bdc5c9bafb582?KeyID=d8e133db&Signature=0Y21zun5rS5AtRSEHnc0FGr%252B%252BoEq9iM3NZxfhyWEwbjnHBljzh%252BBBcBaLD%2F3hRwl8OWp6rlw5%2FaaPN1JAlU%2FBg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.579293+03:00",
        "id": "cdf2efa990af4673a6d98331cf0c9652",
        "dateModified": "2017-06-21T17:05:22.687041+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-06-21T17:05:25.702974+03:00",
      "endDate": "2017-06-26T17:05:26.890661+03:00"
    },
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:26.900302+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-05-21T17:04:37.384821+03:00",
      "endDate": "2017-06-21T17:04:37.384821+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-06-27T00:00:00+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "b20022ca69d243eb917e5ff3217b6690",
        "date": "2017-06-21T17:05:25.976984+03:00",
        "id": "42905e11333041e28283033b6665157f"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "f8c0332fc19b4723a6b2f279c81dc7a0",
        "date": "2017-06-21T17:05:26.161606+03:00",
        "id": "bdd5f929a40f4f85b1eacb2aafca8630"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "9b6ebf9b1b604decadf2ee8ba69f6d44",
        "date": "2017-06-21T17:05:26.342558+03:00",
        "id": "d44f5f78147b493ebdbe98ae275f9e9e"
      }
    ],
    "date": "2017-06-21T17:05:26.900302+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/840d9651238e4aecb276d74f5c5232e1?KeyID=d8e133db&Signature=k5ryxv5psu9N0pCKmN4usarO%252BnzmUIJAdSQMCd31FIbxPLUwcHX2jJ4rN3%252BcED%252BzGgYiscOCH9VMxaRl1ZK8AQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:23.746947+03:00",
            "id": "04c9706c7da9437aa10ad604cdb303fb",
            "dateModified": "2017-06-21T17:05:23.746988+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:23.847161+03:00",
            "id": "91b40d8996d24aee9836d57ea3285451",
            "dateModified": "2017-06-21T17:05:23.847195+03:00"
          }
        ],
        "id": "b20022ca69d243eb917e5ff3217b6690",
        "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": "f8c0332fc19b4723a6b2f279c81dc7a0",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Книга»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "unsuccessful",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/c5c2fc1b3eb540898cbc9fb85613e00c?KeyID=d8e133db&Signature=JjnzyrMFnY4JiLWZa%252BGqPKnXIgsXfFhzPEU9Wh6woF49752EH8Dxirg1wG0GeONKFeiluD1xAVibhxp5wqp6BA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.237642+03:00",
            "id": "2db5d8034cbe4f35bd79070d35f56d96",
            "dateModified": "2017-06-21T17:05:25.237674+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/documents/a61142ae42264111a7e2777ea98d9d73?download=752877b3e3fe4d2e864edb3bd41b43c7",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.238576+03:00",
            "id": "a61142ae42264111a7e2777ea98d9d73",
            "dateModified": "2017-06-21T17:05:25.238607+03:00"
          }
        ],
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/5e5958cbd3744e45b38a1ac0219a1e3b?KeyID=d8e133db&Signature=YVHjUWlvZArEujrKOTwhQd81P9E7Jy9tRr%252Bztst7QCkAmQovpaZqFnCIq8wQFwyVZAORk7zMyNTys8gIXYhrAA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.240462+03:00",
            "id": "7a9e8cb3065140e6a71dc636da084e49",
            "dateModified": "2017-06-21T17:05:25.240493+03:00"
          }
        ],
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Кенгуру»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ],
        "id": "9b6ebf9b1b604decadf2ee8ba69f6d44"
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "next_check": "2017-06-26T17:05:26.890661+03:00",
    "awardCriteria": "lowestCost"
  }
}

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

Auction

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "selective",
    "status": "active.auction",
    "complaintPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "endDate": "2017-06-07T00:00:00+03:00"
    },
    "auctionUrl": "http://auction-sandbox.openprocurement.org/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8",
    "enquiryPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "clarificationsUntil": "2017-06-07T17:04:37.384821+03:00",
      "endDate": "2017-06-01T17:04:37.384821+03:00",
      "invalidationDate": "2017-06-21T17:05:24.738173+03:00"
    },
    "submissionMethod": "electronicAuction",
    "procurementMethodType": "competitiveDialogueEU.stage2",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-06-21T17:05:22.936772+03:00",
        "title": "Калорійність",
        "date": "2017-06-21T17:05:22.844259+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "bde54af3cda441318b0bc1e6d2eaca50",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "2332d7f2a08e47d7a9d115ad1fee1eb8",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/f8910e202a3f451a904ae67142358a74?KeyID=d8e133db&Signature=gWwLvym6za8Ii%252BfpoueQoftCtQSE4M%2FyyNKu%2FtLjuy96l%2FYJoH%252BUFQ4Up8YpoFnppZo1mHxGOuZ2XMOK49ZLDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.481301+03:00",
        "id": "95a16064160d49fe820a8bee63fff415",
        "dateModified": "2017-06-21T17:05:22.481335+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ce58586989224de490b806440143b41d?KeyID=d8e133db&Signature=b9Xyx9Qm%2F3JUf4IAH2qKtQ7%252B%2FfwQRi9tS7Yt9oO8xik8aADhYrFkseVF%252B6qbOqHpRvLifBng3TvOtW2m8%2F7fAA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.579293+03:00",
        "id": "cdf2efa990af4673a6d98331cf0c9652",
        "dateModified": "2017-06-21T17:05:22.579325+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/2efac33fede54b789b8bdc5c9bafb582?KeyID=d8e133db&Signature=0Y21zun5rS5AtRSEHnc0FGr%252B%252BoEq9iM3NZxfhyWEwbjnHBljzh%252BBBcBaLD%2F3hRwl8OWp6rlw5%2FaaPN1JAlU%2FBg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:22.579293+03:00",
        "id": "cdf2efa990af4673a6d98331cf0c9652",
        "dateModified": "2017-06-21T17:05:22.687041+03:00"
      }
    ],
    "title": "Послуги шкільних їдалень",
    "qualificationPeriod": {
      "startDate": "2017-06-11T17:04:37.384821+03:00",
      "endDate": "2017-06-21T17:04:37.384821+03:00"
    },
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:27.421253+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-05-11T17:04:37.384821+03:00",
      "endDate": "2017-06-11T17:04:37.384821+03:00"
    },
    "auctionPeriod": {
      "startDate": "2017-06-21T17:04:37.384821+03:00",
      "shouldStartAfter": "2017-06-22T00:00:00+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "b20022ca69d243eb917e5ff3217b6690",
        "date": "2017-06-21T17:05:25.976984+03:00",
        "id": "42905e11333041e28283033b6665157f"
      },
      {
        "status": "active",
        "eligible": true,
        "qualified": true,
        "bidID": "f8c0332fc19b4723a6b2f279c81dc7a0",
        "date": "2017-06-21T17:05:26.161606+03:00",
        "id": "bdd5f929a40f4f85b1eacb2aafca8630"
      },
      {
        "status": "unsuccessful",
        "eligible": false,
        "qualified": false,
        "bidID": "9b6ebf9b1b604decadf2ee8ba69f6d44",
        "date": "2017-06-21T17:05:26.342558+03:00",
        "id": "d44f5f78147b493ebdbe98ae275f9e9e"
      }
    ],
    "date": "2017-06-21T17:05:26.900302+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/840d9651238e4aecb276d74f5c5232e1?KeyID=d8e133db&Signature=k5ryxv5psu9N0pCKmN4usarO%252BnzmUIJAdSQMCd31FIbxPLUwcHX2jJ4rN3%252BcED%252BzGgYiscOCH9VMxaRl1ZK8AQ%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:23.746947+03:00",
            "id": "04c9706c7da9437aa10ad604cdb303fb",
            "dateModified": "2017-06-21T17:05:23.746988+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_top_secrets.pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:23.847161+03:00",
            "id": "91b40d8996d24aee9836d57ea3285451",
            "dateModified": "2017-06-21T17:05:23.847195+03:00"
          }
        ],
        "id": "b20022ca69d243eb917e5ff3217b6690",
        "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": "f8c0332fc19b4723a6b2f279c81dc7a0",
        "tenderers": [
          {
            "contactPoint": {
              "email": "aagt@gmail.com",
              "telephone": "+380 (322) 91-69-30",
              "name": "Андрій Олексюк"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137226",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "ДКП «Книга»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 34",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      },
      {
        "status": "unsuccessful",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "Proposal_part1.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/c5c2fc1b3eb540898cbc9fb85613e00c?KeyID=d8e133db&Signature=JjnzyrMFnY4JiLWZa%252BGqPKnXIgsXfFhzPEU9Wh6woF49752EH8Dxirg1wG0GeONKFeiluD1xAVibhxp5wqp6BA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.237642+03:00",
            "id": "2db5d8034cbe4f35bd79070d35f56d96",
            "dateModified": "2017-06-21T17:05:25.237674+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "buyerOnly",
            "language": "uk",
            "format": "application/pdf",
            "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/9b6ebf9b1b604decadf2ee8ba69f6d44/documents/a61142ae42264111a7e2777ea98d9d73?download=752877b3e3fe4d2e864edb3bd41b43c7",
            "confidentialityRationale": "Only our company sells badgers with pink hair.",
            "title": "Proposal_part2.pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.238576+03:00",
            "id": "a61142ae42264111a7e2777ea98d9d73",
            "dateModified": "2017-06-21T17:05:25.238607+03:00"
          }
        ],
        "eligibilityDocuments": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "confidentiality": "public",
            "language": "uk",
            "title": "eligibility_doc.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/5e5958cbd3744e45b38a1ac0219a1e3b?KeyID=d8e133db&Signature=YVHjUWlvZArEujrKOTwhQd81P9E7Jy9tRr%252Bztst7QCkAmQovpaZqFnCIq8wQFwyVZAORk7zMyNTys8gIXYhrAA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:05:25.240462+03:00",
            "id": "7a9e8cb3065140e6a71dc636da084e49",
            "dateModified": "2017-06-21T17:05:25.240493+03:00"
          }
        ],
        "selfEligible": true,
        "selfQualified": true,
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Карпенко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137228",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Кенгуру»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Коцюбинського, 15",
              "region": "м. Запоріжжя",
              "locality": "м. Запоріжя"
            }
          }
        ],
        "id": "9b6ebf9b1b604decadf2ee8ba69f6d44"
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "next_check": "2017-06-21T17:40:37.384821+03:00",
    "awardCriteria": "lowestCost"
  }
}

Bidders can find out their participation URLs via their bids:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690?acc_token=6924864ccd3c4ab7a63cfad5f123b5f1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "Proposal.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/840d9651238e4aecb276d74f5c5232e1?KeyID=d8e133db&Signature=k5ryxv5psu9N0pCKmN4usarO%252BnzmUIJAdSQMCd31FIbxPLUwcHX2jJ4rN3%252BcED%252BzGgYiscOCH9VMxaRl1ZK8AQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:23.746947+03:00",
        "id": "04c9706c7da9437aa10ad604cdb303fb",
        "dateModified": "2017-06-21T17:05:23.746988+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "buyerOnly",
        "language": "uk",
        "format": "application/pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/documents/91b40d8996d24aee9836d57ea3285451?download=cfc5737256d04935bfd99398ec7b861c",
        "confidentialityRationale": "Only our company sells badgers with pink hair.",
        "title": "Proposal_top_secrets.pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:23.847161+03:00",
        "id": "91b40d8996d24aee9836d57ea3285451",
        "dateModified": "2017-06-21T17:05:23.847195+03:00"
      }
    ],
    "selfEligible": true,
    "id": "b20022ca69d243eb917e5ff3217b6690",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "selfQualified": true,
    "financialDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/7057c22c715e4754a6e44deca8a3beb1?download=0797f04b09374fd99ddd490ce36a5498",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.125000+03:00",
        "id": "7057c22c715e4754a6e44deca8a3beb1",
        "dateModified": "2017-06-21T17:05:24.125046+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "financial_doc2.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/financial_documents/eccb2caf274542baa27a7aa9969dbd05?download=5683971956124d43899986b84da70eb9",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.251934+03:00",
        "id": "eccb2caf274542baa27a7aa9969dbd05",
        "dateModified": "2017-06-21T17:05:24.251972+03:00"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:23.537907+03:00",
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "qualificationDocuments": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "confidentiality": "public",
        "language": "uk",
        "title": "qualification_document.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/b20022ca69d243eb917e5ff3217b6690/qualification_documents/d9d88ad159e742d396257362cd3d4f1b?download=8d3e83edaeda49cfa17ad86459fe51a5",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:24.427305+03:00",
        "id": "d9d88ad159e742d396257362cd3d4f1b",
        "dateModified": "2017-06-21T17:05:24.427338+03:00"
      }
    ],
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8?key_for_bid=b20022ca69d243eb917e5ff3217b6690"
  }
}

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

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/bids/f8c0332fc19b4723a6b2f279c81dc7a0?acc_token=17cfcc23652a432882ded40441115511 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "selfEligible": true,
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-06-21T17:05:25.080950+03:00",
    "id": "f8c0332fc19b4723a6b2f279c81dc7a0",
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8?key_for_bid=f8c0332fc19b4723a6b2f279c81dc7a0"
  }
}

Confirming qualification

Qualification commission registers its decision via the following call:

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/awards/7514340e56294579afe4843f6acffb2c?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "suppliers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:28.116246+03:00",
      "endDate": "2017-07-02T00:00:00+03:00"
    },
    "bid_id": "f8c0332fc19b4723a6b2f279c81dc7a0",
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "qualified": true,
    "date": "2017-06-21T17:05:28.429403+03:00",
    "id": "7514340e56294579afe4843f6acffb2c"
  }
}

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/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4?acc_token=e77ee989307e43bb9481309d328df6d1 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": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "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": "7514340e56294579afe4843f6acffb2c",
    "id": "a5adbe0ebe494994ae44b6f5df0066a4",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

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

Setting contract signature date

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

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

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 60
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "dateSigned": "2017-06-21T17:05:28.900492+03:00"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "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
    },
    "dateSigned": "2017-06-21T17:05:28.900492+03:00",
    "awardID": "7514340e56294579afe4843f6acffb2c",
    "id": "a5adbe0ebe494994ae44b6f5df0066a4",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

Setting contract validity period

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

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 118
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "period": {
      "startDate": "2017-06-21T17:05:29.145094+03:00",
      "endDate": "2018-06-21T17:05:29.145144+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "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-06-21T17:05:29.145094+03:00",
      "endDate": "2018-06-21T17:05:29.145144+03:00"
    },
    "dateSigned": "2017-06-21T17:05:28.900492+03:00",
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "7514340e56294579afe4843f6acffb2c",
    "id": "a5adbe0ebe494994ae44b6f5df0066a4",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

Uploading contract documentation

Let’s upload contract document:

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4/documents?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 206
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy955390164099$
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/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4/documents/b046a1032f264cfe8b4634d25af6701e
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "contract_first_document.doc",
    "url": "http://public.docs-sandbox.openprocurement.org/get/8f7ef2d7ed7645e9969422b23ab7f68b?KeyID=d8e133db&Signature=8wLZj59BcDtUIl%2FWGtgeoK6KlIO2rxMEsFQy5CbVY25e6eDqzi%2FK3OzRGCQH3F76g4HAPZXPz6EfWnCB75HFAg%253D%253D",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:29.503615+03:00",
    "id": "b046a1032f264cfe8b4634d25af6701e",
    "dateModified": "2017-06-21T17:05:29.503659+03:00"
  }
}

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

Let’s see the list of contract documents:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "contract_first_document.doc",
      "url": "http://public.docs-sandbox.openprocurement.org/get/8f7ef2d7ed7645e9969422b23ab7f68b?KeyID=d8e133db&Signature=8wLZj59BcDtUIl%2FWGtgeoK6KlIO2rxMEsFQy5CbVY25e6eDqzi%2FK3OzRGCQH3F76g4HAPZXPz6EfWnCB75HFAg%253D%253D",
      "format": "application/msword",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:29.503615+03:00",
      "id": "b046a1032f264cfe8b4634d25af6701e",
      "dateModified": "2017-06-21T17:05:29.503659+03:00"
    }
  ]
}

We can upload another contract document:

POST /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4/documents?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 209
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy0115947275353$
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/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4/documents/1d846fe1d19048d7a92c300fa1f92f1e
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "contract_second_document.doc",
    "url": "http://public.docs-sandbox.openprocurement.org/get/111f40dc6a464cb88700b558980259b1?KeyID=d8e133db&Signature=OpR94xXZYzGPfbsKJyId%252B0c7QWtQUZyi0NFCVV%252BalfdWRBVRWUz36fqlAF5UepzOmxXTLSeQ0VH1D%252BTqd5GEBg%253D%253D",
    "format": "application/msword",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:29.837548+03:00",
    "id": "1d846fe1d19048d7a92c300fa1f92f1e",
    "dateModified": "2017-06-21T17:05:29.837587+03:00"
  }
}

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

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

PATCH /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4/documents/1d846fe1d19048d7a92c300fa1f92f1e?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 106
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "title_en": "Title of Document",
    "language": "en",
    "description_en": "Description of Document"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "en",
    "title": "contract_second_document.doc",
    "url": "http://public.docs-sandbox.openprocurement.org/get/111f40dc6a464cb88700b558980259b1?KeyID=d8e133db&Signature=OpR94xXZYzGPfbsKJyId%252B0c7QWtQUZyi0NFCVV%252BalfdWRBVRWUz36fqlAF5UepzOmxXTLSeQ0VH1D%252BTqd5GEBg%253D%253D",
    "format": "application/msword",
    "title_en": "Title of Document",
    "description_en": "Description of Document",
    "datePublished": "2017-06-21T17:05:29.837548+03:00",
    "documentOf": "tender",
    "id": "1d846fe1d19048d7a92c300fa1f92f1e",
    "dateModified": "2017-06-21T17:05:29.837587+03:00"
  }
}

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

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "uk",
      "title": "contract_first_document.doc",
      "url": "http://public.docs-sandbox.openprocurement.org/get/8f7ef2d7ed7645e9969422b23ab7f68b?KeyID=d8e133db&Signature=8wLZj59BcDtUIl%2FWGtgeoK6KlIO2rxMEsFQy5CbVY25e6eDqzi%2FK3OzRGCQH3F76g4HAPZXPz6EfWnCB75HFAg%253D%253D",
      "format": "application/msword",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:29.503615+03:00",
      "id": "b046a1032f264cfe8b4634d25af6701e",
      "dateModified": "2017-06-21T17:05:29.503659+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "language": "en",
      "title": "contract_second_document.doc",
      "url": "http://public.docs-sandbox.openprocurement.org/get/111f40dc6a464cb88700b558980259b1?KeyID=d8e133db&Signature=OpR94xXZYzGPfbsKJyId%252B0c7QWtQUZyi0NFCVV%252BalfdWRBVRWUz36fqlAF5UepzOmxXTLSeQ0VH1D%252BTqd5GEBg%253D%253D",
      "format": "application/msword",
      "title_en": "Title of Document",
      "description_en": "Description of Document",
      "datePublished": "2017-06-21T17:05:29.837548+03:00",
      "documentOf": "tender",
      "id": "1d846fe1d19048d7a92c300fa1f92f1e",
      "dateModified": "2017-06-21T17:05:29.837587+03:00"
    }
  ]
}

Let’s view separate contract document:

GET /api/2.3/tenders/2332d7f2a08e47d7a9d115ad1fee1eb8/contracts/a5adbe0ebe494994ae44b6f5df0066a4?acc_token=e77ee989307e43bb9481309d328df6d1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "uk",
        "title": "contract_first_document.doc",
        "url": "http://public.docs-sandbox.openprocurement.org/get/8f7ef2d7ed7645e9969422b23ab7f68b?KeyID=d8e133db&Signature=8wLZj59BcDtUIl%2FWGtgeoK6KlIO2rxMEsFQy5CbVY25e6eDqzi%2FK3OzRGCQH3F76g4HAPZXPz6EfWnCB75HFAg%253D%253D",
        "format": "application/msword",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:29.503615+03:00",
        "id": "b046a1032f264cfe8b4634d25af6701e",
        "dateModified": "2017-06-21T17:05:29.503659+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "language": "en",
        "title": "contract_second_document.doc",
        "url": "http://public.docs-sandbox.openprocurement.org/get/111f40dc6a464cb88700b558980259b1?KeyID=d8e133db&Signature=OpR94xXZYzGPfbsKJyId%252B0c7QWtQUZyi0NFCVV%252BalfdWRBVRWUz36fqlAF5UepzOmxXTLSeQ0VH1D%252BTqd5GEBg%253D%253D",
        "format": "application/msword",
        "title_en": "Title of Document",
        "description_en": "Description of Document",
        "datePublished": "2017-06-21T17:05:29.837548+03:00",
        "documentOf": "tender",
        "id": "1d846fe1d19048d7a92c300fa1f92f1e",
        "dateModified": "2017-06-21T17:05:29.837587+03:00"
      }
    ],
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418860+03:00",
          "endDate": "2017-07-21T17:05:33.111966+03:00"
        },
        "id": "deaf5398b54e4bd5abc5cca172a40d15",
        "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-06-21T17:05:29.145094+03:00",
      "endDate": "2018-06-21T17:05:29.145144+03:00"
    },
    "dateSigned": "2017-06-21T17:05:28.900492+03:00",
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "7514340e56294579afe4843f6acffb2c",
    "id": "a5adbe0ebe494994ae44b6f5df0066a4",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

Stage2 UA

If on first stage you set procurementMethodType to CompetitiveDialogueUA then on second stage you have tender witch similar to Open UA procedure

Modifying tender

You can modify only tenderPeriod.endDate and deliveryDate for items. Another changes will not be saved. Let’s update tender by supplementing it with all other essential properties:

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-07-21T17:05:45.162746+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "draft.stage2",
    "procurementMethod": "selective",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:35.036836+03:00",
      "endDate": "2017-07-21T17:05:45.162746+03:00"
    },
    "title": "футляри до державних нагород",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:35.036836+03:00",
      "clarificationsUntil": "2017-07-14T17:05:45.162746+03:00",
      "endDate": "2017-07-11T17:05:45.162746+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:35.036836+03:00",
      "endDate": "2017-07-17T00:00:00+03:00"
    },
    "procurementMethodType": "competitiveDialogueUA.stage2",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "date": "2017-06-21T17:05:35.130513+03:00",
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name": "ЗОСШ #10 м.Вінниці",
      "kind": "special",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.419004+03:00",
          "endDate": "2017-08-10T17:04:37.419026+03:00"
        },
        "id": "770e64d0f1ee48d2b468359361f14862",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "dateModified": "2017-06-21T17:05:35.235527+03:00",
    "id": "92ad8804586d4edbb98cdb5c7c79412f",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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

Checking the listing again reflects the new modification date:

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

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

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

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 88
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "items": [
      {
        "deliveryDate": {
          "endDate": "2017-07-21T17:05:46.028866+03:00"
        }
      }
    ]
  }
}

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

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

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 153
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "items": [
      {
        "deliveryDate": {
          "endDate": "2017-07-21T17:05:46.028866+03:00"
        }
      }
    ],
    "tenderPeriod": {
      "endDate": "2017-06-29T17:05:36.171450+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "selective",
    "complaintPeriod": {
      "startDate": "2017-05-24T17:05:35.979204+03:00",
      "endDate": "2017-06-25T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-24T17:05:35.979204+03:00",
      "clarificationsUntil": "2017-06-22T17:05:36.171450+03:00",
      "endDate": "2017-06-19T17:05:36.171450+03:00",
      "invalidationDate": "2017-06-21T17:05:36.286497+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-29T17:05:36.171450+03:00",
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name": "ЗОСШ #10 м.Вінниці",
      "kind": "special",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-06-21T17:05:35.875664+03:00",
        "title": "Калорійність",
        "date": "2017-06-21T17:05:35.787600+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "84585ae05ec44e988d3679413daca74c",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "92ad8804586d4edbb98cdb5c7c79412f",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/bcad7e91e01b47fc8a5706ab1b0486d8?KeyID=1b00d854&Signature=6yuqaSqnxCZj6t7BFRX%252BUNrOdmqWTSOGv4kljNuDGbZheM0LCK%252BKtblL1SwFUj%2Fi7P9p8osXbWmGNL8mksNzBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:35.461094+03:00",
        "id": "6d8849370f384999963d9182911d9313",
        "dateModified": "2017-06-21T17:05:35.461127+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/731c49a1d81f43299abc2cabdd4e970c?KeyID=1b00d854&Signature=gCItXqKPoAbTJeE%2F0uR9tAzH8PKFFjids72nj5ePSiqnihT4FfrpTFnF1AHbJoG1olbxfdxUHlyZ3BMitaVrBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:35.549749+03:00",
        "id": "1c08a9569f2a4c40bcb74b28b648049a",
        "dateModified": "2017-06-21T17:05:35.549783+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/03d63cb7f7dc40418fc0754cda8d479c?KeyID=1b00d854&Signature=UL6VbRD6aqWZP8lS54wxuj%2Fl91FUGA8nt%252B6zslODMA4lK%2FXR93s5YSicIf6%252BYtnMaLxCYf9ZhtRND%2FPIeGHeCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:35.549749+03:00",
        "id": "1c08a9569f2a4c40bcb74b28b648049a",
        "dateModified": "2017-06-21T17:05:35.645217+03:00"
      }
    ],
    "title": "футляри до державних нагород",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:36.291022+03:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2017-05-24T17:05:35.979204+03:00",
      "endDate": "2017-06-29T17:05:36.171450+03:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2017-06-30T00:00:00+03:00"
    },
    "procurementMethodType": "competitiveDialogueUA.stage2",
    "date": "2017-06-21T17:05:35.349169+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.419004+03:00",
          "endDate": "2017-07-21T17:05:46.028866+03:00"
        },
        "id": "770e64d0f1ee48d2b468359361f14862",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Uploading documentation

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

POST /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/documents?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 186
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy947945385267$
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/92ad8804586d4edbb98cdb5c7c79412f/documents/6d8849370f384999963d9182911d9313
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/bcad7e91e01b47fc8a5706ab1b0486d8?KeyID=1b00d854&Signature=6yuqaSqnxCZj6t7BFRX%252BUNrOdmqWTSOGv4kljNuDGbZheM0LCK%252BKtblL1SwFUj%2Fi7P9p8osXbWmGNL8mksNzBw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:35.461094+03:00",
    "id": "6d8849370f384999963d9182911d9313",
    "dateModified": "2017-06-21T17:05:35.461127+03:00"
  }
}

201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/documents/6d8849370f384999963d9182911d9313?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/bcad7e91e01b47fc8a5706ab1b0486d8?KeyID=1b00d854&Signature=6yuqaSqnxCZj6t7BFRX%252BUNrOdmqWTSOGv4kljNuDGbZheM0LCK%252BKtblL1SwFUj%2Fi7P9p8osXbWmGNL8mksNzBw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:35.461094+03:00",
    "previousVersions": [],
    "id": "6d8849370f384999963d9182911d9313",
    "dateModified": "2017-06-21T17:05:35.461127+03:00"
  }
}

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

POST /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/documents?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 193
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy202162386733$
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/92ad8804586d4edbb98cdb5c7c79412f/documents/1c08a9569f2a4c40bcb74b28b648049a
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "title": "AwardCriteria.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/731c49a1d81f43299abc2cabdd4e970c?KeyID=1b00d854&Signature=gCItXqKPoAbTJeE%2F0uR9tAzH8PKFFjids72nj5ePSiqnihT4FfrpTFnF1AHbJoG1olbxfdxUHlyZ3BMitaVrBQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:35.549749+03:00",
    "id": "1c08a9569f2a4c40bcb74b28b648049a",
    "dateModified": "2017-06-21T17:05:35.549783+03:00"
  }
}

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

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/documents?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "title": "Notice.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/bcad7e91e01b47fc8a5706ab1b0486d8?KeyID=1b00d854&Signature=6yuqaSqnxCZj6t7BFRX%252BUNrOdmqWTSOGv4kljNuDGbZheM0LCK%252BKtblL1SwFUj%2Fi7P9p8osXbWmGNL8mksNzBw%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:35.461094+03:00",
      "id": "6d8849370f384999963d9182911d9313",
      "dateModified": "2017-06-21T17:05:35.461127+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "title": "AwardCriteria.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/731c49a1d81f43299abc2cabdd4e970c?KeyID=1b00d854&Signature=gCItXqKPoAbTJeE%2F0uR9tAzH8PKFFjids72nj5ePSiqnihT4FfrpTFnF1AHbJoG1olbxfdxUHlyZ3BMitaVrBQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:35.549749+03:00",
      "id": "1c08a9569f2a4c40bcb74b28b648049a",
      "dateModified": "2017-06-21T17:05:35.549783+03:00"
    }
  ]
}

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

PUT /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/documents/1c08a9569f2a4c40bcb74b28b648049a?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 196
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy770666048545$
Host: api-sandbox.openprocurement.org


Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "title": "AwardCriteria-2.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/03d63cb7f7dc40418fc0754cda8d479c?KeyID=1b00d854&Signature=UL6VbRD6aqWZP8lS54wxuj%2Fl91FUGA8nt%252B6zslODMA4lK%2FXR93s5YSicIf6%252BYtnMaLxCYf9ZhtRND%2FPIeGHeCQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:35.549749+03:00",
    "id": "1c08a9569f2a4c40bcb74b28b648049a",
    "dateModified": "2017-06-21T17:05:35.645217+03:00"
  }
}

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "title": "Notice.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/bcad7e91e01b47fc8a5706ab1b0486d8?KeyID=1b00d854&Signature=6yuqaSqnxCZj6t7BFRX%252BUNrOdmqWTSOGv4kljNuDGbZheM0LCK%252BKtblL1SwFUj%2Fi7P9p8osXbWmGNL8mksNzBw%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:35.461094+03:00",
      "id": "6d8849370f384999963d9182911d9313",
      "dateModified": "2017-06-21T17:05:35.461127+03:00"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "title": "AwardCriteria-2.pdf",
      "url": "http://public.docs-sandbox.openprocurement.org/get/03d63cb7f7dc40418fc0754cda8d479c?KeyID=1b00d854&Signature=UL6VbRD6aqWZP8lS54wxuj%2Fl91FUGA8nt%252B6zslODMA4lK%2FXR93s5YSicIf6%252BYtnMaLxCYf9ZhtRND%2FPIeGHeCQ%253D%253D",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:35.549749+03:00",
      "id": "1c08a9569f2a4c40bcb74b28b648049a",
      "dateModified": "2017-06-21T17:05:35.645217+03:00"
    }
  ]
}

Enquiries

When tender has active.tendering status and Tender.enqueryPeriod.endDate hasn’t come yet, interested parties can ask questions. Ask question can only participants which were approved on first stage, someone else try ask, he catch error:

POST /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1057
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "author": {
      "contactPoint": {
        "telephone": "+380 (452) 21-69-31",
        "name": "Вільям Поле",
        "email": "pole@gmail.com"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "ТОВ Бур",
        "id": "00137230",
        "uri": "http://pole.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": "Author can't create question",
      "location": "body",
      "name": "author"
    }
  ]
}
POST /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/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/92ad8804586d4edbb98cdb5c7c79412f/questions/84585ae05ec44e988d3679413daca74c
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "00137226",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Калорійність",
    "date": "2017-06-21T17:05:35.787600+03:00",
    "id": "84585ae05ec44e988d3679413daca74c",
    "questionOf": "tender"
  }
}

Procuring entity can answer them:

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/questions/84585ae05ec44e988d3679413daca74c?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 162
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\""
  }
}

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

One can retrieve either questions list:

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

or individual answer:

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/questions/84585ae05ec44e988d3679413daca74c HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

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

Enquiries can be made only during Tender.enqueryPeriod

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

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

Registering bid

Tender status active.tendering allows registration of bids.

Like with question only approved participants can register bid. First participant witch didn’t was on first stage try create bid.

POST /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 871
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "draft",
    "selfEligible": true,
    "value": {
      "amount": 500
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (452) 21-69-31",
          "name": "Вільям Поле",
          "email": "pole@gmail.com"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "ТОВ Бур",
          "id": "00137230",
          "uri": "http://pole.edu.vn.ua/"
        },
        "name": "ТОВ \"Бур\"",
        "address": {
          "countryName": "Україна",
          "postalCode": "21100",
          "region": "м. Львів",
          "streetAddress": "вул. Поле, 33",
          "locality": "м. Львів"
        }
      }
    ],
    "selfQualified": true
  }
}

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

Bidder can register a bid with draft status:

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2
{
  "access": {
    "token": "8829f7b52d3a4c22987d23fdd5940398"
  },
  "data": {
    "status": "draft",
    "selfEligible": true,
    "id": "57a74d772b4546a6b3cfbc90985a42a2",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:36.427120+03:00",
    "selfQualified": true
  }
}

And activate a bid:

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2?acc_token=8829f7b52d3a4c22987d23fdd5940398 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",
    "selfEligible": true,
    "id": "57a74d772b4546a6b3cfbc90985a42a2",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:36.427120+03:00",
    "selfQualified": true
  }
}
Proposal Uploading

Then bidder should upload proposal document(s):

POST /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2/documents?acc_token=8829f7b52d3a4c22987d23fdd5940398 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 188
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy837483776897$
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/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2/documents/e4d9acbd75a249858bcf1691f88a50bd
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "title": "Proposal.pdf",
    "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2/documents/e4d9acbd75a249858bcf1691f88a50bd?download=0b8747c722434d31acbb9478eb4f2ae2",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:36.631598+03:00",
    "id": "e4d9acbd75a249858bcf1691f88a50bd",
    "dateModified": "2017-06-21T17:05:36.631629+03:00"
  }
}

It is possible to check the uploaded documents:

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2/documents?acc_token=8829f7b52d3a4c22987d23fdd5940398 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "title": "Proposal.pdf",
      "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2/documents/e4d9acbd75a249858bcf1691f88a50bd?download=0b8747c722434d31acbb9478eb4f2ae2",
      "format": "application/pdf",
      "documentOf": "tender",
      "datePublished": "2017-06-21T17:05:36.631598+03:00",
      "id": "e4d9acbd75a249858bcf1691f88a50bd",
      "dateModified": "2017-06-21T17:05:36.631629+03:00"
    }
  ]
}
Bid invalidation

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

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2?acc_token=8829f7b52d3a4c22987d23fdd5940398 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": "57a74d772b4546a6b3cfbc90985a42a2"
  }
}
Bid confirmation

Bidder should confirm bid proposal:

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2?acc_token=8829f7b52d3a4c22987d23fdd5940398 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2/documents/e4d9acbd75a249858bcf1691f88a50bd?download=0b8747c722434d31acbb9478eb4f2ae2",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:36.631598+03:00",
        "id": "e4d9acbd75a249858bcf1691f88a50bd",
        "dateModified": "2017-06-21T17:05:36.631629+03:00"
      }
    ],
    "selfEligible": true,
    "id": "57a74d772b4546a6b3cfbc90985a42a2",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:36.427120+03:00",
    "selfQualified": true
  }
}

Second stage Competitive Dialogue UA procedure demands at least two bidders, so there should be at least two bid proposals registered to move to auction stage.

Batch-mode bid registration

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

POST /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1090
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "documents": [
      {
        "url": "http://public.docs-sandbox.openprocurement.org/get/33748309e27e4d45a9982fd6fa9a7746?KeyID=1b00d854&Signature=OBYLJGA1M6K0zCIcRXLg4w3gpQzbfJZRKgFxfwVg%2FgZ42eG2untyPwh0pwyyBqcuBfYRh2DS72777s49Y%2BJUAw%3D%3D",
        "title": "Proposal_part1.pdf",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf"
      }
    ],
    "selfQualified": true,
    "value": {
      "amount": 499
    },
    "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": {
          "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/92ad8804586d4edbb98cdb5c7c79412f/bids/388af60857fa4ac69f9a53214dea400a
{
  "access": {
    "token": "6f7d1089d007420cbdad36dbfe02a2c9"
  },
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "Proposal_part1.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/388af60857fa4ac69f9a53214dea400a/documents/cd12e1eb7a9647a69c2695a87d612d6d?download=33748309e27e4d45a9982fd6fa9a7746",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:37.145285+03:00",
        "id": "cd12e1eb7a9647a69c2695a87d612d6d",
        "dateModified": "2017-06-21T17:05:37.145317+03:00"
      }
    ],
    "selfEligible": true,
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "id": "388af60857fa4ac69f9a53214dea400a",
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-06-21T17:05:37.144235+03:00",
    "selfQualified": true
  }
}

Auction

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "selective",
    "status": "active.auction",
    "complaintPeriod": {
      "startDate": "2017-06-05T17:04:37.384821+03:00",
      "endDate": "2017-06-17T00:00:00+03:00"
    },
    "auctionUrl": "http://auction-sandbox.openprocurement.org/tenders/92ad8804586d4edbb98cdb5c7c79412f",
    "enquiryPeriod": {
      "startDate": "2017-06-05T17:04:37.384821+03:00",
      "clarificationsUntil": "2017-06-15T00:00:00+03:00",
      "endDate": "2017-06-11T17:04:37.384821+03:00",
      "invalidationDate": "2017-06-21T17:05:36.873254+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-21T17:40:37.384821+03:00",
    "procuringEntity": {
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name": "Куца Світлана Валентинівна",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name": "ЗОСШ #10 м.Вінниці",
      "kind": "special",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "dateAnswered": "2017-06-21T17:05:35.875664+03:00",
        "title": "Калорійність",
        "date": "2017-06-21T17:05:35.787600+03:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "84585ae05ec44e988d3679413daca74c",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "92ad8804586d4edbb98cdb5c7c79412f",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/bcad7e91e01b47fc8a5706ab1b0486d8?KeyID=1b00d854&Signature=6yuqaSqnxCZj6t7BFRX%252BUNrOdmqWTSOGv4kljNuDGbZheM0LCK%252BKtblL1SwFUj%2Fi7P9p8osXbWmGNL8mksNzBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:35.461094+03:00",
        "id": "6d8849370f384999963d9182911d9313",
        "dateModified": "2017-06-21T17:05:35.461127+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "AwardCriteria.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/731c49a1d81f43299abc2cabdd4e970c?KeyID=1b00d854&Signature=gCItXqKPoAbTJeE%2F0uR9tAzH8PKFFjids72nj5ePSiqnihT4FfrpTFnF1AHbJoG1olbxfdxUHlyZ3BMitaVrBQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:35.549749+03:00",
        "id": "1c08a9569f2a4c40bcb74b28b648049a",
        "dateModified": "2017-06-21T17:05:35.549783+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "AwardCriteria-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/03d63cb7f7dc40418fc0754cda8d479c?KeyID=1b00d854&Signature=UL6VbRD6aqWZP8lS54wxuj%2Fl91FUGA8nt%252B6zslODMA4lK%2FXR93s5YSicIf6%252BYtnMaLxCYf9ZhtRND%2FPIeGHeCQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:35.549749+03:00",
        "id": "1c08a9569f2a4c40bcb74b28b648049a",
        "dateModified": "2017-06-21T17:05:35.645217+03:00"
      }
    ],
    "title": "футляри до державних нагород",
    "shortlistedFirms": [
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»"
      },
      {
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137228",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Кенгуру»"
      }
    ],
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:37.476786+03:00",
    "numberOfBids": 2,
    "tenderPeriod": {
      "startDate": "2017-06-05T17:04:37.384821+03:00",
      "endDate": "2017-06-21T17:04:37.384821+03:00"
    },
    "auctionPeriod": {
      "startDate": "2017-06-21T17:04:37.384821+03:00",
      "shouldStartAfter": "2017-06-22T00:00:00+03:00"
    },
    "procurementMethodType": "competitiveDialogueUA.stage2",
    "date": "2017-06-21T17:05:35.349169+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.419004+03:00",
          "endDate": "2017-07-21T17:05:46.028866+03:00"
        },
        "id": "770e64d0f1ee48d2b468359361f14862",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Bidders can find out their participation URLs via their bids:

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2?acc_token=8829f7b52d3a4c22987d23fdd5940398 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "Proposal.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/57a74d772b4546a6b3cfbc90985a42a2/documents/e4d9acbd75a249858bcf1691f88a50bd?download=0b8747c722434d31acbb9478eb4f2ae2",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:36.631598+03:00",
        "id": "e4d9acbd75a249858bcf1691f88a50bd",
        "dateModified": "2017-06-21T17:05:36.631629+03:00"
      }
    ],
    "selfEligible": true,
    "id": "57a74d772b4546a6b3cfbc90985a42a2",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "subcontractingDetails": "ДКП «Орфей», Україна",
    "tenderers": [
      {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137256",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:36.427120+03:00",
    "selfQualified": true,
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/92ad8804586d4edbb98cdb5c7c79412f?key_for_bid=57a74d772b4546a6b3cfbc90985a42a2"
  }
}

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

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/388af60857fa4ac69f9a53214dea400a?acc_token=6f7d1089d007420cbdad36dbfe02a2c9 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "Proposal_part1.pdf",
        "url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/bids/388af60857fa4ac69f9a53214dea400a/documents/cd12e1eb7a9647a69c2695a87d612d6d?download=33748309e27e4d45a9982fd6fa9a7746",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:37.145285+03:00",
        "id": "cd12e1eb7a9647a69c2695a87d612d6d",
        "dateModified": "2017-06-21T17:05:37.145317+03:00"
      }
    ],
    "selfEligible": true,
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "id": "388af60857fa4ac69f9a53214dea400a",
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-06-21T17:05:37.144235+03:00",
    "selfQualified": true,
    "participationUrl": "http://auction-sandbox.openprocurement.org/tenders/92ad8804586d4edbb98cdb5c7c79412f?key_for_bid=388af60857fa4ac69f9a53214dea400a"
  }
}

Confirming qualification

Qualification commission registers its decision via the following call:

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/awards/2e46b74286c04dd6bb8625c2b6d2b39a?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "eligible": true,
    "suppliers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:37.871542+03:00",
      "endDate": "2017-07-02T00:00:00+03:00"
    },
    "bid_id": "388af60857fa4ac69f9a53214dea400a",
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "qualified": true,
    "date": "2017-06-21T17:05:38.082464+03:00",
    "id": "2e46b74286c04dd6bb8625c2b6d2b39a"
  }
}

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/92ad8804586d4edbb98cdb5c7c79412f/contracts/2565e20d778242a0a9d27fdab2a68bb5?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 36
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "value": {
      "amount": 238
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.419004+03:00",
          "endDate": "2017-07-21T17:05:46.028866+03:00"
        },
        "id": "770e64d0f1ee48d2b468359361f14862",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "suppliers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "2e46b74286c04dd6bb8625c2b6d2b39a",
    "id": "2565e20d778242a0a9d27fdab2a68bb5",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

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

Setting contract signature date

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

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

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/contracts/2565e20d778242a0a9d27fdab2a68bb5?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 60
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "dateSigned": "2017-06-21T17:05:38.421602+03:00"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.419004+03:00",
          "endDate": "2017-07-21T17:05:46.028866+03:00"
        },
        "id": "770e64d0f1ee48d2b468359361f14862",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "suppliers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "dateSigned": "2017-06-21T17:05:38.421602+03:00",
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "2e46b74286c04dd6bb8625c2b6d2b39a",
    "id": "2565e20d778242a0a9d27fdab2a68bb5",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

Setting contract validity period

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

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/contracts/2565e20d778242a0a9d27fdab2a68bb5?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 118
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "period": {
      "startDate": "2017-06-21T17:05:38.597334+03:00",
      "endDate": "2018-06-21T17:05:38.597385+03:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.419004+03:00",
          "endDate": "2017-07-21T17:05:46.028866+03:00"
        },
        "id": "770e64d0f1ee48d2b468359361f14862",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "suppliers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "period": {
      "startDate": "2017-06-21T17:05:38.597334+03:00",
      "endDate": "2018-06-21T17:05:38.597385+03:00"
    },
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "dateSigned": "2017-06-21T17:05:38.421602+03:00",
    "awardID": "2e46b74286c04dd6bb8625c2b6d2b39a",
    "id": "2565e20d778242a0a9d27fdab2a68bb5",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

Uploading contract documentation

You can upload contract documents for the second stage Competitive Dialogue procedure.

Let’s upload contract document:

POST /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/contracts/2565e20d778242a0a9d27fdab2a68bb5/documents?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 200
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy151059467172$
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/92ad8804586d4edbb98cdb5c7c79412f/contracts/2565e20d778242a0a9d27fdab2a68bb5/documents/b0af1247b222471aa970d3404f22d7cb
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "title": "contract_document.doc",
    "url": "http://public.docs-sandbox.openprocurement.org/get/d0045d5795864ba793bb60ae3691bb6f?KeyID=1b00d854&Signature=2ys181JjejvGgq5ViInraeFPpCFD%252B%252Bu9kg6wQSYDRGlW1olqpCbi23rP7zGNv%252BNudvjROqx2rsCE96mqd9zYDA%253D%253D",
    "format": "application/msword",
    "datePublished": "2017-06-21T17:05:38.856701+03:00",
    "id": "b0af1247b222471aa970d3404f22d7cb",
    "dateModified": "2017-06-21T17:05:38.856740+03:00"
  }
}

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

Let’s view the uploaded contract document:

GET /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/contracts/2565e20d778242a0a9d27fdab2a68bb5?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "contract_document.doc",
        "url": "http://public.docs-sandbox.openprocurement.org/get/d0045d5795864ba793bb60ae3691bb6f?KeyID=1b00d854&Signature=2ys181JjejvGgq5ViInraeFPpCFD%252B%252Bu9kg6wQSYDRGlW1olqpCbi23rP7zGNv%252BNudvjROqx2rsCE96mqd9zYDA%253D%253D",
        "format": "application/msword",
        "datePublished": "2017-06-21T17:05:38.856701+03:00",
        "id": "b0af1247b222471aa970d3404f22d7cb",
        "dateModified": "2017-06-21T17:05:38.856740+03:00"
      }
    ],
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.419004+03:00",
          "endDate": "2017-07-21T17:05:46.028866+03:00"
        },
        "id": "770e64d0f1ee48d2b468359361f14862",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "suppliers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "period": {
      "startDate": "2017-06-21T17:05:38.597334+03:00",
      "endDate": "2018-06-21T17:05:38.597385+03:00"
    },
    "dateSigned": "2017-06-21T17:05:38.421602+03:00",
    "value": {
      "currency": "UAH",
      "amount": 238.0,
      "valueAddedTaxIncluded": true
    },
    "awardID": "2e46b74286c04dd6bb8625c2b6d2b39a",
    "id": "2565e20d778242a0a9d27fdab2a68bb5",
    "contractID": "UA-2017-06-21-000001-1"
  }
}

Cancelling tender

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

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

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

See Cancellation data structure for details.

Preparing the cancellation request

You should pass reason, status defaults to pending.

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

POST /api/2.3/tenders/ff1c3c94d9a54a39bd264e19cc1e6b07/cancellations?acc_token=d0d2a78b5ffb452ca2fb141b56570e23 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/ff1c3c94d9a54a39bd264e19cc1e6b07/cancellations/88f485e0940e478f8d49152656282eb7
{
  "data": {
    "status": "pending",
    "reason": "cancellation reason",
    "reasonType": "cancelled",
    "date": "2017-06-21T17:04:53.528979+03:00",
    "cancellationOf": "tender",
    "id": "88f485e0940e478f8d49152656282eb7"
  }
}

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/ff1c3c94d9a54a39bd264e19cc1e6b07/cancellations/88f485e0940e478f8d49152656282eb7?acc_token=d0d2a78b5ffb452ca2fb141b56570e23 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-06-21T17:04:53.587531+03:00",
    "cancellationOf": "tender",
    "id": "88f485e0940e478f8d49152656282eb7"
  }
}

Filling cancellation with protocol and supplementary documentation

Upload the file contents

POST /api/2.3/tenders/ff1c3c94d9a54a39bd264e19cc1e6b07/cancellations/88f485e0940e478f8d49152656282eb7/documents?acc_token=d0d2a78b5ffb452ca2fb141b56570e23 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 186
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy460908790704$
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/ff1c3c94d9a54a39bd264e19cc1e6b07/cancellations/88f485e0940e478f8d49152656282eb7/documents/c379765bbdba4bb285c029a26a4e3346
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/f10c69861d444087bb5c91c9cbb5c781?KeyID=b779f9bb&Signature=Qyv6i8wj1jIogpcQvm7kT8JAhWQRDQD4J1%2F2KRZ2RY7h%2FDPQeh%252BzhT3vR%252B80DOjmOCiUuyb0dKvpuyvgwainDw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:04:53.655208+03:00",
    "id": "c379765bbdba4bb285c029a26a4e3346",
    "dateModified": "2017-06-21T17:04:53.655245+03:00"
  }
}

Change the document description and other properties

PATCH /api/2.3/tenders/ff1c3c94d9a54a39bd264e19cc1e6b07/cancellations/88f485e0940e478f8d49152656282eb7/documents/c379765bbdba4bb285c029a26a4e3346?acc_token=d0d2a78b5ffb452ca2fb141b56570e23 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 48
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "description": "Changed description"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "Changed description",
    "language": "uk",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/f10c69861d444087bb5c91c9cbb5c781?KeyID=b779f9bb&Signature=Qyv6i8wj1jIogpcQvm7kT8JAhWQRDQD4J1%2F2KRZ2RY7h%2FDPQeh%252BzhT3vR%252B80DOjmOCiUuyb0dKvpuyvgwainDw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:04:53.655208+03:00",
    "id": "c379765bbdba4bb285c029a26a4e3346",
    "dateModified": "2017-06-21T17:04:53.655245+03:00"
  }
}

Upload new version of the document

PUT /api/2.3/tenders/ff1c3c94d9a54a39bd264e19cc1e6b07/cancellations/88f485e0940e478f8d49152656282eb7/documents/c379765bbdba4bb285c029a26a4e3346?acc_token=d0d2a78b5ffb452ca2fb141b56570e23 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 189
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy726948521238$
Host: api-sandbox.openprocurement.org


Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "Changed description",
    "language": "uk",
    "title": "Notice-2.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/ae7e99ecf79e4a159a2a2857191e1132?KeyID=b779f9bb&Signature=ERYVpV9SXGCdzB0yL3I1QW77fQIqgWMDIVWlQUtj13M3erpChwTjVUhu4alsqWPQVO%2F7cULTdt6wwbitwXxQAA%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:04:53.655208+03:00",
    "id": "c379765bbdba4bb285c029a26a4e3346",
    "dateModified": "2017-06-21T17:04:53.800190+03:00"
  }
}

Activating the request and cancelling tender

PATCH /api/2.3/tenders/92ad8804586d4edbb98cdb5c7c79412f/cancellations/2efc2a6437da43d0958cb542044e99c2?acc_token=415d188e59964730bee17aae7ed1f7ab HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/a592a276e6a54d829e5516b351b63c7f?KeyID=1b00d854&Signature=sMfPVNKjC6rzYSvyIuWAl9EbZZJxYSpbm6I7zz32SA7cjC23ThUjm8DDPIRsAFQzv%2FH2lcLGRWMvLcni3u%252B8Cg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:39.410616+03:00",
        "id": "59838452f64543dea56c62521d090fb3",
        "dateModified": "2017-06-21T17:05:39.410655+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "title": "Notice-2.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/7822c0d4870041d1ac4b354ad2987ca2?KeyID=1b00d854&Signature=48I4FJveITGi97RM2ycTYpCHrwguXCuFQw9ju%2FqkZLWSUsk3sVC1jCJYfInEAIsDy4x%252BnTUlv2KBB1nA416xCw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:39.410616+03:00",
        "id": "59838452f64543dea56c62521d090fb3",
        "dateModified": "2017-06-21T17:05:39.754851+03:00"
      }
    ],
    "reason": "cancellation reason",
    "reasonType": "unsuccessful",
    "date": "2017-06-21T17:05:39.949827+03:00",
    "cancellationOf": "tender",
    "id": "2efc2a6437da43d0958cb542044e99c2"
  }
}

Multiple Lots Tutorial

Creating tender

Let’s create tender:

POST /api/2.3/tenders?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 3782
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2017-07-22T17:04:37.419058+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "id": "37810000-9",
          "description": "Test"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500
    },
    "procurementMethodType": "competitiveDialogueEU",
    "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/c9fa44b1c65d4e59b5db6ebaad408a9d
{
  "access": {
    "token": "4b1685b4a7cd43e1b0ecc72647662f48"
  },
  "data": {
    "procurementMethod": "open",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "endDate": "2017-07-22T17:04:37.419058+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "clarificationsUntil": "2017-07-17T17:04:37.419058+03:00",
      "endDate": "2017-07-12T17:04:37.419058+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "endDate": "2017-07-18T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T17:05:00.797731+03:00",
    "dateModified": "2017-06-21T17:05:00.803752+03:00",
    "procurementMethodType": "competitiveDialogueEU",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "86e73d6393ce4d299ec22102839d5a57",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "c42ed791c4ec450686660281c2a263ce",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "next_check": "2017-07-22T17:04:37.419058+03:00",
    "id": "c9fa44b1c65d4e59b5db6ebaad408a9d",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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

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

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

POST /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d/lots?acc_token=4b1685b4a7cd43e1b0ecc72647662f48 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/c9fa44b1c65d4e59b5db6ebaad408a9d/lots/064dcd27e2cd4789a5b57519ad77c250
{
  "data": {
    "status": "active",
    "description": "Опис Лот №1",
    "title": "Лот №1",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2017-06-21T17:05:00.867762+03:00",
    "id": "064dcd27e2cd4789a5b57519ad77c250"
  }
}

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

PATCH /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d?acc_token=4b1685b4a7cd43e1b0ecc72647662f48 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 125
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "items": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250"
      },
      {
        "relatedLot": "6868e864385a42c0a731970504b26a8f"
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "endDate": "2017-07-22T17:04:37.419058+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "clarificationsUntil": "2017-07-17T17:04:37.419058+03:00",
      "endDate": "2017-07-12T17:04:37.419058+03:00",
      "invalidationDate": "2017-06-21T17:05:01.083968+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "endDate": "2017-07-18T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 1000.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T17:05:00.797731+03:00",
    "dateModified": "2017-06-21T17:05:01.091115+03:00",
    "procurementMethodType": "competitiveDialogueEU",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "86e73d6393ce4d299ec22102839d5a57",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "relatedLot": "6868e864385a42c0a731970504b26a8f",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "c42ed791c4ec450686660281c2a263ce",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "next_check": "2017-07-22T17:04:37.419058+03:00",
    "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-06-21T17:05:00.867762+03:00",
        "id": "064dcd27e2cd4789a5b57519ad77c250"
      },
      {
        "status": "active",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-06-21T17:05:00.933209+03:00",
        "id": "6868e864385a42c0a731970504b26a8f"
      }
    ],
    "id": "c9fa44b1c65d4e59b5db6ebaad408a9d",
    "tenderID": "UA-2017-06-21-000001"
  }
}

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/c9fa44b1c65d4e59b5db6ebaad408a9d HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "procurementMethod": "open",
    "status": "active.tendering",
    "awardCriteria": "lowestCost",
    "tenderPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "endDate": "2017-07-22T17:04:37.419058+03:00"
    },
    "title": "Послуги шкільних їдалень",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "enquiryPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "clarificationsUntil": "2017-07-17T17:04:37.419058+03:00",
      "endDate": "2017-07-12T17:04:37.419058+03:00",
      "invalidationDate": "2017-06-21T17:05:01.083968+03:00"
    },
    "complaintPeriod": {
      "startDate": "2017-06-21T17:05:00.754004+03:00",
      "endDate": "2017-07-18T00:00:00+03:00"
    },
    "title_en": "Services in school canteens",
    "value": {
      "currency": "UAH",
      "amount": 1000.0,
      "valueAddedTaxIncluded": true
    },
    "submissionMethod": "electronicAuction",
    "date": "2017-06-21T17:05:00.797731+03:00",
    "dateModified": "2017-06-21T17:05:01.091115+03:00",
    "procurementMethodType": "competitiveDialogueEU",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "items": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "86e73d6393ce4d299ec22102839d5a57",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "relatedLot": "6868e864385a42c0a731970504b26a8f",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "c42ed791c4ec450686660281c2a263ce",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "owner": "broker",
    "next_check": "2017-07-22T17:04:37.419058+03:00",
    "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-06-21T17:05:00.867762+03:00",
        "id": "064dcd27e2cd4789a5b57519ad77c250"
      },
      {
        "status": "active",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-06-21T17:05:00.933209+03:00",
        "id": "6868e864385a42c0a731970504b26a8f"
      }
    ],
    "id": "c9fa44b1c65d4e59b5db6ebaad408a9d",
    "tenderID": "UA-2017-06-21-000001"
  }
}

Registering bid

Tender status active.tendering allows registration of bids.

Bidder can register a bid for lot №1:

POST /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 958
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "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/c9fa44b1c65d4e59b5db6ebaad408a9d/bids/4cbf06c0e4ef4d6e98de16ec31113d2c
{
  "access": {
    "token": "6708915b03ac4af4a603862ee7a4f2dc"
  },
  "data": {
    "status": "pending",
    "selfEligible": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "date": "2017-06-21T17:05:01.275699+03:00",
        "status": "pending",
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "selfQualified": 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": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:01.275159+03:00",
    "id": "4cbf06c0e4ef4d6e98de16ec31113d2c"
  }
}

Bidder can register bids for all lots:

POST /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 975
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250"
      },
      {
        "relatedLot": "6868e864385a42c0a731970504b26a8f",
        "subcontractingDetails": "ДКП «Укр Прінт», Україна"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко",
          "email": "fake@mail.com"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137227",
          "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/c9fa44b1c65d4e59b5db6ebaad408a9d/bids/f534ae7310424dbdac38109faa4b2327
{
  "access": {
    "token": "b7ffa465c80e4485b61a592adafd4ebc"
  },
  "data": {
    "status": "pending",
    "selfEligible": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "date": "2017-06-21T17:05:01.501565+03:00",
        "status": "pending"
      },
      {
        "relatedLot": "6868e864385a42c0a731970504b26a8f",
        "date": "2017-06-21T17:05:01.501971+03:00",
        "status": "pending",
        "subcontractingDetails": "ДКП «Укр Прінт», Україна"
      }
    ],
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "fake@mail.com",
          "telephone": "+380 (322) 12-34-56",
          "name": "Іван Іваненко"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137227",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "«Снігур»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 35",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-06-21T17:05:01.500939+03:00",
    "id": "f534ae7310424dbdac38109faa4b2327"
  }
}

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/c9fa44b1c65d4e59b5db6ebaad408a9d/lots/6868e864385a42c0a731970504b26a8f?acc_token=4b1685b4a7cd43e1b0ecc72647662f48 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
    },
    "value": {
      "currency": "UAH",
      "amount": 400.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2017-06-21T17:05:00.933209+03:00",
    "id": "6868e864385a42c0a731970504b26a8f"
  }
}

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

GET /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d/bids/4cbf06c0e4ef4d6e98de16ec31113d2c?acc_token=6708915b03ac4af4a603862ee7a4f2dc 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": "4cbf06c0e4ef4d6e98de16ec31113d2c"
  }
}

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

PATCH /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d/bids/4cbf06c0e4ef4d6e98de16ec31113d2c?acc_token=6708915b03ac4af4a603862ee7a4f2dc HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 188
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "subcontractingDetails": "ДКП «Орфей»"
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "selfEligible": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "date": "2017-06-21T17:05:01.275699+03:00",
        "status": "pending",
        "subcontractingDetails": "ДКП «Орфей»"
      }
    ],
    "selfQualified": 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": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:01.275159+03:00",
    "id": "4cbf06c0e4ef4d6e98de16ec31113d2c"
  }
}

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

PATCH /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d/bids/ae4320418505424b9b14f0c1dcb44ca5?acc_token=94fa85f8f01149b1b2b7785420bc1bde HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 98
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending",
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250"
      }
    ]
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "selfEligible": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "date": "2017-06-21T17:05:01.381287+03:00",
        "status": "pending"
      }
    ],
    "selfQualified": true,
    "tenderers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "date": "2017-06-21T17:05:01.380652+03:00",
    "id": "ae4320418505424b9b14f0c1dcb44ca5"
  }
}

Bid Qualification

CompetitiveDialogue procedure requires bid’s value qualification.

Let’s view tender:

GET /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d?acc_token=4b1685b4a7cd43e1b0ecc72647662f48 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-05-22T17:05:02.106761+03:00",
      "endDate": "2017-06-17T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-22T17:05:02.106761+03:00",
      "clarificationsUntil": "2017-06-15T00:00:00+03:00",
      "endDate": "2017-06-11T17:05:02.106761+03:00",
      "invalidationDate": "2017-06-21T17:05:01.622901+03:00"
    },
    "submissionMethod": "electronicAuction",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "c9fa44b1c65d4e59b5db6ebaad408a9d",
    "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-06-21T17:05:00.867762+03:00",
        "id": "064dcd27e2cd4789a5b57519ad77c250"
      },
      {
        "status": "unsuccessful",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 400.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-06-21T17:05:02.303689+03:00",
        "id": "6868e864385a42c0a731970504b26a8f"
      }
    ],
    "qualificationPeriod": {
      "startDate": "2017-06-21T17:05:02.293811+03:00"
    },
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:02.303689+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2017-05-22T17:05:02.106761+03:00",
      "endDate": "2017-06-21T17:05:02.106761+03:00"
    },
    "qualifications": [
      {
        "status": "pending",
        "lotID": "064dcd27e2cd4789a5b57519ad77c250",
        "eligible": false,
        "qualified": false,
        "bidID": "4cbf06c0e4ef4d6e98de16ec31113d2c",
        "date": "2017-06-21T17:05:02.294989+03:00",
        "id": "97c4cbb72eda4b93ac33dcc2efd055cb"
      },
      {
        "status": "pending",
        "lotID": "064dcd27e2cd4789a5b57519ad77c250",
        "eligible": false,
        "qualified": false,
        "bidID": "ae4320418505424b9b14f0c1dcb44ca5",
        "date": "2017-06-21T17:05:02.295373+03:00",
        "id": "cdb809a673904ac9828fce05267e9a98"
      },
      {
        "status": "pending",
        "lotID": "064dcd27e2cd4789a5b57519ad77c250",
        "eligible": false,
        "qualified": false,
        "bidID": "f534ae7310424dbdac38109faa4b2327",
        "date": "2017-06-21T17:05:02.295751+03:00",
        "id": "782f8b9a4d6d459a8f768b48bf23927b"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2017-06-21T17:05:02.303689+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "86e73d6393ce4d299ec22102839d5a57",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "relatedLot": "6868e864385a42c0a731970504b26a8f",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "c42ed791c4ec450686660281c2a263ce",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "pending",
        "id": "4cbf06c0e4ef4d6e98de16ec31113d2c",
        "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": "ae4320418505424b9b14f0c1dcb44ca5",
        "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": "f534ae7310424dbdac38109faa4b2327",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137227",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 900.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

Let’s list qualifications:

GET /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d/qualifications?acc_token=4b1685b4a7cd43e1b0ecc72647662f48 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "pending",
      "lotID": "064dcd27e2cd4789a5b57519ad77c250",
      "eligible": false,
      "qualified": false,
      "bidID": "4cbf06c0e4ef4d6e98de16ec31113d2c",
      "date": "2017-06-21T17:05:02.294989+03:00",
      "id": "97c4cbb72eda4b93ac33dcc2efd055cb"
    },
    {
      "status": "pending",
      "lotID": "064dcd27e2cd4789a5b57519ad77c250",
      "eligible": false,
      "qualified": false,
      "bidID": "ae4320418505424b9b14f0c1dcb44ca5",
      "date": "2017-06-21T17:05:02.295373+03:00",
      "id": "cdb809a673904ac9828fce05267e9a98"
    },
    {
      "status": "pending",
      "lotID": "064dcd27e2cd4789a5b57519ad77c250",
      "eligible": false,
      "qualified": false,
      "bidID": "f534ae7310424dbdac38109faa4b2327",
      "date": "2017-06-21T17:05:02.295751+03:00",
      "id": "782f8b9a4d6d459a8f768b48bf23927b"
    }
  ]
}

Approve bid’s value through qualification objects:

PATCH /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d/qualifications/97c4cbb72eda4b93ac33dcc2efd055cb?acc_token=4b1685b4a7cd43e1b0ecc72647662f48 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 67
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "active",
    "qualified": true,
    "eligible": true
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "active",
    "lotID": "064dcd27e2cd4789a5b57519ad77c250",
    "eligible": true,
    "qualified": true,
    "bidID": "4cbf06c0e4ef4d6e98de16ec31113d2c",
    "date": "2017-06-21T17:05:02.531554+03:00",
    "id": "97c4cbb72eda4b93ac33dcc2efd055cb"
  }
}

Procuring entity approves qualifications by switching to next status:

PATCH /api/2.3/tenders/c9fa44b1c65d4e59b5db6ebaad408a9d?acc_token=4b1685b4a7cd43e1b0ecc72647662f48 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-05-22T17:05:02.106761+03:00",
      "endDate": "2017-06-17T00:00:00+03:00"
    },
    "enquiryPeriod": {
      "startDate": "2017-05-22T17:05:02.106761+03:00",
      "clarificationsUntil": "2017-06-15T00:00:00+03:00",
      "endDate": "2017-06-11T17:05:02.106761+03:00",
      "invalidationDate": "2017-06-21T17:05:01.622901+03:00"
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2017-06-26T17:05:03.047198+03:00",
    "procuringEntity": {
      "kind": "general",
      "name": "ЗОСШ #10 м.Вінниці",
      "address": {
        "postalCode": "21027",
        "countryName": "Україна",
        "streetAddress": "вул. Стахурського. 22",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      },
      "contactPoint": {
        "url": "http://sch10.edu.vn.ua/",
        "name_en": "Kutsa Svitlana V.",
        "name": "Куца Світлана Валентинівна",
        "availableLanguage": "uk",
        "telephone": "+380 (432) 46-53-02"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName_en": "The institution \"Secondary school I-III levels № 10 Vinnitsa City Council\"",
        "id": "21725150",
        "legalName": "Заклад \"Загальноосвітня школа І-ІІІ ступенів № 10 Вінницької міської ради\""
      },
      "name_en": "School #10 of Vinnytsia"
    },
    "owner": "broker",
    "title_en": "Services in school canteens",
    "id": "c9fa44b1c65d4e59b5db6ebaad408a9d",
    "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-06-21T17:05:00.867762+03:00",
        "id": "064dcd27e2cd4789a5b57519ad77c250"
      },
      {
        "status": "unsuccessful",
        "description": "Опис Лот №2",
        "title": "Лот №2",
        "minimalStep": {
          "currency": "UAH",
          "amount": 35.0,
          "valueAddedTaxIncluded": true
        },
        "value": {
          "currency": "UAH",
          "amount": 400.0,
          "valueAddedTaxIncluded": true
        },
        "date": "2017-06-21T17:05:02.303689+03:00",
        "id": "6868e864385a42c0a731970504b26a8f"
      }
    ],
    "qualificationPeriod": {
      "startDate": "2017-06-21T17:05:02.293811+03:00",
      "endDate": "2017-06-26T17:05:03.047198+03:00"
    },
    "tenderID": "UA-2017-06-21-000001",
    "dateModified": "2017-06-21T17:05:03.054955+03:00",
    "numberOfBids": 3,
    "tenderPeriod": {
      "startDate": "2017-05-22T17:05:02.106761+03:00",
      "endDate": "2017-06-21T17:05:02.106761+03:00"
    },
    "qualifications": [
      {
        "status": "active",
        "lotID": "064dcd27e2cd4789a5b57519ad77c250",
        "eligible": true,
        "qualified": true,
        "bidID": "4cbf06c0e4ef4d6e98de16ec31113d2c",
        "date": "2017-06-21T17:05:02.531554+03:00",
        "id": "97c4cbb72eda4b93ac33dcc2efd055cb"
      },
      {
        "status": "active",
        "lotID": "064dcd27e2cd4789a5b57519ad77c250",
        "eligible": true,
        "qualified": true,
        "bidID": "ae4320418505424b9b14f0c1dcb44ca5",
        "date": "2017-06-21T17:05:02.654614+03:00",
        "id": "cdb809a673904ac9828fce05267e9a98"
      },
      {
        "status": "active",
        "lotID": "064dcd27e2cd4789a5b57519ad77c250",
        "eligible": true,
        "qualified": true,
        "bidID": "f534ae7310424dbdac38109faa4b2327",
        "date": "2017-06-21T17:05:02.781478+03:00",
        "id": "782f8b9a4d6d459a8f768b48bf23927b"
      }
    ],
    "procurementMethodType": "competitiveDialogueEU",
    "date": "2017-06-21T17:05:03.054955+03:00",
    "minimalStep": {
      "currency": "UAH",
      "amount": 35.0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418546+03:00",
          "endDate": "2017-08-10T17:04:37.418606+03:00"
        },
        "id": "86e73d6393ce4d299ec22102839d5a57",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      },
      {
        "relatedLot": "6868e864385a42c0a731970504b26a8f",
        "description": "Послуги шкільних їдалень",
        "classification": {
          "scheme": "ДК021",
          "description": "Test",
          "id": "37810000-9"
        },
        "description_en": "Services in school canteens",
        "additionalClassifications": [
          {
            "scheme": "ДКПП",
            "id": "17.21.1",
            "description": "Послуги шкільних їдалень"
          }
        ],
        "deliveryAddress": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "deliveryDate": {
          "startDate": "2017-07-11T17:04:37.418636+03:00",
          "endDate": "2017-08-10T17:04:37.418662+03:00"
        },
        "id": "c42ed791c4ec450686660281c2a263ce",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 1
      }
    ],
    "bids": [
      {
        "status": "active",
        "id": "4cbf06c0e4ef4d6e98de16ec31113d2c",
        "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": "ae4320418505424b9b14f0c1dcb44ca5",
        "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": "active",
        "id": "f534ae7310424dbdac38109faa4b2327",
        "tenderers": [
          {
            "contactPoint": {
              "email": "fake@mail.com",
              "telephone": "+380 (322) 12-34-56",
              "name": "Іван Іваненко"
            },
            "identifier": {
              "scheme": "UA-EDR",
              "id": "00137227",
              "uri": "http://www.sc.gov.ua/"
            },
            "name": "«Снігур»",
            "address": {
              "postalCode": "79013",
              "countryName": "Україна",
              "streetAddress": "вул. Островського, 35",
              "region": "м. Львів",
              "locality": "м. Львів"
            }
          }
        ]
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 900.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "lowestCost"
  }
}

There is 10 day stand-still period set in qualificationPeriod.

Second stage

On second stage we must register new bids, but register bid can only users who was approved on first stage

Let’s try register bid by procuring which didn’t was on first stage

POST /api/2.3/tenders/b2f65ddea9624e6dad58e88f99c61bb6/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 919
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "value": {
          "amount": 500
        },
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "tenderers": [
      {
        "contactPoint": {
          "telephone": "+380 (452) 21-69-31",
          "name": "Вільям Поле",
          "email": "pole@gmail.com"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "ТОВ Бур",
          "id": "00137230",
          "uri": "http://pole.edu.vn.ua/"
        },
        "name": "ТОВ \"Бур\"",
        "address": {
          "countryName": "Україна",
          "postalCode": "21100",
          "region": "м. Львів",
          "streetAddress": "вул. Поле, 33",
          "locality": "м. Львів"
        }
      }
    ]
  }
}

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

We catch error.

Now procuring which was approved on 1 lot.

POST /api/2.3/tenders/b2f65ddea9624e6dad58e88f99c61bb6/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 984
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "value": {
          "amount": 500
        },
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "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/b2f65ddea9624e6dad58e88f99c61bb6/bids/df5602b175fe4c9bad410bf3250b7ba6
{
  "access": {
    "token": "2cd2bb343b3a4cc8bca10a3a387893f0"
  },
  "data": {
    "status": "pending",
    "selfEligible": true,
    "lotValues": [
      {
        "relatedLot": "064dcd27e2cd4789a5b57519ad77c250",
        "date": "2017-06-21T17:05:04.677464+03:00",
        "status": "pending",
        "value": {
          "currency": "UAH",
          "amount": 500.0,
          "valueAddedTaxIncluded": true
        },
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "selfQualified": 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": "м. Вінниця"
        }
      }
    ],
    "date": "2017-06-21T17:05:04.676750+03:00",
    "id": "df5602b175fe4c9bad410bf3250b7ba6"
  }
}

Successs!

And now try register on lot which he not allowed.

POST /api/2.3/tenders/b2f65ddea9624e6dad58e88f99c61bb6/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 984
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "selfEligible": true,
    "selfQualified": true,
    "lotValues": [
      {
        "relatedLot": "6868e864385a42c0a731970504b26a8f",
        "value": {
          "amount": 300
        },
        "subcontractingDetails": "ДКП «Орфей», Україна"
      }
    ],
    "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: 403 Forbidden
Content-Type: application/json; charset=UTF-8
{
  "status": "error",
  "errors": [
    {
      "description": "Firm can't create bid",
      "location": "body",
      "name": "data"
    }
  ]
}

We again catch error. So we can conclude that, only user from first stage can register bid on second stage.

Complaint Workflow

For more detailed information read Complaints.

Tender Conditions Claims/Complaints

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

Claim/Complaint Retrieval

Tender Conditions Claim/Complaint Retrieval

You can list all Tender Conditions Claims/Complaints:

GET /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "resolved",
      "dateDecision": "2017-06-21T17:04:57.720098+03:00",
      "tendererActionDate": "2017-06-21T17:04:58.469655+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "title": "Недостатньо інформації",
      "id": "84f1fc9bbaec46d4b471df796dfc1d9f",
      "tendererAction": "Умови виправлено",
      "dateSubmitted": "2017-06-21T17:04:55.981772+03:00",
      "complaintID": "UA-2017-06-21-000001.1",
      "date": "2017-06-21T17:04:58.477690+03:00",
      "acceptance": true,
      "type": "complaint",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "author": "complaint_owner",
          "language": "uk",
          "title": "Complaint_Attachement.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:04:55.519407+03:00",
          "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
          "dateModified": "2017-06-21T17:04:55.519445+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "author": "aboveThresholdReviewers",
          "language": "uk",
          "title": "ComplaintResolution.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/28c32e219d6c437089beb1d09d191493?KeyID=36a84cbf&Signature=Q3BuF9JKwWiYZhu50u%2F6i7EoTELgN1NlSmKpmqAnFsApO%2Fg8iF8KGMM%2FOQgnhsncYd09kYr4YapPzBqLFsezAQ%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:04:57.558674+03:00",
          "id": "f61fdcec592541f5a3a28d6d2a01d246",
          "dateModified": "2017-06-21T17:04:57.558711+03:00"
        }
      ],
      "dateAccepted": "2017-06-21T17:04:56.969231+03:00"
    },
    {
      "status": "resolved",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "resolutionType": "resolved",
      "type": "claim",
      "satisfied": true,
      "dateAnswered": "2017-06-21T17:04:56.093293+03:00",
      "dateSubmitted": "2017-06-21T17:04:55.686027+03:00",
      "complaintID": "UA-2017-06-21-000001.2",
      "date": "2017-06-21T17:04:56.325083+03:00",
      "resolution": "Виправлено неконкурентні умови",
      "id": "bc8f24c6fa2f42009afdea30aba3cc90"
    },
    {
      "status": "declined",
      "dateDecision": "2017-06-21T17:04:57.875428+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": true,
      "dateAccepted": "2017-06-21T17:04:57.125077+03:00",
      "dateSubmitted": "2017-06-21T17:04:55.772141+03:00",
      "complaintID": "UA-2017-06-21-000001.3",
      "date": "2017-06-21T17:04:57.883410+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "7097998782c349169bdb9bc239a2b326"
    },
    {
      "status": "invalid",
      "dateDecision": "2017-06-21T17:04:56.827961+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "resolutionType": "invalid",
      "type": "complaint",
      "acceptance": false,
      "satisfied": false,
      "dateEscalated": "2017-06-21T17:04:56.435372+03:00",
      "dateAnswered": "2017-06-21T17:04:56.204121+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T17:04:55.868707+03:00",
      "complaintID": "UA-2017-06-21-000001.4",
      "date": "2017-06-21T17:04:56.835631+03:00",
      "resolution": "Вимога не відповідає предмету закупівлі",
      "id": "f8e823ea04b2463cafc543aadb93c437"
    },
    {
      "status": "stopped",
      "dateDecision": "2017-06-21T17:04:58.038252+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "decision": "Тендер скасовується замовником",
      "acceptance": true,
      "dateCanceled": "2017-06-21T17:04:58.038285+03:00",
      "dateAccepted": "2017-06-21T17:04:57.280155+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T17:04:56.550223+03:00",
      "complaintID": "UA-2017-06-21-000001.5",
      "date": "2017-06-21T17:04:58.046381+03:00",
      "type": "complaint",
      "id": "f479bbc5288540a59d25d9ebfcfaa88f"
    },
    {
      "status": "stopped",
      "dateDecision": "2017-06-21T17:04:58.796462+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "decision": "Тендер скасовується замовником",
      "acceptance": true,
      "cancellationReason": "Тендер скасовується замовником",
      "dateCanceled": "2017-06-21T17:04:58.632690+03:00",
      "dateAccepted": "2017-06-21T17:04:57.423866+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T17:04:56.685853+03:00",
      "complaintID": "UA-2017-06-21-000001.6",
      "date": "2017-06-21T17:04:58.804532+03:00",
      "type": "complaint",
      "id": "5d77dc194cfc447484eb88d091d1631f"
    },
    {
      "status": "cancelled",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "cancellationReason": "Умови виправлено",
      "dateCanceled": "2017-06-21T17:04:59.124070+03:00",
      "complaintID": "UA-2017-06-21-000001.7",
      "date": "2017-06-21T17:04:59.132839+03:00",
      "type": "claim",
      "id": "7bb10f036ecb42e0b28120b3560ec57b"
    }
  ]
}

And check individual complaint or claim:

GET /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "dateDecision": "2017-06-21T17:04:57.720098+03:00",
    "tendererActionDate": "2017-06-21T17:04:58.469655+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "id": "84f1fc9bbaec46d4b471df796dfc1d9f",
    "tendererAction": "Умови виправлено",
    "dateSubmitted": "2017-06-21T17:04:55.981772+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:58.477690+03:00",
    "acceptance": true,
    "type": "complaint",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:55.519407+03:00",
        "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
        "dateModified": "2017-06-21T17:04:55.519445+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/28c32e219d6c437089beb1d09d191493?KeyID=36a84cbf&Signature=Q3BuF9JKwWiYZhu50u%2F6i7EoTELgN1NlSmKpmqAnFsApO%2Fg8iF8KGMM%2FOQgnhsncYd09kYr4YapPzBqLFsezAQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:57.558674+03:00",
        "id": "f61fdcec592541f5a3a28d6d2a01d246",
        "dateModified": "2017-06-21T17:04:57.558711+03:00"
      }
    ],
    "dateAccepted": "2017-06-21T17:04:56.969231+03:00"
  }
}

Claim Submission

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

Tender Conditions Claim Submission (with documents)

At first create a claim:

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

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

Then upload necessary documents:

POST /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f/documents?acc_token=59f60f90907f44e59423914bb0febb72 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy59727553424$
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/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f/documents/e2d830cefdf24e9abc0c1c3e328c7d29
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "complaint_owner",
    "language": "uk",
    "title": "Complaint_Attachement.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:04:55.519407+03:00",
    "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
    "dateModified": "2017-06-21T17:04:55.519445+03:00"
  }
}

Submit tender conditions claim:

PATCH /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f?acc_token=59f60f90907f44e59423914bb0febb72 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 29
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "claim"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "claim",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:55.519407+03:00",
        "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
        "dateModified": "2017-06-21T17:04:55.519445+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T17:04:55.607582+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:55.612005+03:00",
    "type": "claim",
    "id": "84f1fc9bbaec46d4b471df796dfc1d9f"
  }
}
Tender Conditions Claim Submission (without documents)

You can submit claim that does not need additional documents:

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

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

Complaint Submission

Any registered user can submit Tender Conditions Complaint.

Tender Conditions Complaint Submission (with documents)

At first create a draft:

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

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

Then upload necessary documents:

POST /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f/documents?acc_token=59f60f90907f44e59423914bb0febb72 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy59727553424$
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/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f/documents/e2d830cefdf24e9abc0c1c3e328c7d29
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "complaint_owner",
    "language": "uk",
    "title": "Complaint_Attachement.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:04:55.519407+03:00",
    "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
    "dateModified": "2017-06-21T17:04:55.519445+03:00"
  }
}

Submit tender conditions complaint:

PATCH /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f?acc_token=59f60f90907f44e59423914bb0febb72 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:55.519407+03:00",
        "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
        "dateModified": "2017-06-21T17:04:55.519445+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T17:04:55.981772+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:55.988075+03:00",
    "type": "complaint",
    "id": "84f1fc9bbaec46d4b471df796dfc1d9f"
  }
}
Tender Conditions Complaint Submission (without documents)

You can submit complaint that does not need additional documents:

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

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

Claim’s Answer

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

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

Satisfied Claim

Satisfying resolution
PATCH /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints/bc8f24c6fa2f42009afdea30aba3cc90?acc_token=8b998b4a6631410093cf673f83ef341a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 51
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "resolved",
    "satisfied": true
  }
}

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

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

Complaint Resolution

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "accepted",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:55.519407+03:00",
        "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
        "dateModified": "2017-06-21T17:04:55.519445+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T17:04:56.969231+03:00",
    "dateSubmitted": "2017-06-21T17:04:55.981772+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:56.976999+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "84f1fc9bbaec46d4b471df796dfc1d9f"
  }
}
Submitting Tender Conditions Complaint Resolution

The Complaint Review Body uploads the resolution document:

POST /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f/documents HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy166030896174$
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/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f/documents/f61fdcec592541f5a3a28d6d2a01d246
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "aboveThresholdReviewers",
    "language": "uk",
    "title": "ComplaintResolution.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/28c32e219d6c437089beb1d09d191493?KeyID=36a84cbf&Signature=Q3BuF9JKwWiYZhu50u%2F6i7EoTELgN1NlSmKpmqAnFsApO%2Fg8iF8KGMM%2FOQgnhsncYd09kYr4YapPzBqLFsezAQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:04:57.558674+03:00",
    "id": "f61fdcec592541f5a3a28d6d2a01d246",
    "dateModified": "2017-06-21T17:04:57.558711+03:00"
  }
}

And either resolves complaint:

PATCH /api/2.3/tenders/111752fdb517426483c683295a0787a1/complaints/84f1fc9bbaec46d4b471df796dfc1d9f HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 33
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "satisfied"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "satisfied",
    "dateDecision": "2017-06-21T17:04:57.720098+03:00",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:55.519407+03:00",
        "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
        "dateModified": "2017-06-21T17:04:55.519445+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/28c32e219d6c437089beb1d09d191493?KeyID=36a84cbf&Signature=Q3BuF9JKwWiYZhu50u%2F6i7EoTELgN1NlSmKpmqAnFsApO%2Fg8iF8KGMM%2FOQgnhsncYd09kYr4YapPzBqLFsezAQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:57.558674+03:00",
        "id": "f61fdcec592541f5a3a28d6d2a01d246",
        "dateModified": "2017-06-21T17:04:57.558711+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T17:04:56.969231+03:00",
    "dateSubmitted": "2017-06-21T17:04:55.981772+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:57.728312+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "84f1fc9bbaec46d4b471df796dfc1d9f"
  }
}

Or declines it:

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "dateDecision": "2017-06-21T17:04:57.720098+03:00",
    "tendererActionDate": "2017-06-21T17:04:58.469655+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "id": "84f1fc9bbaec46d4b471df796dfc1d9f",
    "tendererAction": "Умови виправлено",
    "dateSubmitted": "2017-06-21T17:04:55.981772+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:58.477690+03:00",
    "acceptance": true,
    "type": "complaint",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/3f4b03701cb34f339a4d2121e1233654?KeyID=36a84cbf&Signature=tWC8i3ByCQuWPoOsVS1UyzZvtLpBba1%2FX%252Bd2HRJJk3t3j5np8BQ5lSbQr84OsyhD3P4UIpYnkr9pc3D%2Fk%252BedDg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:55.519407+03:00",
        "id": "e2d830cefdf24e9abc0c1c3e328c7d29",
        "dateModified": "2017-06-21T17:04:55.519445+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/28c32e219d6c437089beb1d09d191493?KeyID=36a84cbf&Signature=Q3BuF9JKwWiYZhu50u%2F6i7EoTELgN1NlSmKpmqAnFsApO%2Fg8iF8KGMM%2FOQgnhsncYd09kYr4YapPzBqLFsezAQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:57.558674+03:00",
        "id": "f61fdcec592541f5a3a28d6d2a01d246",
        "dateModified": "2017-06-21T17:04:57.558711+03:00"
      }
    ],
    "dateAccepted": "2017-06-21T17:04:56.969231+03:00"
  }
}

Cancelling Tender Conditions Complaint

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

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

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

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

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

Tender Qualification Complaints

digraph G {
    subgraph cluster_complaint {
        label = "complaint";
        pending; accepted; stopping; satisfied;
    }
    satisfied -> resolved;
    edge[style=dashed];
    draft -> {pending,cancelled};
    {pending,accepted} -> stopping;
    edge[style=bold];
    pending -> {accepted,invalid,stopped};
    stopping -> {stopped,invalid,declined,satisfied};
    accepted -> {declined,satisfied,stopped};
}

Complaint Retrieval

Tender Qualification Complaint Retrieval

You can list all Tender Qualification Complaints:

GET /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "resolved",
      "dateDecision": "2017-06-21T17:05:10.395257+03:00",
      "tendererActionDate": "2017-06-21T17:05:11.052111+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "title": "Недостатньо інформації",
      "id": "167f60b4ed7844bca6c4ac04c5b589f2",
      "tendererAction": "Умови виправлено",
      "dateSubmitted": "2017-06-21T17:05:07.977030+03:00",
      "complaintID": "UA-2017-06-21-000001.1",
      "date": "2017-06-21T17:05:11.062425+03:00",
      "acceptance": true,
      "type": "complaint",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "author": "complaint_owner",
          "language": "uk",
          "title": "Complaint_Attachement.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/ff708a9cd4a84850af9ce85f8dd21eae?KeyID=af2128fa&Signature=89q3xZNqrlcdcVL4b83RYtm11BIAd19r%2F802F64VfcqHeAgSyU8f3n1tKSTqRDY%2FK6cJl0uDcvG6cwRUxA1lBw%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:07.836561+03:00",
          "id": "731f703aaed24d5da2ab8a1bb74b6289",
          "dateModified": "2017-06-21T17:05:07.836598+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "author": "aboveThresholdReviewers",
          "language": "uk",
          "title": "ComplaintResolution.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/dffd0faf019e46209b0310169f66be70?KeyID=af2128fa&Signature=A7UArzHMtmgUzeKuS7jlboeK3%252BbLfw%2FJpYJ1RXyhTu6o5GHZddNtt6sWviLdt%2FUR41zTu4vxOdf8y616LnjmBg%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:05:10.160781+03:00",
          "id": "92efd15ebb944473ba2bfe1b77a4f513",
          "dateModified": "2017-06-21T17:05:10.160817+03:00"
        }
      ],
      "dateAccepted": "2017-06-21T17:05:09.369600+03:00"
    },
    {
      "status": "invalid",
      "dateDecision": "2017-06-21T17:05:09.141785+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": false,
      "dateSubmitted": "2017-06-21T17:05:08.107683+03:00",
      "complaintID": "UA-2017-06-21-000001.2",
      "date": "2017-06-21T17:05:09.152889+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "25c658f535524e17a811a422cb940aad"
    },
    {
      "status": "declined",
      "dateDecision": "2017-06-21T17:05:10.607543+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": true,
      "dateAccepted": "2017-06-21T17:05:09.566697+03:00",
      "dateSubmitted": "2017-06-21T17:05:08.250461+03:00",
      "complaintID": "UA-2017-06-21-000001.3",
      "date": "2017-06-21T17:05:10.618534+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "082a8ab6487a4cc3ba859cd5695bc79e"
    },
    {
      "status": "stopped",
      "dateDecision": "2017-06-21T17:05:11.487043+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "decision": "Тендер скасовується замовником",
      "acceptance": true,
      "cancellationReason": "Тендер скасовується замовником",
      "dateCanceled": "2017-06-21T17:05:11.266144+03:00",
      "dateAccepted": "2017-06-21T17:05:09.765582+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T17:05:08.402167+03:00",
      "complaintID": "UA-2017-06-21-000001.4",
      "date": "2017-06-21T17:05:11.497512+03:00",
      "type": "complaint",
      "id": "326096b93ce8455e8bb901a779a50215"
    },
    {
      "status": "stopped",
      "dateDecision": "2017-06-21T17:05:10.821424+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "decision": "Тендер скасовується замовником",
      "acceptance": true,
      "dateCanceled": "2017-06-21T17:05:10.821449+03:00",
      "dateAccepted": "2017-06-21T17:05:09.965088+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T17:05:08.565138+03:00",
      "complaintID": "UA-2017-06-21-000001.5",
      "date": "2017-06-21T17:05:10.831892+03:00",
      "type": "complaint",
      "id": "9cba530502664230b293b2ee888b5b07"
    },
    {
      "status": "cancelled",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "bid_id": "46e07847a73a4da783cc873013171245",
      "cancellationReason": "Умови виправлено",
      "dateCanceled": "2017-06-21T17:05:08.941935+03:00",
      "complaintID": "UA-2017-06-21-000001.6",
      "date": "2017-06-21T17:05:08.952295+03:00",
      "type": "claim",
      "id": "a32be685780045bf8c0f60701659dd65"
    }
  ]
}

And check individual complaint:

GET /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/167f60b4ed7844bca6c4ac04c5b589f2 HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "dateDecision": "2017-06-21T17:05:10.395257+03:00",
    "tendererActionDate": "2017-06-21T17:05:11.052111+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "id": "167f60b4ed7844bca6c4ac04c5b589f2",
    "tendererAction": "Умови виправлено",
    "dateSubmitted": "2017-06-21T17:05:07.977030+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:05:11.062425+03:00",
    "acceptance": true,
    "type": "complaint",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ff708a9cd4a84850af9ce85f8dd21eae?KeyID=af2128fa&Signature=89q3xZNqrlcdcVL4b83RYtm11BIAd19r%2F802F64VfcqHeAgSyU8f3n1tKSTqRDY%2FK6cJl0uDcvG6cwRUxA1lBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:07.836561+03:00",
        "id": "731f703aaed24d5da2ab8a1bb74b6289",
        "dateModified": "2017-06-21T17:05:07.836598+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/dffd0faf019e46209b0310169f66be70?KeyID=af2128fa&Signature=A7UArzHMtmgUzeKuS7jlboeK3%252BbLfw%2FJpYJ1RXyhTu6o5GHZddNtt6sWviLdt%2FUR41zTu4vxOdf8y616LnjmBg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:10.160781+03:00",
        "id": "92efd15ebb944473ba2bfe1b77a4f513",
        "dateModified": "2017-06-21T17:05:10.160817+03:00"
      }
    ],
    "dateAccepted": "2017-06-21T17:05:09.369600+03:00"
  }
}

Complaint Submission

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

Tender Qualification Complaint Submission (with documents)

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

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

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/167f60b4ed7844bca6c4ac04c5b589f2
{
  "access": {
    "token": "e91ccd8238d24ed18c8a7e1ed6c35e38"
  },
  "data": {
    "status": "draft",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "bid_id": "46e07847a73a4da783cc873013171245",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:05:07.715970+03:00",
    "type": "claim",
    "id": "167f60b4ed7844bca6c4ac04c5b589f2"
  }
}

Then upload necessary documents:

POST /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/167f60b4ed7844bca6c4ac04c5b589f2/documents?acc_token=e91ccd8238d24ed18c8a7e1ed6c35e38 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 201
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy335776147948$
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/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/167f60b4ed7844bca6c4ac04c5b589f2/documents/731f703aaed24d5da2ab8a1bb74b6289
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "complaint_owner",
    "language": "uk",
    "title": "Complaint_Attachement.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/ff708a9cd4a84850af9ce85f8dd21eae?KeyID=af2128fa&Signature=89q3xZNqrlcdcVL4b83RYtm11BIAd19r%2F802F64VfcqHeAgSyU8f3n1tKSTqRDY%2FK6cJl0uDcvG6cwRUxA1lBw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:07.836561+03:00",
    "id": "731f703aaed24d5da2ab8a1bb74b6289",
    "dateModified": "2017-06-21T17:05:07.836598+03:00"
  }
}

Submit tender qualification complaint:

PATCH /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/167f60b4ed7844bca6c4ac04c5b589f2?acc_token=e91ccd8238d24ed18c8a7e1ed6c35e38 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ff708a9cd4a84850af9ce85f8dd21eae?KeyID=af2128fa&Signature=89q3xZNqrlcdcVL4b83RYtm11BIAd19r%2F802F64VfcqHeAgSyU8f3n1tKSTqRDY%2FK6cJl0uDcvG6cwRUxA1lBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:07.836561+03:00",
        "id": "731f703aaed24d5da2ab8a1bb74b6289",
        "dateModified": "2017-06-21T17:05:07.836598+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T17:05:07.977030+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:05:07.983969+03:00",
    "type": "complaint",
    "id": "167f60b4ed7844bca6c4ac04c5b589f2"
  }
}
Tender Qualification Complaint Submission (without documents)

You can submit complaint that does not need additional documents:

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

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

Complaint Resolution

Rejecting Tender Qualification Complaint
PATCH /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/25c658f535524e17a811a422cb940aad HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "invalid"
  }
}

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "accepted",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ff708a9cd4a84850af9ce85f8dd21eae?KeyID=af2128fa&Signature=89q3xZNqrlcdcVL4b83RYtm11BIAd19r%2F802F64VfcqHeAgSyU8f3n1tKSTqRDY%2FK6cJl0uDcvG6cwRUxA1lBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:07.836561+03:00",
        "id": "731f703aaed24d5da2ab8a1bb74b6289",
        "dateModified": "2017-06-21T17:05:07.836598+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T17:05:09.369600+03:00",
    "dateSubmitted": "2017-06-21T17:05:07.977030+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:05:09.380142+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "167f60b4ed7844bca6c4ac04c5b589f2"
  }
}
Submitting Tender Qualification Complaint Resolution

The Complaint Review Body uploads the resolution document:

POST /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/167f60b4ed7844bca6c4ac04c5b589f2/documents HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy175353037912$
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/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/167f60b4ed7844bca6c4ac04c5b589f2/documents/92efd15ebb944473ba2bfe1b77a4f513
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "aboveThresholdReviewers",
    "language": "uk",
    "title": "ComplaintResolution.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/dffd0faf019e46209b0310169f66be70?KeyID=af2128fa&Signature=A7UArzHMtmgUzeKuS7jlboeK3%252BbLfw%2FJpYJ1RXyhTu6o5GHZddNtt6sWviLdt%2FUR41zTu4vxOdf8y616LnjmBg%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:05:10.160781+03:00",
    "id": "92efd15ebb944473ba2bfe1b77a4f513",
    "dateModified": "2017-06-21T17:05:10.160817+03:00"
  }
}

And either resolves complaint:

PATCH /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/167f60b4ed7844bca6c4ac04c5b589f2 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 33
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "satisfied"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "satisfied",
    "dateDecision": "2017-06-21T17:05:10.395257+03:00",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ff708a9cd4a84850af9ce85f8dd21eae?KeyID=af2128fa&Signature=89q3xZNqrlcdcVL4b83RYtm11BIAd19r%2F802F64VfcqHeAgSyU8f3n1tKSTqRDY%2FK6cJl0uDcvG6cwRUxA1lBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:07.836561+03:00",
        "id": "731f703aaed24d5da2ab8a1bb74b6289",
        "dateModified": "2017-06-21T17:05:07.836598+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/dffd0faf019e46209b0310169f66be70?KeyID=af2128fa&Signature=A7UArzHMtmgUzeKuS7jlboeK3%252BbLfw%2FJpYJ1RXyhTu6o5GHZddNtt6sWviLdt%2FUR41zTu4vxOdf8y616LnjmBg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:10.160781+03:00",
        "id": "92efd15ebb944473ba2bfe1b77a4f513",
        "dateModified": "2017-06-21T17:05:10.160817+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T17:05:09.369600+03:00",
    "dateSubmitted": "2017-06-21T17:05:07.977030+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:05:10.405601+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "167f60b4ed7844bca6c4ac04c5b589f2"
  }
}

Or declines it:

PATCH /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/082a8ab6487a4cc3ba859cd5695bc79e HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "declined"
  }
}

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "dateDecision": "2017-06-21T17:05:10.395257+03:00",
    "tendererActionDate": "2017-06-21T17:05:11.052111+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "id": "167f60b4ed7844bca6c4ac04c5b589f2",
    "tendererAction": "Умови виправлено",
    "dateSubmitted": "2017-06-21T17:05:07.977030+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:05:11.062425+03:00",
    "acceptance": true,
    "type": "complaint",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/ff708a9cd4a84850af9ce85f8dd21eae?KeyID=af2128fa&Signature=89q3xZNqrlcdcVL4b83RYtm11BIAd19r%2F802F64VfcqHeAgSyU8f3n1tKSTqRDY%2FK6cJl0uDcvG6cwRUxA1lBw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:07.836561+03:00",
        "id": "731f703aaed24d5da2ab8a1bb74b6289",
        "dateModified": "2017-06-21T17:05:07.836598+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/dffd0faf019e46209b0310169f66be70?KeyID=af2128fa&Signature=A7UArzHMtmgUzeKuS7jlboeK3%252BbLfw%2FJpYJ1RXyhTu6o5GHZddNtt6sWviLdt%2FUR41zTu4vxOdf8y616LnjmBg%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:05:10.160781+03:00",
        "id": "92efd15ebb944473ba2bfe1b77a4f513",
        "dateModified": "2017-06-21T17:05:10.160817+03:00"
      }
    ],
    "dateAccepted": "2017-06-21T17:05:09.369600+03:00"
  }
}

Cancelling Tender Qualification Complaint

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "cancelled",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації",
    "bid_id": "46e07847a73a4da783cc873013171245",
    "cancellationReason": "Умови виправлено",
    "dateCanceled": "2017-06-21T17:05:08.941935+03:00",
    "complaintID": "UA-2017-06-21-000001.6",
    "date": "2017-06-21T17:05:08.952295+03:00",
    "type": "claim",
    "id": "a32be685780045bf8c0f60701659dd65"
  }
}
Cancelling accepted complaint by Complainant
PATCH /api/2.3/tenders/a09eb5e2c0ac4fdf89e69945c19cddca/qualifications/8e514401c2f54ea7ba696838fb16883d/complaints/326096b93ce8455e8bb901a779a50215?acc_token=35bac7de278541b1898e84edaf745301 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 228
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "stopping",
    "cancellationReason": "Тендер скасовується замовником"
  }
}

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

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

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

Tender Award Complaints

digraph G {
    subgraph cluster_complaint {
        label = "complaint";
        pending; accepted; stopping; satisfied;
    }
    satisfied -> resolved;
    edge[style=dashed];
    draft -> {pending,cancelled};
    {pending,accepted} -> stopping;
    edge[style=bold];
    pending -> {accepted,invalid,stopped};
    stopping -> {stopped,invalid,declined,satisfied};
    accepted -> {declined,satisfied,stopped};
}

Complaint Retrieval Second Stage

Tender Award Complaint Retrieval

You can list all Tender Award Complaints:

GET /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": [
    {
      "status": "satisfied",
      "dateDecision": "2017-06-21T17:04:48.988146+03:00",
      "documents": [
        {
          "hash": "md5:00000000000000000000000000000000",
          "author": "complaint_owner",
          "language": "uk",
          "title": "Complaint_Attachement.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/204470f5a5d0479bb4c8d9e384c93e0f?KeyID=12095b04&Signature=PtJPs9NuPXvrEk2lSg3qoUxDLYNLJl0rFI1vMuWXfcZU4ltHLeHTqF5%2FOIkvd2AYKwXaa9CiWGZt%252BIBAkELXBA%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:04:46.321319+03:00",
          "id": "5742823f032441f8a414d5b20788d425",
          "dateModified": "2017-06-21T17:04:46.321358+03:00"
        },
        {
          "hash": "md5:00000000000000000000000000000000",
          "author": "aboveThresholdReviewers",
          "language": "uk",
          "title": "ComplaintResolution.pdf",
          "url": "http://public.docs-sandbox.openprocurement.org/get/0ee83089b98446c3bd7978d27589d88d?KeyID=12095b04&Signature=1HClR%2FdR3X834EJDmSMW%2FeqK2eurhvY8L5Q5h65ulKVby74JekA6GXGisBlGpxfRHUVQNzjVVNJ3Kj1xOvZHAw%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-21T17:04:48.725033+03:00",
          "id": "75cc1671915e488eb006bcc590fa9f8a",
          "dateModified": "2017-06-21T17:04:48.725068+03:00"
        }
      ],
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": true,
      "dateAccepted": "2017-06-21T17:04:47.762559+03:00",
      "dateSubmitted": "2017-06-21T17:04:46.501496+03:00",
      "complaintID": "UA-2017-06-21-000001.1",
      "date": "2017-06-21T17:04:49.004115+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "715cf6c9f150440bbd4025365b782db9"
    },
    {
      "status": "invalid",
      "dateDecision": "2017-06-21T17:04:47.507603+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": false,
      "dateSubmitted": "2017-06-21T17:04:46.678589+03:00",
      "complaintID": "UA-2017-06-21-000001.2",
      "date": "2017-06-21T17:04:47.520040+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "1ef0e24ef27943e9a613ac3d366ce799"
    },
    {
      "status": "declined",
      "dateDecision": "2017-06-21T17:04:49.242823+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": true,
      "dateAccepted": "2017-06-21T17:04:48.017301+03:00",
      "dateSubmitted": "2017-06-21T17:04:46.866044+03:00",
      "complaintID": "UA-2017-06-21-000001.3",
      "date": "2017-06-21T17:04:49.255245+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "ad3b9bb45b214e96a8c37dfcd3491d68"
    },
    {
      "status": "accepted",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "acceptance": true,
      "dateAccepted": "2017-06-21T17:04:48.251634+03:00",
      "dateSubmitted": "2017-06-21T17:04:47.070786+03:00",
      "complaintID": "UA-2017-06-21-000001.4",
      "date": "2017-06-21T17:04:48.263440+03:00",
      "title": "Недостатньо інформації",
      "type": "complaint",
      "id": "6058fe4e16a64eefa243a674bcd53010"
    },
    {
      "status": "stopped",
      "dateDecision": "2017-06-21T17:04:49.489764+03:00",
      "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
      "title": "Недостатньо інформації",
      "decision": "Тендер скасовується замовником",
      "acceptance": true,
      "dateCanceled": "2017-06-21T17:04:49.489789+03:00",
      "dateAccepted": "2017-06-21T17:04:48.477639+03:00",
      "author": {
        "contactPoint": {
          "email": "soleksuk@gmail.com",
          "telephone": "+380 (432) 21-69-30",
          "name": "Сергій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
          "id": "13313462",
          "uri": "http://sch10.edu.vn.ua/"
        },
        "name": "ДКП «Школяр»",
        "address": {
          "postalCode": "21100",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 33",
          "region": "м. Вінниця",
          "locality": "м. Вінниця"
        }
      },
      "dateSubmitted": "2017-06-21T17:04:47.279033+03:00",
      "complaintID": "UA-2017-06-21-000001.5",
      "date": "2017-06-21T17:04:49.501869+03:00",
      "type": "complaint",
      "id": "c61c3b31e03a4234beeba3ba88b3eae6"
    }
  ]
}

And check individual complaint:

GET /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/715cf6c9f150440bbd4025365b782db9 HTTP/1.0
Host: api-sandbox.openprocurement.org

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "satisfied",
    "dateDecision": "2017-06-21T17:04:48.988146+03:00",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/204470f5a5d0479bb4c8d9e384c93e0f?KeyID=12095b04&Signature=PtJPs9NuPXvrEk2lSg3qoUxDLYNLJl0rFI1vMuWXfcZU4ltHLeHTqF5%2FOIkvd2AYKwXaa9CiWGZt%252BIBAkELXBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:46.321319+03:00",
        "id": "5742823f032441f8a414d5b20788d425",
        "dateModified": "2017-06-21T17:04:46.321358+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0ee83089b98446c3bd7978d27589d88d?KeyID=12095b04&Signature=1HClR%2FdR3X834EJDmSMW%2FeqK2eurhvY8L5Q5h65ulKVby74JekA6GXGisBlGpxfRHUVQNzjVVNJ3Kj1xOvZHAw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:48.725033+03:00",
        "id": "75cc1671915e488eb006bcc590fa9f8a",
        "dateModified": "2017-06-21T17:04:48.725068+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T17:04:47.762559+03:00",
    "dateSubmitted": "2017-06-21T17:04:46.501496+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:49.004115+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "715cf6c9f150440bbd4025365b782db9"
  }
}

Complaint Submission

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

Tender Award Complaint Submission (with documents)

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

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

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

Then upload necessary documents:

POST /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/715cf6c9f150440bbd4025365b782db9/documents?acc_token=c0e6107ae2404f58a2262a7646d576d6 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 201
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy184656486517$
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/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/715cf6c9f150440bbd4025365b782db9/documents/5742823f032441f8a414d5b20788d425
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "complaint_owner",
    "language": "uk",
    "title": "Complaint_Attachement.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/204470f5a5d0479bb4c8d9e384c93e0f?KeyID=12095b04&Signature=PtJPs9NuPXvrEk2lSg3qoUxDLYNLJl0rFI1vMuWXfcZU4ltHLeHTqF5%2FOIkvd2AYKwXaa9CiWGZt%252BIBAkELXBA%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:04:46.321319+03:00",
    "id": "5742823f032441f8a414d5b20788d425",
    "dateModified": "2017-06-21T17:04:46.321358+03:00"
  }
}

Submit tender award complaint:

PATCH /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/715cf6c9f150440bbd4025365b782db9?acc_token=c0e6107ae2404f58a2262a7646d576d6 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "pending"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "pending",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/204470f5a5d0479bb4c8d9e384c93e0f?KeyID=12095b04&Signature=PtJPs9NuPXvrEk2lSg3qoUxDLYNLJl0rFI1vMuWXfcZU4ltHLeHTqF5%2FOIkvd2AYKwXaa9CiWGZt%252BIBAkELXBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:46.321319+03:00",
        "id": "5742823f032441f8a414d5b20788d425",
        "dateModified": "2017-06-21T17:04:46.321358+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "dateSubmitted": "2017-06-21T17:04:46.501496+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:46.510998+03:00",
    "type": "complaint",
    "id": "715cf6c9f150440bbd4025365b782db9"
  }
}
Tender Award Complaint Submission (without documents)

You can submit complaint that does not need additional documents:

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

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

Complaint Resolution

Rejecting Tender Award Complaint
PATCH /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/1ef0e24ef27943e9a613ac3d366ce799 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "invalid"
  }
}

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "accepted",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/204470f5a5d0479bb4c8d9e384c93e0f?KeyID=12095b04&Signature=PtJPs9NuPXvrEk2lSg3qoUxDLYNLJl0rFI1vMuWXfcZU4ltHLeHTqF5%2FOIkvd2AYKwXaa9CiWGZt%252BIBAkELXBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:46.321319+03:00",
        "id": "5742823f032441f8a414d5b20788d425",
        "dateModified": "2017-06-21T17:04:46.321358+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T17:04:47.762559+03:00",
    "dateSubmitted": "2017-06-21T17:04:46.501496+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:47.775136+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "715cf6c9f150440bbd4025365b782db9"
  }
}
Submitting Tender Award Complaint Resolution

The Complaint Review Body uploads the resolution document:

POST /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/715cf6c9f150440bbd4025365b782db9/documents HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy824907542902$
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/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/715cf6c9f150440bbd4025365b782db9/documents/75cc1671915e488eb006bcc590fa9f8a
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "aboveThresholdReviewers",
    "language": "uk",
    "title": "ComplaintResolution.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/0ee83089b98446c3bd7978d27589d88d?KeyID=12095b04&Signature=1HClR%2FdR3X834EJDmSMW%2FeqK2eurhvY8L5Q5h65ulKVby74JekA6GXGisBlGpxfRHUVQNzjVVNJ3Kj1xOvZHAw%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-21T17:04:48.725033+03:00",
    "id": "75cc1671915e488eb006bcc590fa9f8a",
    "dateModified": "2017-06-21T17:04:48.725068+03:00"
  }
}

And either resolves complaint:

PATCH /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/715cf6c9f150440bbd4025365b782db9 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 33
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "satisfied"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "satisfied",
    "dateDecision": "2017-06-21T17:04:48.988146+03:00",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/204470f5a5d0479bb4c8d9e384c93e0f?KeyID=12095b04&Signature=PtJPs9NuPXvrEk2lSg3qoUxDLYNLJl0rFI1vMuWXfcZU4ltHLeHTqF5%2FOIkvd2AYKwXaa9CiWGZt%252BIBAkELXBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:46.321319+03:00",
        "id": "5742823f032441f8a414d5b20788d425",
        "dateModified": "2017-06-21T17:04:46.321358+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0ee83089b98446c3bd7978d27589d88d?KeyID=12095b04&Signature=1HClR%2FdR3X834EJDmSMW%2FeqK2eurhvY8L5Q5h65ulKVby74JekA6GXGisBlGpxfRHUVQNzjVVNJ3Kj1xOvZHAw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:48.725033+03:00",
        "id": "75cc1671915e488eb006bcc590fa9f8a",
        "dateModified": "2017-06-21T17:04:48.725068+03:00"
      }
    ],
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "acceptance": true,
    "dateAccepted": "2017-06-21T17:04:47.762559+03:00",
    "dateSubmitted": "2017-06-21T17:04:46.501496+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:49.004115+03:00",
    "title": "Недостатньо інформації",
    "type": "complaint",
    "id": "715cf6c9f150440bbd4025365b782db9"
  }
}

Or declines it:

PATCH /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7/complaints/ad3b9bb45b214e96a8c37dfcd3491d68 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "declined"
  }
}

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

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

One of the possible solutions is award cancellation:

PATCH /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/e4d6c7e6a91d4789b4ed8e440cd3d0f7?acc_token=3d64425797af491e896769223ceafa6e HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 33
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "cancelled"
  }
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/142591d8e43c4cbeb5ee68dd7826720f
{
  "data": {
    "status": "cancelled",
    "eligible": true,
    "suppliers": [
      {
        "contactPoint": {
          "email": "aagt@gmail.com",
          "telephone": "+380 (322) 91-69-30",
          "name": "Андрій Олексюк"
        },
        "identifier": {
          "scheme": "UA-EDR",
          "id": "00137226",
          "uri": "http://www.sc.gov.ua/"
        },
        "name": "ДКП «Книга»",
        "address": {
          "postalCode": "79013",
          "countryName": "Україна",
          "streetAddress": "вул. Островського, 34",
          "region": "м. Львів",
          "locality": "м. Львів"
        }
      }
    ],
    "complaintPeriod": {
      "startDate": "2017-06-21T17:04:45.606210+03:00",
      "endDate": "2017-06-21T17:04:50.475985+03:00"
    },
    "bid_id": "23d6b89441484cae91c030b7d3116811",
    "value": {
      "currency": "UAH",
      "amount": 499.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2017-06-21T17:04:50.491979+03:00",
    "qualified": true,
    "complaints": [
      {
        "status": "satisfied",
        "dateDecision": "2017-06-21T17:04:48.988146+03:00",
        "documents": [
          {
            "hash": "md5:00000000000000000000000000000000",
            "author": "complaint_owner",
            "language": "uk",
            "title": "Complaint_Attachement.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/204470f5a5d0479bb4c8d9e384c93e0f?KeyID=12095b04&Signature=PtJPs9NuPXvrEk2lSg3qoUxDLYNLJl0rFI1vMuWXfcZU4ltHLeHTqF5%2FOIkvd2AYKwXaa9CiWGZt%252BIBAkELXBA%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:04:46.321319+03:00",
            "id": "5742823f032441f8a414d5b20788d425",
            "dateModified": "2017-06-21T17:04:46.321358+03:00"
          },
          {
            "hash": "md5:00000000000000000000000000000000",
            "author": "aboveThresholdReviewers",
            "language": "uk",
            "title": "ComplaintResolution.pdf",
            "url": "http://public.docs-sandbox.openprocurement.org/get/0ee83089b98446c3bd7978d27589d88d?KeyID=12095b04&Signature=1HClR%2FdR3X834EJDmSMW%2FeqK2eurhvY8L5Q5h65ulKVby74JekA6GXGisBlGpxfRHUVQNzjVVNJ3Kj1xOvZHAw%253D%253D",
            "format": "application/pdf",
            "documentOf": "tender",
            "datePublished": "2017-06-21T17:04:48.725033+03:00",
            "id": "75cc1671915e488eb006bcc590fa9f8a",
            "dateModified": "2017-06-21T17:04:48.725068+03:00"
          }
        ],
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "acceptance": true,
        "dateAccepted": "2017-06-21T17:04:47.762559+03:00",
        "dateSubmitted": "2017-06-21T17:04:46.501496+03:00",
        "complaintID": "UA-2017-06-21-000001.1",
        "date": "2017-06-21T17:04:49.004115+03:00",
        "title": "Недостатньо інформації",
        "type": "complaint",
        "id": "715cf6c9f150440bbd4025365b782db9"
      },
      {
        "status": "invalid",
        "dateDecision": "2017-06-21T17:04:47.507603+03:00",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "acceptance": false,
        "dateSubmitted": "2017-06-21T17:04:46.678589+03:00",
        "complaintID": "UA-2017-06-21-000001.2",
        "date": "2017-06-21T17:04:47.520040+03:00",
        "title": "Недостатньо інформації",
        "type": "complaint",
        "id": "1ef0e24ef27943e9a613ac3d366ce799"
      },
      {
        "status": "declined",
        "dateDecision": "2017-06-21T17:04:49.242823+03:00",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "acceptance": true,
        "dateAccepted": "2017-06-21T17:04:48.017301+03:00",
        "dateSubmitted": "2017-06-21T17:04:46.866044+03:00",
        "complaintID": "UA-2017-06-21-000001.3",
        "date": "2017-06-21T17:04:49.255245+03:00",
        "title": "Недостатньо інформації",
        "type": "complaint",
        "id": "ad3b9bb45b214e96a8c37dfcd3491d68"
      },
      {
        "status": "stopped",
        "dateDecision": "2017-06-21T17:04:50.141345+03:00",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "title": "Недостатньо інформації",
        "decision": "Тендер скасовується замовником",
        "acceptance": true,
        "cancellationReason": "Тендер скасовується замовником",
        "dateCanceled": "2017-06-21T17:04:49.891611+03:00",
        "dateAccepted": "2017-06-21T17:04:48.251634+03:00",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "dateSubmitted": "2017-06-21T17:04:47.070786+03:00",
        "complaintID": "UA-2017-06-21-000001.4",
        "date": "2017-06-21T17:04:50.154915+03:00",
        "type": "complaint",
        "id": "6058fe4e16a64eefa243a674bcd53010"
      },
      {
        "status": "stopped",
        "dateDecision": "2017-06-21T17:04:49.489764+03:00",
        "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
        "title": "Недостатньо інформації",
        "decision": "Тендер скасовується замовником",
        "acceptance": true,
        "dateCanceled": "2017-06-21T17:04:49.489789+03:00",
        "dateAccepted": "2017-06-21T17:04:48.477639+03:00",
        "author": {
          "contactPoint": {
            "email": "soleksuk@gmail.com",
            "telephone": "+380 (432) 21-69-30",
            "name": "Сергій Олексюк"
          },
          "identifier": {
            "scheme": "UA-EDR",
            "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
            "id": "13313462",
            "uri": "http://sch10.edu.vn.ua/"
          },
          "name": "ДКП «Школяр»",
          "address": {
            "postalCode": "21100",
            "countryName": "Україна",
            "streetAddress": "вул. Островського, 33",
            "region": "м. Вінниця",
            "locality": "м. Вінниця"
          }
        },
        "dateSubmitted": "2017-06-21T17:04:47.279033+03:00",
        "complaintID": "UA-2017-06-21-000001.5",
        "date": "2017-06-21T17:04:49.501869+03:00",
        "type": "complaint",
        "id": "c61c3b31e03a4234beeba3ba88b3eae6"
      }
    ],
    "id": "e4d6c7e6a91d4789b4ed8e440cd3d0f7"
  }
}

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

Submitting Resolution Confirmation

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

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

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
  "data": {
    "status": "resolved",
    "dateDecision": "2017-06-21T17:04:48.988146+03:00",
    "tendererActionDate": "2017-06-21T17:04:50.758555+03:00",
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Недостатньо інформації",
    "id": "715cf6c9f150440bbd4025365b782db9",
    "tendererAction": "Умови виправлено, вибір переможня буде розгянуто повторно",
    "dateSubmitted": "2017-06-21T17:04:46.501496+03:00",
    "complaintID": "UA-2017-06-21-000001.1",
    "date": "2017-06-21T17:04:50.771333+03:00",
    "acceptance": true,
    "type": "complaint",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "complaint_owner",
        "language": "uk",
        "title": "Complaint_Attachement.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/204470f5a5d0479bb4c8d9e384c93e0f?KeyID=12095b04&Signature=PtJPs9NuPXvrEk2lSg3qoUxDLYNLJl0rFI1vMuWXfcZU4ltHLeHTqF5%2FOIkvd2AYKwXaa9CiWGZt%252BIBAkELXBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:46.321319+03:00",
        "id": "5742823f032441f8a414d5b20788d425",
        "dateModified": "2017-06-21T17:04:46.321358+03:00"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "aboveThresholdReviewers",
        "language": "uk",
        "title": "ComplaintResolution.pdf",
        "url": "http://public.docs-sandbox.openprocurement.org/get/0ee83089b98446c3bd7978d27589d88d?KeyID=12095b04&Signature=1HClR%2FdR3X834EJDmSMW%2FeqK2eurhvY8L5Q5h65ulKVby74JekA6GXGisBlGpxfRHUVQNzjVVNJ3Kj1xOvZHAw%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-21T17:04:48.725033+03:00",
        "id": "75cc1671915e488eb006bcc590fa9f8a",
        "dateModified": "2017-06-21T17:04:48.725068+03:00"
      }
    ],
    "dateAccepted": "2017-06-21T17:04:47.762559+03:00"
  }
}
Submitting complaint to new award
POST /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/142591d8e43c4cbeb5ee68dd7826720f/complaints?acc_token=146b106f39ee4db8a33a753240e22d8b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1682
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "author": {
      "contactPoint": {
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк",
        "email": "soleksuk@gmail.com"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "id": "13313462",
        "uri": "http://sch10.edu.vn.ua/"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "countryName": "Україна",
        "postalCode": "21100",
        "region": "м. Вінниця",
        "streetAddress": "вул. Островського, 33",
        "locality": "м. Вінниця"
      }
    },
    "description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
    "title": "Недостатньо інформації"
  }
}

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

Cancelling Tender Award Complaint

Cancelling not accepted complaint
PATCH /api/2.3/tenders/48d79a9227a347d39c3ea9ae11ce3ea0/awards/142591d8e43c4cbeb5ee68dd7826720f/complaints/6eaf6fdec46248a58483eb5930ce55a9?acc_token=435cacd93546456ab4b83e1e0b37d33b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 150
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
  "data": {
    "status": "cancelled",
    "cancellationReason": "Умови виправлено"
  }
}

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

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

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

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

Roles

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

Statuses

draft:

Initial status

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

claim:

Procuring entity can upload documents and answer to claim.

Complainant can cancel claim.

answered:

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

pending:

Reviewer can upload documents and review complaint.

Complainant can cancel claim.

invalid:

Terminal status

Complaint recognized as invalid.

declined:

Terminal status

Complaint recognized as declined.

resolved:

Terminal status

Complaint recognized as resolved.

cancelled:

Terminal status

Complaint cancelled by complainant.

Acceleration mode for sandbox

Acceleration mode was developed to enable Open EU procedures testing in the sandbox and to reduce time frames of these procedures.

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

API Reference

Indices and tables