Welcome to openprocurement.auctions.tessel documentation!¶
Please report any problems or suggestions for improvement either via the mailing list or the issue tracker.
Contents:
Overview¶
openprocurement.auctions.tessel contains documentaion concerning the type of Small Scale Privatization auctions.
The procedure to be used is sellout.insider which states for privatization’s objects.
Features¶
- Auction consists of 3 stages: Dutch auction, sealed bid and best bid parts.
- The only date Organizer has to provide is a preferable day for the auction, the rest will be calculated automatically.
- Organizer can’t edit procedure’s significant properties (Auction.value, etc.).
- Bidders can enter the auction till the end of the Dutch part (tenderPeriod.endDate = auctionPeriod.startDate + Dutch part duration).
- Bids with the value mentioned will be rejected.
- Auction.value is gradually decreasing per 1% during the Dutch part.
- Bidder can’t delete his bid within the first part of the auction.
- The maximum number of steps within the Dutch part is 99.
- In case of no bid has been made within Dutch auction, the whole procedure will be marked as unsuccessful.
- The minimalStep field is optional (value that will be always automatically set is 0).
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.
Project status¶
The project has pre alpha status.
The source repository for this project is on GitHub: https://github.com/openprocurement/openprocurement.auctions.tessel.
API stability¶
API is relatively stable. The changes in the API are communicated via Open Procurement API maillist.
Data Standard¶
Data standard is modelled along the Open Contracting Standard with extensions in areas that were not covered by it.
Auction¶
Schema¶
id: | uuid, auto-generated, read-only Internal id of procedure. |
---|---|
date: | Date, auto-generated, read-only The date of the procedure creation/undoing. |
owner: | string, auto-generated, read-only The entity whom the procedure has been created by. |
merchandisingObject: | |
string, read-only Originates from lot.id The identifier of a lot, which is to be privatized, within the Registry. |
|
title: | string, multilingual, read-only
Oprionally can be mentioned in English/Russian. Originates from lot.title. The name of the auction, displayed in listings. |
description: | string, multilingual, read-only OpenContracting Description: A description of the goods, services to be provided.
Originates from lot.description. |
auctionID: | string, auto-generated, read-only The auction identifier to refer auction to in “paper” documentation. OpenContracting Description: It is included to make the flattened data structure more convenient. |
tenderAttempts: | integer, read-only Originates from auction.tenderAttempts. The number which represents what time procedure with a current lot takes place. |
procurementMethod: | |
string, auto-generated, read-only Purchase method. The only value is “open”. |
|
procurementMethodType: | |
string, read-only Originates from auction.procurementMethodType. Type of the procedure within the auction announcement. The given value is sellout.insider. |
|
procurementMethodDetails: | |
string, read-only Originates from auction.procurementMethodDetails. Parameter that accelerates auction periods. Set quick, accelerator=1440 as text value for procurementMethodDetails for the time frames to be reduced in 1440 times. |
|
submissionMethod: | |
string, read-only The given value is electronicAuction. |
|
submissionMethodDetails: | |
string, read-only Originates from auction.submissionMethodDetails. Parameter that works only with mode = “test” and speeds up auction start date. |
|
procuringEntity: | |
ProcuringEntity (Organizer), read-only Originates from lot.lotCustodian. 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. |
|
auctionParameters: | |
Auction Parameters, read-only Originates from auction.auctionParameters. The parameters that indicates the major specifications of the procedure. |
|
contractTerms: | Contract Terms, read-only Originates from lot.items. The parameters that indicates the major specifications of the contract. |
value: | Value, read-only Originates from auction.value. OpenContracting Description: The total estimated value of the procurement. |
minimalStep: | Value, read-only Auction step (increment). minimalStep.value that will be always automatically set is 0. Validation rules:
|
guarantee: | Guarantee, required Originates from auction.guarantee. The assumption of responsibility for payment of performance of some obligation if the liable party fails to perform to expectations. |
registrationFee: | |
Guarantee, read-only Originates from auction.registrationFee. The sum of money required to enroll on an official register. |
|
bankAccount: | Bank Account, read-only Originates from auction.bankAccount. Details which uniquely identify a bank account, and are used when making or receiving a payment. |
items: | Array of Item objects, read-only Originates from lot.items. 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. |
documents: | Array of Document objects OpenContracting Description: All documents and attachments related to the auction. |
dateModified: | Date, auto-generated, read-only OpenContracting Description: Date when the auction was last modified. |
questions: | Array of Question objects, optional Questions to procuringEntity and answers to them. |
bids: | Array of Bid objects, optional (required for the process to be succsessful) 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. |
awards: | Array of Award objects All qualifications (disqualifications and awards). |
awardCriteria: | string, auto-generated, read-only The given value is highestCost. |
contracts: | Array of Contract objects OpenContracting Description: Information on contracts signed as part of a process. |
cancellations: | Array of Cancellation objects, optional 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. |
auctionUrl: | url, auto-generated, read-only A web address where auction is accessible for view. |
status: | string, required |
Status | Description |
---|---|
active.tendering | tendering period (tendering) |
active.auction | auction period (auction) |
active.qualification | winner qualification (qualification) |
active.awarded | standstill period (standstill) |
unsuccessful | unsuccessful auction (unsuccessful) |
complete | complete auction (complete) |
cancelled | cancelled auction (cancelled) |
enquiryPeriod: | Period, auto-generated, read-only Period when questions are allowed. OpenContracting Description: The period during which enquiries may be made and will be answered. |
---|---|
tenderPeriod: | Period, auto-generated, read-only Period when bids can be submitted. OpenContracting Description: The period when the auction is open for submissions. The end date is the closing date for auction submissions. |
auctionPeriod: | Period, required Period when Auction is conducted. startDate should be provided. |
awardPeriod: | Period, read-only Awarding process period. OpenContracting Description: The date or period on which an award is anticipated to be made. |
mode: | string, optional The additional parameter with a value test. |
Auction Parameters¶
Schema¶
type: | string, auto-generated, read-only Type of the auction. |
---|---|
dutchSteps: | integer, optional Number of steps within the Dutch auction phase. |
Bank Account¶
Schema¶
description: | string, multilingual, optional Additional information that has to be noted from the Organizer point. |
---|---|
bankName: | string, required Name of the bank. |
accountIdentification: | |
Array of Classification, required Major data on the account details of the state entity selling a lot, to facilitate payments at the end of the process. Most frequently used are:
|
Contract Terms¶
Organization¶
Schema¶
name: | string, multilingual, optional Name of the organization. |
---|---|
identifier: | Identifier, required The primary identifier for this organization. |
additionalIdentifiers: | |
Array of Identifier objects |
|
address: | Address, required |
contactPoint: | ContactPoint, required |
additionalContactPoints: | |
Array of ContactPoint objects, optional |
Identifier¶
Schema¶
scheme: | string, required 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, optional OpenContracting Description: The legally registered name of the organization. Full legal name (e.g. Nadra Bank). |
uri: | uri, optional 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, optional OpenContracting Description: The street address. For example, 1600 Amphitheatre Pkwy. |
---|---|
locality: | string, optional OpenContracting Description: The locality. For example, Mountain View. |
region: | string, optional OpenContracting Description: The region. For example, CA. |
postalCode: | string, optional 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, optional OpenContracting Description: The fax number of the contact point/person. This should include the international dialling code. |
url: | URL, optional OpenContracting Description: A web address for the contact point/person. |
Either email or telephone field has to be provided.
Item¶
Originates from lot.items.
Schema¶
id: | uuid, auto-generated, required Internal identifier for this item. |
||||||
---|---|---|---|---|---|---|---|
description: | string, multilingual, required OpenContracting Description: A description of the goods, services to be provided. |
||||||
classification: | Classification, required OpenContracting Description: The primary classification for the item. See the itemClassificationScheme to identify preferred classification lists. It is required for classification.scheme to be CPV or CAV-PS. The classification.id should be valid CPV or CAV-PS code. |
||||||
additionalClassifications: | |||||||
Array of Classification objects, optional 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. |
|||||||
unit: | Unit, required 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: | decimal, required OpenContracting Description: The number of units required. |
||||||
address: | Address, required Address, where item is located. |
||||||
location: | dictionary, optional Geographical coordinates of the location. Element consists of the following items:
location usually takes precedence over address if both are present. |
||||||
registrationDetails: | |||||||
Registration Details, required |
Classification¶
Schema¶
scheme: | string, required 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, required OpenContracting Description: The classification code drawn from the selected scheme. |
description: | string, required OpenContracting Description: A textual description or title for the code. |
uri: | uri, optional 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, optional OpenContracting Description: Name of the unit |
Registration Details¶
Schema¶
status: | string, required Possible values are:
|
||||||
---|---|---|---|---|---|---|---|
registrationID: | string, optional The document identifier to refer to in the paper documentation. Available for mentioning in status: complete. |
||||||
registrationDate: | |||||||
Date, optional OpenContracting Description: The date on which the document was first published. |
Document¶
Schema¶
id: | string, auto-generated |
---|---|
documentType: | string, required Possible values for Auction
Possible values for Bid
Commercial offers of the auction participants.
Documents confirming the qualification of the participant.
Documents confirming the compliance of the participant with the requirements.
A license that allows you to work with financial documents. Possible values for Cancellation
Document containing information on the reasons for cancellation. Possible values for Award
Documentation of the winning bid, including, wherever applicable, a full copy of the proposal received.
A protocol that allows a contestant to become a winner. Loaded when only one bid was made.
Auction protocol describes all participants and determines the candidate (participant that has submitted the highest bid proposal during the auction).
Documents containing the reasons for termination of work with the participant.
Documents containing the reasons for termination of work with the participant. Possible values for Contract
A copy of the signed contract. Consider providing both machine-readable (e.g. original PDF, Word or Open Document format files), and a separate document entry for scanned-signed pages where this is required.
Copies of annexes and other supporting documentation related to the contract.
Documents containing the reasons for termination of work with the participant.
Documents containing the reasons for termination of work with the participant.
Final document of the privatization body regarding the privatization of the object. |
title: | string, multilingual, required OpenContracting Description: The document title. |
description: | string, multilingual, optional 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, optional 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, optional 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, auto-generated OpenContracting Description: The date on which the document was first published. |
dateModified: | string, Date, auto-generated OpenContracting Description: Date that the document was last modified |
language: | string, optional OpenContracting Description: Specifies the language of the linked document using either two-digit ISO 639-1, or extended BCP47 language tags. |
documentOf: | string, required Possible values are:
|
relatedItem: | string, optional Internal ID of related Item. |
Bid¶
Schema¶
tenderers: | List of Organization objects, required |
---|---|
date: | string, Date, auto-generated Date when bid has been submitted. |
id: | uuid, auto-generated Internal identifire of bid. |
status: | string, required Possible values are:
|
value: | Value, required Validation rules:
|
documents: | Array of Document, optional All documents needed. |
participationUrl: | |
URL, auto-generated A web address for participation in auction. |
|
qualified: | bool, required Confirms the absence of grounds for refusal to participate. CDB accepts only true value. |
eligible: | bool, optional Confirms compliance of eligibility criteria set by the customer in the tendering documents. CDB accepts only true value. |
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. |
status: | string, required OpenContracting Description: The current status of the award drawn from the awardStatus codelist. Possible values are:
|
verificationPeriod: | |
Period, auto-generated, read-only The period of uploading (for the auction winner) and verification (for the bank) of the auction protocol |
|
signingPeriod: | Period, auto-generated, read-only 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: | Array of Organization objects, auto-generated, read-only OpenContracting Description: The suppliers awarded with this award. |
items: | Array 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: | Array of Document objects, required OpenContracting Description: All documents and attachments related to the award, including any notices. |
Question¶
Schema¶
id: | uuid, auto-generated, read-only Internal identifier of the object within an array. |
---|---|
author: | Organization, required Who is asking a question (contactPoint - person, identification - organization that person represents). |
title: | string, required Title of the question. |
description: | string, optional Description of the question. |
date: | Date, auto-generated, read-only Date of posting. |
answer: | string, optional Answer for the question. |
questionOf: | string, required Possible values are:
|
relatedItem: | string, optional ID of related Item. |
Contract¶
Schema¶
id: | uuid, auto-generated OpenContracting Description: The identifier for this contract. |
---|---|
awardID: | string, required, auto-generated OpenContracting Description: The Award.id against which this contract is being issued. |
contractID: | string, auto-generated, read-only OpenContracting Description: The Contract.id against which this contract is being issued. |
contractNumber: | string, optional |
value: | Value object, auto-generated, read-only OpenContracting Description: The total value of this contract. |
items: | Array 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: | Array of Organization objects, auto-generated, read-only |
status: | string, required OpenContracting Description: The current status of the contract. Possible values are:
|
dateSigned: | string, Date OpenContracting Description: The date the contract was signed. In the case of multiple signatures, the date of the last signature. |
signingPeriod: |
OpenContracting Description: The start and end date for the contract signing. |
datePaid: | string, Date OpenContracting Description: The date the contract was paid. |
date: | string, Date The date when the contract was changed or activated. |
documents: | Array 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: | uuid, auto-generated, read-only Internal identifier of the object within an array. |
||||
---|---|---|---|---|---|
reason: | string, multilingual, required The reason, why auction is being cancelled. |
||||
status: | string, required
|
||||
documents: | Array of Document objects, optional Documents accompanying the Cancellation: Protocol of Auction Committee with decision to cancel the Auction. |
||||
date: | string, Date, auto-generated Cancellation date. |
||||
cancellationOf: | string, required Possible values are:
|
ProcuringEntity (Organizer)¶
Schema¶
name: | string, multilingual, optional OpenContracting Description: The common name of the organization. |
---|---|
identifier: | Identifier, required OpenContracting Description: The primary identifier for this organization. |
additionalIdentifiers: | |
Array of Identifier objects |
|
address: | Address, required |
contactPoint: | ContactPoint, required |
kind: | string, optional Type of 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": "Expecting value: line 1 column 1 (char 0)",
"location": "body",
"name": "data"
}
]
}
Error states that no data has been found in JSON body.
Creating auction¶
Let’s create auction with the minimal data set (only required properties):
POST /api/2.3/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1974
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"auctionPeriod": {
"startDate": "2018-03-27"
},
"tenderAttempts": 1,
"procurementMethodType": "tessel",
"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/ca31727f31f243b089cbc005b8fda5ba
{
"access": {
"token": "0ce53b3a0d5d47778c36b80f90b81ad5"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-03-13-000001",
"enquiryPeriod": {
"startDate": "2018-03-13T17:49:01.717562+02:00",
"endDate": "2018-03-26T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-03-26T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "ca31727f31f243b089cbc005b8fda5ba",
"eligibilityCriteria_ru": "Участником электронного аукциона, предметом продажи на которых являются права требования по кредитным договорам и договорам обеспечения, не может быть пользователь, являющийся заёмщиком (должником относительно банка) и\\или поручителем (имущественным поручителем) по таким кредитным договорам и/или договорам обеспечения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.717914+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.717937+02:00",
"id": "dd4e71968a2c4585846704771946ffb4"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "The user, who is the borrower (the debtor of the bank) and/or guarantor (property guarantor) for loan agreements and/or collateral agreements, cannot be the bidder of the electronic auction, where the items for sale are the claim rights on such loan agreements and collateral agreements.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-03-13T17:49:01.720299+02:00",
"status": "active.tendering",
"eligibilityCriteria": "Учасником електронного аукціону, предметом продажу на яких є права вимоги за кредитними договорами та договорами забезпечення, не може бути користувач, який є позичальником (боржником відносно банку) та/або поручителем (майновим поручителем) за такими кредитними договорами та/або договорами забезпечення.",
"tenderPeriod": {
"startDate": "2018-03-13T17:49:01.717562+02:00",
"endDate": "2018-03-27T00:00:30.631944+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-03-27T00:00:00+03:00"
},
"procurementMethodType": "tessel",
"dgfID": "219560",
"date": "2018-03-13T17:49:01.717562+02:00",
"minimalStep": {
"currency": "UAH",
"amount": 0.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e24b924ada114a0d95d03a8c89eadda7",
"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/ca31727f31f243b089cbc005b8fda5ba 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-2018-03-13-000001",
"enquiryPeriod": {
"startDate": "2018-03-13T17:49:01.717562+02:00",
"endDate": "2018-03-26T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-03-26T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "ca31727f31f243b089cbc005b8fda5ba",
"eligibilityCriteria_ru": "Участником электронного аукциона, предметом продажи на которых являются права требования по кредитным договорам и договорам обеспечения, не может быть пользователь, являющийся заёмщиком (должником относительно банка) и\\или поручителем (имущественным поручителем) по таким кредитным договорам и/или договорам обеспечения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.717914+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.717937+02:00",
"id": "dd4e71968a2c4585846704771946ffb4"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "The user, who is the borrower (the debtor of the bank) and/or guarantor (property guarantor) for loan agreements and/or collateral agreements, cannot be the bidder of the electronic auction, where the items for sale are the claim rights on such loan agreements and collateral agreements.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-03-13T17:49:01.720299+02:00",
"status": "active.tendering",
"eligibilityCriteria": "Учасником електронного аукціону, предметом продажу на яких є права вимоги за кредитними договорами та договорами забезпечення, не може бути користувач, який є позичальником (боржником відносно банку) та/або поручителем (майновим поручителем) за такими кредитними договорами та/або договорами забезпечення.",
"tenderPeriod": {
"startDate": "2018-03-13T17:49:01.717562+02:00",
"endDate": "2018-03-27T00:00:30.631944+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-03-27T00:00:00+03:00"
},
"procurementMethodType": "tessel",
"dgfID": "219560",
"date": "2018-03-13T17:49:01.717562+02:00",
"minimalStep": {
"currency": "UAH",
"amount": 0.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e24b924ada114a0d95d03a8c89eadda7",
"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=",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions?offset=",
"offset": ""
},
"data": []
}
We do see the auction’s internal id 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: 2003
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"title": "футляри до державних нагород",
"auctionPeriod": {
"startDate": "2018-03-27"
},
"tenderAttempts": 1,
"procurementMethodType": "tessel",
"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": "fc8f265b54ee45978a976e20010af236",
"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/bdc764b5b90541328626b89b7d67d5b2
{
"access": {
"token": "d60deff105554bc38d9b4f7e64839e5c"
},
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-03-13-000002",
"enquiryPeriod": {
"startDate": "2018-03-13T17:49:01.791689+02:00",
"endDate": "2018-03-26T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-03-26T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"title_en": "Cases with state awards",
"id": "bdc764b5b90541328626b89b7d67d5b2",
"eligibilityCriteria_ru": "Участником электронного аукциона, предметом продажи на которых являются права требования по кредитным договорам и договорам обеспечения, не может быть пользователь, являющийся заёмщиком (должником относительно банка) и\\или поручителем (имущественным поручителем) по таким кредитным договорам и/или договорам обеспечения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.792037+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.792061+02:00",
"id": "0f46bacba90847ac811ebe0004140acb"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "The user, who is the borrower (the debtor of the bank) and/or guarantor (property guarantor) for loan agreements and/or collateral agreements, cannot be the bidder of the electronic auction, where the items for sale are the claim rights on such loan agreements and collateral agreements.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-03-13T17:49:01.794838+02:00",
"status": "active.tendering",
"eligibilityCriteria": "Учасником електронного аукціону, предметом продажу на яких є права вимоги за кредитними договорами та договорами забезпечення, не може бути користувач, який є позичальником (боржником відносно банку) та/або поручителем (майновим поручителем) за такими кредитними договорами та/або договорами забезпечення.",
"tenderPeriod": {
"startDate": "2018-03-13T17:49:01.791689+02:00",
"endDate": "2018-03-27T00:00:30.631944+03:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-03-27T00:00:00+03:00"
},
"procurementMethodType": "tessel",
"dgfID": "219560",
"date": "2018-03-13T17:49:01.791689+02:00",
"minimalStep": {
"currency": "UAH",
"amount": 0.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"unit": {
"code": "44617100-9",
"name": "item"
},
"description": "Земля для військовослужбовців",
"id": "fc8f265b54ee45978a976e20010af236",
"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=2018-03-13T17%3A49%3A01.720299%2B02%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions?offset=2018-03-13T17%3A49%3A01.720299%2B02%3A00",
"offset": "2018-03-13T17:49:01.720299+02:00"
},
"data": [
{
"id": "ca31727f31f243b089cbc005b8fda5ba",
"dateModified": "2018-03-13T17:49:01.720299+02: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/ca31727f31f243b089cbc005b8fda5ba?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"tenderPeriod": {
"endDate": "2018-03-28T17:49:11.862267+02:00"
}
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"procurementMethod": "open",
"auctionID": "UA-EA-2018-03-13-000001",
"enquiryPeriod": {
"startDate": "2018-03-13T17:49:01.717562+02:00",
"endDate": "2018-03-26T23:59:50+03:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-03-26T23:59:50+03:00",
"awardCriteria": "highestCost",
"dgfDecisionID": "219560",
"owner": "broker",
"id": "ca31727f31f243b089cbc005b8fda5ba",
"eligibilityCriteria_ru": "Участником электронного аукциона, предметом продажи на которых являются права требования по кредитным договорам и договорам обеспечения, не может быть пользователь, являющийся заёмщиком (должником относительно банка) и\\или поручителем (имущественным поручителем) по таким кредитным договорам и/или договорам обеспечения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.717914+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.717937+02:00",
"id": "dd4e71968a2c4585846704771946ffb4"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "The user, who is the borrower (the debtor of the bank) and/or guarantor (property guarantor) for loan agreements and/or collateral agreements, cannot be the bidder of the electronic auction, where the items for sale are the claim rights on such loan agreements and collateral agreements.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-03-13T17:49:01.903224+02:00",
"status": "active.tendering",
"eligibilityCriteria": "Учасником електронного аукціону, предметом продажу на яких є права вимоги за кредитними договорами та договорами забезпечення, не може бути користувач, який є позичальником (боржником відносно банку) та/або поручителем (майновим поручителем) за такими кредитними договорами та/або договорами забезпечення.",
"tenderPeriod": {
"startDate": "2018-03-13T17:49:01.717562+02:00",
"endDate": "2018-03-28T17:49:11.862267+02:00"
},
"auctionPeriod": {
"shouldStartAfter": "2018-03-27T00:00:00+03:00"
},
"procurementMethodType": "tessel",
"dgfID": "219560",
"date": "2018-03-13T17:49:01.717562+02:00",
"minimalStep": {
"currency": "UAH",
"amount": 0.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e24b924ada114a0d95d03a8c89eadda7",
"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=2018-03-13T17%3A49%3A01.837792%2B02%3A00",
"uri": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions?offset=2018-03-13T17%3A49%3A01.837792%2B02%3A00",
"offset": "2018-03-13T17:49:01.837792+02:00"
},
"data": [
{
"id": "ca31727f31f243b089cbc005b8fda5ba",
"dateModified": "2018-03-13T17:49:01.720299+02:00"
},
{
"id": "bdc764b5b90541328626b89b7d67d5b2",
"dateModified": "2018-03-13T17:49:01.794838+02:00"
},
{
"id": "a8a592722cb04fe2a6738adac6ff92d0",
"dateModified": "2018-03-13T17:49:01.837792+02:00"
}
]
}
Uploading documentation¶
Organizer can upload PDF files into the created auction. Uploading should follow the Documents Uploading rules.
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 421
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/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=ZfUbigS830p7cGkrIy3hx6%2BUjAnYnqFgHe9xj5ms%2Bw2u5%2BUO34%2Fy4m%2FLIAx2YNM%2BLWT%2Fpjk32GCld5bnh2cmDQ%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/ca31727f31f243b089cbc005b8fda5ba/documents/d2bb192ca9d04d74a20ff43354925739
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.954983+02:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-03-13T17:49:01.955008+02:00",
"id": "d2bb192ca9d04d74a20ff43354925739"
}
}
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/ca31727f31f243b089cbc005b8fda5ba/documents/d2bb192ca9d04d74a20ff43354925739 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/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.954983+02:00",
"previousVersions": [],
"documentType": "technicalSpecifications",
"dateModified": "2018-03-13T17:49:01.955008+02:00",
"id": "d2bb192ca9d04d74a20ff43354925739"
}
}
The single array element describes the uploaded document. We can upload more documents:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 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/c53f5a29c33f48fe88c94ba1978e3636?KeyID=9051732b&Signature=JeKnzqyLsGdyy4h2Ei88eek%2FIu1hTOugBzdYoMzYmUFmRzIYZGzaOkKrPJb%2F6EVztWXK8DF6%2FyFtteJ4V9OIBw%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/ca31727f31f243b089cbc005b8fda5ba/documents/6d59ea99d07546efb587bc43c7d04a5b
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/c53f5a29c33f48fe88c94ba1978e3636?KeyID=9051732b&Signature=dkQjsWyizoNpcOrbXPCKaJkVSRMjtnyjOYBdqwwu%252BBM4dL3jfTYsKQ6mYy5aFfOvYXHs5MoGMjKyxTFxO5YuDQ%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.007367+02:00",
"dateModified": "2018-03-13T17:49:02.007397+02:00",
"id": "6d59ea99d07546efb587bc43c7d04a5b"
}
}
And again we can confirm that there are two documents uploaded.
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/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": "2018-03-13T17:49:01.717914+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.717937+02:00",
"id": "dd4e71968a2c4585846704771946ffb4"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.954983+02:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-03-13T17:49:01.955008+02:00",
"id": "d2bb192ca9d04d74a20ff43354925739"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/c53f5a29c33f48fe88c94ba1978e3636?KeyID=9051732b&Signature=dkQjsWyizoNpcOrbXPCKaJkVSRMjtnyjOYBdqwwu%252BBM4dL3jfTYsKQ6mYy5aFfOvYXHs5MoGMjKyxTFxO5YuDQ%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.007367+02:00",
"dateModified": "2018-03-13T17:49:02.007397+02:00",
"id": "6d59ea99d07546efb587bc43c7d04a5b"
}
]
}
In case we made an error, we can reupload the document over the older version:
PUT /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/documents/6d59ea99d07546efb587bc43c7d04a5b?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 344
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/9abe5606eb7c46dbae8af95de91a6571?KeyID=9051732b&Signature=o6a2%2B3P%2B2JBYnUjGiSDvP%2B4dmdDNiJGpm3CJ3kYF%2FFDU2iLFQ5sNVUrOpudeRVQ7WBx%2B49kywd9HDafXTUmnDw%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/9abe5606eb7c46dbae8af95de91a6571?KeyID=9051732b&Signature=ciAZjBQOOYzNZVQzLejH4Sk2kHgB%252BbIJNd2%2FnB3NZFgE0qDtUL2%2FKp0nolXWoINRa%252BzqBcOITbXJvpQ5jt95Cw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.007367+02:00",
"dateModified": "2018-03-13T17:49:02.059143+02:00",
"id": "6d59ea99d07546efb587bc43c7d04a5b"
}
}
And we can see that it is overriding the original version:
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/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": "2018-03-13T17:49:01.717914+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.717937+02:00",
"id": "dd4e71968a2c4585846704771946ffb4"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.954983+02:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-03-13T17:49:01.955008+02:00",
"id": "d2bb192ca9d04d74a20ff43354925739"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/9abe5606eb7c46dbae8af95de91a6571?KeyID=9051732b&Signature=ciAZjBQOOYzNZVQzLejH4Sk2kHgB%252BbIJNd2%2FnB3NZFgE0qDtUL2%2FKp0nolXWoINRa%252BzqBcOITbXJvpQ5jt95Cw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.007367+02:00",
"dateModified": "2018-03-13T17:49:02.059143+02:00",
"id": "6d59ea99d07546efb587bc43c7d04a5b"
}
]
}
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/ca31727f31f243b089cbc005b8fda5ba/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 434
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/d5a56252751245e493d7a5fb3b143f25?KeyID=9051732b&Signature=CAp7SEKY%2BWSOtYvOSRMLH89TZxNGdAfcwZHqj08xyvfCJfyF872w%2FC%2Bf%2BHPWHVQNEVMF7svv1UyNVPCmnGVwBA%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/ca31727f31f243b089cbc005b8fda5ba/documents/31d1a44dd9924687afb1a50be3e330f6
{
"data": {
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d5a56252751245e493d7a5fb3b143f25?KeyID=9051732b&Signature=YZ317VHUZ%252B%252BnVQa%2FFC6qqI9ZZHhlPx6l%2FRrR2NWWcB%252BB2bdAoxDdg9YtwEg3aZi0V2Oi9ZS2afqLKYUGOW7UDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.110025+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.110045+02:00",
"id": "31d1a44dd9924687afb1a50be3e330f6"
}
}
We can check whether illustration is uploaded.
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/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": "2018-03-13T17:49:01.717914+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.717937+02:00",
"id": "dd4e71968a2c4585846704771946ffb4"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.954983+02:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-03-13T17:49:01.955008+02:00",
"id": "d2bb192ca9d04d74a20ff43354925739"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/9abe5606eb7c46dbae8af95de91a6571?KeyID=9051732b&Signature=ciAZjBQOOYzNZVQzLejH4Sk2kHgB%252BbIJNd2%2FnB3NZFgE0qDtUL2%2FKp0nolXWoINRa%252BzqBcOITbXJvpQ5jt95Cw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.007367+02:00",
"dateModified": "2018-03-13T17:49:02.059143+02:00",
"id": "6d59ea99d07546efb587bc43c7d04a5b"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d5a56252751245e493d7a5fb3b143f25?KeyID=9051732b&Signature=YZ317VHUZ%252B%252BnVQa%2FFC6qqI9ZZHhlPx6l%2FRrR2NWWcB%252BB2bdAoxDdg9YtwEg3aZi0V2Oi9ZS2afqLKYUGOW7UDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.110025+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.110045+02:00",
"id": "31d1a44dd9924687afb1a50be3e330f6"
}
]
}
Organizer can upload second illustration. This illustration should be displayed second, so it has "index": 2
.
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 434
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/a08e06066d06463498b6682b6aa5548c?KeyID=9051732b&Signature=c26yXdcyi5ugLh%2Bfm8TOk60NAz1JY3PfhA8njZBbIkpTvtaYtyXw1388LxNo6QFS58ZaXme%2B4b1sOd0Il%2BRDDQ%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/ca31727f31f243b089cbc005b8fda5ba/documents/76ce8a740ea6437c96b081489123d870
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a08e06066d06463498b6682b6aa5548c?KeyID=9051732b&Signature=FDbJjboLrT9Lo3ey%252B8MkXR6oyLBF2MZSeGHglx7y1nhG3ASrLSCQJu6Z0GjqdJFkl1YeeKLHWnNXVRLAmFHPDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.165811+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.165831+02:00",
"id": "76ce8a740ea6437c96b081489123d870"
}
}
Add third illustration:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 430
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/8728cd5d2dfb4ca2b21fff932fa0a9b6?KeyID=9051732b&Signature=RJCOMwLzJoSV%2BNKcr98oeg5EKPkRQlRGcybKJwqFyclB0WVAEEWQHVxD0GtdiyxHt95MK9onel7v49F1Cp%2BoCQ%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/ca31727f31f243b089cbc005b8fda5ba/documents/508315674c6c489cb8f9f93fd1c88a2d
{
"data": {
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/8728cd5d2dfb4ca2b21fff932fa0a9b6?KeyID=9051732b&Signature=w%2F0W0Z%252Bf%252B%2FEt9%2FsEZqq97NmLTiSg1d8CZopcTPwG1UZW2yfWLeSymMDfoIc1eHUftR9v0rXUmw0Xrl3qFSiCAA%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.207809+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.207831+02:00",
"id": "508315674c6c489cb8f9f93fd1c88a2d"
}
}
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/ca31727f31f243b089cbc005b8fda5ba/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": "2018-03-13T17:49:01.717914+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.717937+02:00",
"id": "dd4e71968a2c4585846704771946ffb4"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.954983+02:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-03-13T17:49:01.955008+02:00",
"id": "d2bb192ca9d04d74a20ff43354925739"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/9abe5606eb7c46dbae8af95de91a6571?KeyID=9051732b&Signature=ciAZjBQOOYzNZVQzLejH4Sk2kHgB%252BbIJNd2%2FnB3NZFgE0qDtUL2%2FKp0nolXWoINRa%252BzqBcOITbXJvpQ5jt95Cw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.007367+02:00",
"dateModified": "2018-03-13T17:49:02.059143+02:00",
"id": "6d59ea99d07546efb587bc43c7d04a5b"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d5a56252751245e493d7a5fb3b143f25?KeyID=9051732b&Signature=YZ317VHUZ%252B%252BnVQa%2FFC6qqI9ZZHhlPx6l%2FRrR2NWWcB%252BB2bdAoxDdg9YtwEg3aZi0V2Oi9ZS2afqLKYUGOW7UDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.110025+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.110045+02:00",
"id": "31d1a44dd9924687afb1a50be3e330f6"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a08e06066d06463498b6682b6aa5548c?KeyID=9051732b&Signature=FDbJjboLrT9Lo3ey%252B8MkXR6oyLBF2MZSeGHglx7y1nhG3ASrLSCQJu6Z0GjqdJFkl1YeeKLHWnNXVRLAmFHPDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.165811+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.165831+02:00",
"id": "76ce8a740ea6437c96b081489123d870"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/8728cd5d2dfb4ca2b21fff932fa0a9b6?KeyID=9051732b&Signature=w%2F0W0Z%252Bf%252B%2FEt9%2FsEZqq97NmLTiSg1d8CZopcTPwG1UZW2yfWLeSymMDfoIc1eHUftR9v0rXUmw0Xrl3qFSiCAA%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.207809+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.207831+02:00",
"id": "508315674c6c489cb8f9f93fd1c88a2d"
}
]
}
Enquiries¶
When auction is in active.tendering status, interested parties can ask questions:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/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/ca31727f31f243b089cbc005b8fda5ba/questions/e87d7b1491a94908bb914e4210e0994b
{
"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": "2018-03-13T17:49:02.343126+02:00",
"id": "e87d7b1491a94908bb914e4210e0994b",
"questionOf": "tender"
}
}
Organizer can answer them:
PATCH /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/questions/e87d7b1491a94908bb914e4210e0994b?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 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": "2018-03-13T17:49:02.343126+02:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "e87d7b1491a94908bb914e4210e0994b",
"questionOf": "tender"
}
}
And one can retrieve the question list:
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/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": "2018-03-13T17:49:02.343126+02:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "e87d7b1491a94908bb914e4210e0994b",
"questionOf": "tender"
}
]
}
Or an individual answer:
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/questions/e87d7b1491a94908bb914e4210e0994b 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": "2018-03-13T17:49:02.343126+02:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "e87d7b1491a94908bb914e4210e0994b",
"questionOf": "tender"
}
}
Registering bid¶
Bidder can register a bid in draft status:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 768
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "draft",
"qualified": true,
"tenderers": [
{
"contactPoint": {
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"countryName": "Україна",
"postalCode": "21100",
"region": "м. Вінниця",
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця"
}
}
],
"eligible": true
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1
{
"access": {
"token": "a2b9dcbe25774fe2a9331a7c5da3b88e"
},
"data": {
"status": "draft",
"eligible": true,
"date": "2018-03-13T17:49:02.490172+02: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": "2d61cec5ecd340d5b72e8193a84ec6e1"
}
}
And activate a bid:
PATCH /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1?acc_token=a2b9dcbe25774fe2a9331a7c5da3b88e 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",
"eligible": true,
"date": "2018-03-13T17:49:02.490172+02: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": "2d61cec5ecd340d5b72e8193a84ec6e1",
"participationUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/ca31727f31f243b089cbc005b8fda5ba/login?bidder_id=2d61cec5ecd340d5b72e8193a84ec6e1&signature=06SLpa1457CetL%2BUdB3Pza%2B6xacncLA8MFnKtQx%2B%2BFgm94uCVjeSxSqRtVlCIPQR1Ng64Mg5%2BMxy0GDRUFZBCw%3D%3D"
}
}
And upload proposal document:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1/documents?acc_token=a2b9dcbe25774fe2a9331a7c5da3b88e 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/90f5ca27a7ea4708a1c3a8e79617a134?KeyID=9051732b&Signature=ipsBMoxbbe3M%2FvtE8DvyRQu2jTKBOQd529hukqNHXL0WfgcuQiZzUmIVyb6zCeNOWvg2K%2FKfZ%2Fjn0n6pJKDwAw%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/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1/documents/bc8f62c615d8467fac907dd9b9522d6e
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1/documents/bc8f62c615d8467fac907dd9b9522d6e?download=90f5ca27a7ea4708a1c3a8e79617a134",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.616512+02:00",
"dateModified": "2018-03-13T17:49:02.616532+02:00",
"id": "bc8f62c615d8467fac907dd9b9522d6e"
}
}
It is possible to check the uploaded documents:
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1/documents?acc_token=a2b9dcbe25774fe2a9331a7c5da3b88e 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/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1/documents/bc8f62c615d8467fac907dd9b9522d6e?download=90f5ca27a7ea4708a1c3a8e79617a134",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.616512+02:00",
"dateModified": "2018-03-13T17:49:02.616532+02:00",
"id": "bc8f62c615d8467fac907dd9b9522d6e"
}
]
}
For the best effect (biggest economy) auction should have multiple bidders registered:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 741
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"qualified": true,
"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": "м. Львів"
}
}
],
"value": {
"amount": 501
},
"eligible": true
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids/86459d45ea7847a199f1ad3b0b983b05
{
"access": {
"token": "0f09820ab05d457cac54e061ee8b9b2a"
},
"data": {
"status": "active",
"eligible": true,
"date": "2018-03-13T17:49:02.700940+02: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": "86459d45ea7847a199f1ad3b0b983b05",
"participationUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/ca31727f31f243b089cbc005b8fda5ba/login?bidder_id=86459d45ea7847a199f1ad3b0b983b05&signature=QEZ4%2BaAV1nTEGT%2BpXO2kWbk0NMp7rhadzC2IytuwSBzMD/BNsvVpYoi78aA24FC3u1HTJJILvdhsBcrbreVODQ%3D%3D"
}
}
Auction¶
After auction is scheduled anybody can visit it to watch. The auction can be reached at Auction.auctionUrl:
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba 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-2018-03-13-000001",
"auctionUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/ca31727f31f243b089cbc005b8fda5ba",
"enquiryPeriod": {
"startDate": "2018-02-21T17:48:55.444253+02:00",
"endDate": "2018-03-13T17:48:55.444253+02:00"
},
"submissionMethod": "electronicAuction",
"dgfDecisionDate": "2016-11-17",
"next_check": "2018-03-14T01:04:45.444253+02:00",
"awardCriteria": "highestCost",
"questions": [
{
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2018-03-13T17:49:02.343126+02:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "e87d7b1491a94908bb914e4210e0994b",
"questionOf": "tender"
}
],
"dgfDecisionID": "219560",
"owner": "broker",
"id": "ca31727f31f243b089cbc005b8fda5ba",
"eligibilityCriteria_ru": "Участником электронного аукциона, предметом продажи на которых являются права требования по кредитным договорам и договорам обеспечения, не может быть пользователь, являющийся заёмщиком (должником относительно банка) и\\или поручителем (имущественным поручителем) по таким кредитным договорам и/или договорам обеспечения.",
"documents": [
{
"title": "Місце та форма прийому заяв на участь в аукціоні та банківські реквізити для зарахування гарантійних внесків",
"url": "http://torgi.fg.gov.ua/prozorrosale",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.717914+02:00",
"documentType": "x_dgfPlatformLegalDetails",
"dateModified": "2018-03-13T17:49:01.717937+02:00",
"id": "dd4e71968a2c4585846704771946ffb4"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:01.954983+02:00",
"documentType": "technicalSpecifications",
"dateModified": "2018-03-13T17:49:01.955008+02:00",
"id": "d2bb192ca9d04d74a20ff43354925739"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/c53f5a29c33f48fe88c94ba1978e3636?KeyID=9051732b&Signature=dkQjsWyizoNpcOrbXPCKaJkVSRMjtnyjOYBdqwwu%252BBM4dL3jfTYsKQ6mYy5aFfOvYXHs5MoGMjKyxTFxO5YuDQ%253D%253D",
"title": "AwardCriteria.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.007367+02:00",
"dateModified": "2018-03-13T17:49:02.007397+02:00",
"id": "6d59ea99d07546efb587bc43c7d04a5b"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/9abe5606eb7c46dbae8af95de91a6571?KeyID=9051732b&Signature=ciAZjBQOOYzNZVQzLejH4Sk2kHgB%252BbIJNd2%2FnB3NZFgE0qDtUL2%2FKp0nolXWoINRa%252BzqBcOITbXJvpQ5jt95Cw%253D%253D",
"title": "AwardCriteria-2.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.007367+02:00",
"dateModified": "2018-03-13T17:49:02.059143+02:00",
"id": "6d59ea99d07546efb587bc43c7d04a5b"
},
{
"index": 1,
"hash": "md5:00000000000000000000000000000000",
"description": "First illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d5a56252751245e493d7a5fb3b143f25?KeyID=9051732b&Signature=YZ317VHUZ%252B%252BnVQa%2FFC6qqI9ZZHhlPx6l%2FRrR2NWWcB%252BB2bdAoxDdg9YtwEg3aZi0V2Oi9ZS2afqLKYUGOW7UDA%253D%253D",
"title": "first_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.110025+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.110045+02:00",
"id": "31d1a44dd9924687afb1a50be3e330f6"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Second illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a08e06066d06463498b6682b6aa5548c?KeyID=9051732b&Signature=FDbJjboLrT9Lo3ey%252B8MkXR6oyLBF2MZSeGHglx7y1nhG3ASrLSCQJu6Z0GjqdJFkl1YeeKLHWnNXVRLAmFHPDg%253D%253D",
"title": "second_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.165811+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.165831+02:00",
"id": "76ce8a740ea6437c96b081489123d870"
},
{
"index": 2,
"hash": "md5:00000000000000000000000000000000",
"description": "Third illustration description",
"format": "image/jpeg",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/8728cd5d2dfb4ca2b21fff932fa0a9b6?KeyID=9051732b&Signature=w%2F0W0Z%252Bf%252B%2FEt9%2FsEZqq97NmLTiSg1d8CZopcTPwG1UZW2yfWLeSymMDfoIc1eHUftR9v0rXUmw0Xrl3qFSiCAA%253D%253D",
"title": "third_illustration.jpeg",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.207809+02:00",
"documentType": "illustration",
"dateModified": "2018-03-13T17:49:02.207831+02:00",
"id": "508315674c6c489cb8f9f93fd1c88a2d"
},
{
"title": "Familiarization with bank asset",
"format": "offline/on-site-examination",
"accessDetails": "Familiar with asset: days, time, address",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.273728+02:00",
"documentType": "x_dgfAssetFamiliarization",
"dateModified": "2018-03-13T17:49:02.273747+02:00",
"id": "c2cc28c265a64cdcb3f2bd1bafcd892f"
}
],
"title": "футляри до державних нагород",
"tenderAttempts": 1,
"eligibilityCriteria_en": "The user, who is the borrower (the debtor of the bank) and/or guarantor (property guarantor) for loan agreements and/or collateral agreements, cannot be the bidder of the electronic auction, where the items for sale are the claim rights on such loan agreements and collateral agreements.",
"procurementMethodDetails": "quick, accelerator=1440",
"dateModified": "2018-03-13T17:49:02.901426+02:00",
"status": "active.auction",
"eligibilityCriteria": "Учасником електронного аукціону, предметом продажу на яких є права вимоги за кредитними договорами та договорами забезпечення, не може бути користувач, який є позичальником (боржником відносно банку) та/або поручителем (майновим поручителем) за такими кредитними договорами та/або договорами забезпечення.",
"tenderPeriod": {
"startDate": "2018-02-21T17:48:55.444253+02:00",
"endDate": "2018-03-13T17:49:12.319253+02:00"
},
"auctionPeriod": {
"startDate": "2018-03-13T17:48:55.444253+02:00",
"shouldStartAfter": "2018-03-14T00:00:00+02:00"
},
"procurementMethodType": "tessel",
"dgfID": "219560",
"date": "2018-03-13T17:49:02.901426+02:00",
"minimalStep": {
"currency": "UAH",
"amount": 0.0,
"valueAddedTaxIncluded": true
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e24b924ada114a0d95d03a8c89eadda7",
"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/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1?acc_token=a2b9dcbe25774fe2a9331a7c5da3b88e 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/ca31727f31f243b089cbc005b8fda5ba/bids/2d61cec5ecd340d5b72e8193a84ec6e1/documents/bc8f62c615d8467fac907dd9b9522d6e?download=90f5ca27a7ea4708a1c3a8e79617a134",
"title": "Proposal.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:02.616512+02:00",
"dateModified": "2018-03-13T17:49:02.616532+02:00",
"id": "bc8f62c615d8467fac907dd9b9522d6e"
}
],
"eligible": true,
"date": "2018-03-13T17:49:02.490172+02: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": "2d61cec5ecd340d5b72e8193a84ec6e1",
"participationUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/ca31727f31f243b089cbc005b8fda5ba/login?bidder_id=2d61cec5ecd340d5b72e8193a84ec6e1&signature=06SLpa1457CetL%2BUdB3Pza%2B6xacncLA8MFnKtQx%2B%2BFgm94uCVjeSxSqRtVlCIPQR1Ng64Mg5%2BMxy0GDRUFZBCw%3D%3D"
}
}
See the Bid.participationUrl in the response. Similar, but different, URL can be retrieved for other participants:
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/bids/86459d45ea7847a199f1ad3b0b983b05?acc_token=0f09820ab05d457cac54e061ee8b9b2a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.ea.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "active",
"eligible": true,
"date": "2018-03-13T17:49:02.700940+02: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": "86459d45ea7847a199f1ad3b0b983b05",
"participationUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/ca31727f31f243b089cbc005b8fda5ba/login?bidder_id=86459d45ea7847a199f1ad3b0b983b05&signature=QEZ4%2BaAV1nTEGT%2BpXO2kWbk0NMp7rhadzC2IytuwSBzMD/BNsvVpYoi78aA24FC3u1HTJJILvdhsBcrbreVODQ%3D%3D"
}
}
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).
GET /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/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",
"verificationPeriod": {
"startDate": "2018-03-13T17:49:03.167518+02:00",
"endDate": "2018-03-13T17:53:03.457101+02:00"
},
"signingPeriod": {
"startDate": "2018-03-13T17:49:03.167518+02:00",
"endDate": "2018-03-13T18:09:02.790434+02:00"
},
"suppliers": [
{
"contactPoint": {
"email": "aagt@gmail.com",
"telephone": "+380 (322) 91-69-30",
"name": "Андрій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137226",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Книга»",
"address": {
"postalCode": "79013",
"countryName": "Україна",
"streetAddress": "вул. Островського, 34",
"region": "м. Львів",
"locality": "м. Львів"
}
}
],
"complaintPeriod": {
"startDate": "2018-03-13T17:49:03.167518+02:00"
},
"bid_id": "86459d45ea7847a199f1ad3b0b983b05",
"value": {
"currency": "UAH",
"amount": 479.0,
"valueAddedTaxIncluded": true
},
"date": "2018-03-13T17:49:03.167518+02:00",
"id": "7d4e36e2232f45b0910f887feaf23af1"
},
{
"status": "pending.waiting",
"complaintPeriod": {
"startDate": "2018-03-13T17:49:03.167518+02: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": "2d61cec5ecd340d5b72e8193a84ec6e1",
"value": {
"currency": "UAH",
"amount": 469.0,
"valueAddedTaxIncluded": true
},
"date": "2018-03-13T17:49:03.167518+02:00",
"id": "70ae2a31ad3840de92d8b0ced384fce6"
}
]
}
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/ca31727f31f243b089cbc005b8fda5ba/awards/7d4e36e2232f45b0910f887feaf23af1/documents?acc_token=0f09820ab05d457cac54e061ee8b9b2a 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/a896d2bee21d48669b866b658a2b5421?KeyID=9051732b&Signature=7Gbk0xPVvAhPC0AqX08PCu9LBQXtExeYCnSfMBx1xShbXE2xBhI9QPAjYC2a%2BFi410oWlJYn4UqwK1q3nOp7DQ%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/ca31727f31f243b089cbc005b8fda5ba/awards/7d4e36e2232f45b0910f887feaf23af1/documents/dc7ccdfb41a44533a03a9cffff4a8850
{
"data": {
"dateModified": "2018-03-13T17:49:03.449222+02:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a896d2bee21d48669b866b658a2b5421?KeyID=9051732b&Signature=i6P59QQMzh8%252BfWJik6jodxWwsAdokeAWTfJbaM76B5amghHYoZqUgrQxx%252BUU3WDT9Tr5cxxwrps4%2FZixJDgFDw%253D%253D",
"author": "bid_owner",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:03.449202+02:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "dc7ccdfb41a44533a03a9cffff4a8850"
}
}
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/awards/7d4e36e2232f45b0910f887feaf23af1/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 379
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d34f99a7d7974129b0b07a29cc6fab83?KeyID=9051732b&Signature=JOhIuaYeqT%2BS2ojCGA4BR0diafDotXmneTp4hMLVNR1hS4fmsjK6s9QhSBUXFcgfmsd8Q%2FIAEtivwbsS2FiYDA%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/ca31727f31f243b089cbc005b8fda5ba/awards/7d4e36e2232f45b0910f887feaf23af1/documents/9aa74f7dd18a486d8f2950d1ca989ae7
{
"data": {
"dateModified": "2018-03-13T17:49:03.539780+02:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d34f99a7d7974129b0b07a29cc6fab83?KeyID=9051732b&Signature=JfJFODRl68KuCQto%252BnHrgJeaQ7ZGLG8wRL42YA8PH5aDbXPDVds1gVQGyqTNXGKB7sqwdLnhRXGJpMLlpBIqCA%253D%253D",
"author": "auction_owner",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:03.539741+02:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "9aa74f7dd18a486d8f2950d1ca989ae7"
}
}
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/f286dd83f6f0475abf06f75d34486918/awards/e00f0f4e529c427096517fec0d32036b?acc_token=8afef504e6e64f1f94342c77c88294f3 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 39
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "pending.payment"
}
}
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/ca31727f31f243b089cbc005b8fda5ba/awards/7d4e36e2232f45b0910f887feaf23af1?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 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": [
{
"dateModified": "2018-03-13T17:49:03.449222+02:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/a896d2bee21d48669b866b658a2b5421?KeyID=9051732b&Signature=i6P59QQMzh8%252BfWJik6jodxWwsAdokeAWTfJbaM76B5amghHYoZqUgrQxx%252BUU3WDT9Tr5cxxwrps4%2FZixJDgFDw%253D%253D",
"author": "bid_owner",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:03.449202+02:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "dc7ccdfb41a44533a03a9cffff4a8850"
},
{
"dateModified": "2018-03-13T17:49:03.539780+02:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/d34f99a7d7974129b0b07a29cc6fab83?KeyID=9051732b&Signature=JfJFODRl68KuCQto%252BnHrgJeaQ7ZGLG8wRL42YA8PH5aDbXPDVds1gVQGyqTNXGKB7sqwdLnhRXGJpMLlpBIqCA%253D%253D",
"author": "auction_owner",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:03.539741+02:00",
"documentType": "auctionProtocol",
"title": "SignedAuctionProtocol.pdf",
"id": "9aa74f7dd18a486d8f2950d1ca989ae7"
}
],
"verificationPeriod": {
"startDate": "2018-03-13T17:49:03.167518+02:00",
"endDate": "2018-03-13T17:49:03.647933+02:00"
},
"signingPeriod": {
"startDate": "2018-03-13T17:49:03.167518+02:00",
"endDate": "2018-03-13T18:09:02.790434+02:00"
},
"suppliers": [
{
"contactPoint": {
"email": "aagt@gmail.com",
"telephone": "+380 (322) 91-69-30",
"name": "Андрій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137226",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Книга»",
"address": {
"postalCode": "79013",
"countryName": "Україна",
"streetAddress": "вул. Островського, 34",
"region": "м. Львів",
"locality": "м. Львів"
}
}
],
"complaintPeriod": {
"startDate": "2018-03-13T17:49:03.167518+02:00",
"endDate": "2018-03-13T17:49:03.647933+02:00"
},
"bid_id": "86459d45ea7847a199f1ad3b0b983b05",
"value": {
"currency": "UAH",
"amount": 479.0,
"valueAddedTaxIncluded": true
},
"date": "2018-03-13T17:49:03.658341+02:00",
"id": "7d4e36e2232f45b0910f887feaf23af1"
}
}
Disqualification of a candidate¶
In case of manual disqualification, the organizer has to upload file with cancellation reason:
POST /api/2.3/auctions/6f0f6b78d53f463bbd96a6e7721b15aa/awards/d1083268c50c4fa2b55c30351d57e1c1/documents?acc_token=d04bcd5a5db84bebaf2d7af95aea2a4a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 382
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/719ad9fe39f744acb248bd2d32d9f9af?KeyID=3ad9481a&Signature=vnBgkdj07suX8iD8d0xOlE8Jer4KzN2lNdQZT9o3EbUhcJcRR0tOJtFl6Kjneghy5K%2BKX51nIdwZ0k0Qx2zeDw%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/6f0f6b78d53f463bbd96a6e7721b15aa/awards/d1083268c50c4fa2b55c30351d57e1c1/documents/a9e934f6aa8d4ed8be541d81c44feef0
{
"data": {
"dateModified": "2018-03-13T17:49:00.623811+02:00",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/719ad9fe39f744acb248bd2d32d9f9af?KeyID=3ad9481a&Signature=tjEu7V%2FxtrYA%252BNpAv6YB5Yje17vtaRGdbpxI71wYj08QHJCb3mYCbJARem%2FpkX%2FoC7SPp5mFNRCqRgT7m3GtBQ%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:00.623792+02:00",
"title": "Disqualified_reason.pdf",
"id": "a9e934f6aa8d4ed8be541d81c44feef0"
}
}
And disqualify candidate:
PATCH /api/2.3/auctions/6f0f6b78d53f463bbd96a6e7721b15aa/awards/d1083268c50c4fa2b55c30351d57e1c1?acc_token=d04bcd5a5db84bebaf2d7af95aea2a4a 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",
"documents": [
{
"dateModified": "2018-03-13T17:49:00.542652+02:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/7ede9960779e46a0a2566d2f31dc2cd0?KeyID=3ad9481a&Signature=xxQKAL%252B3srRivLQgQzdsKhX2n4%252BLPsOkt6uYjHQMXjrrL%2FPMPP9iSKa3jQiu3CoRmz5thKn9Qco%2FVIccfnPNDw%253D%253D",
"author": "bid_owner",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:00.542631+02:00",
"documentType": "auctionProtocol",
"title": "auction_protocol.pdf",
"id": "ab622968b0944f7d94e2f7702da54c61"
},
{
"dateModified": "2018-03-13T17:49:00.623811+02:00",
"hash": "md5:00000000000000000000000000000000",
"description": "Disqualification reason",
"author": "auction_owner",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/719ad9fe39f744acb248bd2d32d9f9af?KeyID=3ad9481a&Signature=tjEu7V%2FxtrYA%252BNpAv6YB5Yje17vtaRGdbpxI71wYj08QHJCb3mYCbJARem%2FpkX%2FoC7SPp5mFNRCqRgT7m3GtBQ%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:00.623792+02:00",
"title": "Disqualified_reason.pdf",
"id": "a9e934f6aa8d4ed8be541d81c44feef0"
}
],
"verificationPeriod": {
"startDate": "2018-03-13T17:49:00.433838+02:00",
"endDate": "2018-03-13T17:49:00.719379+02:00"
},
"description": "Candidate didn’t sign the auction protocol in 3 business days",
"title": "Disqualified",
"suppliers": [
{
"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": "м. Київ"
}
}
],
"complaintPeriod": {
"startDate": "2018-03-13T17:49:00.161595+02:00",
"endDate": "2018-03-13T17:49:00.719379+02:00"
},
"bid_id": "408137f98b17480cbd50c7d917d591fd",
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"date": "2018-03-13T17:49:00.729111+02:00",
"id": "d1083268c50c4fa2b55c30351d57e1c1",
"signingPeriod": {
"startDate": "2018-03-13T17:49:00.433838+02:00",
"endDate": "2018-03-13T18:09:00.058838+02: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/ca31727f31f243b089cbc005b8fda5ba/awards/70ae2a31ad3840de92d8b0ced384fce6?acc_token=a2b9dcbe25774fe2a9331a7c5da3b88e 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": "2018-03-13T17:49:03.167518+02:00",
"endDate": "2018-03-13T17:49:03.332068+02: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": "2d61cec5ecd340d5b72e8193a84ec6e1",
"value": {
"currency": "UAH",
"amount": 469.0,
"valueAddedTaxIncluded": true
},
"date": "2018-03-13T17:49:03.338642+02:00",
"id": "70ae2a31ad3840de92d8b0ced384fce6"
}
}
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/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 349
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/39b2454289e240d38e00636e2e79016a?KeyID=9051732b&Signature=0wVbzhYE8tbKPUz5Ekn2cb%2B9ClOyh2giql3ju30HBQ818xVUQg1vi975QxDFtW4NO2A6intTKkUfBUEtF%2BZWBw%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/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/documents/393a04982b1441138438c7273b49eac1
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/39b2454289e240d38e00636e2e79016a?KeyID=9051732b&Signature=sGiPfaDjXW6iDJHcCpbc1eAc6aGcy9NdEnxZLrLVxcpIIbLp2TheHdUM4klGIrfd7L8rbhBG83PEk%252BrW9%252BzCCg%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:03.945461+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:03.945487+02:00",
"id": "393a04982b1441138438c7273b49eac1"
}
}
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/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/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/39b2454289e240d38e00636e2e79016a?KeyID=9051732b&Signature=sGiPfaDjXW6iDJHcCpbc1eAc6aGcy9NdEnxZLrLVxcpIIbLp2TheHdUM4klGIrfd7L8rbhBG83PEk%252BrW9%252BzCCg%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:03.945461+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:03.945487+02:00",
"id": "393a04982b1441138438c7273b49eac1"
}
]
}
We can add another contract document:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 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/88721cf4cae843ee80ce612a2fe1b79b?KeyID=9051732b&Signature=tL9k0SRxwU0cs%2BbHY3xF0UcTDMqhxd3t2BGCUNGgioWi09k%2BgHKE5vjRz4rmOYYIttUEy3WIyVjeDZdg%2BeaABQ%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/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/documents/718396f63ab84e5d805f02e0026c9ded
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/88721cf4cae843ee80ce612a2fe1b79b?KeyID=9051732b&Signature=ZA%2FjEQr6RDA%2F7FhI6UstyyAqrqKmIsxU4EyuYfLUVSu8Wj3BPm3E3ypVkeG3dVLIhZm785Un8%2Fr4ZM%252BvC8F0AQ%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.104741+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.104761+02:00",
"id": "718396f63ab84e5d805f02e0026c9ded"
}
}
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/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/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/39b2454289e240d38e00636e2e79016a?KeyID=9051732b&Signature=sGiPfaDjXW6iDJHcCpbc1eAc6aGcy9NdEnxZLrLVxcpIIbLp2TheHdUM4klGIrfd7L8rbhBG83PEk%252BrW9%252BzCCg%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:03.945461+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:03.945487+02:00",
"id": "393a04982b1441138438c7273b49eac1"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/88721cf4cae843ee80ce612a2fe1b79b?KeyID=9051732b&Signature=ZA%2FjEQr6RDA%2F7FhI6UstyyAqrqKmIsxU4EyuYfLUVSu8Wj3BPm3E3ypVkeG3dVLIhZm785Un8%2Fr4ZM%252BvC8F0AQ%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.104741+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.104761+02:00",
"id": "718396f63ab84e5d805f02e0026c9ded"
}
]
}
Contract prolongation¶
Candidate can prolongate contract signing period by creating prolongation
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 172
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"decisionID": "ZM-937-99-92",
"reason": "other",
"documents": [],
"description": "Prolongation description",
"datePublished": "2018-03-13T17:48:55.444916+02:00"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations
{
"data": {
"status": "draft",
"decisionID": "ZM-937-99-92",
"description": "Prolongation description",
"dateCreated": "2018-03-13T17:48:56.056522+02:00",
"reason": "other",
"datePublished": "2018-03-13T17:48:55.444916+02:00",
"id": "5a7332f6287f4f36ab23e2f00b755a5b"
}
}
Prolongation must have documents attached to be prepared for activation
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations/5a7332f6287f4f36ab23e2f00b755a5b/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 226
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy671957802199$
Host: api-sandbox.ea.openprocurement.org
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations/5a7332f6287f4f36ab23e2f00b755a5b/documents/876f84e9cb9e4c78bc59a82f6a994aa7
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/bf938a820dfd4afea7f6257f6b7890c0?KeyID=9051732b&Signature=3lf7HJKApzjAFumRfN8w7KjWRD1YZFly%252BwEFyrOpiVrbc3m%2FKl%252BJq1X%252BJuEXRkkDwzc1nTgA0GtXovI2Gjr3Cg%253D%253D",
"title": "ProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.483038+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.483060+02:00",
"id": "876f84e9cb9e4c78bc59a82f6a994aa7"
}
}
Created prolongation has status “draft” by default, so there is a need to set status to “applied” to make it active.
PATCH /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations/5a7332f6287f4f36ab23e2f00b755a5b?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "applied"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "applied",
"decisionID": "ZM-937-99-92",
"description": "Prolongation description",
"datePublished": "2018-03-13T17:48:55.444916+02:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/bf938a820dfd4afea7f6257f6b7890c0?KeyID=9051732b&Signature=3lf7HJKApzjAFumRfN8w7KjWRD1YZFly%252BwEFyrOpiVrbc3m%2FKl%252BJq1X%252BJuEXRkkDwzc1nTgA0GtXovI2Gjr3Cg%253D%253D",
"title": "ProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.483038+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.483060+02:00",
"id": "876f84e9cb9e4c78bc59a82f6a994aa7"
}
],
"dateCreated": "2018-03-13T17:48:56.056522+02:00",
"id": "5a7332f6287f4f36ab23e2f00b755a5b"
}
}
When a contract has been prolongated for first time, a short prolongation period applies. It is equal to 42 working days. It’s also possible to apply long-term (132 days) prolongation: just create new Prolongation for the already prolongated Contract, and apply it.
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 179
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"decisionID": "ZM-937-99-92-2",
"reason": "other",
"documents": [],
"description": "Long prolongation description",
"datePublished": "2018-03-13T17:48:55.444945+02:00"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations
{
"data": {
"status": "draft",
"decisionID": "ZM-937-99-92-2",
"description": "Long prolongation description",
"dateCreated": "2018-03-13T17:48:56.056522+02:00",
"reason": "other",
"datePublished": "2018-03-13T17:48:55.444945+02:00",
"id": "17001a57deec4c9e8d94893e98a41b2c"
}
}
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations/17001a57deec4c9e8d94893e98a41b2c/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 232
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy0634313776474$
Host: api-sandbox.ea.openprocurement.org
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.ea.openprocurement.org/api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations/17001a57deec4c9e8d94893e98a41b2c/documents/3ac38b03ea5147c2bb4b5b7aa432ea56
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/83bf8a28d4b54833b5050aa186d5dafc?KeyID=9051732b&Signature=hEOASma%2FODQf7xlDG%2FXkEYDkNskZT7o8wdNu7a0mAzDIEpRnvTOHYIwRwggMdVjnVsszxyiTE4Oa1q%252BPTG8lAQ%253D%253D",
"title": "LongProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.872779+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.872805+02:00",
"id": "3ac38b03ea5147c2bb4b5b7aa432ea56"
}
}
PATCH /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e/prolongations/17001a57deec4c9e8d94893e98a41b2c?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "applied"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "applied",
"decisionID": "ZM-937-99-92-2",
"description": "Long prolongation description",
"datePublished": "2018-03-13T17:48:55.444945+02:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/83bf8a28d4b54833b5050aa186d5dafc?KeyID=9051732b&Signature=hEOASma%2FODQf7xlDG%2FXkEYDkNskZT7o8wdNu7a0mAzDIEpRnvTOHYIwRwggMdVjnVsszxyiTE4Oa1q%252BPTG8lAQ%253D%253D",
"title": "LongProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.872779+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.872805+02:00",
"id": "3ac38b03ea5147c2bb4b5b7aa432ea56"
}
],
"dateCreated": "2018-03-13T17:48:56.056522+02:00",
"id": "17001a57deec4c9e8d94893e98a41b2c"
}
}
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/ca31727f31f243b089cbc005b8fda5ba/contracts/30925f126c174b389a1eed392c9f0c9e?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 80
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"status": "active",
"dateSigned": "2018-03-13T17:49:05.103318+02:00"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "active",
"prolongations": [
{
"status": "applied",
"decisionID": "ZM-937-99-92",
"description": "Prolongation description",
"datePublished": "2018-03-13T17:48:55.444916+02:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/bf938a820dfd4afea7f6257f6b7890c0?KeyID=9051732b&Signature=3lf7HJKApzjAFumRfN8w7KjWRD1YZFly%252BwEFyrOpiVrbc3m%2FKl%252BJq1X%252BJuEXRkkDwzc1nTgA0GtXovI2Gjr3Cg%253D%253D",
"title": "ProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.483038+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.483060+02:00",
"id": "876f84e9cb9e4c78bc59a82f6a994aa7"
}
],
"dateCreated": "2018-03-13T17:48:56.056522+02:00",
"id": "5a7332f6287f4f36ab23e2f00b755a5b"
},
{
"status": "applied",
"decisionID": "ZM-937-99-92-2",
"description": "Long prolongation description",
"datePublished": "2018-03-13T17:48:55.444945+02:00",
"reason": "other",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/83bf8a28d4b54833b5050aa186d5dafc?KeyID=9051732b&Signature=hEOASma%2FODQf7xlDG%2FXkEYDkNskZT7o8wdNu7a0mAzDIEpRnvTOHYIwRwggMdVjnVsszxyiTE4Oa1q%252BPTG8lAQ%253D%253D",
"title": "LongProlongationDocument.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.872779+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.872805+02:00",
"id": "3ac38b03ea5147c2bb4b5b7aa432ea56"
}
],
"dateCreated": "2018-03-13T17:48:56.056522+02:00",
"id": "17001a57deec4c9e8d94893e98a41b2c"
}
],
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/39b2454289e240d38e00636e2e79016a?KeyID=9051732b&Signature=sGiPfaDjXW6iDJHcCpbc1eAc6aGcy9NdEnxZLrLVxcpIIbLp2TheHdUM4klGIrfd7L8rbhBG83PEk%252BrW9%252BzCCg%253D%253D",
"title": "contract_first_document.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:03.945461+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:03.945487+02:00",
"id": "393a04982b1441138438c7273b49eac1"
},
{
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/88721cf4cae843ee80ce612a2fe1b79b?KeyID=9051732b&Signature=ZA%2FjEQr6RDA%2F7FhI6UstyyAqrqKmIsxU4EyuYfLUVSu8Wj3BPm3E3ypVkeG3dVLIhZm785Un8%2Fr4ZM%252BvC8F0AQ%253D%253D",
"title": "contract_second_document.doc",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:04.104741+02:00",
"documentType": "prolongationProtocol",
"dateModified": "2018-03-13T17:49:04.104761+02:00",
"id": "718396f63ab84e5d805f02e0026c9ded"
}
],
"signingPeriod": {
"startDate": "2018-03-13T17:49:03.167518+02:00",
"endDate": "2018-07-23T17:49:03.167518+02:00"
},
"items": [
{
"description": "Земля для військовослужбовців",
"classification": {
"scheme": "CAV",
"description": "Земельні ділянки",
"id": "06000000-2"
},
"address": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"id": "e24b924ada114a0d95d03a8c89eadda7",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5
}
],
"suppliers": [
{
"contactPoint": {
"email": "aagt@gmail.com",
"telephone": "+380 (322) 91-69-30",
"name": "Андрій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137226",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Книга»",
"address": {
"postalCode": "79013",
"countryName": "Україна",
"streetAddress": "вул. Островського, 34",
"region": "м. Львів",
"locality": "м. Львів"
}
}
],
"period": {
"startDate": "2018-03-13T17:48:55.444611+02:00",
"endDate": "2019-03-13T17:48:55.444611+02:00"
},
"value": {
"currency": "UAH",
"amount": 479.0,
"valueAddedTaxIncluded": true
},
"dateSigned": "2018-03-13T17:49:05.103318+02:00",
"date": "2018-03-13T17:49:05.192504+02:00",
"awardID": "7d4e36e2232f45b0910f887feaf23af1",
"id": "30925f126c174b389a1eed392c9f0c9e",
"contractID": "UA-EA-2018-03-13-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/ca31727f31f243b089cbc005b8fda5ba/cancellations?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 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/ca31727f31f243b089cbc005b8fda5ba/cancellations/7465de80754845dfa596f704a7b40393
{
"data": {
"date": "2018-03-13T17:49:05.377907+02:00",
"status": "pending",
"reason": "cancellation reason",
"cancellationOf": "tender",
"id": "7465de80754845dfa596f704a7b40393"
}
}
Filling cancellation with protocol and supplementary documentation¶
Upload the file contents:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/cancellations/7465de80754845dfa596f704a7b40393/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 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/7c88d88f79254063aa8c756ad81c5a6e?KeyID=9051732b&Signature=jjlF0Tc6Zr6sYxmp1YV3dfOt%2B1H8YDD7qwEPJRcSpqB%2FJiP%2Ft8PQEeVOBrOOVGQFxYAXNRRTMBoYP%2Bx1C8P6BQ%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/ca31727f31f243b089cbc005b8fda5ba/cancellations/7465de80754845dfa596f704a7b40393/documents/3a1a42be6a1e4beead06cf68b634b8e9
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/7c88d88f79254063aa8c756ad81c5a6e?KeyID=9051732b&Signature=kZWyhN76WQg6ZR63AOg%2FkCke%252BfehPI3roD5KJxd6JBLE936jQGchBGpxo8KVKNoxGvMHhbRwSfkb2zqnhXKBDg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:05.501173+02:00",
"dateModified": "2018-03-13T17:49:05.501193+02:00",
"id": "3a1a42be6a1e4beead06cf68b634b8e9"
}
}
Change the document description and other properties:
PATCH /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/cancellations/7465de80754845dfa596f704a7b40393/documents/3a1a42be6a1e4beead06cf68b634b8e9?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 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/7c88d88f79254063aa8c756ad81c5a6e?KeyID=9051732b&Signature=kZWyhN76WQg6ZR63AOg%2FkCke%252BfehPI3roD5KJxd6JBLE936jQGchBGpxo8KVKNoxGvMHhbRwSfkb2zqnhXKBDg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:05.501173+02:00",
"dateModified": "2018-03-13T17:49:05.501193+02:00",
"id": "3a1a42be6a1e4beead06cf68b634b8e9"
}
}
Upload new version of the document:
PUT /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/cancellations/7465de80754845dfa596f704a7b40393/documents/3a1a42be6a1e4beead06cf68b634b8e9?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 327
Content-Type: application/json
Host: api-sandbox.ea.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/54b18e96888648e996cd04e6ba416e58?KeyID=9051732b&Signature=EoZExOvGpEtpbJe5BurLPHs2IfsRjOiFfc3Vw6R5rcr6q4zslblzMsFMkbNR5dszYaXWkRsJJPeqUpFXja5wCQ%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/54b18e96888648e996cd04e6ba416e58?KeyID=9051732b&Signature=tH5MoraFQRPZc01RX7pu1gjXhlP4vPaIwCmwFx9tttJgCQWJn0rbkZq5p2jerzGAV2MFNNVKSkpWchK%252B8h%252BtDA%253D%253D",
"title": "Notice-2.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:05.501173+02:00",
"dateModified": "2018-03-13T17:49:05.764704+02:00",
"id": "3a1a42be6a1e4beead06cf68b634b8e9"
}
}
Activating the request and cancelling auction¶
PATCH /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/cancellations/7465de80754845dfa596f704a7b40393?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 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/7c88d88f79254063aa8c756ad81c5a6e?KeyID=9051732b&Signature=kZWyhN76WQg6ZR63AOg%2FkCke%252BfehPI3roD5KJxd6JBLE936jQGchBGpxo8KVKNoxGvMHhbRwSfkb2zqnhXKBDg%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:05.501173+02:00",
"dateModified": "2018-03-13T17:49:05.501193+02:00",
"id": "3a1a42be6a1e4beead06cf68b634b8e9"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"format": "application/pdf",
"url": "http://public.docs-sandbox.ea.openprocurement.org/get/54b18e96888648e996cd04e6ba416e58?KeyID=9051732b&Signature=tH5MoraFQRPZc01RX7pu1gjXhlP4vPaIwCmwFx9tttJgCQWJn0rbkZq5p2jerzGAV2MFNNVKSkpWchK%252B8h%252BtDA%253D%253D",
"title": "Notice-2.pdf",
"documentOf": "tender",
"datePublished": "2018-03-13T17:49:05.501173+02:00",
"dateModified": "2018-03-13T17:49:05.764704+02:00",
"id": "3a1a42be6a1e4beead06cf68b634b8e9"
}
],
"reason": "cancellation reason",
"date": "2018-03-13T17:49:05.920065+02:00",
"cancellationOf": "tender",
"id": "7465de80754845dfa596f704a7b40393"
}
}
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 the 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.- for the submissionMethodDetails you need to select 1 of 4 options:
- set
fast-forward,dutch=-:-,sealedbid=-:---,bestbid=-:---
as text value.dutch= - : -
- at which step and who won in dutch part.sealedbid= - : ---
- who scored on sealedbid and with what rate.bestbid= - : ---
- who scored on bestbid and with what rate. - set
fast-forward,option1
as text value. The auction will have a bet in dutch part. Minimum required number of participants - 1. - set
fast-forward,option2
as text value. The auction will have a bet in dutch part, a bet on sealedbid. Minimum required number of participants - 2. - set
fast-forward,option3
as text value. The auction will have a bet in dutch part, a bet on sealedbid, and a bet on bestbid. Minimum required number of participants - 2.
- set
This mode will work only in the sandbox.
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/ca31727f31f243b089cbc005b8fda5ba/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0 Authorization: Basic YnJva2VyOg== Content-Length: 421 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/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=ZfUbigS830p7cGkrIy3hx6%2BUjAnYnqFgHe9xj5ms%2Bw2u5%2BUO34%2Fy4m%2FLIAx2YNM%2BLWT%2Fpjk32GCld5bnh2cmDQ%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/ca31727f31f243b089cbc005b8fda5ba/documents/d2bb192ca9d04d74a20ff43354925739 { "data": { "hash": "md5:00000000000000000000000000000000", "description": "document description", "format": "application/pdf", "url": "http://public.docs-sandbox.ea.openprocurement.org/get/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D", "title": "Notice.pdf", "documentOf": "tender", "datePublished": "2018-03-13T17:49:01.954983+02:00", "documentType": "technicalSpecifications", "dateModified": "2018-03-13T17:49:01.955008+02:00", "id": "d2bb192ca9d04d74a20ff43354925739" } }
Upload document without registration¶
Add document in API:
POST /api/2.3/auctions/ca31727f31f243b089cbc005b8fda5ba/documents?acc_token=0ce53b3a0d5d47778c36b80f90b81ad5 HTTP/1.0 Authorization: Basic YnJva2VyOg== Content-Length: 421 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/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=ZfUbigS830p7cGkrIy3hx6%2BUjAnYnqFgHe9xj5ms%2Bw2u5%2BUO34%2Fy4m%2FLIAx2YNM%2BLWT%2Fpjk32GCld5bnh2cmDQ%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/ca31727f31f243b089cbc005b8fda5ba/documents/d2bb192ca9d04d74a20ff43354925739 { "data": { "hash": "md5:00000000000000000000000000000000", "description": "document description", "format": "application/pdf", "url": "http://public.docs-sandbox.ea.openprocurement.org/get/6e9dad0af471454ba2e3bb2ffce1ba30?KeyID=9051732b&Signature=GJpo7izivTVGQ7zfncgV7ZPWkZ5mbUvz7sZANw0x2lAZ9nb0jqr2WOwF3rNVGG2O0n2qGSpDIQC8KMGxt%2F9sDQ%253D%253D", "title": "Notice.pdf", "documentOf": "tender", "datePublished": "2018-03-13T17:49:01.954983+02:00", "documentType": "technicalSpecifications", "dateModified": "2018-03-13T17:49:01.955008+02:00", "id": "d2bb192ca9d04d74a20ff43354925739" } }