Welcome to openprocurement.auctions.dgf’s documentation!¶
Please report any problems or suggestions for improvement either via the mailing list or the issue tracker.
Contents:
Overview¶
openprocurement.auctions.dgf contains documentaion for Deposit Guarantee Fund auctions.
There are two procedures:
- dgfOtherAssets - sale of the insolvent bank property.
- dgfFinancialAssets - sale of the creditor claim right.
Features¶
- No need to specify enquiries period (there is no active.enquiries status), since it overlaps with active.tendering period.
- Procedure can be switched from draft status to active.tendering.
- During active.tendering period participants can ask questions, submit proposals, and upload documents.
- The only date Organizer has to provide is Tender.auctionPeriod.startDate, the rest will be calculated automatically.
- Organizer can’t edit procedure’s significant properties (Auction.value, etc.).
- There is obligatory participant qualification (Bid.selfQualified) via guarantee payment.
- The only currency (Value.currency) for this procedure is hryvnia (UAH).
Conventions¶
API accepts JSON or form-encoded content in requests. It returns JSON content in all of its responses, including errors. Only the UTF-8 character encoding is supported for both requests and responses.
All API POST and PUT requests expect a top-level object with a single element in it named data. Successful responses will mirror this format. The data element should itself be an object, containing the parameters for the request. In the case of creating a new auction, these are the fields we want to set on the auction itself.
If the request was successful, we will get a response code of 201 indicating the object was created. That response will have a data field at its top level, which will contain complete information on the new auction, including its ID.
If something went wrong during the request, we’ll get a different status code and the JSON returned will have an errors field at the top level containing a list of problems. We look at the first one and print out its message.
Main responsibilities¶
Project status¶
The project has beta status.
The source repository for this project is on GitHub: https://github.com/openprocurement/openprocurement.auctions.dgf
You can leave feedback by raising a new issue on the issue tracker (GitHub registration necessary).
API stability¶
API is relatively stable. The changes in the API are communicated via Open Procurement API maillist.
Data Standard¶
Data standard is modelled along the Open Contracting Standard with extensions in areas that were not covered by it.
Auction¶
Schema¶
id: | uuid, auto-generated, read-only Internal id of the procedure. |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
date: | Date, auto-generated, read-only The date of the procedure creation/undoing. |
||||||||||||||||||
owner: | string, auto-generated, read-only The entity (eMall) whom the procedure has been created by. |
||||||||||||||||||
title: | string, multilingual, required Can be edited during the rectificationPeriod.
Oprionally can be mentioned in English/Russian. The name of the auction, displayed in listings. |
||||||||||||||||||
description: | string, multilingual, required Can be edited during the rectificationPeriod. OpenContracting Description: A description of the goods, services to be provided.
|
||||||||||||||||||
dgfDecisionID: | string, required Can be edited during the rectificationPeriod. The number of the decision. |
||||||||||||||||||
dgfDecisionDate: | |||||||||||||||||||
Date, required Can be edited during the rectificationPeriod. The date of the decision on the approval of the terms of sale. |
|||||||||||||||||||
procurementMethod: | |||||||||||||||||||
string, auto-generated, read-only Purchase method. The only value is “open”. |
|||||||||||||||||||
auctionID: | string, auto-generated, read-only The auction identifier to refer auction to in “paper” documentation. OpenContracting Description: AuctionID should always be the same as the OCID. It is included to make the flattened data structure more convenient. |
||||||||||||||||||
dgfID: | string, required Can be edited during the rectificationPeriod. Identification number of the auction (also referred to as lot) in the XLS of Deposit Guarantee Fund. |
||||||||||||||||||
procurementMethodType: | |||||||||||||||||||
string, required Auction announcement. Possible values:
|
|||||||||||||||||||
procurementMethodDetails: | |||||||||||||||||||
string, optional Parameter that accelerates auction periods. Set quick, accelerator=1440 as text value for procurementMethodDetails for the time frames to be reduced in 1440 times. This mode will work only in the sandbox. |
|||||||||||||||||||
submissionMethod: | |||||||||||||||||||
string, auto-generated, read-only The given value is electronicAuction. |
|||||||||||||||||||
awardCriteria: | string, auto-generated, read-only Сriterion of a winner selection. The given value is highestCost. |
||||||||||||||||||
procuringEntity: | |||||||||||||||||||
ProcuringEntity (Organizer), required Organization conducting the auction. OpenContracting Description: The entity managing the procurement, which may be different from the buyer who is paying / using the items being procured. |
|||||||||||||||||||
tenderAttempts: | integer, required Can be edited during the rectificationPeriod. The number which represents what time (from 1 up to 8) tender is taking place. |
||||||||||||||||||
value: | Value, required Auction starting price. Bids lower than OpenContracting Description: The total estimated value of the procurement. |
||||||||||||||||||
guarantee: |
Can be edited during the rectificationPeriod. guarantee.amount can not be greater than value.amount.
|
||||||||||||||||||
items: | Array of Item objects, required Can be edited during the rectificationPeriod (Can editing in 2 ways: each object from the array separately and the entire array together). List that contains single item being sold. 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: | Array of Feature objects Features of auction. |
||||||||||||||||||
documents: | Array of Document objects OpenContracting Description: All documents and attachments related to the auction. |
||||||||||||||||||
dateModified: | Date, auto-generated, read-only OpenContracting Description: Date when the auction was last modified |
||||||||||||||||||
questions: | Array of Question objects Questions to |
||||||||||||||||||
bids: | Array of Bid objects A list of all bids placed in the auction with information about participants, their proposals and other qualification documentation. OpenContracting Description: A list of all the companies who entered submissions for the auction. |
||||||||||||||||||
minimalStep: | Value, required Can be edited during the rectificationPeriod. minimalStep.amount can not be greater than value.amount. Auction step (increment). Validation rules:
|
||||||||||||||||||
awards: | Array of Award objects All qualifications (disqualifications and awards). |
||||||||||||||||||
contracts: | Array of Contract objects OpenContracting Description: Information on contracts signed as part of a process. |
||||||||||||||||||
rectificationPeriod: | |||||||||||||||||||
Period, auto-generated, read-only The time span during which the owner can edit some data within the procedure. |
|||||||||||||||||||
enquiryPeriod: | Period, auto-generated, read-only Period when questions are allowed. OpenContracting Description: The period during which enquiries may be made and will be answered. |
||||||||||||||||||
tenderPeriod: | Period, auto-generated, read-only Period when bids can be submitted. OpenContracting Description: The period when the auction is open for submissions. The end date is the closing date for auction submissions. |
||||||||||||||||||
auctionPeriod: | Period, required Period when Auction is conducted. startDate should be provided. |
||||||||||||||||||
auctionUrl: | url, auto-generated, read-only A web address where auction is accessible for view. |
||||||||||||||||||
awardPeriod: | Period, auto-generated, read-only Awarding process period. OpenContracting Description: The date or period on which an award is anticipated to be made. |
||||||||||||||||||
status: | string, required
Auction status. |
||||||||||||||||||
eligibilityCriteria: | |||||||||||||||||||
string, auto-generated, read-only Required for dgfFinancialAssets procedure. This field is multilingual:
|
|||||||||||||||||||
cancellations: | Array of Cancellation objects. Contains 1 object with active status in case of cancelled Auction. The Cancellation object describes the reason of auction cancellation and contains accompanying documents if there are any. |
||||||||||||||||||
revisions: | Array of Revision objects, auto-generated Historical changes to Auction object properties. |
||||||||||||||||||
numberOfBids: | integer, auto-generated, read-only Number of bids submitted within the auction. |
Organization¶
Schema¶
name: | string, multilingual Name of the organization. |
---|---|
identifier: |
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. Full legal name (e.g. Nadra Bank). |
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 OpenContracting Description: The street address. For example, 1600 Amphitheatre Pkwy. |
---|---|
locality: | string OpenContracting Description: The locality. For example, Mountain View. |
region: | string OpenContracting Description: The region. For example, CA. |
postalCode: | string 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: | OpenContracting Description: The e-mail address of the contact point/person. |
telephone: | string OpenContracting Description: The telephone number of the contact point/person. This should include the international dialling code. |
faxNumber: | string OpenContracting Description: The fax number of the contact point/person. This should include the international dialling code. |
url: | URL OpenContracting Description: A web address for the contact point/person. |
Either email or telephone field has to be provided.
Item¶
Schema¶
id: | string, auto-generated |
||||||
---|---|---|---|---|---|---|---|
description: | string, multilingual, required OpenContracting Description: A description of the goods, services to be provided. Brief description of property (for |
||||||
classification: |
OpenContracting Description: The primary classification for the item. See the itemClassificationScheme to identify preferred classification lists, including CAV and GSIN. It is required for classification.scheme to be CAV. The classification.id should be valid CAV code. |
||||||
schema_properties: | |||||||
OpenContracting Description: A detailed specification of the fields and data structures to use when publishing contracting data. |
|||||||
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. The possible additional classifiers are CPVS and koatuu. |
|||||||
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 |
||||||
address: |
Address, where property (for |
||||||
location: | dictionary Geographical coordinates of the location. Element consists of the following items:
location usually takes precedence over address if both are present. |
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 |
SchemaProperties¶
Schema¶
code: | string, required, should match classification.id |
---|---|
version: | string, optional, identifies the scheme version If not specified, the latest version will be used. |
properties: | dictionary, match the version and code used The detailed description is given here: http://schemas.api-docs.ea.openprocurement.io/en/latest/ |
Document¶
Schema¶
id: | string, auto-generated |
---|---|
documentType: | string Possible values for Auction
Possible values for Award
Possible values for Contract
Possible values for Bid
|
title: | string, multilingual OpenContracting Description: The document title. |
description: | string, multilingual OpenContracting Description: A short description of the document. In the event the document is not accessible online, the description field can be used to describe arrangements for obtaining a copy of the document. |
index: | integer Sorting (display order) parameter used for illustrations. The smaller number is, the higher illustration is in the sorting. If index is not specified, illustration will be displayed the last. If two illustrations have the same index, they will be sorted depending on their publishing date. |
format: | string OpenContracting Description: The format of the document taken from the IANA Media Types code list, with the addition of one extra value for ‘offline/print’, used when this document entry is being used to describe the offline publication of a document. |
url: | string, auto-generated OpenContracting Description: Direct link to the document or attachment. |
datePublished: | string, Date OpenContracting Description: The date on which the document was first published. |
dateModified: | string, Date OpenContracting Description: Date that the document was last modified |
language: | string OpenContracting Description: Specifies the language of the linked document using either two-digit ISO 639-1, or extended BCP47 language tags. |
documentOf: | string Possible values are:
|
relatedItem: | string ID of related Item. |
---|
Bid¶
Schema¶
tenderers: | List of Organization objects |
---|---|
date: | string, Date, auto-generated Date when bid has been submitted. |
id: | UID, auto-generated |
status: | string Possible values are:
|
value: | Value, required Validation rules:
|
documents: | List of Document objects |
parameters: | List of Parameter objects |
participationUrl: | |
---|---|
URL A web address for participation in auction. |
|
qualified: | bool, required |
eligible: | bool Required for dgfFinancialAssets procedure. |
Award¶
Schema¶
id: | string, auto-generated, read-only OpenContracting Description: 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. |
status: | string OpenContracting Description: The current status of the award drawn from the awardStatus codelist. Possible values are:
|
verificationPeriod: | |
The period of uploading (for the auction winner) and verification (for the bank) of the auction protocol |
|
paymentPeriod: |
The period given to the winner of the auction to make a payment |
signingPeriod: |
The period for the contract to be activated in the system (by the bank) |
date: | string, Date, auto-generated, read-only OpenContracting Description: The date of the contract award. |
value: | Value object, 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 should be 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: | |
The time frame when complaints can be submitted. |
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. |
questionOf: | string Possible values are:
|
relatedItem: | string ID of related Item. |
---|
Contract¶
Schema¶
id: | UID, auto-generated OpenContracting Description: The identifier for this contract. |
---|---|
awardID: | string, required OpenContracting Description: The Award.id against which this contract is being issued. |
contractID: | string, auto-generated, read-only |
contractNumber: | string |
title: | string, required OpenContracting Description: Contract title |
description: | string OpenContracting Description: Contract description |
value: | Value object, auto-generated, read-only OpenContracting Description: The total value of this 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 |
status: | string, required OpenContracting Description: The current status of the contract. Possible values are:
|
period: |
OpenContracting Description: The start and end date for the contract. |
dateSigned: | string, Date OpenContracting Description: The date the contract was signed. In the case of multiple signatures, the date of the last signature. |
signingPeriod: |
OpenContracting Description: The start and end date for the contract signing. |
datePaid: | string, Date OpenContracting Description: The date the contract was paid. |
date: | string, Date The date when the contract was changed or activated. |
documents: | List of Document objects OpenContracting Description: All documents and attachments related to the contract, including any notices. |
Prolongation¶
Schema¶
id: | UID, auto-generated OpenContracting Description: The identifier for this prolongation. |
---|---|
dateCreated: | string, auto-generated, Date OpenContracting Description: The date when Prolongation was created. |
decisionID: | string, required OpenContracting Description: Id of document, that allows prolongation. |
status: | string, required OpenContracting Description: The current status of prolongation. Possible values are:
|
description: | string, required OpenContracting Description: Prolongation description. Minimal length - 10 letters. |
datePublished: | string, required, Date OpenContracting Description: Date, when document, that caused this prolongation, came in force. |
documents: | List of Document objects OpenContracting Description: All documents and attachments related to the prolongation, including any notices. |
reason: | string, required OpenContracting Description: Reason, that caused prolongation. Possible values are:
|
Period¶
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 |
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 auction is being cancelled. |
||||
status: | string
|
||||
documents: | List of Document objects Documents accompanying the Cancellation: Protocol of Auction Committee with decision to cancel the Auction. |
||||
date: | string, Date Cancellation date. |
||||
cancellationOf: | string Possible values are:
|
ProcuringEntity (Organizer)¶
Schema¶
name: | string, multilingual OpenContracting Description: The common name of the organization. |
---|---|
identifier: |
OpenContracting Description: The primary identifier for this organization. |
additionalIdentifiers: | |
List of Identifier objects |
|
address: | Address, required |
contactPoint: | ContactPoint, required |
kind: | string Type of organizer
|
Documents Uploading¶
All of the document uploading API endpoints follow the same set of rules.
Upload document with registration¶
Add document in API:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0 Authorization: Basic YnJva2VyOg== Content-Length: 409 Content-Type: application/json Host: api-sandbox.ea.openprocurement.org { "data": { "hash": "md5:00000000000000000000000000000000", "description": "document description", "title": "Notice.pdf", "url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=8dnERkLYD2IPoGGwxM8T5EEYGGxJ2OW5qIMRC7n1K2CC9QK8Wjd9%2BEqmaBfbfoKw5waUSG2AVMhaNuJ9kX37Dw%3D%3D", "format": "application/pdf", "documentType": "technicalSpecifications" } } 201 Created Content-Type: application/json Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/bb517ba5ca544fd7b21eaf894a63afd7 X-Content-Type-Options: nosniff { "data": { "hash": "md5:00000000000000000000000000000000", "description": "document description", "format": "application/pdf", "url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D", "title": "Notice.pdf", "documentOf": "tender", "datePublished": "2018-07-11T15:06:07.649805+03:00", "documentType": "technicalSpecifications", "dateModified": "2018-07-11T15:06:07.649826+03:00", "id": "bb517ba5ca544fd7b21eaf894a63afd7" } }
Upload document without registration¶
Add document in API:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0 Authorization: Basic YnJva2VyOg== Content-Length: 409 Content-Type: application/json Host: api-sandbox.ea.openprocurement.org { "data": { "hash": "md5:00000000000000000000000000000000", "description": "document description", "title": "Notice.pdf", "url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=8dnERkLYD2IPoGGwxM8T5EEYGGxJ2OW5qIMRC7n1K2CC9QK8Wjd9%2BEqmaBfbfoKw5waUSG2AVMhaNuJ9kX37Dw%3D%3D", "format": "application/pdf", "documentType": "technicalSpecifications" } } 201 Created Content-Type: application/json Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/bb517ba5ca544fd7b21eaf894a63afd7 X-Content-Type-Options: nosniff { "data": { "hash": "md5:00000000000000000000000000000000", "description": "document description", "format": "application/pdf", "url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D", "title": "Notice.pdf", "documentOf": "tender", "datePublished": "2018-07-11T15:06:07.649805+03:00", "documentType": "technicalSpecifications", "dateModified": "2018-07-11T15:06:07.649826+03:00", "id": "bb517ba5ca544fd7b21eaf894a63afd7" } }
Award Workflow¶
For a more detailed information see Award
- Qualification
- Confirming qualification
- Candidate_disqualification
- Refusal of waiting by another participant
Legend¶
Blue nodes represent statuses for the 2nd award ONLY
* award for winner is always formed in pending.
** protocol is downloaded and award is switched to active by the organizer.
*** auction protocol was not uploaded and award was not activated
Legend¶
* document was downloaded to contract. The contract itself was successfully activated by the organizer.
** there was no document uploaded. The organizer din not activate the contract.
Procedure Description¶
- The award with the highest qualifying bid initially receives a pending status. The procedure enters the verificationPeriod stage, which lasts 0-4 business days. Unless the protocol is uploaded and confirmed by the organizer in 4 business days, the award receives an unsuccessful status. Otherwise, the organizer manually switches the award status to active. Simultaneously, the contract is being created in pending status.
- It is then when the qualification procedure enters the signingPeriod stage, which lasts up to 20 business days from the beginning of the highest bidder qualification process. Within this time, the organizer can optionally set the day when the payment has been received. Also the organizer should upload and activate the contract in the system by the end of the signingPeriod in order to successfully finish the qualification procedure. Otherwise - the contract will become cancelled and the qualification of the second highest qualifying bidder will begin given that they have not disqualified themselves by this time.
- The second highest qualifying bidder, immediately after the auction ending receives the pending.waiting status, in which by default they agree to wait for the end of the qualification of the highest qualifying bidder to be eligible to go through the qualification process if the highest bidder is disqualified. The only action that they can make is to manually cancel the award decision - withdraw the security deposit and lose the chance to become a winner of the auction. If that is done and the first highest qualifying bidder becomes unsuccessful, the procedure receives the unsuccessful status. Provided that first award gets disqualified while the second has not disqualified themselves, the second award automatically changes its status from pending.waiting to pending, after which they undergo the same qualification procedure as outlined above for the first award.
Notes¶
For the bidder to be qualified and not invalidated, the bid should be in the amount of more or equal to the starting price of the auction + the minimal step of the auction.
1.1. In case the first two highest bids do not exceed the amount of starting price + the minimal step, the awards are not being formed at all, and the procedure automatically becomes “unsuccessful”
1.2 In case the second highest bid is smaller than the starting price + the minimal step, two awards are formed with the smaller one becoming unsuccessful immediately. The first highest bid (if larger than the starting price + minimum step) undergoes the awarding procedure and can win the auction.
The organizer can disqualify the award at any stage of the awarding process up to the moment, when the contract is created in the system.
The second highest qualifying bidder can disqualify themselves at any point in time BEFORE the start of their qualification process.
Statuses¶
pending.waiting: | |||||
---|---|---|---|---|---|
The second highest valid bidder awaits for the qualification of the first highest valid bidder. The former can choose to refuse to wait and withdraw his security deposit. |
|||||
cancelled: | Terminal status. |
||||
pending: |
|
||||
active: |
|
||||
unsuccessful: | Terminal status. |
Tutorial¶
Exploring basic rules¶
Let’s try exploring the /auctions endpoint:
GET /api/2.5/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/auctions?offset=",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions?offset=",
"offset": ""
},
"data": []
}
Just invoking it reveals empty set.
Now let’s attempt creating some auction:
POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 4
Content-Type: application/x-www-form-urlencoded
Host: api-sandbox.ea.openprocurement.org
415 Unsupported Media Type
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"status": "error",
"errors": [
{
"description": "Content-Type header should be one of ['application/json']",
"location": "header",
"name": "Content-Type"
}
]
}
Error states that the only accepted Content-Type is application/json.
Let’s satisfy the Content-type requirement:
POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 4
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
422 Unprocessable Entity
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"status": "error",
"errors": [
{
"description": "Expecting value: line 1 column 1 (char 0)",
"location": "body",
"name": "data"
}
]
}
Error states that no data has been found in JSON body.
Creating auction¶
Let’s create auction with the minimal data set (only required properties):
POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2087
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2018-07-25"
},
"tenderAttempts": 1,
"procurementMethodType": "DGFOtherAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"submissionMethodDetails": "test submissionMethodDetails",
"dgfDecisionDate": "2016-11-17",
"dgfID": "219560",
"dgfDecisionID": "219560",
"procurementMethodDetails": "quick, accelerator=1440",
"items": [
{
"classification": {
"scheme": "CAV",
"id": "06000000-2",
"description": "Земельні ділянки"
},
"quantity": 5,
"description": "Земля для військовослужбовців",
"unit": {
"code": "44617100-9",
"name": "item"
},
"address": {
"countryName": "Україна",
"postalCode": "79000",
"region": "м. Київ",
"streetAddress": "вул. Банкова 1",
"locality": "м. Київ"
}
}
],
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ"
}
}
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "68942dd9b0fb4e9b80b9826ec12e79da",
"token": "0052e89467e54a799389e87c87910599"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:07.421282+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-24T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "bb1795e42a4243ada1433ddb18b4f06f",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:07.423925+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:07.421282+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-07-25T00:00:00+03:00"
},
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:07.421282+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "314f1cb8d47a46009b5c9537e8974be6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
Success! Now we can see that new object has been 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 auction: its internal id (that matches the Location segment), its official auctionID and dateModified datestamp stating the moment in time when auction has been last modified. Pay attention to the procurementMethodType. Note that auction is created with active.tendering status.
Let’s access the URL of the created object (the Location header of the response):
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:07.421282+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-24T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "bb1795e42a4243ada1433ddb18b4f06f",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:07.423925+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:07.421282+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-07-25T00:00:00+03:00"
},
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:07.421282+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "314f1cb8d47a46009b5c9537e8974be6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
We can see the same response we got after creating auction.
Let’s see what listing of auctions reveals us:
GET /api/2.5/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/auctions?offset=2018-07-11T15%3A06%3A07.164181%2B03%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions?offset=2018-07-11T15%3A06%3A07.164181%2B03%3A00",
"offset": "2018-07-11T15:06:07.164181+03:00"
},
"data": [
{
"id": "6287b62b149840a88b47a6fc61cdc4d2",
"dateModified": "2018-07-11T15:06:07.164181+03:00"
}
]
}
We do see the auction’s internal id (that can be used to construct full URL by prepending https://api-sandbox.ea.openprocurement.org/api/0/auctions/) and its dateModified datestamp.
The previous auction contained only required fields. Let’s try creating auction with more data (auction has status created):
POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2116
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2018-07-25"
},
"tenderAttempts": 1,
"procurementMethodType": "DGFOtherAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"submissionMethodDetails": "test submissionMethodDetails",
"dgfDecisionDate": "2016-11-17",
"dgfID": "219560",
"title_ru": "футляры к государственным наградам",
"dgfDecisionID": "219560",
"procurementMethodDetails": "quick, accelerator=1440",
"items": [
{
"classification": {
"scheme": "CAV",
"id": "06000000-2",
"description": "Земельні ділянки"
},
"description": "Земля для військовослужбовців",
"id": "4d668ec03a46438baaf85cddd1e70378",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"title_en": "Cases with state awards",
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"kind": "general",
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ"
}
}
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/2713725bc7144374905f7dbc0182bede
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "98dc2fd8c7fc4425b9021a5db91ed497",
"token": "7145d40df47649258aae10eb7cbe45fe"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000003",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:07.500869+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-24T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"title_en": "Cases with state awards",
"id": "2713725bc7144374905f7dbc0182bede",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.501185+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.501206+03:00",
"id": "8ccfb7893cfc474099b81408a9f85e21"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:07.503399+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:07.500869+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-07-25T00:00:00+03:00"
},
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:07.500869+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"unit": {
"code": "44617100-9",
"name": "item"
},
"description": "Земля для військовослужбовців",
"id": "4d668ec03a46438baaf85cddd1e70378",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"title_ru": "футляры к государственным наградам",
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"kind": "general",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
And again we have 201 Created response code, Location header and body with extra id, auctionID, and dateModified properties.
Let’s check what auction registry contains:
GET /api/2.5/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/auctions?offset=2018-07-11T15%3A06%3A07.423925%2B03%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions?offset=2018-07-11T15%3A06%3A07.423925%2B03%3A00",
"offset": "2018-07-11T15:06:07.423925+03:00"
},
"data": [
{
"id": "6287b62b149840a88b47a6fc61cdc4d2",
"dateModified": "2018-07-11T15:06:07.164181+03:00"
},
{
"id": "bb1795e42a4243ada1433ddb18b4f06f",
"dateModified": "2018-07-11T15:06:07.423925+03:00"
}
]
}
And indeed we have 2 auctions now.
Creating auction from the given lot¶
Let’s create a procedure considering the lot created before within the registry:
POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2165
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "draft",
"merchandisingObject": "da232f129d5d448f96e62b81b6bb755c",
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2018-07-25"
},
"tenderAttempts": 1,
"procurementMethodType": "DGFOtherAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"submissionMethodDetails": "test submissionMethodDetails",
"dgfDecisionDate": "2016-11-17",
"dgfID": "219560",
"dgfDecisionID": "219560",
"procurementMethodDetails": "quick, accelerator=1440",
"items": [
{
"classification": {
"scheme": "CAV",
"id": "06000000-2",
"description": "Земельні ділянки"
},
"quantity": 5,
"description": "Земля для військовослужбовців",
"unit": {
"code": "44617100-9",
"name": "item"
},
"address": {
"countryName": "Україна",
"postalCode": "79000",
"region": "м. Київ",
"streetAddress": "вул. Банкова 1",
"locality": "м. Київ"
}
}
],
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ"
}
}
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/0f514d78026041b8919457f7ae762887
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "eb9215a5bd744ebea47d575256cd0986",
"token": "395a0e92cc26453a87782b8e1b1a3c3c"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"merchandisingObject": "da232f129d5d448f96e62b81b6bb755c",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:03.936421+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "0f514d78026041b8919457f7ae762887",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:03.936720+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:03.936741+03:00",
"id": "8ef00a68c36d49e8816401602733a5ae"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"dateModified": "2018-07-11T15:06:03.938788+03:00",
"status": "draft",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:03.936421+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"procurementMethodDetails": "quick, accelerator=1440",
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:03.936421+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "597c0fc83beb4f36b74ca596b615f97a",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
Modifying auction¶
Let’s update auction by supplementing it with all other essential properties:
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"tenderPeriod": {
"endDate": "2018-07-26T15:06:17.585732+03:00"
}
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:07.421282+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-24T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "bb1795e42a4243ada1433ddb18b4f06f",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:07.423925+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:07.421282+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-07-25T00:00:00+03:00"
},
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:07.421282+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "314f1cb8d47a46009b5c9537e8974be6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
We see the added properies have merged with existing auction data. Additionally, the dateModified property was updated to reflect the last modification datestamp.
Checking the listing again reflects the new modification date:
GET /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/auctions?offset=2018-07-11T15%3A06%3A07.556898%2B03%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions?offset=2018-07-11T15%3A06%3A07.556898%2B03%3A00",
"offset": "2018-07-11T15:06:07.556898+03:00"
},
"data": [
{
"id": "6287b62b149840a88b47a6fc61cdc4d2",
"dateModified": "2018-07-11T15:06:07.164181+03:00"
},
{
"id": "bb1795e42a4243ada1433ddb18b4f06f",
"dateModified": "2018-07-11T15:06:07.423925+03:00"
},
{
"id": "2713725bc7144374905f7dbc0182bede",
"dateModified": "2018-07-11T15:06:07.503399+03:00"
},
{
"id": "2079827e0402455fbe0bf27ef188dd7b",
"dateModified": "2018-07-11T15:06:07.556898+03:00"
}
]
}
Uploading documentation¶
Organizer can upload PDF files into the created auction. Uploading should follow the Documents Uploading rules.
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 409
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"title": "Notice.pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=8dnERkLYD2IPoGGwxM8T5EEYGGxJ2OW5qIMRC7n1K2CC9QK8Wjd9%2BEqmaBfbfoKw5waUSG2AVMhaNuJ9kX37Dw%3D%3D",
"format": "application/pdf",
"documentType": "technicalSpecifications"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/bb517ba5ca544fd7b21eaf894a63afd7
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
}
}
201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/bb517ba5ca544fd7b21eaf894a63afd7 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"previousVersions": [],
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
}
}
The single array element describes the uploaded document. We can upload more documents:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 338
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/b85f96f321fe44378c76605a075f4f80?KeyID=172d32c8&Signature=fX2WtYTed%2FzWbmhHT9OFfkIxiA%2F%2FPBBxs2ODAvo2ViulEoKQWj9vRcNvCYsD3iRUFlBmoEJP0b5rNcXLWm0LBw%3D%3D",
"title": "AwardCriteria.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/cf91c283f3b04cb5a76d9368d69c161f
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/b85f96f321fe44378c76605a075f4f80?KeyID=172d32c8&Signature=PkSkrOo6heBcy1Yh5exZo2ksJMI%252BZ%252BnflXz065HAzV8GyrYKBR2WKxNwzFVsf3q3DaoDK%252BkDENPI22kcXAmPBg%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.703770+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
}
}
And again we can confirm that there are two documents uploaded.
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/b85f96f321fe44378c76605a075f4f80?KeyID=172d32c8&Signature=PkSkrOo6heBcy1Yh5exZo2ksJMI%252BZ%252BnflXz065HAzV8GyrYKBR2WKxNwzFVsf3q3DaoDK%252BkDENPI22kcXAmPBg%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.703770+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
}
]
}
In case we made an error, we can reupload the document over the older version:
PUT /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/cf91c283f3b04cb5a76d9368d69c161f?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 342
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1a8b26fa32cb42f3a69ba72c28d5db51?KeyID=172d32c8&Signature=8eDrypjKBIx1ehurKjEe%2B1ww%2FONYm2AC1P1%2BDdaEeaBUKtK9TlcGlD059rgFQvW3GYOLIcz4n%2Bx6zDaEdHO1Bg%3D%3D",
"title": "AwardCriteria-2.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1a8b26fa32cb42f3a69ba72c28d5db51?KeyID=172d32c8&Signature=y9meT2iCjfA5YdUhT1lSEZ1%252BIFYd6mMcv5sauCMDJCQAoifkdIUo4zgmMqZ%2FzGbJJlixeUdA5n5%252BFhLTkfDOCQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.765929+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
}
}
And we can see that it is overriding the original version:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1a8b26fa32cb42f3a69ba72c28d5db51?KeyID=172d32c8&Signature=y9meT2iCjfA5YdUhT1lSEZ1%252BIFYd6mMcv5sauCMDJCQAoifkdIUo4zgmMqZ%2FzGbJJlixeUdA5n5%252BFhLTkfDOCQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.765929+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
}
]
}
Uploading illustration¶
Organizer can upload illustration files into the created auction. Uploading should follow the Documents Uploading rules.
In order to specify illustration display order, index field can be used (for details see Document). Since this illustration should be displayed first, it has "index": 1
.
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 432
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"title": "first_illustration.jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=44NDlwGUSjchl%2F1E9rd8cJIkXYeL%2FbHuVYTGAW8qTMiKBcATXGrfJC3TFdBElOlF%2FLmzbRZmQOGj3UmUjE7dBg%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/dbe0ca0c582b422d84c59a2aa93eb948
X-Content-Type-Options: nosniff
{
"data": {
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=UPMVnKZTzNNA9AxDywJSZbpPjStBGoee80QWYvawEzzQnVYTxYuijJO8UMScqwMcbt5qrdjYn5jyfUyhvZzkDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.828825+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.828844+03:00",
"id": "dbe0ca0c582b422d84c59a2aa93eb948"
}
}
We can check whether illustration is uploaded.
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1a8b26fa32cb42f3a69ba72c28d5db51?KeyID=172d32c8&Signature=y9meT2iCjfA5YdUhT1lSEZ1%252BIFYd6mMcv5sauCMDJCQAoifkdIUo4zgmMqZ%2FzGbJJlixeUdA5n5%252BFhLTkfDOCQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.765929+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=UPMVnKZTzNNA9AxDywJSZbpPjStBGoee80QWYvawEzzQnVYTxYuijJO8UMScqwMcbt5qrdjYn5jyfUyhvZzkDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.828825+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.828844+03:00",
"id": "dbe0ca0c582b422d84c59a2aa93eb948"
}
]
}
Organizer can upload second illustration. This illustration should be displayed second, so it has "index": 2
.
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 428
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"title": "second_illustration.jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/240fe6c71e5a4291a3c9e39fbfeb460e?KeyID=172d32c8&Signature=aiaYSVot6s3YWRq8zdCetQDBq2FwrP1LstPmGw6EcG5s4bTvKFYjg0EnTewJ7KV14YbTt8DHzOhiPpb0hJirAA%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/402f115c7eb445c3a42eb624d2b45e17
X-Content-Type-Options: nosniff
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/240fe6c71e5a4291a3c9e39fbfeb460e?KeyID=172d32c8&Signature=k8V7cIG6xo5fopPWo%252B%2Fl3mxaliitImmqxRxKPbsJATjwe8Fde63J7%252BzgghykfYCTn9QwuMx1aVg1G6iNu7PNDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.897398+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.897419+03:00",
"id": "402f115c7eb445c3a42eb624d2b45e17"
}
}
Add third illustration:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 442
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"title": "third_illustration.jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/e401fae3f2004d11ac67e9b444eb6d09?KeyID=172d32c8&Signature=Mxs%2F2%2B03GvbmBy%2FZePxtBa8qVpaWmWJ1t%2FyuYSRbQTb%2Fm2Pw%2BvhOGL3n%2B2jOpvRdAroJNQHk5OFyYBI3q%2FMvAw%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/feae4575ced24c718bae0f05d904c810
X-Content-Type-Options: nosniff
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/e401fae3f2004d11ac67e9b444eb6d09?KeyID=172d32c8&Signature=h7%2FVgGCvrQZMhz5xn6tYcxZ809Rxn25ohwJIoTihWblO8DCl2FHeJwFkHE3ZGUZeHBWCQ8ANi5eQEUiyd78qAg%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.952905+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.952925+03:00",
"id": "feae4575ced24c718bae0f05d904c810"
}
}
Note that index of the third illustration is the same as for the second illustration: "index": 2
. In such cases firstly will be displayed illustration that was uploaded earlier.
We can check that there are three uploaded illustrations.
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1a8b26fa32cb42f3a69ba72c28d5db51?KeyID=172d32c8&Signature=y9meT2iCjfA5YdUhT1lSEZ1%252BIFYd6mMcv5sauCMDJCQAoifkdIUo4zgmMqZ%2FzGbJJlixeUdA5n5%252BFhLTkfDOCQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.765929+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=UPMVnKZTzNNA9AxDywJSZbpPjStBGoee80QWYvawEzzQnVYTxYuijJO8UMScqwMcbt5qrdjYn5jyfUyhvZzkDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.828825+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.828844+03:00",
"id": "dbe0ca0c582b422d84c59a2aa93eb948"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/240fe6c71e5a4291a3c9e39fbfeb460e?KeyID=172d32c8&Signature=k8V7cIG6xo5fopPWo%252B%2Fl3mxaliitImmqxRxKPbsJATjwe8Fde63J7%252BzgghykfYCTn9QwuMx1aVg1G6iNu7PNDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.897398+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.897419+03:00",
"id": "402f115c7eb445c3a42eb624d2b45e17"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/e401fae3f2004d11ac67e9b444eb6d09?KeyID=172d32c8&Signature=h7%2FVgGCvrQZMhz5xn6tYcxZ809Rxn25ohwJIoTihWblO8DCl2FHeJwFkHE3ZGUZeHBWCQ8ANi5eQEUiyd78qAg%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.952905+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.952925+03:00",
"id": "feae4575ced24c718bae0f05d904c810"
}
]
}
Enquiries¶
When auction is in active.tendering status, interested parties can ask questions:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1506
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"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": "Калорійність"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/questions/a19723c4af2948e48995d4888b25e4a6
X-Content-Type-Options: nosniff
{
"data": {
"description": "Просимо додати таблицю потрібної калорійності харчування",
"author": {
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"uri": "http://sch10.edu.vn.ua/",
"id": "00137226"
},
"name": "ДКП «Школяр»",
"address": {
"postalCode": "21100",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
}
},
"title": "Калорійність",
"date": "2018-07-11T15:06:08.106325+03:00",
"id": "a19723c4af2948e48995d4888b25e4a6",
"questionOf": "tender"
}
}
Organizer can answer them:
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/questions/a19723c4af2948e48995d4888b25e4a6?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 162
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\""
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2018-07-11T15:06:08.106325+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "a19723c4af2948e48995d4888b25e4a6",
"questionOf": "tender"
}
}
And one can retrieve the question list:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2018-07-11T15:06:08.106325+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "a19723c4af2948e48995d4888b25e4a6",
"questionOf": "tender"
}
]
}
Or an individual answer:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/questions/a19723c4af2948e48995d4888b25e4a6 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2018-07-11T15:06:08.106325+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "a19723c4af2948e48995d4888b25e4a6",
"questionOf": "tender"
}
}
Registering bid¶
Bidder can register a bid in draft status:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 776
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "draft",
"qualified": true,
"value": {
"amount": 500
},
"tenderers": [
{
"contactPoint": {
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"countryName": "Україна",
"postalCode": "21100",
"region": "м. Вінниця",
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця"
}
}
]
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a
X-Content-Type-Options: nosniff
{
"access": {
"token": "035a14661c204ad9a32c92d733351401"
},
"data": {
"status": "draft",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:08.268644+03:00",
"qualified": 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": "м. Вінниця"
}
}
],
"owner": "broker",
"id": "33e956525782481880696efc0dc83b4a"
}
}
And activate a bid:
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a?acc_token=035a14661c204ad9a32c92d733351401 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "active"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:08.268644+03:00",
"qualified": 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": "м. Вінниця"
}
}
],
"owner": "broker",
"id": "33e956525782481880696efc0dc83b4a"
}
}
And upload proposal document:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a/documents?acc_token=035a14661c204ad9a32c92d733351401 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 329
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/c3462446d3094ed599f5980902c2f5dd?KeyID=172d32c8&Signature=ZNCG2Ohe0r0LHYHaGTQ4QWbcGRY39%2BgS0MsqzxHy9MwZM7p65GFqsaKNcRVUX1HxpTWHCoJTJk84l90WOgwKCQ%3D%3D",
"title": "Proposal.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a/documents/b15abb588cf541c9b6fbd705a42d5790
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a/documents/b15abb588cf541c9b6fbd705a42d5790?download=c3462446d3094ed599f5980902c2f5dd",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:08.403731+03:00",
"dateModified": "2018-07-11T15:06:08.403752+03:00",
"id": "b15abb588cf541c9b6fbd705a42d5790"
}
}
It is possible to check the uploaded documents:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a/documents?acc_token=035a14661c204ad9a32c92d733351401 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a/documents/b15abb588cf541c9b6fbd705a42d5790?download=c3462446d3094ed599f5980902c2f5dd",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:08.403731+03:00",
"dateModified": "2018-07-11T15:06:08.403752+03:00",
"id": "b15abb588cf541c9b6fbd705a42d5790"
}
]
}
For the best effect (biggest economy) auction should have multiple bidders registered:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 723
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"qualified": true,
"value": {
"amount": 501
},
"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": "м. Львів"
}
}
]
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/e17d3f64fe214a6b846c885cdf2aaa9b
X-Content-Type-Options: nosniff
{
"access": {
"token": "5477e8a5a5c34db7a482e95104a740e8"
},
"data": {
"status": "active",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:08.503786+03:00",
"qualified": 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": "м. Львів"
}
}
],
"owner": "broker",
"id": "e17d3f64fe214a6b846c885cdf2aaa9b"
}
}
Auction¶
After auction is scheduled anybody can visit it to watch. The auction can be reached at Auction.auctionUrl:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"auctionUrl": "http://auction-sandbox.openprocurement.org/auctions/bb1795e42a4243ada1433ddb18b4f06f",
"enquiryPeriod": {
"startDate": "2018-07-04T15:06:01.997072+03:00",
"endDate": "2018-07-11T15:06:01.997072+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-11T15:50:01.997072+03:00",
"awardCriteria": "highestCost",
"questions": [
{
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2018-07-11T15:06:08.106325+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "a19723c4af2948e48995d4888b25e4a6",
"questionOf": "tender"
}
],
"dgfDecisionID": "219560",
"owner": "broker",
"id": "bb1795e42a4243ada1433ddb18b4f06f",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/b85f96f321fe44378c76605a075f4f80?KeyID=172d32c8&Signature=PkSkrOo6heBcy1Yh5exZo2ksJMI%252BZ%252BnflXz065HAzV8GyrYKBR2WKxNwzFVsf3q3DaoDK%252BkDENPI22kcXAmPBg%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.703770+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1a8b26fa32cb42f3a69ba72c28d5db51?KeyID=172d32c8&Signature=y9meT2iCjfA5YdUhT1lSEZ1%252BIFYd6mMcv5sauCMDJCQAoifkdIUo4zgmMqZ%2FzGbJJlixeUdA5n5%252BFhLTkfDOCQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.765929+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=UPMVnKZTzNNA9AxDywJSZbpPjStBGoee80QWYvawEzzQnVYTxYuijJO8UMScqwMcbt5qrdjYn5jyfUyhvZzkDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.828825+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.828844+03:00",
"id": "dbe0ca0c582b422d84c59a2aa93eb948"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/240fe6c71e5a4291a3c9e39fbfeb460e?KeyID=172d32c8&Signature=k8V7cIG6xo5fopPWo%252B%2Fl3mxaliitImmqxRxKPbsJATjwe8Fde63J7%252BzgghykfYCTn9QwuMx1aVg1G6iNu7PNDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.897398+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.897419+03:00",
"id": "402f115c7eb445c3a42eb624d2b45e17"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/e401fae3f2004d11ac67e9b444eb6d09?KeyID=172d32c8&Signature=h7%2FVgGCvrQZMhz5xn6tYcxZ809Rxn25ohwJIoTihWblO8DCl2FHeJwFkHE3ZGUZeHBWCQ8ANi5eQEUiyd78qAg%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.952905+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.952925+03:00",
"id": "feae4575ced24c718bae0f05d904c810"
},
{
"title": "Familiarization with bank asset",
"format": "offline/on-site-examination",
"accessDetails": "Familiar with asset: days, time, address",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:08.031929+03:00",
"documentType": "x_dgfAssetFamiliarization",
"dateModified": "2018-07-11T15:06:08.031952+03:00",
"id": "af860bef04d8419191bd242fbfbd4fc6"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:08.724401+03:00",
"status": "active.auction",
"tenderPeriod": {
"startDate": "2018-07-04T15:06:01.997072+03:00",
"endDate": "2018-07-11T15:06:01.997072+03:00"
},
"auctionPeriod": {
"startDate": "2018-07-11T15:06:01.997072+03:00",
"shouldStartAfter": "2018-07-12T00:00:00+03:00"
},
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:07.421282+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "314f1cb8d47a46009b5c9537e8974be6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
And bidders can find out their participation URLs via their bids:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a?acc_token=035a14661c204ad9a32c92d733351401 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/33e956525782481880696efc0dc83b4a/documents/b15abb588cf541c9b6fbd705a42d5790?download=c3462446d3094ed599f5980902c2f5dd",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:08.403731+03:00",
"dateModified": "2018-07-11T15:06:08.403752+03:00",
"id": "b15abb588cf541c9b6fbd705a42d5790"
}
],
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:08.268644+03:00",
"qualified": 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": "м. Вінниця"
}
}
],
"owner": "broker",
"id": "33e956525782481880696efc0dc83b4a",
"participationUrl": "http://auction-sandbox.openprocurement.org/auctions/bb1795e42a4243ada1433ddb18b4f06f?key_for_bid=33e956525782481880696efc0dc83b4a"
}
}
See the Bid.participationUrl in the response. Similar, but different, URL can be retrieved for other participants:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/bids/e17d3f64fe214a6b846c885cdf2aaa9b?acc_token=5477e8a5a5c34db7a482e95104a740e8 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:08.503786+03:00",
"qualified": 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": "м. Львів"
}
}
],
"owner": "broker",
"id": "e17d3f64fe214a6b846c885cdf2aaa9b",
"participationUrl": "http://auction-sandbox.openprocurement.org/auctions/bb1795e42a4243ada1433ddb18b4f06f?key_for_bid=e17d3f64fe214a6b846c885cdf2aaa9b"
}
}
Qualification¶
After the competitive auction two awards are created: * for the first candidate (a participant that has submitted the highest valid bid at the auction) - initially has a pending status and awaits auction protocol to be uploaded by the organizer; * for the second candidate (a participant that has submitted the second highest valid bid at the auction)- initially has a pending.waiting status.
- There are two more scenarios that can happen after the competitive auction:
- If the two highest bidders have invalid bids (lower than auction starting price + minimal step), the awards will not be created at all, and the qualification procedure will automatically receive the unsuccessful status.
- If the second highest bidder has a bid that is less than the starting price + minimal step, two awards are created, with one of them receiving a pending.verification status and undergoing the qualification procedure, and the other (with an invalid bid) automatically becoming unsuccessful.
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/awards HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"status": "pending",
"verificationPeriod": {
"startDate": "2018-07-11T15:06:09.034064+03:00",
"endDate": "2018-07-11T15:10:16.111147+03:00"
},
"signingPeriod": {
"startDate": "2018-07-11T15:06:09.034064+03:00",
"endDate": "2018-07-11T15:26:15.444480+03:00"
},
"suppliers": [
{
"contactPoint": {
"email": "aagt@gmail.com",
"telephone": "+380 (322) 91-69-30",
"name": "Андрій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137226",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Книга»",
"address": {
"postalCode": "79013",
"countryName": "Україна",
"streetAddress": "вул. Островського, 34",
"region": "м. Львів",
"locality": "м. Львів"
}
}
],
"complaintPeriod": {
"startDate": "2018-07-11T15:06:09.034064+03:00"
},
"bid_id": "e17d3f64fe214a6b846c885cdf2aaa9b",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:09.034064+03:00",
"id": "3d052a44e86147129b0b01e3cbec1c14"
},
{
"status": "pending.waiting",
"complaintPeriod": {
"startDate": "2018-07-11T15:06:09.034064+03:00"
},
"suppliers": [
{
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"postalCode": "21100",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
}
}
],
"bid_id": "33e956525782481880696efc0dc83b4a",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:09.034064+03:00",
"id": "f0b67608db9b41f6bef95fc82a62f7c1"
}
]
}
Confirming qualification¶
The organizer must upload and confirm the auction protocol auctionProtocol and add it to the award within 4 business days after the start of the qualification procedure. The candidate still has a possibility to upload the protocol, but it is neither mandatory, nor sufficient to move to the next status. If the auction protocol has not been uploaded before the end of verificationPeriod, the award is automatically transferred to the unsuccessful status.
It is the organizer’s duty to upload and confirm the protocol, as well as to switch the award to active status.
Otherwise, the award will automatically become unsuccessful”
Contract prolongation¶
Organizer can prolong contract signing period by creating a prolongation object:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 172
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"decisionID": "ZM-937-99-92",
"reason": "other",
"documents": [],
"description": "Prolongation description",
"datePublished": "2018-07-11T15:06:02.303212+03:00"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations
X-Content-Type-Options: nosniff
{
"data": {
"status": "draft",
"decisionID": "ZM-937-99-92",
"description": "Prolongation description",
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"reason": "other",
"datePublished": "2018-07-11T15:06:02.303212+03:00",
"id": "22c7acbefec94ec6b8c4b1ad6807a078"
}
}
For the object to be prolonged the next data has to be included:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/22c7acbefec94ec6b8c4b1ad6807a078/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 440
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"title": "ProlongationDocument.doc",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/cd21460130854aebaa3706c137ac1d9b?KeyID=172d32c8&Signature=iBGMtFVPcxjwLQS%2B1XymFi9uNV2G1hWEFRtJ%2BYXylcEIRiYyQ9fy8ZI%2B%2FbX%2F%2FUNHwTbywemLWThl9ijrtjUjCA%3D%3D",
"format": "application/pdf",
"documentType": "prolongationProtocol"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/22c7acbefec94ec6b8c4b1ad6807a078/documents/60bfda57b0844971a14ac7dabd950f4e
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/cd21460130854aebaa3706c137ac1d9b?KeyID=172d32c8&Signature=O%2FzNlUmCYhxxyhquaaU61uu7KTePQJsk93f9n0mu63TPpO4J%2Fc0DPjukind8shAJcOSAf7tTgB8NT1zPbPXyDw%253D%253D",
"title": "ProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.305330+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.305361+03:00",
"id": "60bfda57b0844971a14ac7dabd950f4e"
}
}
Created prolongation has status “draft” by default, so there is a need to active it:
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/22c7acbefec94ec6b8c4b1ad6807a078?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "applied"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "applied",
"decisionID": "ZM-937-99-92",
"description": "Prolongation description",
"datePublished": "2018-07-11T15:06:02.303212+03:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/cd21460130854aebaa3706c137ac1d9b?KeyID=172d32c8&Signature=O%2FzNlUmCYhxxyhquaaU61uu7KTePQJsk93f9n0mu63TPpO4J%2Fc0DPjukind8shAJcOSAf7tTgB8NT1zPbPXyDw%253D%253D",
"title": "ProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.305330+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.305361+03:00",
"id": "60bfda57b0844971a14ac7dabd950f4e"
}
],
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"id": "22c7acbefec94ec6b8c4b1ad6807a078"
}
}
When a contract has been prolongated for first time, a short prolongation period (42 business days) is applied. It’s also possible to apply a long-term (132 business days) prolongation: just create new Prolongation for the already prolongated Contract, and apply it.
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 179
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"decisionID": "ZM-937-99-92-2",
"reason": "other",
"documents": [],
"description": "Long prolongation description",
"datePublished": "2018-07-11T15:06:02.303227+03:00"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations
X-Content-Type-Options: nosniff
{
"data": {
"status": "draft",
"decisionID": "ZM-937-99-92-2",
"description": "Long prolongation description",
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"reason": "other",
"datePublished": "2018-07-11T15:06:02.303227+03:00",
"id": "eb7e1d4d47c041c0882cd91c00952c65"
}
}
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/eb7e1d4d47c041c0882cd91c00952c65/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 436
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"title": "LongProlongationDocument.doc",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f4ad6c106f6c4184bf812be2025e438e?KeyID=172d32c8&Signature=H7WL7UZ1K6NrB9XB4DIHHdHFcwYLL%2F6M8HqBzoZX8jgTJQBx8z6aPv2xyyaCYm%2F3q08eNLwtb44fL65Rm9QmBw%3D%3D",
"format": "application/pdf",
"documentType": "prolongationProtocol"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/eb7e1d4d47c041c0882cd91c00952c65/documents/4e70262362014335b439cd227e5de663
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f4ad6c106f6c4184bf812be2025e438e?KeyID=172d32c8&Signature=g7WWF%2FKSpXzPjRxD2wpet8scNkNCRE%2FNxccqW7Shk4CqmN1i%252Blig00sv80Kuvl0EXTBk3UBjI2umKuFZ8jL7CQ%253D%253D",
"title": "LongProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.675174+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.675194+03:00",
"id": "4e70262362014335b439cd227e5de663"
}
}
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/eb7e1d4d47c041c0882cd91c00952c65?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "applied"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "applied",
"decisionID": "ZM-937-99-92-2",
"description": "Long prolongation description",
"datePublished": "2018-07-11T15:06:02.303227+03:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f4ad6c106f6c4184bf812be2025e438e?KeyID=172d32c8&Signature=g7WWF%2FKSpXzPjRxD2wpet8scNkNCRE%2FNxccqW7Shk4CqmN1i%252Blig00sv80Kuvl0EXTBk3UBjI2umKuFZ8jL7CQ%253D%253D",
"title": "LongProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.675174+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.675194+03:00",
"id": "4e70262362014335b439cd227e5de663"
}
],
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"id": "eb7e1d4d47c041c0882cd91c00952c65"
}
}
Disqualification of a candidate¶
In case of manual disqualification, the organizer has to upload file with cancellation reason:
POST /api/2.5/auctions/d703c42df3b9428c91119666efc96d32/awards/1af9e5d03c144172a542e0a9b736f5ff/documents?acc_token=a2774a39522b480fb72b3b6f8d291c96 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 394
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a792e87740b44405b4ab9341659886af?KeyID=172d32c8&Signature=WJZUGD%2FrehJ%2FHMc2FF88pjA%2FbN%2FQvM8hd5fX%2FKXQr0NAOeD2WItWk2FSokhKqovJmOa954%2BzDTha7h%2Bfpn19BQ%3D%3D",
"title": "Disqualified_reason.pdf",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/d703c42df3b9428c91119666efc96d32/awards/1af9e5d03c144172a542e0a9b736f5ff/documents/aed404c5e956422f90d00d8f255b4198
X-Content-Type-Options: nosniff
{
"data": {
"dateModified": "2018-07-11T15:06:06.085849+03:00",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a792e87740b44405b4ab9341659886af?KeyID=172d32c8&Signature=DXm2Ng5SUJpzDB0RA6H3TScf122R9VY7fRBS4JkzO1FYghCTcKxSngm0YcI%252BVrCyXFTwEKmFHFqSv3wRpn3tCQ%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.085830+03:00",
"title": "Disqualified_reason.pdf",
"id": "aed404c5e956422f90d00d8f255b4198"
}
}
And disqualify candidate:
PATCH /api/2.5/auctions/d703c42df3b9428c91119666efc96d32/awards/1af9e5d03c144172a542e0a9b736f5ff?acc_token=a2774a39522b480fb72b3b6f8d291c96 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 146
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "unsuccessful",
"description": "Candidate didn’t sign the auction protocol in 3 business days",
"title": "Disqualified"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "unsuccessful",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"author": "bid_owner",
"title": "auction_protocol.pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0e9d83c40bda4ee686b1ee770f4ae29d?KeyID=172d32c8&Signature=KF2%2F0siIuSjSWeLo4w1mQYg4aXF9E996sRRLaLZQyMpPSVReZ69CQ%2F1k43228sZWTwytyB3JVPnA%2FlmZvNYGBw%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:05.985154+03:00",
"documentType": "auctionProtocol",
"dateModified": "2018-07-11T15:06:05.985173+03:00",
"id": "d5f65b961f574b25acf9cbfa7a6ccf95"
},
{
"dateModified": "2018-07-11T15:06:06.085849+03:00",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a792e87740b44405b4ab9341659886af?KeyID=172d32c8&Signature=DXm2Ng5SUJpzDB0RA6H3TScf122R9VY7fRBS4JkzO1FYghCTcKxSngm0YcI%252BVrCyXFTwEKmFHFqSv3wRpn3tCQ%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.085830+03:00",
"title": "Disqualified_reason.pdf",
"id": "aed404c5e956422f90d00d8f255b4198"
}
],
"verificationPeriod": {
"startDate": "2018-07-11T15:06:05.868405+03:00",
"endDate": "2018-07-11T15:06:06.195718+03:00"
},
"description": "Candidate didn’t sign the auction protocol in 3 business days",
"title": "Disqualified",
"suppliers": [
{
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"postalCode": "21100",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
}
}
],
"complaintPeriod": {
"startDate": "2018-07-11T15:06:05.564780+03:00",
"endDate": "2018-07-11T15:06:06.195718+03:00"
},
"bid_id": "7decb4064e5846949180ea56c86da1c0",
"value": {
"currency": "UAH",
"amount": 475.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:06.204752+03:00",
"id": "1af9e5d03c144172a542e0a9b736f5ff",
"signingPeriod": {
"startDate": "2018-07-11T15:06:05.868405+03:00",
"endDate": "2018-07-11T15:26:12.281599+03:00"
}
}
}
Within 20 business days since becoming candidate a new candidate must confirm qualification with steps described above (Qualification).
Refusal of waiting by another participant¶
The second candidate (participant that has submitted the second highest valid bid at the auction) can refuse to wait for the disqualification of the first candidate:
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/awards/f0b67608db9b41f6bef95fc82a62f7c1?acc_token=035a14661c204ad9a32c92d733351401 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 33
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "cancelled"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "cancelled",
"complaintPeriod": {
"startDate": "2018-07-11T15:06:09.034064+03:00",
"endDate": "2018-07-11T15:06:09.218067+03:00"
},
"suppliers": [
{
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"postalCode": "21100",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
}
}
],
"bid_id": "33e956525782481880696efc0dc83b4a",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:09.224192+03:00",
"id": "f0b67608db9b41f6bef95fc82a62f7c1"
}
}
Signing contract¶
The candidate has 20 business days after becoming a candidate to conclude a contract with the bank based on the results of electronic auction.
Uploading contract documentation¶
You can upload contract documents. Let’s upload contract document:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 345
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/46cb517bd7684c1a9779bc6c6b61aa3b?KeyID=172d32c8&Signature=obA0anF8xK3cwzh7atz0SLsB9v9i7qTz08XHuJ0oYnsui4uYlKDN3YdI8BCQ5MltDGz4AHsb39J71XMQO09sAQ%3D%3D",
"title": "contract_first_document.doc",
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/documents/ed5631e083de4bb78654b925d57868b5
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/46cb517bd7684c1a9779bc6c6b61aa3b?KeyID=172d32c8&Signature=XvKnw4LjI6hr76DvKNP0ErxWYsLQfH2zRLwnDcs056LoQkSA92m2ch1bsVlfVzGADUyXv4zaoFuwEJMtnVN%252BCQ%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:09.858414+03:00",
"dateModified": "2018-07-11T15:06:09.858435+03:00",
"id": "ed5631e083de4bb78654b925d57868b5"
}
}
201 Created response code and Location header confirm that document has been added.
Let’s see the list of contract documents:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/46cb517bd7684c1a9779bc6c6b61aa3b?KeyID=172d32c8&Signature=XvKnw4LjI6hr76DvKNP0ErxWYsLQfH2zRLwnDcs056LoQkSA92m2ch1bsVlfVzGADUyXv4zaoFuwEJMtnVN%252BCQ%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:09.858414+03:00",
"dateModified": "2018-07-11T15:06:09.858435+03:00",
"id": "ed5631e083de4bb78654b925d57868b5"
}
]
}
We can add another contract document:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 350
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/91892b0c6fed455bb136447fb6f9e03c?KeyID=172d32c8&Signature=oSIvQw4xaTFtxOjnX1C4fWJYZiGQ7INXf9VH1C496FsjWMZAA6UwLGpvhnOX6tW1DQ%2BmoQTpSi5wvI%2FuOGhFDw%3D%3D",
"title": "contract_second_document.doc",
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/documents/bf57bef28c0548d7aac002e48b85d4a1
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/91892b0c6fed455bb136447fb6f9e03c?KeyID=172d32c8&Signature=LNrfV4IvqjUYzlQKQB6degrvA%2FNfGIS%2FgbgbF09lzg26JZ%2FGx8kh7iwpJ7R%2Fxu5YB51EVq%2F5j7GaC2thrQXbDA%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.026475+03:00",
"dateModified": "2018-07-11T15:06:10.026498+03:00",
"id": "bf57bef28c0548d7aac002e48b85d4a1"
}
}
201 Created response code and Location header confirm that the second document has been uploaded.
Let’s see the list of all added contract documents:
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/46cb517bd7684c1a9779bc6c6b61aa3b?KeyID=172d32c8&Signature=XvKnw4LjI6hr76DvKNP0ErxWYsLQfH2zRLwnDcs056LoQkSA92m2ch1bsVlfVzGADUyXv4zaoFuwEJMtnVN%252BCQ%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:09.858414+03:00",
"dateModified": "2018-07-11T15:06:09.858435+03:00",
"id": "ed5631e083de4bb78654b925d57868b5"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/91892b0c6fed455bb136447fb6f9e03c?KeyID=172d32c8&Signature=LNrfV4IvqjUYzlQKQB6degrvA%2FNfGIS%2FgbgbF09lzg26JZ%2FGx8kh7iwpJ7R%2Fxu5YB51EVq%2F5j7GaC2thrQXbDA%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.026475+03:00",
"dateModified": "2018-07-11T15:06:10.026498+03:00",
"id": "bf57bef28c0548d7aac002e48b85d4a1"
}
]
}
Contract prolongation¶
Organizer can prolongate contract signing period by creating prolongation
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 172
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"decisionID": "ZM-937-99-92",
"reason": "other",
"documents": [],
"description": "Prolongation description",
"datePublished": "2018-07-11T15:06:02.303212+03:00"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations
X-Content-Type-Options: nosniff
{
"data": {
"status": "draft",
"decisionID": "ZM-937-99-92",
"description": "Prolongation description",
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"reason": "other",
"datePublished": "2018-07-11T15:06:02.303212+03:00",
"id": "22c7acbefec94ec6b8c4b1ad6807a078"
}
}
Prolongation must have documents attached to be prepared for activation
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/22c7acbefec94ec6b8c4b1ad6807a078/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 440
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"title": "ProlongationDocument.doc",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/cd21460130854aebaa3706c137ac1d9b?KeyID=172d32c8&Signature=iBGMtFVPcxjwLQS%2B1XymFi9uNV2G1hWEFRtJ%2BYXylcEIRiYyQ9fy8ZI%2B%2FbX%2F%2FUNHwTbywemLWThl9ijrtjUjCA%3D%3D",
"format": "application/pdf",
"documentType": "prolongationProtocol"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/22c7acbefec94ec6b8c4b1ad6807a078/documents/60bfda57b0844971a14ac7dabd950f4e
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/cd21460130854aebaa3706c137ac1d9b?KeyID=172d32c8&Signature=O%2FzNlUmCYhxxyhquaaU61uu7KTePQJsk93f9n0mu63TPpO4J%2Fc0DPjukind8shAJcOSAf7tTgB8NT1zPbPXyDw%253D%253D",
"title": "ProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.305330+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.305361+03:00",
"id": "60bfda57b0844971a14ac7dabd950f4e"
}
}
Created prolongation has status “draft” by default, so there is a need to set status to “applied” to make it active.
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/22c7acbefec94ec6b8c4b1ad6807a078?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "applied"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "applied",
"decisionID": "ZM-937-99-92",
"description": "Prolongation description",
"datePublished": "2018-07-11T15:06:02.303212+03:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/cd21460130854aebaa3706c137ac1d9b?KeyID=172d32c8&Signature=O%2FzNlUmCYhxxyhquaaU61uu7KTePQJsk93f9n0mu63TPpO4J%2Fc0DPjukind8shAJcOSAf7tTgB8NT1zPbPXyDw%253D%253D",
"title": "ProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.305330+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.305361+03:00",
"id": "60bfda57b0844971a14ac7dabd950f4e"
}
],
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"id": "22c7acbefec94ec6b8c4b1ad6807a078"
}
}
When a contract has been prolongated for first time, a short prolongation period applies. It is equal to 42 working days. It’s also possible to apply long-term (132 days) prolongation: just create new Prolongation for the already prolongated Contract, and apply it.
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 179
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"decisionID": "ZM-937-99-92-2",
"reason": "other",
"documents": [],
"description": "Long prolongation description",
"datePublished": "2018-07-11T15:06:02.303227+03:00"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations
X-Content-Type-Options: nosniff
{
"data": {
"status": "draft",
"decisionID": "ZM-937-99-92-2",
"description": "Long prolongation description",
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"reason": "other",
"datePublished": "2018-07-11T15:06:02.303227+03:00",
"id": "eb7e1d4d47c041c0882cd91c00952c65"
}
}
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/eb7e1d4d47c041c0882cd91c00952c65/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 436
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"title": "LongProlongationDocument.doc",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f4ad6c106f6c4184bf812be2025e438e?KeyID=172d32c8&Signature=H7WL7UZ1K6NrB9XB4DIHHdHFcwYLL%2F6M8HqBzoZX8jgTJQBx8z6aPv2xyyaCYm%2F3q08eNLwtb44fL65Rm9QmBw%3D%3D",
"format": "application/pdf",
"documentType": "prolongationProtocol"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/eb7e1d4d47c041c0882cd91c00952c65/documents/4e70262362014335b439cd227e5de663
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f4ad6c106f6c4184bf812be2025e438e?KeyID=172d32c8&Signature=g7WWF%2FKSpXzPjRxD2wpet8scNkNCRE%2FNxccqW7Shk4CqmN1i%252Blig00sv80Kuvl0EXTBk3UBjI2umKuFZ8jL7CQ%253D%253D",
"title": "LongProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.675174+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.675194+03:00",
"id": "4e70262362014335b439cd227e5de663"
}
}
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec/prolongations/eb7e1d4d47c041c0882cd91c00952c65?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "applied"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "applied",
"decisionID": "ZM-937-99-92-2",
"description": "Long prolongation description",
"datePublished": "2018-07-11T15:06:02.303227+03:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f4ad6c106f6c4184bf812be2025e438e?KeyID=172d32c8&Signature=g7WWF%2FKSpXzPjRxD2wpet8scNkNCRE%2FNxccqW7Shk4CqmN1i%252Blig00sv80Kuvl0EXTBk3UBjI2umKuFZ8jL7CQ%253D%253D",
"title": "LongProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.675174+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.675194+03:00",
"id": "4e70262362014335b439cd227e5de663"
}
],
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"id": "eb7e1d4d47c041c0882cd91c00952c65"
}
}
Contract registration¶
There is a possibility to set custom contract signature date. If the date is not set it will be generated on contract registration. You can register contract:
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/contracts/538cb657fbe54c93973e858feffa3dec?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 80
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "active",
"dateSigned": "2018-07-11T15:06:10.900112+03:00"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active",
"prolongations": [
{
"status": "applied",
"decisionID": "ZM-937-99-92",
"description": "Prolongation description",
"datePublished": "2018-07-11T15:06:02.303212+03:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/cd21460130854aebaa3706c137ac1d9b?KeyID=172d32c8&Signature=O%2FzNlUmCYhxxyhquaaU61uu7KTePQJsk93f9n0mu63TPpO4J%2Fc0DPjukind8shAJcOSAf7tTgB8NT1zPbPXyDw%253D%253D",
"title": "ProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.305330+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.305361+03:00",
"id": "60bfda57b0844971a14ac7dabd950f4e"
}
],
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"id": "22c7acbefec94ec6b8c4b1ad6807a078"
},
{
"status": "applied",
"decisionID": "ZM-937-99-92-2",
"description": "Long prolongation description",
"datePublished": "2018-07-11T15:06:02.303227+03:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"description": "content_with_prolongation_data",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f4ad6c106f6c4184bf812be2025e438e?KeyID=172d32c8&Signature=g7WWF%2FKSpXzPjRxD2wpet8scNkNCRE%2FNxccqW7Shk4CqmN1i%252Blig00sv80Kuvl0EXTBk3UBjI2umKuFZ8jL7CQ%253D%253D",
"title": "LongProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.675174+03:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-07-11T15:06:10.675194+03:00",
"id": "4e70262362014335b439cd227e5de663"
}
],
"dateCreated": "2018-07-11T15:06:01.969656+03:00",
"id": "eb7e1d4d47c041c0882cd91c00952c65"
}
],
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/46cb517bd7684c1a9779bc6c6b61aa3b?KeyID=172d32c8&Signature=XvKnw4LjI6hr76DvKNP0ErxWYsLQfH2zRLwnDcs056LoQkSA92m2ch1bsVlfVzGADUyXv4zaoFuwEJMtnVN%252BCQ%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:09.858414+03:00",
"dateModified": "2018-07-11T15:06:09.858435+03:00",
"id": "ed5631e083de4bb78654b925d57868b5"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/91892b0c6fed455bb136447fb6f9e03c?KeyID=172d32c8&Signature=LNrfV4IvqjUYzlQKQB6degrvA%2FNfGIS%2FgbgbF09lzg26JZ%2FGx8kh7iwpJ7R%2Fxu5YB51EVq%2F5j7GaC2thrQXbDA%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:10.026475+03:00",
"dateModified": "2018-07-11T15:06:10.026498+03:00",
"id": "bf57bef28c0548d7aac002e48b85d4a1"
}
],
"signingPeriod": {
"startDate": "2018-07-11T15:06:09.034064+03:00",
"endDate": "2018-07-11T17:18:16.277790+03:00"
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "314f1cb8d47a46009b5c9537e8974be6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"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": "2018-07-11T15:06:02.303178+03:00",
"endDate": "2019-07-11T15:06:02.303178+03:00"
},
"dateSigned": "2018-07-11T15:06:10.900112+03:00",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:10.997720+03:00",
"awardID": "3d052a44e86147129b0b01e3cbec1c14",
"id": "538cb657fbe54c93973e858feffa3dec",
"contractID": "UA-EA-2018-07-11-000002-1"
}
}
Cancelling auction¶
Organizer can cancel auction anytime (except when auction has terminal status e.g. unsuccesfull, canceled, complete).
The following steps should be applied:
- Prepare cancellation request.
- Fill it with the protocol describing the cancellation reasons.
- Cancel the auction with the reasons prepared.
Only the request that has been activated (3rd step above) has power to cancel auction. I.e. you have to not only prepare cancellation request but to activate it as well.
See Cancellation data structure for details.
Preparing the cancellation request¶
You should pass reason, status defaults to pending. id is autogenerated and passed in the Location header of response.
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/cancellations?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 43
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"reason": "cancellation reason"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/cancellations/8d13337163de4a51b8caad7efab95a9c
X-Content-Type-Options: nosniff
{
"data": {
"date": "2018-07-11T15:06:11.226624+03:00",
"status": "pending",
"reason": "cancellation reason",
"cancellationOf": "tender",
"id": "8d13337163de4a51b8caad7efab95a9c"
}
}
Filling cancellation with protocol and supplementary documentation¶
Upload the file contents:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/cancellations/8d13337163de4a51b8caad7efab95a9c/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 331
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/118a47764259485dbae4a2f0dfdcf557?KeyID=172d32c8&Signature=%2Fj1rim2kHN5gKzTvpi5jE%2BfTFPpjHI4knANQ8y1FOR1saL8y71%2FjwULEOsHC1bqG7ncpba3CXB0zOFte7BN0BQ%3D%3D",
"title": "Notice.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/cancellations/8d13337163de4a51b8caad7efab95a9c/documents/dd88f21f3fe049d1a769423cecefb3d2
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/118a47764259485dbae4a2f0dfdcf557?KeyID=172d32c8&Signature=ph2AmQzrfCHKMX0naRz1v0Vyxvy4rYfslqOzoXaVXs7mr9v1%2FubZMtr0ev5BR6IFOr5TZju1tE1HMiqMGcfLBw%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:11.358918+03:00",
"dateModified": "2018-07-11T15:06:11.358938+03:00",
"id": "dd88f21f3fe049d1a769423cecefb3d2"
}
}
Change the document description and other properties:
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/cancellations/8d13337163de4a51b8caad7efab95a9c/documents/dd88f21f3fe049d1a769423cecefb3d2?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 48
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"description": "Changed description"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/118a47764259485dbae4a2f0dfdcf557?KeyID=172d32c8&Signature=ph2AmQzrfCHKMX0naRz1v0Vyxvy4rYfslqOzoXaVXs7mr9v1%2FubZMtr0ev5BR6IFOr5TZju1tE1HMiqMGcfLBw%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:11.358918+03:00",
"dateModified": "2018-07-11T15:06:11.358938+03:00",
"id": "dd88f21f3fe049d1a769423cecefb3d2"
}
}
Upload new version of the document:
PUT /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/cancellations/8d13337163de4a51b8caad7efab95a9c/documents/dd88f21f3fe049d1a769423cecefb3d2?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 329
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a07fc742725b4d368494f4e2acd5c446?KeyID=172d32c8&Signature=tZ1R7cquRGVWzK8FixEZdZ882pPynH5tcuPMNBOCfHcwnXY8WcsxnQiwIdH%2BassrCOekTqalUVZXHEPeiY46CQ%3D%3D",
"title": "Notice-2.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a07fc742725b4d368494f4e2acd5c446?KeyID=172d32c8&Signature=w2R5JkOzRaWcwNBhCcnzZyBWCq23J09QvRckHrhhbtYNKhjVXgIHnfc%252BTPeo0fROyF2XEYxEgLk5SpdUWRKTBA%253D%253D",
"title": "Notice-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:11.358918+03:00",
"dateModified": "2018-07-11T15:06:11.640471+03:00",
"id": "dd88f21f3fe049d1a769423cecefb3d2"
}
}
Activating the request and cancelling auction¶
PATCH /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/cancellations/8d13337163de4a51b8caad7efab95a9c?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "active"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/118a47764259485dbae4a2f0dfdcf557?KeyID=172d32c8&Signature=ph2AmQzrfCHKMX0naRz1v0Vyxvy4rYfslqOzoXaVXs7mr9v1%2FubZMtr0ev5BR6IFOr5TZju1tE1HMiqMGcfLBw%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:11.358918+03:00",
"dateModified": "2018-07-11T15:06:11.358938+03:00",
"id": "dd88f21f3fe049d1a769423cecefb3d2"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a07fc742725b4d368494f4e2acd5c446?KeyID=172d32c8&Signature=w2R5JkOzRaWcwNBhCcnzZyBWCq23J09QvRckHrhhbtYNKhjVXgIHnfc%252BTPeo0fROyF2XEYxEgLk5SpdUWRKTBA%253D%253D",
"title": "Notice-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:11.358918+03:00",
"dateModified": "2018-07-11T15:06:11.640471+03:00",
"id": "dd88f21f3fe049d1a769423cecefb3d2"
}
],
"reason": "cancellation reason",
"date": "2018-07-11T15:06:11.804922+03:00",
"cancellationOf": "tender",
"id": "8d13337163de4a51b8caad7efab95a9c"
}
}
Fin. Tutorial¶
Tutorial for the dgfFinancialAssets procedure.
Creating auction¶
Let’s create auction with the minimal data set (only required properties):
POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2091
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2018-07-25"
},
"tenderAttempts": 1,
"procurementMethodType": "DGFFinancialAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"submissionMethodDetails": "test submissionMethodDetails",
"dgfDecisionDate": "2016-11-17",
"dgfID": "219560",
"dgfDecisionID": "219560",
"procurementMethodDetails": "quick, accelerator=1440",
"items": [
{
"classification": {
"scheme": "CAV",
"id": "06000000-2",
"description": "Земельні ділянки"
},
"quantity": 5,
"description": "Земля для військовослужбовців",
"unit": {
"code": "44617100-9",
"name": "item"
},
"address": {
"countryName": "Україна",
"postalCode": "79000",
"region": "м. Київ",
"streetAddress": "вул. Банкова 1",
"locality": "м. Київ"
}
}
],
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ"
}
}
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "676389c2fd3d4fdb8ac067141b935f20",
"token": "db0b1dca507d466cb1b74576d5e23c52"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:06.538858+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-24T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "1bd0478dee5b4b0581e2d1bf7f47fa51",
"eligibilityCriteria_ru": "Участником электронного аукциона, предметом продажи на которых являются права требования по кредитным договорам и договорам обеспечения, не может быть пользователь, являющийся заёмщиком (должником относительно банка) и\\или поручителем (имущественным поручителем) по таким кредитным договорам и/или договорам обеспечения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.539174+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:06.539196+03:00",
"id": "556fede524934437bb9007bb38802230"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "The user, who is the borrower (the debtor of the bank) and/or guarantor (property guarantor) for loan agreements and/or collateral agreements, cannot be the bidder of the electronic auction, where the items for sale are the claim rights on such loan agreements and collateral agreements.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:06.541629+03:00",
"status": "active.tendering",
"eligibilityCriteria": "Учасником електронного аукціону, предметом продажу на яких є права вимоги за кредитними договорами та договорами забезпечення, не може бути користувач, який є позичальником (боржником відносно банку) та/або поручителем (майновим поручителем) за такими кредитними договорами та/або договорами забезпечення.",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:06.538858+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-07-25T00:00:00+03:00"
},
"procurementMethodType": "DGFFinancialAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:06.538858+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "edca5775bbe6417b8afd6b794a9ff190",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
Success! Now we can see that new object has been 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 auction: its internal id (that matches the Location segment), its official auctionID and dateModified datestamp stating the moment in time when auction has been last modified. Pay attention to the procurementMethodType. Note that auction is created with active.tendering status.
Let’s access the URL of the created object (the Location header of the response):
GET /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:06.538858+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-24T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "1bd0478dee5b4b0581e2d1bf7f47fa51",
"eligibilityCriteria_ru": "Участником электронного аукциона, предметом продажи на которых являются права требования по кредитным договорам и договорам обеспечения, не может быть пользователь, являющийся заёмщиком (должником относительно банка) и\\или поручителем (имущественным поручителем) по таким кредитным договорам и/или договорам обеспечения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.539174+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:06.539196+03:00",
"id": "556fede524934437bb9007bb38802230"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "The user, who is the borrower (the debtor of the bank) and/or guarantor (property guarantor) for loan agreements and/or collateral agreements, cannot be the bidder of the electronic auction, where the items for sale are the claim rights on such loan agreements and collateral agreements.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:06.541629+03:00",
"status": "active.tendering",
"eligibilityCriteria": "Учасником електронного аукціону, предметом продажу на яких є права вимоги за кредитними договорами та договорами забезпечення, не може бути користувач, який є позичальником (боржником відносно банку) та/або поручителем (майновим поручителем) за такими кредитними договорами та/або договорами забезпечення.",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:06.538858+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-07-25T00:00:00+03:00"
},
"procurementMethodType": "DGFFinancialAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:06.538858+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "edca5775bbe6417b8afd6b794a9ff190",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
We can see the same response we got after creating auction.
Let’s see what listing of auctions reveals us:
GET /api/2.5/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/auctions?offset=",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions?offset=",
"offset": ""
},
"data": []
}
We do see the auction’s internal id (that can be used to construct full URL by prepending https://api-sandbox.ea.openprocurement.org/api/0/auctions/) and its dateModified datestamp.
Uploading documentation¶
Organizer can upload PDF files into the created auction. Uploading should follow the Documents Uploading rules.
POST /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents?acc_token=db0b1dca507d466cb1b74576d5e23c52 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 412
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"title": "Notice.pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1ac184ba38634610bcb878b445308360?KeyID=172d32c8&Signature=6HYDkcJljNBrdRxhZwgKmJyVXEbnBS6g7VEqkjTea8fwekXxvNwHPkLR1cc2tJusq%2FK1tew5D9bx6xRZ9CXFDA%3D%3D",
"format": "application/pdf",
"documentType": "technicalSpecifications"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents/943764a2ec944dea859f242236e32975
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1ac184ba38634610bcb878b445308360?KeyID=172d32c8&Signature=2Y%2FPNHdAQL0vHdV0Z%252BTfDTJiA8OMu8ER04jVygL4RdYIFbhgiHdKpKPT%2F7RkAJltTu8XQjZtfJOY2X0D5fZEAQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.609510+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:06.609531+03:00",
"id": "943764a2ec944dea859f242236e32975"
}
}
201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:
GET /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents/943764a2ec944dea859f242236e32975 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1ac184ba38634610bcb878b445308360?KeyID=172d32c8&Signature=2Y%2FPNHdAQL0vHdV0Z%252BTfDTJiA8OMu8ER04jVygL4RdYIFbhgiHdKpKPT%2F7RkAJltTu8XQjZtfJOY2X0D5fZEAQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.609510+03:00",
"previousVersions": [],
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:06.609531+03:00",
"id": "943764a2ec944dea859f242236e32975"
}
}
The single array element describes the uploaded document. We can upload more documents:
POST /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents?acc_token=db0b1dca507d466cb1b74576d5e23c52 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 334
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f2b13729f22c4cd9b2280cdcd5f3191f?KeyID=172d32c8&Signature=tNL3CB9ViSy8vTUxS7d79FZkPjRrpBYeYgb6Rrq5%2Fq4O1L2HBNFdz96J5Ibyi4108raVfhnLSraE4Dnrf5j7BA%3D%3D",
"title": "AwardCriteria.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents/6d5fced0129d424294cbd1e43f503120
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f2b13729f22c4cd9b2280cdcd5f3191f?KeyID=172d32c8&Signature=8OyAfdntjoU%252BLXpBecddhIHcqQtLw3wU9BERrJhUef5uwjNYmUa5gFzQAUYntmcaeHdEXb2LzcBNrI5KhMP%252BAA%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.664005+03:00",
"dateModified": "2018-07-11T15:06:06.664026+03:00",
"id": "6d5fced0129d424294cbd1e43f503120"
}
}
And again we can confirm that there are two documents uploaded.
GET /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.539174+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:06.539196+03:00",
"id": "556fede524934437bb9007bb38802230"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1ac184ba38634610bcb878b445308360?KeyID=172d32c8&Signature=2Y%2FPNHdAQL0vHdV0Z%252BTfDTJiA8OMu8ER04jVygL4RdYIFbhgiHdKpKPT%2F7RkAJltTu8XQjZtfJOY2X0D5fZEAQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.609510+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:06.609531+03:00",
"id": "943764a2ec944dea859f242236e32975"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f2b13729f22c4cd9b2280cdcd5f3191f?KeyID=172d32c8&Signature=8OyAfdntjoU%252BLXpBecddhIHcqQtLw3wU9BERrJhUef5uwjNYmUa5gFzQAUYntmcaeHdEXb2LzcBNrI5KhMP%252BAA%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.664005+03:00",
"dateModified": "2018-07-11T15:06:06.664026+03:00",
"id": "6d5fced0129d424294cbd1e43f503120"
}
]
}
In case we made an error, we can reupload the document over the older version:
PUT /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents/6d5fced0129d424294cbd1e43f503120?acc_token=db0b1dca507d466cb1b74576d5e23c52 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 340
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/99bc7df92cae458bb04ecad685229969?KeyID=172d32c8&Signature=dhhoE%2BvO%2FjEWopydn97f2T4RWqExHa1hz29WQWKsooWjHR%2BdQ7SK4gYKOo0cd1ihSMgmJDBC3d1bR17l6IefDQ%3D%3D",
"title": "AwardCriteria-2.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/99bc7df92cae458bb04ecad685229969?KeyID=172d32c8&Signature=pjM1Q5R59JDAuSlrirE%2FHkIkAQP84sjdKsM1Cy1HHfNdFNVI0G29wgNvyYpyhtZfJMvNMUOurSaJoaA20ip%2FBQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.664005+03:00",
"dateModified": "2018-07-11T15:06:06.721944+03:00",
"id": "6d5fced0129d424294cbd1e43f503120"
}
}
And we can see that it is overriding the original version:
GET /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.539174+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:06.539196+03:00",
"id": "556fede524934437bb9007bb38802230"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1ac184ba38634610bcb878b445308360?KeyID=172d32c8&Signature=2Y%2FPNHdAQL0vHdV0Z%252BTfDTJiA8OMu8ER04jVygL4RdYIFbhgiHdKpKPT%2F7RkAJltTu8XQjZtfJOY2X0D5fZEAQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.609510+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:06.609531+03:00",
"id": "943764a2ec944dea859f242236e32975"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/99bc7df92cae458bb04ecad685229969?KeyID=172d32c8&Signature=pjM1Q5R59JDAuSlrirE%2FHkIkAQP84sjdKsM1Cy1HHfNdFNVI0G29wgNvyYpyhtZfJMvNMUOurSaJoaA20ip%2FBQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.664005+03:00",
"dateModified": "2018-07-11T15:06:06.721944+03:00",
"id": "6d5fced0129d424294cbd1e43f503120"
}
]
}
Uploading illustration¶
Organizer can upload illustration files into the created auction. Uploading should follow the Documents Uploading rules.
In order to specify illustration display order, index
field can be used (for details see Document). Since this illustration should be displayed first, it has "index": 1
.
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 432
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"title": "first_illustration.jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=44NDlwGUSjchl%2F1E9rd8cJIkXYeL%2FbHuVYTGAW8qTMiKBcATXGrfJC3TFdBElOlF%2FLmzbRZmQOGj3UmUjE7dBg%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/dbe0ca0c582b422d84c59a2aa93eb948
X-Content-Type-Options: nosniff
{
"data": {
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=UPMVnKZTzNNA9AxDywJSZbpPjStBGoee80QWYvawEzzQnVYTxYuijJO8UMScqwMcbt5qrdjYn5jyfUyhvZzkDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.828825+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.828844+03:00",
"id": "dbe0ca0c582b422d84c59a2aa93eb948"
}
}
We can check whether illustration is uploaded.
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1a8b26fa32cb42f3a69ba72c28d5db51?KeyID=172d32c8&Signature=y9meT2iCjfA5YdUhT1lSEZ1%252BIFYd6mMcv5sauCMDJCQAoifkdIUo4zgmMqZ%2FzGbJJlixeUdA5n5%252BFhLTkfDOCQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.765929+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=UPMVnKZTzNNA9AxDywJSZbpPjStBGoee80QWYvawEzzQnVYTxYuijJO8UMScqwMcbt5qrdjYn5jyfUyhvZzkDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.828825+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.828844+03:00",
"id": "dbe0ca0c582b422d84c59a2aa93eb948"
}
]
}
Organizer can upload second illustration. This illustration should be displayed second, so it has "index": 2
.
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 428
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"title": "second_illustration.jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/240fe6c71e5a4291a3c9e39fbfeb460e?KeyID=172d32c8&Signature=aiaYSVot6s3YWRq8zdCetQDBq2FwrP1LstPmGw6EcG5s4bTvKFYjg0EnTewJ7KV14YbTt8DHzOhiPpb0hJirAA%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/402f115c7eb445c3a42eb624d2b45e17
X-Content-Type-Options: nosniff
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/240fe6c71e5a4291a3c9e39fbfeb460e?KeyID=172d32c8&Signature=k8V7cIG6xo5fopPWo%252B%2Fl3mxaliitImmqxRxKPbsJATjwe8Fde63J7%252BzgghykfYCTn9QwuMx1aVg1G6iNu7PNDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.897398+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.897419+03:00",
"id": "402f115c7eb445c3a42eb624d2b45e17"
}
}
Add third illustration:
POST /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents?acc_token=0052e89467e54a799389e87c87910599 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 442
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"title": "third_illustration.jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/e401fae3f2004d11ac67e9b444eb6d09?KeyID=172d32c8&Signature=Mxs%2F2%2B03GvbmBy%2FZePxtBa8qVpaWmWJ1t%2FyuYSRbQTb%2Fm2Pw%2BvhOGL3n%2B2jOpvRdAroJNQHk5OFyYBI3q%2FMvAw%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents/feae4575ced24c718bae0f05d904c810
X-Content-Type-Options: nosniff
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/e401fae3f2004d11ac67e9b444eb6d09?KeyID=172d32c8&Signature=h7%2FVgGCvrQZMhz5xn6tYcxZ809Rxn25ohwJIoTihWblO8DCl2FHeJwFkHE3ZGUZeHBWCQ8ANi5eQEUiyd78qAg%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.952905+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.952925+03:00",
"id": "feae4575ced24c718bae0f05d904c810"
}
}
Note that index of the third illustration is the same as for the second illustration: "index": 2
. In such cases firstly will be displayed illustration that was uploaded earlier.
We can check that there are three uploaded illustrations.
GET /api/2.5/auctions/bb1795e42a4243ada1433ddb18b4f06f/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.421619+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:07.421641+03:00",
"id": "779f993a42c54eadadff72d66788fb23"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a1cca399506447ed928a0d54f2f7be6c?KeyID=172d32c8&Signature=mKn74kqdS1gCIQ9BYDZNP8bHiXS%252BBKgRnCOaCo4ZsT7riQl2NEPUoJfa6wN%2Fwo2VccvpcIdRhvRrQL8NFtBsCg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.649805+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-07-11T15:06:07.649826+03:00",
"id": "bb517ba5ca544fd7b21eaf894a63afd7"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/1a8b26fa32cb42f3a69ba72c28d5db51?KeyID=172d32c8&Signature=y9meT2iCjfA5YdUhT1lSEZ1%252BIFYd6mMcv5sauCMDJCQAoifkdIUo4zgmMqZ%2FzGbJJlixeUdA5n5%252BFhLTkfDOCQ%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.703749+03:00",
"dateModified": "2018-07-11T15:06:07.765929+03:00",
"id": "cf91c283f3b04cb5a76d9368d69c161f"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da7171338cfd40daaf0a363d1da7be8c?KeyID=172d32c8&Signature=UPMVnKZTzNNA9AxDywJSZbpPjStBGoee80QWYvawEzzQnVYTxYuijJO8UMScqwMcbt5qrdjYn5jyfUyhvZzkDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.828825+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.828844+03:00",
"id": "dbe0ca0c582b422d84c59a2aa93eb948"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/240fe6c71e5a4291a3c9e39fbfeb460e?KeyID=172d32c8&Signature=k8V7cIG6xo5fopPWo%252B%2Fl3mxaliitImmqxRxKPbsJATjwe8Fde63J7%252BzgghykfYCTn9QwuMx1aVg1G6iNu7PNDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.897398+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.897419+03:00",
"id": "402f115c7eb445c3a42eb624d2b45e17"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/e401fae3f2004d11ac67e9b444eb6d09?KeyID=172d32c8&Signature=h7%2FVgGCvrQZMhz5xn6tYcxZ809Rxn25ohwJIoTihWblO8DCl2FHeJwFkHE3ZGUZeHBWCQ8ANi5eQEUiyd78qAg%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:07.952905+03:00",
"documentType": "illustration",
"dateModified": "2018-07-11T15:06:07.952925+03:00",
"id": "feae4575ced24c718bae0f05d904c810"
}
]
}
Adding virtual data room¶
Organizer can add URL for virtual data room:
POST /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents?acc_token=db0b1dca507d466cb1b74576d5e23c52 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 127
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://virtial-data-room.com/id_of_room",
"title": "VDR for auction lot",
"documentType": "virtualDataRoom"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/documents/b128b0fce67a4338b3879ae6278c9d06
X-Content-Type-Options: nosniff
{
"data": {
"title": "VDR for auction lot",
"url": "http://virtial-data-room.com/id_of_room",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.780364+03:00",
"documentType": "virtualDataRoom",
"dateModified": "2018-07-11T15:06:06.780384+03:00",
"id": "b128b0fce67a4338b3879ae6278c9d06"
}
}
Registering bid¶
Bidder can register a bid in draft status. Bidder must specify UA-FIN
value for the additionalIdentifiers parameter.
POST /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1004
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"qualified": true,
"tenderers": [
{
"additionalIdentifiers": [
{
"scheme": "UA-FIN",
"id": "А01 457213"
}
],
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ"
}
}
],
"value": {
"currency": "UAH",
"amount": 469,
"valueAddedTaxIncluded": true
},
"eligible": true
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids/2f94ff64e9854aeb8083c26bf5a85ab0
X-Content-Type-Options: nosniff
{
"access": {
"token": "de594836f1544ab69b444235f3f05693"
},
"data": {
"status": "active",
"eligible": true,
"value": {
"currency": "UAH",
"amount": 469.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:06.831455+03:00",
"qualified": true,
"tenderers": [
{
"additionalIdentifiers": [
{
"scheme": "UA-FIN",
"id": "А01 457213"
}
],
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
],
"owner": "broker",
"id": "2f94ff64e9854aeb8083c26bf5a85ab0"
}
}
And activate a bid:
PATCH /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids/2f94ff64e9854aeb8083c26bf5a85ab0?acc_token=de594836f1544ab69b444235f3f05693 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "active"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
null
And upload license (with documentType: financialLicense
):
POST /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids/2f94ff64e9854aeb8083c26bf5a85ab0/documents?acc_token=de594836f1544ab69b444235f3f05693 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 379
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/69a1f0170b6d46008059817aa7972bca?KeyID=172d32c8&Signature=61mkM%2Bdv2upZuuuZHz7UjAjoZZmsZTKLmik0PQ56C50uqsaTSp7afctEv%2FsbUCboQ%2B9T6R%2B1S6IYzYY7oQCsBQ%3D%3D",
"title": "FinancialLicense.pdf",
"format": "application/pdf",
"hash": "md5:00000000000000000000000000000000",
"documentType": "financialLicense"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids/2f94ff64e9854aeb8083c26bf5a85ab0/documents/fd33a0a111634641bb733b0467fd4337
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids/2f94ff64e9854aeb8083c26bf5a85ab0/documents/fd33a0a111634641bb733b0467fd4337?download=69a1f0170b6d46008059817aa7972bca",
"title": "FinancialLicense.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.919296+03:00",
"documentType": "financialLicense",
"dateModified": "2018-07-11T15:06:06.919314+03:00",
"id": "fd33a0a111634641bb733b0467fd4337"
}
}
It is possible to check the uploaded documents:
GET /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids/2f94ff64e9854aeb8083c26bf5a85ab0/documents?acc_token=de594836f1544ab69b444235f3f05693 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids/2f94ff64e9854aeb8083c26bf5a85ab0/documents/fd33a0a111634641bb733b0467fd4337?download=69a1f0170b6d46008059817aa7972bca",
"title": "FinancialLicense.pdf",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:06.919296+03:00",
"documentType": "financialLicense",
"dateModified": "2018-07-11T15:06:06.919314+03:00",
"id": "fd33a0a111634641bb733b0467fd4337"
}
]
}
For the best effect (biggest economy) auction should have multiple bidders registered:
POST /api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1004
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"qualified": true,
"tenderers": [
{
"additionalIdentifiers": [
{
"scheme": "UA-FIN",
"id": "А01 457213"
}
],
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ"
}
}
],
"value": {
"currency": "UAH",
"amount": 479,
"valueAddedTaxIncluded": true
},
"eligible": true
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/1bd0478dee5b4b0581e2d1bf7f47fa51/bids/d9bb731980a14b76872e07b506803203
X-Content-Type-Options: nosniff
{
"access": {
"token": "b657058be68c4b73871152fef26a96ed"
},
"data": {
"status": "active",
"eligible": true,
"value": {
"currency": "UAH",
"amount": 479.0,
"valueAddedTaxIncluded": true
},
"date": "2018-07-11T15:06:07.011228+03:00",
"qualified": true,
"tenderers": [
{
"additionalIdentifiers": [
{
"scheme": "UA-FIN",
"id": "А01 457213"
}
],
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
],
"owner": "broker",
"id": "d9bb731980a14b76872e07b506803203"
}
}
2 Phase Commit¶
Creating auction with 2 Phase Commit¶
Let’s create auction in draft status:
POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2106
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "draft",
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2018-07-25"
},
"tenderAttempts": 1,
"procurementMethodType": "DGFOtherAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"submissionMethodDetails": "test submissionMethodDetails",
"dgfDecisionDate": "2016-11-17",
"dgfID": "219560",
"dgfDecisionID": "219560",
"procurementMethodDetails": "quick, accelerator=1440",
"items": [
{
"classification": {
"scheme": "CAV",
"id": "06000000-2",
"description": "Земельні ділянки"
},
"quantity": 5,
"description": "Земля для військовослужбовців",
"unit": {
"code": "44617100-9",
"name": "item"
},
"address": {
"countryName": "Україна",
"postalCode": "79000",
"region": "м. Київ",
"streetAddress": "вул. Банкова 1",
"locality": "м. Київ"
}
}
],
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ"
}
}
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/0bdbbd8123854d20a2546494635ac16e
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "38a1fca1ffd34b99af75b6cc984a16a1",
"token": "080510b507e64c099c9d8674c2686941"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:04.272464+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "0bdbbd8123854d20a2546494635ac16e",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:04.272937+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:04.272970+03:00",
"id": "d36b463c1b4c44f58d8269e1978fdeb3"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"dateModified": "2018-07-11T15:06:04.276341+03:00",
"status": "draft",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:04.272464+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"procurementMethodDetails": "quick, accelerator=1440",
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:04.272464+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e1c679a7305f4472bb93dc175ea66a27",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
And now let’s switch to active.tendering status:
PATCH /api/2.5/auctions/0bdbbd8123854d20a2546494635ac16e?acc_token=080510b507e64c099c9d8674c2686941 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 40
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "active.tendering"
}
}
200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:04.272464+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-24T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "0bdbbd8123854d20a2546494635ac16e",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:04.272937+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:04.272970+03:00",
"id": "d36b463c1b4c44f58d8269e1978fdeb3"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:04.318402+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:04.272464+03:00",
"endDate": "2018-07-24T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-07-25T00:00:00+03:00"
},
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:04.318402+03:00",
"submissionMethodDetails": "test submissionMethodDetails",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e1c679a7305f4472bb93dc175ea66a27",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
}
}
}
Acceleration mode for sandbox¶
If you want to experiment with auctions, you can use acceleration mode and start your auction name with “TESTING”.
Acceleration mode was developed to enable dgfOtherAssets procedure testing in the sandbox and to reduce time frames of this procedure.
- To enable acceleration mode you will need to:
- add additional parameter mode with a value
test
; - set
quick, accelerator=1440
as text value for procurementMethodDetails. This parameter will accelerate auction periods. The number 1440 shows that restrictions and time frames will be reduced in 1440 times. - set
quick
as a value for submissionMethodDetails. This parameter works only withmode = "test"
and will speed up auction start date.
- add additional parameter mode with a value
This mode will work only in the sandbox.
POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2096
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2018-07-11T15:11:02.303178"
},
"tenderAttempts": 1,
"procurementMethodType": "DGFOtherAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"countryName": "Україна",
"postalCode": "01220",
"region": "м. Київ",
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ"
}
},
"submissionMethodDetails": "quick",
"dgfDecisionDate": "2016-11-17",
"mode": "test",
"dgfDecisionID": "219560",
"procurementMethodDetails": "quick, accelerator=1440",
"items": [
{
"classification": {
"scheme": "CAV",
"id": "06000000-2",
"description": "Земельні ділянки"
},
"quantity": 5,
"description": "Земля для військовослужбовців",
"unit": {
"code": "44617100-9",
"name": "item"
},
"address": {
"countryName": "Україна",
"postalCode": "79000",
"region": "м. Київ",
"streetAddress": "вул. Банкова 1",
"locality": "м. Київ"
}
}
],
"dgfID": "219560"
}
}
201 Created
Content-Type: application/json
Location: http://api-sandbox.ea.openprocurement.org/api/2.5/auctions/797cf4dd34e04e929cdb889049f2b693
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "b95ce8b0eafb47c988cd6fce5cdc8588",
"token": "923d6d6f771649ad9fd7609138778833"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-07-11-000002",
"enquiryPeriod": {
"startDate": "2018-07-11T15:06:04.630759+03:00",
"endDate": "2018-07-11T15:10:14.343245+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-07-11T15:10:14.343245+03:00",
"procuringEntity": {
"contactPoint": {
"name": "Державне управління справами",
"telephone": "0440000000"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"name": "Державне управління справами",
"address": {
"postalCode": "01220",
"countryName": "Україна",
"streetAddress": "вул. Банкова, 11, корпус 1",
"region": "м. Київ",
"locality": "м. Київ"
}
},
"dgfDecisionID": "219560",
"owner": "broker",
"title_en": "[TESTING] ",
"id": "797cf4dd34e04e929cdb889049f2b693",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-07-11T15:06:04.631073+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-07-11T15:06:04.631095+03:00",
"id": "8ca456ee511141158b3634d1f5447912"
}
],
"title": "[ТЕСТУВАННЯ] футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-07-11T15:06:04.633363+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2018-07-11T15:06:04.630759+03:00",
"endDate": "2018-07-11T15:10:14.343245+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-07-11T15:10:14.343245+03:00"
},
"procurementMethodType": "DGFOtherAssets",
"dgfID": "219560",
"date": "2018-07-11T15:06:04.630759+03:00",
"submissionMethodDetails": "quick",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "74fd2ae528af418fa56629aea6d8a908",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.0,
"valueAddedTaxIncluded": true
},
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"mode": "test",
"title_ru": "[ТЕСТИРОВАНИЕ] ",
"awardCriteria": "highestCost"
}
}
Synchronization¶
- During normal auction synchronization via
/auctions
test auctions are not visible. - To get test auctions synchronize via
/auctions?mode=test
. - If you synchronize via
/auctions?mode=all
, then you will get all auctions. - Auction mode can be set only on auction creation, it can not be set later.