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¶
Business logic¶
Project status¶
The project has pre alpha 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 highly unstable, and while API endpoints are expected to remain relatively stable the data exchange formats are expected to be changed a lot. The changes in the API are communicated via Open Procurement API maillist.
Data Standard¶
Data standard is modelled along the Open Contracting Standard with extensions in areas that were not covered by it.
Auction¶
Schema¶
title: | string, multilingual, read-only Auction number in the Deposit Guarantee Fund. |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
description: | string, multilingual Detailed auction description. |
||||||||||||||||||
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 Identification number of the auction (also referred to as lot) in the XLS of Deposit Guarantee Fund. |
||||||||||||||||||
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 The number which represents what time (from 1 up to 8) tender is taking place. |
||||||||||||||||||
value: | Value, required Total available auction budget. Bids lower than OpenContracting Description: The total estimated value of the procurement. |
||||||||||||||||||
guarantee: |
Bid guarantee |
||||||||||||||||||
items: | list of Item objects, required 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: | list of Feature objects Features of auction. |
||||||||||||||||||
documents: | List of Document objects OpenContracting Description: All documents and attachments related to the auction. |
||||||||||||||||||
questions: | List of Question objects Questions to |
||||||||||||||||||
complaints: | List of Complaint objects Complaints to auction conditions and their resolutions. |
||||||||||||||||||
bids: | List 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 The minimal step of auction. Validation rules:
|
||||||||||||||||||
awards: | List of Award objects All qualifications (disqualifications and awards). |
||||||||||||||||||
contracts: | List of Contract objects |
||||||||||||||||||
enquiryPeriod: |
Period when questions are allowed. OpenContracting Description: The period during which enquiries may be made and will be answered. |
||||||||||||||||||
tenderPeriod: |
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 A web address where auction is accessible for view. |
||||||||||||||||||
awardPeriod: | Period, read-only Awarding process period. OpenContracting Description: The date or period on which an award is anticipated to be made. |
||||||||||||||||||
status: | string
Auction status. |
||||||||||||||||||
eligibilityCriteria: | |||||||||||||||||||
string, read-only Required for dgfFinancialAssets procedure. This field is multilingual:
|
cancellations: | List 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: | List of Revision objects, auto-generated Historical changes to Auction object properties. |
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. Auction subject / asset description. |
||||||
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. |
||||||
additionalClassifications: | |||||||
List of Classification objects OpenContracting Description: An array of additional classifications for the item. See the itemClassificationScheme codelist for common options to use in OCDS. This may also be used to present codes from an internal classification scheme. It is required to have at least one item with ДКПП as scheme. |
|||||||
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 the item is located. |
||||||
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 |
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. |
---|
Complaint¶
Schema¶
id: | UID, auto-generated |
---|---|
author: | Organization, required Organization filing a complaint (contactPoint - person, identification - organization that person represents). |
title: | string, required Title of the complaint. |
description: | Description of the issue. |
date: | string, Date, auto-generated Date of posting. |
dateSubmitted: | string, Date, auto-generated Date when claim was submitted. |
dateAnswered: | string, Date, auto-generated Date when Organizer answered the claim. |
dateEscalated: | string, Date, auto-generated Date of claim to complaint escalation. |
dateDecision: | string, Date, auto-generated Date of complaint decision. |
dateCanceled: | string, Date, auto-generated Date of cancelling. |
status: | string Possible values are:
|
type: | string Possible values of type are:
|
resolution: | string Organizer’s resolution. |
resolutionType: | string Possible values of resolution type are:
|
satisfied: | bool Claim is satisfied? |
decision: | string Reviewer’s decision. |
cancellationReason: | |
string Cancellation reason. |
|
documents: | List of Document objects |
auctionerAction: | |
---|---|
string Participants’s action. |
|
auctionerActionDate: | |
string, Date, auto-generated Date of participant’s action. |
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. |
date: | string, Date The date when the contract was changed or activated. |
documents: | List of Document objects OpenContracting Description: All documents and attachments related to the contract, including any notices. |
Period¶
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.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0 Authorization: Basic YnJva2VyOg== Content-Length: 411 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/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=SHqMiMFWk9tJjdnSPWDaPDMS%2FLgowfUzWcVsbcUNMThaDG3Sbp0ryXMT1xSWxibqg11lm6FVEjW6Y%2BiGukaXBw%3D%3D", "format": "application/pdf", "documentType": "technicalSpecifications" } } 201 Created Content-Type: application/json; charset=UTF-8 Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/5c778078638b475b94f511fa79dd63ef { "data": { "hash": "md5:00000000000000000000000000000000", "description": "document description", "format": "application/pdf", "url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D", "title": "Notice.pdf", "documentOf": "tender", "datePublished": "2017-06-09T15:09:00.919847+03:00", "documentType": "technicalSpecifications", "dateModified": "2017-06-09T15:09:00.919868+03:00", "id": "5c778078638b475b94f511fa79dd63ef" } }
Upload document without registration¶
Add document in API:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0 Authorization: Basic YnJva2VyOg== Content-Length: 411 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/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=SHqMiMFWk9tJjdnSPWDaPDMS%2FLgowfUzWcVsbcUNMThaDG3Sbp0ryXMT1xSWxibqg11lm6FVEjW6Y%2BiGukaXBw%3D%3D", "format": "application/pdf", "documentType": "technicalSpecifications" } } 201 Created Content-Type: application/json; charset=UTF-8 Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/5c778078638b475b94f511fa79dd63ef { "data": { "hash": "md5:00000000000000000000000000000000", "description": "document description", "format": "application/pdf", "url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D", "title": "Notice.pdf", "documentOf": "tender", "datePublished": "2017-06-09T15:09:00.919847+03:00", "documentType": "technicalSpecifications", "dateModified": "2017-06-09T15:09:00.919868+03:00", "id": "5c778078638b475b94f511fa79dd63ef" } }
Award Workflow¶
For a more detailed information see Award
Legend¶
Blue nodes represent statuses for the 2nd award ONLY
* no protocol
** protocol required
*** payment approved by the organizer
**** no payment approval
***** contract activation = false by the end of “signingPeriod”
Roles¶
Chronograph: | solid |
---|---|
Organizer: | dashed |
Participant: | dotted |
Procedure Description¶
- The award with the highest qualifying bid initially receives a “pending.verification” status. The procedure enters the “verificationPeriod” stage, which lasts 0-4 days. Unless the protocol is uploaded and confirmed by the organizer in 4 days, the award receives an “unsuccessful” status. Otherwise, the organizer manually switches the award status to “pending.payment”.
- It is then when the qualification procedure enters the “paymentPeriod” stage, which lasts up to 20 days from the beginning of the highest bidder qualification process. When the organizer confirms that the payment has been received, the award enters the “active” status, while the procedure moves to the status “signingPeriod”. This period is the same in length as the “paymentPeriod” - a maximum of 20 days from the start of qualification. If the organizer does not confirm payment by the end of the “paymentPeriod”, the award automatically becomes “unsuccessful”. The same is true for the signingPeriod - 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 award will become “unsuccessful” and the qualification of the second highest qualifying bidder will begin given that he/she has not disqualified himself/herself by this time.
- The second highest qualifying bidder, immediately after the auction ending receives the “pending.waiting” status, in which by default he/she agrees 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 he/she can make is to manually cancel the award decision - withdraw his security deposit and lose the chance to become a winner of the auction. If he/she does that and the first highest qualifying bidder becomes “unsuccessful” at any point in the awarding process, the procedure receives the “unsuccessful” status. Provided that first award gets disqualified while the second has not disqualified himself/herself, the second award automatically changes its status from “pending.waiting” to “pending.verification”, after which he/she undergoes the same qualification procedure as outlined above for the first award.
Notes¶
For the bidder to be qualified and not invalidated, his/her 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 until the moment, when the contract has been uploaded and activated in the system.
The second highest qualifying bidder can disqualify himself/herself at any point in time BEFORE the start of his/her 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. The second highest valid bidder chose to withdraw his security deposit and not to wait for the highest valid bidder to be disqualified. |
pending.verification: | |
Awaiting protocol upload and confirmation by the liquidator. The highest valid bidder is able to submit the protocol as well, although it is not sufficient to move to the next status. | |
pending.payment: | |
Awaiting payment. Organizer can change the status to active by confirming the payment has been received. | |
active: | Awaiting for the contract to be signed (uploaded and activated in the system by the organizer). After the end of the “signingPeriod”, the status becomes terminal. |
unsuccessful: | Terminal status. The auction was unsuccessful. Can be switched to either automatically, from any of the previous statuses or by the organizer. |
Tutorial¶
Exploring basic rules¶
Let’s try exploring the /auctions endpoint:
GET /api/2.3/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"next_page": {
"path": "/api/2.3/auctions?offset=",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions?offset=",
"offset": ""
},
"data": []
}
Just invoking it reveals empty set.
Now let’s attempt creating some auction:
POST /api/2.3/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; charset=UTF-8
{
"status": "error",
"errors": [
{
"description": "Content-Type header should be one of ['application/json']",
"location": "header",
"name": "Content-Type"
}
]
}
Error states that the only accepted Content-Type is application/json.
Let’s satisfy the Content-type requirement:
POST /api/2.3/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; charset=UTF-8
{
"status": "error",
"errors": [
{
"description": "No JSON object could be decoded",
"location": "body",
"name": "data"
}
]
}
Error states that no data has been found in JSON body.
Creating auction¶
Let’s create auction with the minimal data set (only required properties):
POST /api/2.3/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2028
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2017-06-23"
},
"tenderAttempts": 1,
"procurementMethodType": "dgfOtherAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0
{
"access": {
"token": "0be9719321be4aa699f77ec6cff48e1a"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"enquiryPeriod": {
"startDate": "2017-06-09T15:09:00.525532+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-22T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "92b74c258aa344d2810c14e9946728d0",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:09:00.528896+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2017-06-09T15:09:00.525532+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2017-06-23T00:00:00+03:00"
},
"procurementMethodType": "dgfOtherAssets",
"dgfID": "219560",
"date": "2017-06-09T15:09:00.525532+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "c3eb84d5904b4cf48a3451a12309e6b6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/auctions/92b74c258aa344d2810c14e9946728d0 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"enquiryPeriod": {
"startDate": "2017-06-09T15:09:00.525532+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-22T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "92b74c258aa344d2810c14e9946728d0",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:09:00.528896+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2017-06-09T15:09:00.525532+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2017-06-23T00:00:00+03:00"
},
"procurementMethodType": "dgfOtherAssets",
"dgfID": "219560",
"date": "2017-06-09T15:09:00.525532+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "c3eb84d5904b4cf48a3451a12309e6b6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"next_page": {
"path": "/api/2.3/auctions?offset=2017-06-09T15%3A09%3A00.528896%2B03%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions?offset=2017-06-09T15%3A09%3A00.528896%2B03%3A00",
"offset": "2017-06-09T15:09:00.528896+03:00"
},
"data": [
{
"id": "92b74c258aa344d2810c14e9946728d0",
"dateModified": "2017-06-09T15:09:00.528896+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.3/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2057
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2017-06-23"
},
"tenderAttempts": 1,
"procurementMethodType": "dgfOtherAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"dgfDecisionDate": "2016-11-17",
"dgfID": "219560",
"title_ru": "футляры к государственным наградам",
"dgfDecisionID": "219560",
"procurementMethodDetails": "quick, accelerator=1440",
"items": [
{
"classification": {
"scheme": "CAV",
"id": "06000000-2",
"description": "Земельні ділянки"
},
"description": "Земля для військовослужбовців",
"id": "490139e8c3594a009e24672d286f489b",
"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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/a0bf8dfcae2544928325457040a5333c
{
"access": {
"token": "a117393d6d0b459eb5d4858348db5b7a"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000002",
"enquiryPeriod": {
"startDate": "2017-06-09T15:09:00.688950+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-22T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"title_en": "Cases with state awards",
"id": "a0bf8dfcae2544928325457040a5333c",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.689365+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.689400+03:00",
"id": "d1c76a5cae2242e3938e3325a5229370"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:09:00.693220+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2017-06-09T15:09:00.688950+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2017-06-23T00:00:00+03:00"
},
"procurementMethodType": "dgfOtherAssets",
"dgfID": "219560",
"date": "2017-06-09T15:09:00.688950+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"unit": {
"code": "44617100-9",
"name": "item"
},
"description": "Земля для військовослужбовців",
"id": "490139e8c3594a009e24672d286f489b",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"next_page": {
"path": "/api/2.3/auctions?offset=2017-06-09T15%3A09%3A00.528896%2B03%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions?offset=2017-06-09T15%3A09%3A00.528896%2B03%3A00",
"offset": "2017-06-09T15:09:00.528896+03:00"
},
"data": [
{
"id": "92b74c258aa344d2810c14e9946728d0",
"dateModified": "2017-06-09T15:09:00.528896+03:00"
}
]
}
And indeed we have 2 auctions now.
Modifying auction¶
Let’s update auction by supplementing it with all other essential properties:
PATCH /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"tenderPeriod": {
"endDate": "2017-06-24T15:09:10.802325+03:00"
}
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"enquiryPeriod": {
"startDate": "2017-06-09T15:09:00.525532+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-22T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "92b74c258aa344d2810c14e9946728d0",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:09:00.528896+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2017-06-09T15:09:00.525532+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2017-06-23T00:00:00+03:00"
},
"procurementMethodType": "dgfOtherAssets",
"dgfID": "219560",
"date": "2017-06-09T15:09:00.525532+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "c3eb84d5904b4cf48a3451a12309e6b6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/auctions?opt_pretty=1 HTTP/1.0
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"next_page": {
"path": "/api/2.3/auctions?offset=2017-06-09T15%3A09%3A00.736072%2B03%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions?offset=2017-06-09T15%3A09%3A00.736072%2B03%3A00",
"offset": "2017-06-09T15:09:00.736072+03:00"
},
"data": [
{
"id": "92b74c258aa344d2810c14e9946728d0",
"dateModified": "2017-06-09T15:09:00.528896+03:00"
},
{
"id": "a0bf8dfcae2544928325457040a5333c",
"dateModified": "2017-06-09T15:09:00.693220+03:00"
},
{
"id": "e82e8a08240c46b3b2f6c8bce0809e0c",
"dateModified": "2017-06-09T15:09:00.736072+03:00"
}
]
}
Uploading documentation¶
Organizer can upload PDF files into the created auction. Uploading should follow the Documents Uploading rules.
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 411
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/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=SHqMiMFWk9tJjdnSPWDaPDMS%2FLgowfUzWcVsbcUNMThaDG3Sbp0ryXMT1xSWxibqg11lm6FVEjW6Y%2BiGukaXBw%3D%3D",
"format": "application/pdf",
"documentType": "technicalSpecifications"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/5c778078638b475b94f511fa79dd63ef
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
}
}
201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/5c778078638b475b94f511fa79dd63ef HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"previousVersions": [],
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
}
}
The single array element describes the uploaded document. We can upload more documents:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a 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/63b138c8bcb94e1b944faa492832cec7?KeyID=dd67d497&Signature=0QsleYmcjmjV4j%2Brtq4A0%2BkFegUbLOn38Jt0%2BPQgMjb3ysv3u787iDcTjntfFwnAY0Ws0zE5ElpGaRQtxZDYDg%3D%3D",
"title": "AwardCriteria.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/fade6817e87a452cbb6694eee57eb84c
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/63b138c8bcb94e1b944faa492832cec7?KeyID=dd67d497&Signature=Owc4QNAnm%252Bdq%252Bs0QdL1xeZfE6zV0BBCGGQ7Ak9YndQQ6Vs7gqsBU0GzaerhFWlO9K%2FPUTS6VaafS7v9dcmI2CQ%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:00.968908+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
}
}
And again we can confirm that there are two documents uploaded.
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/63b138c8bcb94e1b944faa492832cec7?KeyID=dd67d497&Signature=Owc4QNAnm%252Bdq%252Bs0QdL1xeZfE6zV0BBCGGQ7Ak9YndQQ6Vs7gqsBU0GzaerhFWlO9K%2FPUTS6VaafS7v9dcmI2CQ%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:00.968908+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
}
]
}
In case we made an error, we can reupload the document over the older version:
PUT /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/fade6817e87a452cbb6694eee57eb84c?acc_token=0be9719321be4aa699f77ec6cff48e1a 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/d96dfd46bf63487d83c2ca7337da068d?KeyID=dd67d497&Signature=nB8ixGyIVRxt35yxcLOTTxOfhowLSAkwJQdvSGlGy1cZCHAIepvOtrWZeEYhQfETI%2Fgw3mTq8xp%2BTh1bVBCSCQ%3D%3D",
"title": "AwardCriteria-2.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d96dfd46bf63487d83c2ca7337da068d?KeyID=dd67d497&Signature=cYNza9MM%2FjD97HV2HrrEoj2XI1NI3SiPqTIrie9EaHgjb2Aqod0fWcxHX4HjxsECUHL4Bc25TCPy4tRx7BtlDw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:01.021906+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
}
}
And we can see that it is overriding the original version:
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d96dfd46bf63487d83c2ca7337da068d?KeyID=dd67d497&Signature=cYNza9MM%2FjD97HV2HrrEoj2XI1NI3SiPqTIrie9EaHgjb2Aqod0fWcxHX4HjxsECUHL4Bc25TCPy4tRx7BtlDw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:01.021906+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
}
]
}
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.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 428
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/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=XKoh8WxRq%2BYra32Qoek0Oj1aoqnL0bkS5g7aWIn56eo0t4OSCmLu13nKEuoXPMIZg7gOxO2lERCjZuoZRethDg%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/ed2c1de60d614f27baec5f0fc6902179
{
"data": {
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=kvVYBa6I42jH7bWhD6fhR3bLky93icp7EoBIm9rdXMroQsQVD4RwsPoytzvR5%252BWORLnc568X4alFuYZkPUezBg%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.076450+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.076471+03:00",
"id": "ed2c1de60d614f27baec5f0fc6902179"
}
}
We can check whether illustration is uploaded.
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d96dfd46bf63487d83c2ca7337da068d?KeyID=dd67d497&Signature=cYNza9MM%2FjD97HV2HrrEoj2XI1NI3SiPqTIrie9EaHgjb2Aqod0fWcxHX4HjxsECUHL4Bc25TCPy4tRx7BtlDw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:01.021906+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=kvVYBa6I42jH7bWhD6fhR3bLky93icp7EoBIm9rdXMroQsQVD4RwsPoytzvR5%252BWORLnc568X4alFuYZkPUezBg%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.076450+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.076471+03:00",
"id": "ed2c1de60d614f27baec5f0fc6902179"
}
]
}
Organizer can upload second illustration. This illustration should be displayed second, so it has "index": 2
.
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 438
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/f8992c78a98f41eb9cf2821cd093628d?KeyID=dd67d497&Signature=%2FHGhtJDIcFJN3Ri%2FQG3vUucS%2Bt6oQL%2B9tvnI1rxKqStucTLbMMps9uiRW2i22%2FvrHlYLSFPu7q0jg119BCCFDg%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/713bdadb020c451ea3fa09fdf97c1db2
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f8992c78a98f41eb9cf2821cd093628d?KeyID=dd67d497&Signature=j3hydElv3bW%2FYe6%2FPNDu%2F4zhLmSEJkF%252BO6HrGJJG37WfmEDmZUp2YGQ2BhOWeNzZi2TtRNqx5yyzcs6iNYHLDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.132210+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.132232+03:00",
"id": "713bdadb020c451ea3fa09fdf97c1db2"
}
}
Add third illustration:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a 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": "Third illustration description",
"title": "third_illustration.jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/35e69bb2b91b4823927172e091256ae3?KeyID=dd67d497&Signature=rDRLDctebnHbWrg88A%2FgFU14IXUJavjd64WbfFNrfPQfBPya88NXMh5ROlzOYyL3sPfbpglnBdyeV7G7hmr9Cg%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/511fcd289c4343b690be27ad4d0a29c8
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/35e69bb2b91b4823927172e091256ae3?KeyID=dd67d497&Signature=5qAShEjK%252BkcI3W8WO%252BXdMF96UP5JXYAKsdYdfa8xt9aXKcwmik6tsVqc1zizcAZCgEla9Iu7yYqCBJ7Xp4ZqCw%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.179319+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.179340+03:00",
"id": "511fcd289c4343b690be27ad4d0a29c8"
}
}
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.3/auctions/92b74c258aa344d2810c14e9946728d0/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d96dfd46bf63487d83c2ca7337da068d?KeyID=dd67d497&Signature=cYNza9MM%2FjD97HV2HrrEoj2XI1NI3SiPqTIrie9EaHgjb2Aqod0fWcxHX4HjxsECUHL4Bc25TCPy4tRx7BtlDw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:01.021906+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=kvVYBa6I42jH7bWhD6fhR3bLky93icp7EoBIm9rdXMroQsQVD4RwsPoytzvR5%252BWORLnc568X4alFuYZkPUezBg%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.076450+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.076471+03:00",
"id": "ed2c1de60d614f27baec5f0fc6902179"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f8992c78a98f41eb9cf2821cd093628d?KeyID=dd67d497&Signature=j3hydElv3bW%2FYe6%2FPNDu%2F4zhLmSEJkF%252BO6HrGJJG37WfmEDmZUp2YGQ2BhOWeNzZi2TtRNqx5yyzcs6iNYHLDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.132210+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.132232+03:00",
"id": "713bdadb020c451ea3fa09fdf97c1db2"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/35e69bb2b91b4823927172e091256ae3?KeyID=dd67d497&Signature=5qAShEjK%252BkcI3W8WO%252BXdMF96UP5JXYAKsdYdfa8xt9aXKcwmik6tsVqc1zizcAZCgEla9Iu7yYqCBJ7Xp4ZqCw%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.179319+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.179340+03:00",
"id": "511fcd289c4343b690be27ad4d0a29c8"
}
]
}
Enquiries¶
When auction is in active.tendering status, interested parties can ask questions:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/questions/7412b5bf75524fa4b5006d3d235da8a5
{
"data": {
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"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": "м. Вінниця"
}
},
"date": "2017-06-09T15:09:01.316174+03:00",
"id": "7412b5bf75524fa4b5006d3d235da8a5",
"questionOf": "tender"
}
}
Organizer can answer them:
PATCH /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/questions/7412b5bf75524fa4b5006d3d235da8a5?acc_token=0be9719321be4aa699f77ec6cff48e1a 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; charset=UTF-8
{
"data": {
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2017-06-09T15:09:01.316174+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "7412b5bf75524fa4b5006d3d235da8a5",
"questionOf": "tender"
}
}
And one can retrieve the question list:
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2017-06-09T15:09:01.316174+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "7412b5bf75524fa4b5006d3d235da8a5",
"questionOf": "tender"
}
]
}
Or an individual answer:
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/questions/7412b5bf75524fa4b5006d3d235da8a5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2017-06-09T15:09:01.316174+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "7412b5bf75524fa4b5006d3d235da8a5",
"questionOf": "tender"
}
}
Registering bid¶
Bidder can register a bid in draft status:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5
{
"access": {
"token": "c609f78f8ef7418b9f5bc756268f1b51"
},
"data": {
"status": "draft",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:01.488461+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": "d6474539c73d40dcb714cef7ee5946a5"
}
}
And activate a bid:
PATCH /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5?acc_token=c609f78f8ef7418b9f5bc756268f1b51 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; charset=UTF-8
{
"data": {
"status": "active",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:01.488461+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": "d6474539c73d40dcb714cef7ee5946a5"
}
}
And upload proposal document:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5/documents?acc_token=c609f78f8ef7418b9f5bc756268f1b51 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 333
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/2609fcf791124e95bb4e8e9626f4dfd0?KeyID=dd67d497&Signature=Jl3O4TOhw3Qb%2B6EzPyPW%2F3xoG6Yv1OgPspEtFyoVfHQmFGRv6QxHgSRgrUfCOg16J%2FMu0Ruqmi2NuUfV7TmLDw%3D%3D",
"title": "Proposal.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5/documents/e37ebc50acd54eb7879ac342659750dd
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5/documents/e37ebc50acd54eb7879ac342659750dd?download=2609fcf791124e95bb4e8e9626f4dfd0",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.618265+03:00",
"dateModified": "2017-06-09T15:09:01.618285+03:00",
"id": "e37ebc50acd54eb7879ac342659750dd"
}
}
It is possible to check the uploaded documents:
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5/documents?acc_token=c609f78f8ef7418b9f5bc756268f1b51 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5/documents/e37ebc50acd54eb7879ac342659750dd?download=2609fcf791124e95bb4e8e9626f4dfd0",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.618265+03:00",
"dateModified": "2017-06-09T15:09:01.618285+03:00",
"id": "e37ebc50acd54eb7879ac342659750dd"
}
]
}
For the best effect (biggest economy) auction should have multiple bidders registered:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/e5b9db9881b64ed8a4dabfc9e56dbc28
{
"access": {
"token": "3173462756e946a5b5bd52a6f8341f59"
},
"data": {
"status": "active",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:01.709447+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": "e5b9db9881b64ed8a4dabfc9e56dbc28"
}
}
Auction¶
After auction is scheduled anybody can visit it to watch. The auction can be reached at Auction.auctionUrl:
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"auctionUrl": "http://auction-sandbox.openprocurement.org/auctions/92b74c258aa344d2810c14e9946728d0",
"enquiryPeriod": {
"startDate": "2017-06-02T15:08:53.806597+03:00",
"endDate": "2017-06-09T15:08:53.806597+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-09T15:52:53.806597+03:00",
"awardCriteria": "highestCost",
"questions": [
{
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2017-06-09T15:09:01.316174+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "7412b5bf75524fa4b5006d3d235da8a5",
"questionOf": "tender"
}
],
"dgfDecisionID": "219560",
"owner": "broker",
"id": "92b74c258aa344d2810c14e9946728d0",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/63b138c8bcb94e1b944faa492832cec7?KeyID=dd67d497&Signature=Owc4QNAnm%252Bdq%252Bs0QdL1xeZfE6zV0BBCGGQ7Ak9YndQQ6Vs7gqsBU0GzaerhFWlO9K%2FPUTS6VaafS7v9dcmI2CQ%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:00.968908+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d96dfd46bf63487d83c2ca7337da068d?KeyID=dd67d497&Signature=cYNza9MM%2FjD97HV2HrrEoj2XI1NI3SiPqTIrie9EaHgjb2Aqod0fWcxHX4HjxsECUHL4Bc25TCPy4tRx7BtlDw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:01.021906+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=kvVYBa6I42jH7bWhD6fhR3bLky93icp7EoBIm9rdXMroQsQVD4RwsPoytzvR5%252BWORLnc568X4alFuYZkPUezBg%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.076450+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.076471+03:00",
"id": "ed2c1de60d614f27baec5f0fc6902179"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f8992c78a98f41eb9cf2821cd093628d?KeyID=dd67d497&Signature=j3hydElv3bW%2FYe6%2FPNDu%2F4zhLmSEJkF%252BO6HrGJJG37WfmEDmZUp2YGQ2BhOWeNzZi2TtRNqx5yyzcs6iNYHLDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.132210+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.132232+03:00",
"id": "713bdadb020c451ea3fa09fdf97c1db2"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/35e69bb2b91b4823927172e091256ae3?KeyID=dd67d497&Signature=5qAShEjK%252BkcI3W8WO%252BXdMF96UP5JXYAKsdYdfa8xt9aXKcwmik6tsVqc1zizcAZCgEla9Iu7yYqCBJ7Xp4ZqCw%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.179319+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.179340+03:00",
"id": "511fcd289c4343b690be27ad4d0a29c8"
},
{
"title": "Familiarization with bank asset",
"format": "offline/on-site-examination",
"accessDetails": "Familiar with asset: days, time, address",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.244112+03:00",
"documentType": "x_dgfAssetFamiliarization",
"dateModified": "2017-06-09T15:09:01.244159+03:00",
"id": "44e216cf74f342e393dda60d1cbbe792"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:09:01.916396+03:00",
"status": "active.auction",
"tenderPeriod": {
"startDate": "2017-06-02T15:08:53.806597+03:00",
"endDate": "2017-06-09T15:08:53.806597+03:00"
},
"auctionPeriod": {
"startDate": "2017-06-09T15:08:53.806597+03:00",
"shouldStartAfter": "2017-06-10T00:00:00+03:00"
},
"procurementMethodType": "dgfOtherAssets",
"dgfID": "219560",
"date": "2017-06-09T15:09:00.525532+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "c3eb84d5904b4cf48a3451a12309e6b6",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5?acc_token=c609f78f8ef7418b9f5bc756268f1b51 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "active",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/d6474539c73d40dcb714cef7ee5946a5/documents/e37ebc50acd54eb7879ac342659750dd?download=2609fcf791124e95bb4e8e9626f4dfd0",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.618265+03:00",
"dateModified": "2017-06-09T15:09:01.618285+03:00",
"id": "e37ebc50acd54eb7879ac342659750dd"
}
],
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:01.488461+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": "d6474539c73d40dcb714cef7ee5946a5",
"participationUrl": "http://auction-sandbox.openprocurement.org/auctions/92b74c258aa344d2810c14e9946728d0?key_for_bid=d6474539c73d40dcb714cef7ee5946a5"
}
}
See the Bid.participationUrl in the response. Similar, but different, URL can be retrieved for other participants:
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/bids/e5b9db9881b64ed8a4dabfc9e56dbc28?acc_token=3173462756e946a5b5bd52a6f8341f59 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "active",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:01.709447+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": "e5b9db9881b64ed8a4dabfc9e56dbc28",
"participationUrl": "http://auction-sandbox.openprocurement.org/auctions/92b74c258aa344d2810c14e9946728d0?key_for_bid=e5b9db9881b64ed8a4dabfc9e56dbc28"
}
}
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.verification 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).
- 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.3/auctions/92b74c258aa344d2810c14e9946728d0/awards HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"status": "pending.verification",
"paymentPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:29:08.448245+03:00"
},
"verificationPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:13:09.114912+03:00"
},
"signingPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:29:08.448245+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": "2017-06-09T15:09:02.157968+03:00"
},
"bid_id": "e5b9db9881b64ed8a4dabfc9e56dbc28",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:02.157968+03:00",
"id": "24e69a35e2294e8c840a9cafe9ba366f"
},
{
"status": "pending.waiting",
"complaintPeriod": {
"startDate": "2017-06-09T15:09:02.157968+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": "d6474539c73d40dcb714cef7ee5946a5",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:02.157968+03:00",
"id": "c34a09483fdd4ddba5c934493450f303"
}
]
}
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.
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/awards/24e69a35e2294e8c840a9cafe9ba366f/documents?acc_token=3173462756e946a5b5bd52a6f8341f59 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 381
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0025fb58a2124b8cac24fb2f54e7ffef?KeyID=dd67d497&Signature=PwWcxKSNYXnZNN%2BQXNyF3%2BNkuKl6WVOozM7TGGLa9o3mdWrJKB%2FLDugFCmfgSfEAo4CcLi6wldvdntiTlSNlBA%3D%3D",
"title": "SignedAuctionProtocol.pdf",
"format": "application/pdf",
"hash": "md5:00000000000000000000000000000000",
"documentType": "auctionProtocol"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/awards/24e69a35e2294e8c840a9cafe9ba366f/documents/ab8039798220483ab57576359308f952
{
"data": {
"dateModified": "2017-06-09T15:09:02.455960+03:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0025fb58a2124b8cac24fb2f54e7ffef?KeyID=dd67d497&Signature=5FxI3DbZnKwLO8MgmmeqqHj2pZQpSjuAOXg%252BSx34tzHJGoMlzEOLz1zCYJ94UWpWn6lbWz7xfW%2F7TsmQwyMsBQ%253D%253D",
"author": "bid_owner",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:02.455938+03:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "ab8039798220483ab57576359308f952"
}
}
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/awards/24e69a35e2294e8c840a9cafe9ba366f/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 377
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/966d7b55b54943b6ad48ba8886ae5d51?KeyID=dd67d497&Signature=M0gvEcteEEZDE47g4Qb1L0sLdFMn2swH0pUOGhjQ2RNtTgB8YBFcucEsekz9W9LNL4iToh6%2Bom9Ni8IcLzJcAg%3D%3D",
"title": "SignedAuctionProtocol.pdf",
"format": "application/pdf",
"hash": "md5:00000000000000000000000000000000",
"documentType": "auctionProtocol"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/awards/24e69a35e2294e8c840a9cafe9ba366f/documents/1a9ac66fd1734c1bbf66c98bd9a4ba03
{
"data": {
"dateModified": "2017-06-09T15:09:02.550251+03:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/966d7b55b54943b6ad48ba8886ae5d51?KeyID=dd67d497&Signature=Sv5R7AFR1FXjBJ1ezPsEwUaaLAQYgWXOxXAZtZF0RS9HHZFk9D3uJ5LQp%2F1mIao8G4ei%2FJ20iVoGTN8gN24EDQ%253D%253D",
"author": "auction_owner",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:02.550231+03:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "1a9ac66fd1734c1bbf66c98bd9a4ba03"
}
}
It is the organizer’s duty to upload and confirm the protocol, although the award will not switch the status to “pending.payment” automatically.
PATCH /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/awards/24e69a35e2294e8c840a9cafe9ba366f?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 39
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "pending.payment"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "pending.payment",
"paymentPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:29:08.448245+03:00"
},
"documents": [
{
"dateModified": "2017-06-09T15:09:02.455960+03:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0025fb58a2124b8cac24fb2f54e7ffef?KeyID=dd67d497&Signature=5FxI3DbZnKwLO8MgmmeqqHj2pZQpSjuAOXg%252BSx34tzHJGoMlzEOLz1zCYJ94UWpWn6lbWz7xfW%2F7TsmQwyMsBQ%253D%253D",
"author": "bid_owner",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:02.455938+03:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "ab8039798220483ab57576359308f952"
},
{
"dateModified": "2017-06-09T15:09:02.550251+03:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/966d7b55b54943b6ad48ba8886ae5d51?KeyID=dd67d497&Signature=Sv5R7AFR1FXjBJ1ezPsEwUaaLAQYgWXOxXAZtZF0RS9HHZFk9D3uJ5LQp%2F1mIao8G4ei%2FJ20iVoGTN8gN24EDQ%253D%253D",
"author": "auction_owner",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:02.550231+03:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "1a9ac66fd1734c1bbf66c98bd9a4ba03"
}
],
"verificationPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:09:02.668017+03:00"
},
"complaintPeriod": {
"startDate": "2017-06-09T15:09:02.157968+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": "м. Львів"
}
}
],
"signingPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:29:08.448245+03:00"
},
"bid_id": "e5b9db9881b64ed8a4dabfc9e56dbc28",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:02.679365+03:00",
"id": "24e69a35e2294e8c840a9cafe9ba366f"
}
}
Within 20 business days after becoming a candidate he/she must provide payment and organizer has the same time to confirm the payment. Otherwise, the award will automatically become “unsuccessful”:
PATCH /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/awards/24e69a35e2294e8c840a9cafe9ba366f?acc_token=0be9719321be4aa699f77ec6cff48e1a 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; charset=UTF-8
{
"data": {
"status": "active",
"paymentPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:09:02.792665+03:00"
},
"documents": [
{
"dateModified": "2017-06-09T15:09:02.455960+03:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0025fb58a2124b8cac24fb2f54e7ffef?KeyID=dd67d497&Signature=5FxI3DbZnKwLO8MgmmeqqHj2pZQpSjuAOXg%252BSx34tzHJGoMlzEOLz1zCYJ94UWpWn6lbWz7xfW%2F7TsmQwyMsBQ%253D%253D",
"author": "bid_owner",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:02.455938+03:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "ab8039798220483ab57576359308f952"
},
{
"dateModified": "2017-06-09T15:09:02.550251+03:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/966d7b55b54943b6ad48ba8886ae5d51?KeyID=dd67d497&Signature=Sv5R7AFR1FXjBJ1ezPsEwUaaLAQYgWXOxXAZtZF0RS9HHZFk9D3uJ5LQp%2F1mIao8G4ei%2FJ20iVoGTN8gN24EDQ%253D%253D",
"author": "auction_owner",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:02.550231+03:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "1a9ac66fd1734c1bbf66c98bd9a4ba03"
}
],
"verificationPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:09:02.668017+03:00"
},
"complaintPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:09:02.792665+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": "м. Львів"
}
}
],
"signingPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:29:08.448245+03:00"
},
"bid_id": "e5b9db9881b64ed8a4dabfc9e56dbc28",
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:02.804772+03:00",
"id": "24e69a35e2294e8c840a9cafe9ba366f"
}
}
Disqualification of a candidate¶
In case of manual disqualification, the organizer has to upload file with cancellation reason:
POST /api/2.3/auctions/756466a94dcb4dfb88ca93c09d373e3f/awards/dd6056b60cf0438b98aed138e7777ef1/documents?acc_token=6ba98362c9834afc9c96506ff017cc23 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 388
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/7056f6366521454db2357271128fd961?KeyID=bbd7ad67&Signature=Y3uif%2F2PAEO%2F4EjAL5Akppp8azUBH%2F9P1%2F8KSzoKFg4b0lupCf29YtufbvlmEvOW2MJuZtyY1iVqP6oOJGtPCw%3D%3D",
"title": "Disqualified_reason.pdf",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/756466a94dcb4dfb88ca93c09d373e3f/awards/dd6056b60cf0438b98aed138e7777ef1/documents/7d75773218b648fb90e0aed6c2e012b3
{
"data": {
"dateModified": "2017-06-09T15:08:58.086799+03:00",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/7056f6366521454db2357271128fd961?KeyID=bbd7ad67&Signature=pOhTvF%252BTXTfmm1a6x589YPmAsh5rlCafn86xpAoMNHgODdiYiYUTSFyrfHw9YjPao%2FKy7DhKJFA%252BhJW%2FGOI%252BBA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:58.086773+03:00",
"title": "Disqualified_reason.pdf",
"id": "7d75773218b648fb90e0aed6c2e012b3"
}
}
And disqualify candidate:
PATCH /api/2.3/auctions/756466a94dcb4dfb88ca93c09d373e3f/awards/dd6056b60cf0438b98aed138e7777ef1?acc_token=6ba98362c9834afc9c96506ff017cc23 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; charset=UTF-8
{
"data": {
"status": "unsuccessful",
"paymentPeriod": {
"startDate": "2017-06-09T15:08:57.871411+03:00",
"endDate": "2017-06-09T15:29:04.165161+03:00"
},
"documents": [
{
"dateModified": "2017-06-09T15:08:57.990278+03:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/eed3f454ffe443a49846ee7b036a243d?KeyID=bbd7ad67&Signature=Izemqj7rTAMkygermVjs4KfS3t9t72qtW3dA6MAsJeBPCM4MAV8WLztaGiEy0vxF4yO%2F8RAumsJxS%2FIQ461PDQ%253D%253D",
"author": "bid_owner",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:57.990257+03:00",
"documentType": "auctionProtocol",
"title": "auction_protocol.pdf",
"id": "74fbf43915ae40fbaa487e0f5000d3ea"
},
{
"dateModified": "2017-06-09T15:08:58.086799+03:00",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/7056f6366521454db2357271128fd961?KeyID=bbd7ad67&Signature=pOhTvF%252BTXTfmm1a6x589YPmAsh5rlCafn86xpAoMNHgODdiYiYUTSFyrfHw9YjPao%2FKy7DhKJFA%252BhJW%2FGOI%252BBA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:58.086773+03:00",
"title": "Disqualified_reason.pdf",
"id": "7d75773218b648fb90e0aed6c2e012b3"
}
],
"verificationPeriod": {
"startDate": "2017-06-09T15:08:57.871411+03:00",
"endDate": "2017-06-09T15:08:58.188531+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": "2017-06-09T15:08:57.561046+03:00",
"endDate": "2017-06-09T15:08:58.188531+03:00"
},
"bid_id": "e046144b466a4607a4550bc782184615",
"value": {
"currency": "UAH",
"amount": 475.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:08:58.198697+03:00",
"id": "dd6056b60cf0438b98aed138e7777ef1",
"signingPeriod": {
"startDate": "2017-06-09T15:08:57.871411+03:00",
"endDate": "2017-06-09T15:29:04.165161+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.3/auctions/92b74c258aa344d2810c14e9946728d0/awards/c34a09483fdd4ddba5c934493450f303?acc_token=c609f78f8ef7418b9f5bc756268f1b51 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; charset=UTF-8
{
"data": {
"status": "cancelled",
"complaintPeriod": {
"startDate": "2017-06-09T15:09:02.157968+03:00",
"endDate": "2017-06-09T15:09:02.324274+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": "d6474539c73d40dcb714cef7ee5946a5",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:09:02.331496+03:00",
"id": "c34a09483fdd4ddba5c934493450f303"
}
}
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.3/auctions/92b74c258aa344d2810c14e9946728d0/contracts/9e111647288c45b29a250028fe66b989/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 355
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6985cf0500a24231a91d360cb11a7afe?KeyID=dd67d497&Signature=rCuaxF5OP7m%2B%2Fnp1tJ0Xgaf0WzgcDd%2BbXVFFjkjTvVX%2ByLU5E9N%2BWbEoajJtuP9huvJpDIbINGCTrRFxZ9anBA%3D%3D",
"title": "contract_first_document.doc",
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/contracts/9e111647288c45b29a250028fe66b989/documents/59ed3413952747e1a6ffa444272fcdc8
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6985cf0500a24231a91d360cb11a7afe?KeyID=dd67d497&Signature=Ae5ogeXdj7SUw%2FLcQw3amoJNFnpr1YFgpu2X7CKUf%252Bkw5Yg3FFA%2FZEwfE%2F52sm%252B%252B7m68RR1YmOy01gdOUUN7Ag%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.088387+03:00",
"dateModified": "2017-06-09T15:09:03.088409+03:00",
"id": "59ed3413952747e1a6ffa444272fcdc8"
}
}
201 Created response code and Location header confirm that document has been added.
Let’s see the list of contract documents:
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/contracts/9e111647288c45b29a250028fe66b989/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6985cf0500a24231a91d360cb11a7afe?KeyID=dd67d497&Signature=Ae5ogeXdj7SUw%2FLcQw3amoJNFnpr1YFgpu2X7CKUf%252Bkw5Yg3FFA%2FZEwfE%2F52sm%252B%252B7m68RR1YmOy01gdOUUN7Ag%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.088387+03:00",
"dateModified": "2017-06-09T15:09:03.088409+03:00",
"id": "59ed3413952747e1a6ffa444272fcdc8"
}
]
}
We can add another contract document:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/contracts/9e111647288c45b29a250028fe66b989/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 352
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/04afcab13aea451a8043099d323c80f7?KeyID=dd67d497&Signature=3EXR29cntwAO9%2BxdrqqkvLUyu1AuyQXiMyl92jbK273GwdP%2BRZXU%2F5gZppdrLatFB0Y4JEkHGW5nrxne8heCCQ%3D%3D",
"title": "contract_second_document.doc",
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/contracts/9e111647288c45b29a250028fe66b989/documents/8e2700e945874a0196799f7c79d2e480
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/04afcab13aea451a8043099d323c80f7?KeyID=dd67d497&Signature=Juiho72YGmwjsi3Gk%2FfW95P7lyC4MP8rUCURtnwEohMrFWFRLOE3BNpjzk7O8qV94c847jsmJLwGatb6uYWoCw%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.242460+03:00",
"dateModified": "2017-06-09T15:09:03.242486+03:00",
"id": "8e2700e945874a0196799f7c79d2e480"
}
}
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.3/auctions/92b74c258aa344d2810c14e9946728d0/contracts/9e111647288c45b29a250028fe66b989/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6985cf0500a24231a91d360cb11a7afe?KeyID=dd67d497&Signature=Ae5ogeXdj7SUw%2FLcQw3amoJNFnpr1YFgpu2X7CKUf%252Bkw5Yg3FFA%2FZEwfE%2F52sm%252B%252B7m68RR1YmOy01gdOUUN7Ag%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.088387+03:00",
"dateModified": "2017-06-09T15:09:03.088409+03:00",
"id": "59ed3413952747e1a6ffa444272fcdc8"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/04afcab13aea451a8043099d323c80f7?KeyID=dd67d497&Signature=Juiho72YGmwjsi3Gk%2FfW95P7lyC4MP8rUCURtnwEohMrFWFRLOE3BNpjzk7O8qV94c847jsmJLwGatb6uYWoCw%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.242460+03:00",
"dateModified": "2017-06-09T15:09:03.242486+03:00",
"id": "8e2700e945874a0196799f7c79d2e480"
}
]
}
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.3/auctions/92b74c258aa344d2810c14e9946728d0/contracts/9e111647288c45b29a250028fe66b989?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 80
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "active",
"dateSigned": "2017-06-09T15:09:03.377011+03:00"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "active",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6985cf0500a24231a91d360cb11a7afe?KeyID=dd67d497&Signature=Ae5ogeXdj7SUw%2FLcQw3amoJNFnpr1YFgpu2X7CKUf%252Bkw5Yg3FFA%2FZEwfE%2F52sm%252B%252B7m68RR1YmOy01gdOUUN7Ag%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.088387+03:00",
"dateModified": "2017-06-09T15:09:03.088409+03:00",
"id": "59ed3413952747e1a6ffa444272fcdc8"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/04afcab13aea451a8043099d323c80f7?KeyID=dd67d497&Signature=Juiho72YGmwjsi3Gk%2FfW95P7lyC4MP8rUCURtnwEohMrFWFRLOE3BNpjzk7O8qV94c847jsmJLwGatb6uYWoCw%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.242460+03:00",
"dateModified": "2017-06-09T15:09:03.242486+03:00",
"id": "8e2700e945874a0196799f7c79d2e480"
}
],
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "c3eb84d5904b4cf48a3451a12309e6b6",
"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": "2017-06-09T15:08:53.809123+03:00",
"endDate": "2018-06-09T15:08:53.809123+03:00"
},
"value": {
"currency": "UAH",
"amount": 501.0,
"valueAddedTaxIncluded": true
},
"dateSigned": "2017-06-09T15:09:03.377011+03:00",
"date": "2017-06-09T15:09:03.461080+03:00",
"awardID": "24e69a35e2294e8c840a9cafe9ba366f",
"id": "9e111647288c45b29a250028fe66b989",
"contractID": "UA-EA-2017-06-09-000001-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.3/auctions/92b74c258aa344d2810c14e9946728d0/cancellations?acc_token=0be9719321be4aa699f77ec6cff48e1a 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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/cancellations/d8d570bc01f84ba3b21bea8fc7c44d47
{
"data": {
"date": "2017-06-09T15:09:03.755274+03:00",
"status": "pending",
"reason": "cancellation reason",
"cancellationOf": "tender",
"id": "d8d570bc01f84ba3b21bea8fc7c44d47"
}
}
Filling cancellation with protocol and supplementary documentation¶
Upload the file contents:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/cancellations/d8d570bc01f84ba3b21bea8fc7c44d47/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a 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/7e4a2cfef1e84510ab84f7643d4d8b87?KeyID=dd67d497&Signature=86xepu6bS%2B1aTnfraLWoveP4kXYU8iPHxSgNneR1VPjnmFPADU06jiyrsfaHrBdhI%2B0e67dULFU612EDJ1AJBg%3D%3D",
"title": "Notice.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/cancellations/d8d570bc01f84ba3b21bea8fc7c44d47/documents/6d522b8ebe2f423f99b525f8fde10538
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/7e4a2cfef1e84510ab84f7643d4d8b87?KeyID=dd67d497&Signature=re35ZGcA%252BopvgNiPtniygaOLY08%2Fg6xkRIxJZM9kCIb5dTe3KR8eHkN%2FLrm7%2FArYldt2nZeGBTVIx1xO770iBQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.875350+03:00",
"dateModified": "2017-06-09T15:09:03.875373+03:00",
"id": "6d522b8ebe2f423f99b525f8fde10538"
}
}
Change the document description and other properties:
PATCH /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/cancellations/d8d570bc01f84ba3b21bea8fc7c44d47/documents/6d522b8ebe2f423f99b525f8fde10538?acc_token=0be9719321be4aa699f77ec6cff48e1a 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; charset=UTF-8
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/7e4a2cfef1e84510ab84f7643d4d8b87?KeyID=dd67d497&Signature=re35ZGcA%252BopvgNiPtniygaOLY08%2Fg6xkRIxJZM9kCIb5dTe3KR8eHkN%2FLrm7%2FArYldt2nZeGBTVIx1xO770iBQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.875350+03:00",
"dateModified": "2017-06-09T15:09:03.875373+03:00",
"id": "6d522b8ebe2f423f99b525f8fde10538"
}
}
Upload new version of the document:
PUT /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/cancellations/d8d570bc01f84ba3b21bea8fc7c44d47/documents/6d522b8ebe2f423f99b525f8fde10538?acc_token=0be9719321be4aa699f77ec6cff48e1a 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/b3212f319d524c3aa68085f345122b27?KeyID=dd67d497&Signature=11r14drVR1ntFaZwE%2BpUe2KoeJHyruNxzRhHaD2nF4M5y20F9p0fyzqjD71bELs0NRb20xJzHGK6GKf2ZEE2Ag%3D%3D",
"title": "Notice-2.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/b3212f319d524c3aa68085f345122b27?KeyID=dd67d497&Signature=Q1ttqZHb7RPbhD2Jf2GbljtbLO0hlVpG8t1DBhSV0TZMWbLETcdyah715tyj4iJlo8r8QDnwv4idsDfG29zUDQ%253D%253D",
"title": "Notice-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.875350+03:00",
"dateModified": "2017-06-09T15:09:04.126021+03:00",
"id": "6d522b8ebe2f423f99b525f8fde10538"
}
}
Activating the request and cancelling auction¶
PATCH /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/cancellations/d8d570bc01f84ba3b21bea8fc7c44d47?acc_token=0be9719321be4aa699f77ec6cff48e1a 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; charset=UTF-8
{
"data": {
"status": "active",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/7e4a2cfef1e84510ab84f7643d4d8b87?KeyID=dd67d497&Signature=re35ZGcA%252BopvgNiPtniygaOLY08%2Fg6xkRIxJZM9kCIb5dTe3KR8eHkN%2FLrm7%2FArYldt2nZeGBTVIx1xO770iBQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.875350+03:00",
"dateModified": "2017-06-09T15:09:03.875373+03:00",
"id": "6d522b8ebe2f423f99b525f8fde10538"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/b3212f319d524c3aa68085f345122b27?KeyID=dd67d497&Signature=Q1ttqZHb7RPbhD2Jf2GbljtbLO0hlVpG8t1DBhSV0TZMWbLETcdyah715tyj4iJlo8r8QDnwv4idsDfG29zUDQ%253D%253D",
"title": "Notice-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:03.875350+03:00",
"dateModified": "2017-06-09T15:09:04.126021+03:00",
"id": "6d522b8ebe2f423f99b525f8fde10538"
}
],
"reason": "cancellation reason",
"date": "2017-06-09T15:09:04.263312+03:00",
"cancellationOf": "tender",
"id": "d8d570bc01f84ba3b21bea8fc7c44d47"
}
}
Fin. Tutorial¶
Tutorial for the dgfFinancialAssets procedure.
Creating auction¶
Let’s create auction with the minimal data set (only required properties):
POST /api/2.3/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2032
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2017-06-23"
},
"tenderAttempts": 1,
"procurementMethodType": "dgfFinancialAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5
{
"access": {
"token": "c9f3669442874ba6a12a69847085e82b"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"enquiryPeriod": {
"startDate": "2017-06-09T15:08:59.135074+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-22T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "acae3ff4a40b4c859542dbb5b0cbe6e5",
"eligibilityCriteria_ru": "К участию допускаются только лицензированные финансовые учреждения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.135396+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:08:59.135421+03:00",
"id": "183532e1e80440b18ab0a2d30bc42552"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "Only licensed financial institutions are eligible to participate.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:08:59.139779+03:00",
"status": "active.tendering",
"eligibilityCriteria": "До участі допускаються лише ліцензовані фінансові установи.",
"tenderPeriod": {
"startDate": "2017-06-09T15:08:59.135074+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2017-06-23T00:00:00+03:00"
},
"procurementMethodType": "dgfFinancialAssets",
"dgfID": "219560",
"date": "2017-06-09T15:08:59.135074+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e098f0afc4314a3786faffa69903bc1f",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"enquiryPeriod": {
"startDate": "2017-06-09T15:08:59.135074+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-22T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "acae3ff4a40b4c859542dbb5b0cbe6e5",
"eligibilityCriteria_ru": "К участию допускаются только лицензированные финансовые учреждения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.135396+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:08:59.135421+03:00",
"id": "183532e1e80440b18ab0a2d30bc42552"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "Only licensed financial institutions are eligible to participate.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:08:59.139779+03:00",
"status": "active.tendering",
"eligibilityCriteria": "До участі допускаються лише ліцензовані фінансові установи.",
"tenderPeriod": {
"startDate": "2017-06-09T15:08:59.135074+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2017-06-23T00:00:00+03:00"
},
"procurementMethodType": "dgfFinancialAssets",
"dgfID": "219560",
"date": "2017-06-09T15:08:59.135074+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e098f0afc4314a3786faffa69903bc1f",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"next_page": {
"path": "/api/2.3/auctions?offset=2017-06-09T15%3A08%3A59.139779%2B03%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions?offset=2017-06-09T15%3A08%3A59.139779%2B03%3A00",
"offset": "2017-06-09T15:08:59.139779+03:00"
},
"data": [
{
"id": "acae3ff4a40b4c859542dbb5b0cbe6e5",
"dateModified": "2017-06-09T15:08:59.139779+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.
Uploading documentation¶
Organizer can upload PDF files into the created auction. Uploading should follow the Documents Uploading rules.
POST /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents?acc_token=c9f3669442874ba6a12a69847085e82b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 418
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/0cd2dc79560f4e6a891d2aba2826a143?KeyID=161d9473&Signature=MtdwQKjkLajRNjTsQ%2B9N0rm1FYlq3UITm%2Bl2f7%2Bsa8SWY4dCR17yRrXx%2FMByeSfzsM5w3BAqO5SQzpOiZQjuCw%3D%3D",
"format": "application/pdf",
"documentType": "technicalSpecifications"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents/7b1c790f36e5455dbaece30b9be45da3
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0cd2dc79560f4e6a891d2aba2826a143?KeyID=161d9473&Signature=RVLTvRz6Im5y8jxCMNmEul1vMbs9g4QQQAfzbzSCvBcq4cdNKsT%2F4Ln7WJwNyOyYPZcbkQf2yO4ta7SsyjA4DQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.287837+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:08:59.287859+03:00",
"id": "7b1c790f36e5455dbaece30b9be45da3"
}
}
201 Created response code and Location header confirm document creation. We can additionally query the documents collection API endpoint to confirm the action:
GET /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents/7b1c790f36e5455dbaece30b9be45da3 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0cd2dc79560f4e6a891d2aba2826a143?KeyID=161d9473&Signature=RVLTvRz6Im5y8jxCMNmEul1vMbs9g4QQQAfzbzSCvBcq4cdNKsT%2F4Ln7WJwNyOyYPZcbkQf2yO4ta7SsyjA4DQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.287837+03:00",
"previousVersions": [],
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:08:59.287859+03:00",
"id": "7b1c790f36e5455dbaece30b9be45da3"
}
}
The single array element describes the uploaded document. We can upload more documents:
POST /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents?acc_token=c9f3669442874ba6a12a69847085e82b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 336
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/85c43996ded74d28954602f916aaf30b?KeyID=161d9473&Signature=Y8tPCeQx5yYjegwEWWjV5u9z%2BMHMEr23zkR7Da1x3XMaXMSKWIf%2FVBGcV4O8EaGAc7DofdBs2M6kRqWgVzlQDQ%3D%3D",
"title": "AwardCriteria.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents/65e0e527509049eab2c2fb86b81bff0f
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/85c43996ded74d28954602f916aaf30b?KeyID=161d9473&Signature=fiSoJ5%252B917G%2FYFd8Z97MKucoXcxsUe0Fx04eKNC0Q%2FuoEhfbdW%252BygcyOb50s4xwKf%2FAR%2FwpxyLczKAa%2F7YfmAA%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.339857+03:00",
"dateModified": "2017-06-09T15:08:59.339878+03:00",
"id": "65e0e527509049eab2c2fb86b81bff0f"
}
}
And again we can confirm that there are two documents uploaded.
GET /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.135396+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:08:59.135421+03:00",
"id": "183532e1e80440b18ab0a2d30bc42552"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0cd2dc79560f4e6a891d2aba2826a143?KeyID=161d9473&Signature=RVLTvRz6Im5y8jxCMNmEul1vMbs9g4QQQAfzbzSCvBcq4cdNKsT%2F4Ln7WJwNyOyYPZcbkQf2yO4ta7SsyjA4DQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.287837+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:08:59.287859+03:00",
"id": "7b1c790f36e5455dbaece30b9be45da3"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/85c43996ded74d28954602f916aaf30b?KeyID=161d9473&Signature=fiSoJ5%252B917G%2FYFd8Z97MKucoXcxsUe0Fx04eKNC0Q%2FuoEhfbdW%252BygcyOb50s4xwKf%2FAR%2FwpxyLczKAa%2F7YfmAA%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.339857+03:00",
"dateModified": "2017-06-09T15:08:59.339878+03:00",
"id": "65e0e527509049eab2c2fb86b81bff0f"
}
]
}
In case we made an error, we can reupload the document over the older version:
PUT /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents/65e0e527509049eab2c2fb86b81bff0f?acc_token=c9f3669442874ba6a12a69847085e82b 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/39c8ec8b9c464f56a91092a68b4371c3?KeyID=161d9473&Signature=7OQdZzvqzo2MXkP%2F2h1JQx4vCpL8DReYF%2FzO3Elxro6JHZczsY5dsPHspZLQgEuOxPKsJe70Hea234cCyAFkAQ%3D%3D",
"title": "AwardCriteria-2.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/39c8ec8b9c464f56a91092a68b4371c3?KeyID=161d9473&Signature=miJhuUt4AGLmu6mS10QuuoLnY%2FUQkIqqUH4s%2FYiD%2FWI0Xb0O0%2Frh3%252BDWSu3ljj0z1IDKi2maGPD3X2z9RGpVAw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.339857+03:00",
"dateModified": "2017-06-09T15:08:59.387864+03:00",
"id": "65e0e527509049eab2c2fb86b81bff0f"
}
}
And we can see that it is overriding the original version:
GET /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.135396+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:08:59.135421+03:00",
"id": "183532e1e80440b18ab0a2d30bc42552"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "technical specification",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/0cd2dc79560f4e6a891d2aba2826a143?KeyID=161d9473&Signature=RVLTvRz6Im5y8jxCMNmEul1vMbs9g4QQQAfzbzSCvBcq4cdNKsT%2F4Ln7WJwNyOyYPZcbkQf2yO4ta7SsyjA4DQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.287837+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:08:59.287859+03:00",
"id": "7b1c790f36e5455dbaece30b9be45da3"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/39c8ec8b9c464f56a91092a68b4371c3?KeyID=161d9473&Signature=miJhuUt4AGLmu6mS10QuuoLnY%2FUQkIqqUH4s%2FYiD%2FWI0Xb0O0%2Frh3%252BDWSu3ljj0z1IDKi2maGPD3X2z9RGpVAw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.339857+03:00",
"dateModified": "2017-06-09T15:08:59.387864+03:00",
"id": "65e0e527509049eab2c2fb86b81bff0f"
}
]
}
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.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 428
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/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=XKoh8WxRq%2BYra32Qoek0Oj1aoqnL0bkS5g7aWIn56eo0t4OSCmLu13nKEuoXPMIZg7gOxO2lERCjZuoZRethDg%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/ed2c1de60d614f27baec5f0fc6902179
{
"data": {
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=kvVYBa6I42jH7bWhD6fhR3bLky93icp7EoBIm9rdXMroQsQVD4RwsPoytzvR5%252BWORLnc568X4alFuYZkPUezBg%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.076450+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.076471+03:00",
"id": "ed2c1de60d614f27baec5f0fc6902179"
}
}
We can check whether illustration is uploaded.
GET /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d96dfd46bf63487d83c2ca7337da068d?KeyID=dd67d497&Signature=cYNza9MM%2FjD97HV2HrrEoj2XI1NI3SiPqTIrie9EaHgjb2Aqod0fWcxHX4HjxsECUHL4Bc25TCPy4tRx7BtlDw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:01.021906+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=kvVYBa6I42jH7bWhD6fhR3bLky93icp7EoBIm9rdXMroQsQVD4RwsPoytzvR5%252BWORLnc568X4alFuYZkPUezBg%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.076450+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.076471+03:00",
"id": "ed2c1de60d614f27baec5f0fc6902179"
}
]
}
Organizer can upload second illustration. This illustration should be displayed second, so it has "index": 2
.
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 438
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/f8992c78a98f41eb9cf2821cd093628d?KeyID=dd67d497&Signature=%2FHGhtJDIcFJN3Ri%2FQG3vUucS%2Bt6oQL%2B9tvnI1rxKqStucTLbMMps9uiRW2i22%2FvrHlYLSFPu7q0jg119BCCFDg%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/713bdadb020c451ea3fa09fdf97c1db2
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f8992c78a98f41eb9cf2821cd093628d?KeyID=dd67d497&Signature=j3hydElv3bW%2FYe6%2FPNDu%2F4zhLmSEJkF%252BO6HrGJJG37WfmEDmZUp2YGQ2BhOWeNzZi2TtRNqx5yyzcs6iNYHLDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.132210+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.132232+03:00",
"id": "713bdadb020c451ea3fa09fdf97c1db2"
}
}
Add third illustration:
POST /api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents?acc_token=0be9719321be4aa699f77ec6cff48e1a 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": "Third illustration description",
"title": "third_illustration.jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/35e69bb2b91b4823927172e091256ae3?KeyID=dd67d497&Signature=rDRLDctebnHbWrg88A%2FgFU14IXUJavjd64WbfFNrfPQfBPya88NXMh5ROlzOYyL3sPfbpglnBdyeV7G7hmr9Cg%3D%3D",
"format": "image/jpeg",
"documentType": "illustration"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/92b74c258aa344d2810c14e9946728d0/documents/511fcd289c4343b690be27ad4d0a29c8
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/35e69bb2b91b4823927172e091256ae3?KeyID=dd67d497&Signature=5qAShEjK%252BkcI3W8WO%252BXdMF96UP5JXYAKsdYdfa8xt9aXKcwmik6tsVqc1zizcAZCgEla9Iu7yYqCBJ7Xp4ZqCw%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.179319+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.179340+03:00",
"id": "511fcd289c4343b690be27ad4d0a29c8"
}
}
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.3/auctions/92b74c258aa344d2810c14e9946728d0/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.525896+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:09:00.525926+03:00",
"id": "76b99275e7794bb7a98fe5672915d44d"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/da6b8ce61e034c44980b7990366402ad?KeyID=dd67d497&Signature=JvA7XMqmBtKn0R5Os43yBMiDC2AR%252BFNYsXl5L%252BpKoEGfZ0bOKIGe0fo1f6sLw4Ij9cTnL39qbC8vDTLi4sfvBA%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.919847+03:00",
"documentType": "technicalSpecifications",
"dateModified": "2017-06-09T15:09:00.919868+03:00",
"id": "5c778078638b475b94f511fa79dd63ef"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d96dfd46bf63487d83c2ca7337da068d?KeyID=dd67d497&Signature=cYNza9MM%2FjD97HV2HrrEoj2XI1NI3SiPqTIrie9EaHgjb2Aqod0fWcxHX4HjxsECUHL4Bc25TCPy4tRx7BtlDw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:00.968887+03:00",
"dateModified": "2017-06-09T15:09:01.021906+03:00",
"id": "fade6817e87a452cbb6694eee57eb84c"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/129d7bf69629472ab28d997f6834bf3f?KeyID=dd67d497&Signature=kvVYBa6I42jH7bWhD6fhR3bLky93icp7EoBIm9rdXMroQsQVD4RwsPoytzvR5%252BWORLnc568X4alFuYZkPUezBg%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.076450+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.076471+03:00",
"id": "ed2c1de60d614f27baec5f0fc6902179"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/f8992c78a98f41eb9cf2821cd093628d?KeyID=dd67d497&Signature=j3hydElv3bW%2FYe6%2FPNDu%2F4zhLmSEJkF%252BO6HrGJJG37WfmEDmZUp2YGQ2BhOWeNzZi2TtRNqx5yyzcs6iNYHLDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.132210+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.132232+03:00",
"id": "713bdadb020c451ea3fa09fdf97c1db2"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/35e69bb2b91b4823927172e091256ae3?KeyID=dd67d497&Signature=5qAShEjK%252BkcI3W8WO%252BXdMF96UP5JXYAKsdYdfa8xt9aXKcwmik6tsVqc1zizcAZCgEla9Iu7yYqCBJ7Xp4ZqCw%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2017-06-09T15:09:01.179319+03:00",
"documentType": "illustration",
"dateModified": "2017-06-09T15:09:01.179340+03:00",
"id": "511fcd289c4343b690be27ad4d0a29c8"
}
]
}
Adding virtual data room¶
Organizer can add URL for virtual data room:
POST /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents?acc_token=c9f3669442874ba6a12a69847085e82b 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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/documents/eb1381d44db34506aea55ce00146d645
{
"data": {
"title": "VDR for auction lot",
"url": "http://virtial-data-room.com/id_of_room",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.448695+03:00",
"documentType": "virtualDataRoom",
"dateModified": "2017-06-09T15:08:59.448716+03:00",
"id": "eb1381d44db34506aea55ce00146d645"
}
}
Registering bid¶
Bidder can register a bid in draft status. Bidder must specify UA-FIN
value for the additionalIdentifiers parameter.
POST /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/bids/908d170cb1c94b4980848ce6a2102b87
{
"access": {
"token": "b1ea0e93b02c4c498d402e238b2e3497"
},
"data": {
"status": "active",
"eligible": true,
"value": {
"currency": "UAH",
"amount": 469.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:08:59.494842+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": "908d170cb1c94b4980848ce6a2102b87"
}
}
And activate a bid:
PATCH /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/bids/908d170cb1c94b4980848ce6a2102b87?acc_token=b1ea0e93b02c4c498d402e238b2e3497 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; charset=UTF-8
null
And upload license (with documentType: financialLicense
):
POST /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/bids/908d170cb1c94b4980848ce6a2102b87/documents?acc_token=b1ea0e93b02c4c498d402e238b2e3497 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 377
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/e4de5f0adc954a8e9737e0c9614994e8?KeyID=161d9473&Signature=1WY%2FjU1zunIh4scJHpxp7M2d%2BFC6nnfmC39PHbMoIi5IxVcFlafUtVR6DAmPDksNXC1hKr%2FfjgIllgd7I3liCg%3D%3D",
"title": "FinancialLicense.pdf",
"format": "application/pdf",
"hash": "md5:00000000000000000000000000000000",
"documentType": "financialLicense"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/bids/908d170cb1c94b4980848ce6a2102b87/documents/9138d4f80d594fdf9dc7c8dfe983671f
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/bids/908d170cb1c94b4980848ce6a2102b87/documents/9138d4f80d594fdf9dc7c8dfe983671f?download=e4de5f0adc954a8e9737e0c9614994e8",
"title": "FinancialLicense.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.573984+03:00",
"documentType": "financialLicense",
"dateModified": "2017-06-09T15:08:59.574019+03:00",
"id": "9138d4f80d594fdf9dc7c8dfe983671f"
}
}
It is possible to check the uploaded documents:
GET /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/bids/908d170cb1c94b4980848ce6a2102b87/documents?acc_token=b1ea0e93b02c4c498d402e238b2e3497 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/bids/908d170cb1c94b4980848ce6a2102b87/documents/9138d4f80d594fdf9dc7c8dfe983671f?download=e4de5f0adc954a8e9737e0c9614994e8",
"title": "FinancialLicense.pdf",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:59.573984+03:00",
"documentType": "financialLicense",
"dateModified": "2017-06-09T15:08:59.574019+03:00",
"id": "9138d4f80d594fdf9dc7c8dfe983671f"
}
]
}
For the best effect (biggest economy) auction should have multiple bidders registered:
POST /api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/acae3ff4a40b4c859542dbb5b0cbe6e5/bids/6bba5992e8dd4aee98d4f373d3d41c45
{
"access": {
"token": "c4dc739dbfb24b42a9715c1c93b916d0"
},
"data": {
"status": "active",
"eligible": true,
"value": {
"currency": "UAH",
"amount": 479.0,
"valueAddedTaxIncluded": true
},
"date": "2017-06-09T15:08:59.651109+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": "6bba5992e8dd4aee98d4f373d3d41c45"
}
}
2 Phase Commit¶
Creating auction with 2 Phase Commit¶
Let’s create auction in draft status:
POST /api/2.3/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2047
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "draft",
"title": "футляри до державних нагород",
"minimalStep": {
"currency": "UAH",
"amount": 35
},
"auctionPeriod": {
"startDate": "2017-06-23"
},
"tenderAttempts": 1,
"procurementMethodType": "dgfOtherAssets",
"value": {
"currency": "UAH",
"amount": 100
},
"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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/8b033469c115417caa4e0a7fbb3b73a3
{
"access": {
"token": "cdeb9e642562408aab11f44880f932c0"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"enquiryPeriod": {
"startDate": "2017-06-09T15:08:55.304366+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "8b033469c115417caa4e0a7fbb3b73a3",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:55.304704+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:08:55.304731+03:00",
"id": "80bf09943e6649919bbca211f9a29268"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"dateModified": "2017-06-09T15:08:55.307437+03:00",
"status": "draft",
"tenderPeriod": {
"startDate": "2017-06-09T15:08:55.304366+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"procurementMethodDetails": "quick, accelerator=1440",
"procurementMethodType": "dgfOtherAssets",
"dgfID": "219560",
"date": "2017-06-09T15:08:55.304366+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "b85d7847faa742edba2a3c2ad230691e",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/auctions/8b033469c115417caa4e0a7fbb3b73a3?acc_token=cdeb9e642562408aab11f44880f932c0 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; charset=UTF-8
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"enquiryPeriod": {
"startDate": "2017-06-09T15:08:55.304366+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-22T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "8b033469c115417caa4e0a7fbb3b73a3",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:55.304704+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:08:55.304731+03:00",
"id": "80bf09943e6649919bbca211f9a29268"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:08:55.350300+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2017-06-09T15:08:55.304366+03:00",
"endDate": "2017-06-22T23:59:50+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2017-06-23T00:00:00+03:00"
},
"procurementMethodType": "dgfOtherAssets",
"dgfID": "219560",
"date": "2017-06-09T15:08:55.350300+03:00",
"minimalStep": {
"currency": "UAH",
"amount": 35.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "b85d7847faa742edba2a3c2ad230691e",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"value": {
"currency": "UAH",
"amount": 100.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.3/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": "2017-06-09T15:13:53.809123"
},
"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; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/2fbdcb5e280e49ad93b4ebb507ea3076
{
"access": {
"token": "3c08dc62c08b4eca8e04824faf97b77a"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2017-06-09-000001",
"enquiryPeriod": {
"startDate": "2017-06-09T15:08:56.193552+03:00",
"endDate": "2017-06-09T15:13:05.730088+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2017-06-09T15:13:05.730088+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"title_en": "[TESTING] ",
"id": "2fbdcb5e280e49ad93b4ebb507ea3076",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2017-06-09T15:08:56.193854+03:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2017-06-09T15:08:56.193877+03:00",
"id": "f01c4f3c92564f39a849c4be4fa07735"
}
],
"title": "[ТЕСТУВАННЯ] футляри до державних нагород",
"tenderAttempts": 1,
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2017-06-09T15:08:56.196432+03:00",
"status": "active.tendering",
"tenderPeriod": {
"startDate": "2017-06-09T15:08:56.193552+03:00",
"endDate": "2017-06-09T15:13:05.730088+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2017-06-09T15:13:05.730088+03:00"
},
"procurementMethodType": "dgfOtherAssets",
"dgfID": "219560",
"date": "2017-06-09T15:08:56.193552+03:00",
"submissionMethodDetails": "quick",
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "63314889f1be4a72885a776ca6690baf",
"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": "[ТЕСТИРОВАНИЕ] ",
"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": "м. Київ"
}
}
}
}
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.
Additional options¶
- no-auction option
To enable this option: set quick(mode:no-auction
) as a value for submissionMethodDetails
no-auction option allows conducting the whole procedure excluding auction stage. This means that active.auction stage will be completed based on the primary bid proposals; auctionURL will not be created, so auction can not be viewed.
- fast-forward option
To enable this option: set quick(mode:fast-forward
) as a value for submissionMethodDetails.
fast-forward option allows skipping auction stage. This means that active.auction stage will be completed based on the primary bid proposals; although auctionURL will be created and auction can be viewed.