Welcome to openprocurement.auctions.appraisal documentation!

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

Contents:

Overview

openprocurement.auctions.appraisal describes the process of insider auction.

The procurementMethodType (type of the procedure) is appraisal.insider.

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 (auctionPeriod.startDate), the rest will be calculated automatically.
  • 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.
  • Bidders can’t delete their bids within the first part of the auction.
  • The maximum (and default) 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.

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

API stability

API is relatively stable. The changes in the API are communicated via Open Procurement API maillist.

Next steps

You might find it helpful to look at the Tutorial.

Procedure Workflow

Status Workflow

digraph G {
    node [style=filled, fillcolor=seashell2];
    edge[style=dashed,  arrowhead="vee"];
    "draft" -> "active.tendering" [color="0.7777 1.0000 0.5020"];
    edge[style=solid,  arrowhead="vee"];
    "active.tendering" -> "active.qualification" [color="0.7777 1.0000 0.5020"];
    edge[dir="forward"];
    "active.qualification" -> "active.awarded" [color="0.7777 1.0000 0.5020"];

    subgraph cluster_1 {
        node [style=solid];
        edge[style=solid]
        "active.tendering" -> "unsuccessful" [color="0.0000 0.0000 0.3882"];
        edge[style=solid]
        "active.qualification" -> "unsuccessful" [color="0.0000 0.0000 0.3882"];
        edge[style=solid];
        "active.awarded" -> "unsuccessful" [color="0.0000 0.0000 0.3882"];
        color=white;
    }

    subgraph cluster_2 {
     node [style=solid];
        edge[style=dashed]
        "active.tendering" -> "cancelled" [color="0.0000 0.0000 0.3882"];
        edge[style=dashed]
        "active.qualification" -> "cancelled" [color="0.0000 0.0000 0.3882"];
        edge[style=dashed];
        "active.awarded" -> "cancelled" [color="0.0000 0.0000 0.3882"];
        color=white;
    }

    edge[dir="forward"];
    "active.awarded" -> "complete" [color="0.7777 1.0000 0.5020"];
}

Roles

Chronograph:solid
Organizer:dashed

Status

Status Description
draft draft of procedure
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)

Data Standard

Data standard is modelled along the Open Contracting Standard with extensions in areas that were not covered by it.

Auction

Schema

id:

uid, auto-generated, read-only

Internal id of procedure.

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.

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.

lotIdentifier:

string, required

Identification number of lot in paper documentation.

title:

string, multilingual, required

  • Ukrainian by default (required) - Ukrainian title
  • title_en (English) - English title
  • title_ru (Russian) - Russian title

Optionally can be mentioned in English/Russian.

The name of the auction, displayed in listings.

description:

string, multilingual, required

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

  • Ukrainian by default - Ukrainian decription
  • decription_en (English) - English decription
  • decription_ru (Russian) - Russian decription
tenderAttempts:

integer, optional

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

Type of the procedure within the auction announcement. The appropriate value is appraisal.insider.

procurementMethodDetails:
 

string, optional

Parameter that accelerates auction periods. Set quick, accelerator=1440 as text value for procurementMethodDetails for the time frames to be reduced in 1440 times. Can be used in sandbox mode only.

submissionMethod:
 

string, auto-generated, read-only

The given value is electronicAuction.

submissionMethodDetails:
 

string, optional

Parameter that works only with mode = “test” and speeds up auction start date. Can be used in sandbox mode only.

procuringEntity:
 

ProcuringEntity (Organizer), required

Organization conducting the auction.

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

auctionParameters:
 

Auction Parameters

The parameters that indicates the major specifications of the procedure.

value:

Value, required

OpenContracting Description: The total estimated value of the procurement.

minimalStep:

Value, auto-generated, read-only

Auction step (increment). minimalStep.value that will be always automatically set is 0.

guarantee:

Guarantee, required

The assumption of responsibility for payment of performance of some obligation if the liable party fails to perform to expectations.

registrationFee:
 

Guarantee, required

The sum of money required to enroll on an official register.

bankAccount:

Bank Account, optional

Details which uniquely identify a bank account, and are used when making or receiving a payment.

items:

Array of Item objects, required

List that contains single item being sold.

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

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

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
draft draft of procedure
active.tendering tendering period (tendering)
active.auction auction period (auction)
active.qualification winner qualification (qualification)
active.awarded standstill period (standstill)
unsuccessful unsuccessful procedure (unsuccessful)
complete complete procedure (complete)
cancelled cancelled procedure (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, auto-generated, read-only (auctionPeriod.startDate is required)

Period when Auction is conducted. startDate should be provided.

awardPeriod:

Period, auto-generated, 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. The default value is 99.

Bank Account

Schema

description:

string, multilingual, optional

Additional information that has to be noted from the Organizer point.

  • Ukrainian by default - Ukrainian decription
    • decription_en (English) - English decription
    • decription_ru (Russian) - Russian decription
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:

  • ‘UA-EDR’;
  • ‘UA-MFO’;
  • ‘accountNumber’.

Fields that can be edited in active.tendering status

  • title
  • title_en
  • title_ru
  • description
  • description_en
  • description_ru
  • tenderAttempts
  • lotIdentifier
  • value
  • minimalStep
  • guarantee
  • items
  • bankAccount
  • registrationFee

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

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

ContactPoint

Schema

name:

string, multilingual, required

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

email:

email

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

telephone:

string

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

faxNumber:

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

Schema

id:

uuid, auto-generated

Internal identifier for this item.

description:

string, multilingual, required

OpenContracting Description:

A description of the goods, services to be provided.

  • Ukrainian by default - Ukrainian decription
  • decription_en (English) - English decription
  • decription_ru (Russian) - Russian decription
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:

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

location usually takes precedence over address if both are present.

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:

unknown:default value;
registering:item is still registering;
complete:item has already been registered.
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 or Item

  • notice - Auction notice

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

  • technicalSpecifications - Technical Specifications

    Detailed technical information about goods or services to be provided.

  • evaluationCriteria - Evaluation Criteria

    Information about how bids will be evaluated.

  • clarifications - Clarifications to bidders questions

    Including replies to issues raised in pre-bid conferences.

  • bidders - Information on bidders

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

  • illustration - Illustrations

  • x_PublicAssetCertificate - Public Asset Certificate

    Information about the auction. It is a link to the Public Asset Certificate.

  • x_presentation - Presentation

    Presentation about an asset that is being sold.

  • x_nda - Non-disclosure Agreement (NDA)

    A non-disclosure agreement between a participant and a bank/Deposit Guarantee Fund.

  • x_PlatformLegalDetails - Platform Legal Details

    Place and application forms for participation in the auction as well as bank details for transferring guarantee deposits.

  • x_dgfAssetFamiliarization - Asset Familiarization

    Goods examination procedure rules / Asset familiarization procedure in data room. Contains information on where and when a given document can be examined offline.

Possible values for Bid

  • commercialProposal - Сommercial proposal

Commercial offers of the auction participants.

  • qualificationDocuments - Qualification documents

Documents confirming the qualification of the participant.

  • eligibilityDocuments - Eligibility documents

Documents confirming the compliance of the participant with the requirements.

  • financialLicense - License

A license that allows you to work with financial documents.

Possible values for Cancellation

  • cancellationDetails - Details of cancellation

Document containing information on the reasons for cancellation.

Possible values for Award

  • winningBid - Winning Bid

Documentation of the winning bid, including, wherever applicable, a full copy of the proposal received.

  • admissionProtocol - Admission Protocol

A protocol that allows a contestant to become a winner. Loaded when only one bid was made.

  • auctionProtocol - Auction protocol

Auction protocol describes all participants and determines the candidate (participant that has submitted the highest bid proposal during the auction).

  • rejectionProtocol - Rejection Protocol

Documents containing the reasons for termination of work with the participant.

  • act - Act

Documents containing the reasons for termination of work with the participant.

Possible values for Contract

  • notice - Contract notice

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

  • contractSigned - Signed Contract

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.

  • contractAnnexe - Annexes to the Contract

Copies of annexes and other supporting documentation related to the contract.

  • rejectionProtocol - Rejection Protocol

Documents containing the reasons for termination of work with the participant.

  • act - Act

Documents containing the reasons for termination of work with the participant.

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:

  • auction
  • item
relatedItem:

string, optional

Internal ID of related Item.

accessDetails:

string, optional

Required for x_dgfAssetFamiliarization document.

Bid

Schema

tenderers:

List of Organization objects, required

date:

string, Date, auto-generated

Date when bid has been submitted.

id:

uid, auto-generated

Internal identifire of bid.

status:

string, required

Possible values are:

  • draft
  • active
value:

Value, required

Validation rules:

  • amount should be less than Auction.value.amout
  • currency should either be absent or match Auction.value.currency
  • valueAddedTaxIncluded should either be absent or match Auction.value.valueAddedTaxIncluded
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:

  • pending.verification - the procedure awaits the auction protocol to be uploaded
  • pending.payment - the procedure awaits the payment to be made
  • unsuccessful - the award has been rejected by the qualification committee (bank)
  • active - the auction is awarded to the bidder from the bid_id
  • pending.waiting - the second bidder awaits the first bidder to be disqualified
  • cancelled - the second bidder does not want to wait for the first bidder to be disqualified
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:

  • tender
  • item
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:

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

string, Date

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

signingPeriod:

Period

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

Schema

startDate:

string, Date

OpenContracting Description: The start date for the period.

endDate:

string, Date

OpenContracting Description: The end date for the period.

startDate should always precede endDate.

Date

Date/time in Date Format: ISO 8601.

Value

Schema

amount:

float, required

OpenContracting Description: Amount as a number.

Should be positive.

currency:

string, required

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

valueAddedTaxIncluded:
 

bool, optional

Value by default is True.

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

Possible values are:
pending:Default. The request is being prepared.
active:Cancellation activated.
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:

  • auction

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

Possible values:
  • general - Organizer (general)
  • special - Organizer that operates in certain spheres of economic activity
  • other - Legal persons that are not organizers in the sense of the Law, but are state, utility, public enterprises, economic partnerships or associations of enterprises in which state or public utility share is 50 percent or more

Award Workflow

Procedure Workflow for 1 Submitted Bid

Award Section

digraph G {
    subgraph cluster_1 {
        node [style=filled, fillcolor=seashell2];
        edge[style=dashed,  arrowhead="vee", label="*"];
        "pending" -> "active";
        node [style=filled, fillcolor=white];

        edge[style=dashed,  arrowhead="vee",  label="**", constraint=false];
        "pending" -> "unsuccessful";
        edge[style=solid,  arrowhead="vee", label="~", constraint=false];
        "active" -> "unsuccessful";
        label = "Awarding Process";
        color=white
        {rank=same; "active" "unsuccessful"}
    }
}

Legend

* protocol is uploaded and award is switched to active by the organizer.

** organizer has decided to disqualify the bidder.

~ organizer switched contract to cancelled.

Roles

Chronograph:solid
Organizer:dashed

Contract Section

digraph G {
    subgraph cluster_1 {
        node [style=filled, fillcolor=seashell2];
        edge[style=dashed,  arrowhead="vee", label="*"];
        "pending" -> "acive";
        label = "Contract Workflow";
        color=white
    }
    edge[style=dashed,  arrowhead="vee",  label="**"];
    "pending" -> "cancelled";
}

Legend

* document was uploaded to contract. The contract itself was successfully activated by the organizer.

** there was no document uploaded. The organizer refused to activate the contract.

Roles
Chronograph:solid
Organizer:dashed

Procedure Description

  1. The procedure receives active.qualification status.

  2. The award with the qualifying bid initially receives pending status.The process enters the verificationPeriod with the auto-generated duration of 0-6 business days. During this term the organizer uploads the protocol (documentType: auctionProtocol) first and manually switches award to active status then. Simultaneously the awarding process enters the signingPeriod phase and the procedure receives active.awarded status.

    2.1 If the organizer decides to disqualify the bidder, a document (documentType: rejectionProtocol or act) has to be uploaded first and the award has to be manually switched to unsuccessful then.

  3. When the qualification procedure enters the signingPeriod stage, which lasts up to 20 days from the beginning of the bidder qualification process. The contract of the qualifying bid initially receives a pending status. Within this time, the organizer should upload the document (documentType: contractSigned) in the system and manually switch contract to active status in order to successfully finish the qualification procedure.

    3.1 For the bidder to be disqualified a document (documentType: rejectionProtocol or act) has to be uploaded first and the contract has to be manually switched to cancelled by the organizer then. When all of the actions are done, award will receive unsuccessful status.

Procedure Workflow for 2 Submitted Bids or More

Award Section

digraph G {
    subgraph cluster_1 {
        node [style=filled, fillcolor=lightblue];
        edge[style=dotted,  arrowhead="vee"];
        "pending.waiting" -> cancelled[label="2nd award only" fontcolor=blue];
        label = "Awarding Process";
        color=white
    }
    subgraph cluster_2 {
        node [style=filled, fillcolor=seashell2];
        edge[label="**", style=dashed,  arrowhead="vee"];
        "pending" -> "active";
        edge[label="*", style=solid,  arrowhead="vee"];
        "pending.waiting" -> "pending";
        node [style=filled, fillcolor=white];
        edge[label="***", style=dashed,  arrowhead="vee"];
        "pending" -> unsuccessful;
        edge[label="~", style=solid,  arrowhead="vee"];
        "active" -> unsuccessful;
        color=white
        {rank=same; "pending" "unsuccessful" "cancelled"}
    }
}

Legend

Blue nodes represent statuses for the 2nd award ONLY

* award for winner is always formed in pending.

** protocol is uploaded and award is switched to active by the organizer.

*** organizer has decided to disqualify the bidder.

~ organizer switched contract to cancelled.

Roles
Chronograph:solid
Organizer:dashed
Participant:dotted

Contract Section

digraph G {
    subgraph cluster_1 {
        node [style=filled, fillcolor=seashell2];
        edge[style=dashed,  arrowhead="vee", label="*"];
        "pending" -> "acive";
        label = "Contract Workflow";
        color=white
    }
    edge[style=dashed,  arrowhead="vee",  label="**"];
    "pending" -> "cancelled";
}

Legend

* document was uploaded to contract. The contract itself was successfully activated by the organizer.

** there was no document uploaded. The organizer refused to activate the contract.

Roles
Chronograph:solid
Organizer:dashed

Procedure Description

  1. The procedure receives active.qualification status.

  2. The award with the highest qualifying bid initially receives pending status. The process enters the verificationPeriod with the auto-generated duration of 0-6 business days. During this term the organizer uploads the protocol (documentType: auctionProtocol) first and manually switches award to active status then. Simultaneously the procedure enters the signingPeriod phase and the procedure receives active.awarded status.

    2.1 If the organizer decides to disqualify the bidder, a document (documentType: rejectionProtocol or act) has to be uploaded first and the award has to be manually switched to unsuccessful then.

3. When the qualification procedure enters the signingPeriod stage, which lasts up to 20 days from the beginning of the bidder qualification process. The contract of the qualifying bid initially receives a pending status. Within this time, the organizer should upload the document (documentType: contractSigned) in the system and manually switch contract to active status in order to successfully finish the qualification procedure.

3.1 For the bidder to be disqualified a document (documentType: rejectionProtocol or act) has to be uploaded first and the contract has to be manually switched to cancelled by the organizer then. As long as such an action is done, award status will receive unsuccessful.
  1. The second highest qualifying bidder, immediately after the auction ending receives the pending.waiting status, in which by default they agree to wait for the end of the qualification of the highest qualifying bidder to be eligible to go through the qualification process if the highest bidder is disqualified. The only action that they can make is to manually cancel the award decision (switch award to cancelled status) - withdraw the security deposit and lose the chance to become a winner of the auction. If that is done and the first highest qualifying bidder becomes unsuccessful, the procedure receives the unsuccessful status. Provided that first award gets disqualified while the second has not disqualified themselves, the second award automatically changes its status from pending.waiting to pending, after which they undergo the same qualification procedure as outlined above for the first award.

Notes

  1. The auto-generated period duration does not influence the actions which can be done.
  2. The organizer can disqualify the award at any stage of the awarding process up to the moment, when a document with the documentType: contractSigned has been uploaded.
  3. The second highest qualifying bidder can disqualify themselves at any point in time BEFORE the start of their qualification process.

Statuses

pending:
Award:Awaiting for the protocol to be uploaded and confirmed by the organizer. The valid bidder is able to submit the protocol as well, although it is not sufficient to move to the next status.
Contract:Awaiting for the contract to be signed (uploaded and activated in the system by the organizer).
active:
Award:Auction protocol (documentType: auctionProtocol) was uploaded so that the award could be switched to active by the organizer.
Contract:The document (documentType: contractSigned) was uploaded so that the status of the contract object could be switched to active by the organizer.
unsuccessful:

Terminal status of award. Rejection protocol or act (documentType: rejectionProtocol/act) was uploaded so that the award could be switched to unsuccessful by the organizer. Or when the contract becomes status cancelled, the status of the award will be unsuccessful.

cancelled:

Terminal status of contract. Rejection protocol or act (documentType: rejectionProtocol/act) was uploaded so that the contract could be switched to cancelled by the organizer.

Tutorial

Exploring basic rules

Let’s try exploring the /auctions endpoint:

GET /api/2.5/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "next_page": {
    "path": "/api/2.5/auctions?offset=",
    "uri": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions?offset=",
    "offset": ""
  },
  "data": []
}

Just invoking it reveals empty set.

Now let’s attempt creating some auction:

POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 4
Content-Type: application/x-www-form-urlencoded
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 415 Unsupported Media Type
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "status": "error",
  "errors": [
    {
      "description": "Content-Type header should be one of ['application/json']",
      "location": "header",
      "name": "Content-Type"
    }
  ]
}

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

Let’s satisfy the Content-type requirement:

POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 4
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 422 Unprocessable Entity
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "status": "error",
  "errors": [
    {
      "description": "Expecting value: line 1 column 1 (char 0)",
      "location": "body",
      "name": "data"
    }
  ]
}

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

Creating auction

Let’s create auction:

POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2314
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "bankAccount": {
      "accountIdentification": [
        {
          "scheme": "accountNumber",
          "id": "111111-8",
          "description": "some description"
        }
      ],
      "bankName": "name of bank"
    },
    "lotIdentifier": "Q24421K222",
    "documents": [
      {
        "format": "application/msword",
        "title": "укр.doc",
        "accessDetails": "access details",
        "documentType": "x_dgfAssetFamiliarization"
      }
    ],
    "title": "футляри до державних нагород",
    "auctionPeriod": {
      "startDate": "2018-12-21"
    },
    "tenderAttempts": 1,
    "procurementMethodType": "appraisal.insider",
    "value": {
      "currency": "UAH",
      "amount": 100
    },
    "procuringEntity": {
      "contactPoint": {
        "name": "Державне управління справами",
        "telephone": "0440000000"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "id": "00037256",
        "uri": "http://www.dus.gov.ua/"
      },
      "name": "Державне управління справами",
      "address": {
        "countryName": "Україна",
        "postalCode": "01220",
        "region": "м. Київ",
        "streetAddress": "вул. Банкова, 11, корпус 1",
        "locality": "м. Київ"
      }
    },
    "items": [
      {
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "address": {
          "countryName": "Україна",
          "postalCode": "79000",
          "region": "м. Київ",
          "streetAddress": "вул. Банкова 1",
          "locality": "м. Київ"
        },
        "description": "Земля для військовослужбовців",
        "classification": {
          "scheme": "CPV",
          "id": "51413000-0",
          "description": "Земельні ділянки"
        },
        "quantity": 5
      }
    ],
    "auctionParameters": {
      "type": "insider",
      "dutchSteps": 88
    },
    "registrationFee": {
      "currency": "UAH",
      "amount": 700.87
    }
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09
X-Content-Type-Options: nosniff
{
  "access": {
    "transfer": "05fb087ac03e4180845b1f201bd9ee56",
    "token": "2ae288c6a1204108bc3013241ac553eb"
  },
  "data": {
    "procurementMethod": "open",
    "auctionID": "UA-EA-2018-12-07-000002",
    "enquiryPeriod": {
      "startDate": "2018-12-07T19:32:46.197484+02:00",
      "endDate": "2018-12-20T20:00:00+02:00"
    },
    "registrationFee": {
      "currency": "UAH",
      "amount": 700.87
    },
    "submissionMethod": "electronicAuction",
    "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": "м. Київ"
      }
    },
    "owner": "broker",
    "id": "0a3e5825752c49199ced43de14247e09",
    "title": "футляри до державних нагород",
    "tenderAttempts": 1,
    "auctionParameters": {
      "type": "insider",
      "dutchSteps": 88
    },
    "dateModified": "2018-12-07T19:32:46.211545+02:00",
    "status": "draft",
    "tenderPeriod": {
      "startDate": "2018-12-07T19:32:46.197484+02:00",
      "endDate": "2018-12-21T16:15:00+02:00"
    },
    "bankAccount": {
      "accountIdentification": [
        {
          "scheme": "accountNumber",
          "id": "111111-8",
          "description": "some description"
        }
      ],
      "bankName": "name of bank"
    },
    "procurementMethodType": "appraisal.insider",
    "date": "2018-12-07T19:32:46.197484+02:00",
    "lotIdentifier": "Q24421K222",
    "minimalStep": {
      "currency": "UAH",
      "amount": 0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Земля для військовослужбовців",
        "classification": {
          "scheme": "CPV",
          "description": "Земельні ділянки",
          "id": "51413000-0"
        },
        "address": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "6c318ef0d2954b0480d3310fe83d9266",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 5
      }
    ],
    "value": {
      "currency": "UAH",
      "amount": 100.0,
      "valueAddedTaxIncluded": true
    },
    "awardCriteria": "highestCost"
  }
}

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 the procedure is created in draft status, so you need to manually switch it to active.tendering.

PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 40
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
X-Access-Token: 2ae288c6a1204108bc3013241ac553eb
DATA:
{
  "data": {
    "status": "active.tendering"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "procurementMethod": "open",
    "auctionID": "UA-EA-2018-12-07-000002",
    "enquiryPeriod": {
      "startDate": "2018-12-07T19:32:46.197484+02:00",
      "endDate": "2018-12-20T20:00:00+02:00"
    },
    "registrationFee": {
      "currency": "UAH",
      "amount": 700.87
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2018-12-20T20:00:00+02:00",
    "awardCriteria": "highestCost",
    "owner": "broker",
    "id": "0a3e5825752c49199ced43de14247e09",
    "title": "футляри до державних нагород",
    "tenderAttempts": 1,
    "auctionParameters": {
      "type": "insider",
      "dutchSteps": 88
    },
    "dateModified": "2018-12-07T19:32:46.278565+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2018-12-07T19:32:46.197484+02:00",
      "endDate": "2018-12-21T16:15:00+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2018-12-21T00:00:00+02:00"
    },
    "bankAccount": {
      "accountIdentification": [
        {
          "scheme": "accountNumber",
          "id": "111111-8",
          "description": "some description"
        }
      ],
      "bankName": "name of bank"
    },
    "procurementMethodType": "appraisal.insider",
    "date": "2018-12-07T19:32:46.278565+02:00",
    "lotIdentifier": "Q24421K222",
    "minimalStep": {
      "currency": "UAH",
      "amount": 0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Земля для військовослужбовців",
        "classification": {
          "scheme": "CPV",
          "description": "Земельні ділянки",
          "id": "51413000-0"
        },
        "address": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "6c318ef0d2954b0480d3310fe83d9266",
        "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": "м. Київ"
      }
    }
  }
}

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

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "procurementMethod": "open",
    "auctionID": "UA-EA-2018-12-07-000002",
    "enquiryPeriod": {
      "startDate": "2018-12-07T19:32:46.197484+02:00",
      "endDate": "2018-12-20T20:00:00+02:00"
    },
    "registrationFee": {
      "currency": "UAH",
      "amount": 700.87
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2018-12-20T20:00:00+02:00",
    "awardCriteria": "highestCost",
    "owner": "broker",
    "id": "0a3e5825752c49199ced43de14247e09",
    "title": "футляри до державних нагород",
    "tenderAttempts": 1,
    "auctionParameters": {
      "type": "insider",
      "dutchSteps": 88
    },
    "dateModified": "2018-12-07T19:32:46.278565+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2018-12-07T19:32:46.197484+02:00",
      "endDate": "2018-12-21T16:15:00+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2018-12-21T00:00:00+02:00"
    },
    "bankAccount": {
      "accountIdentification": [
        {
          "scheme": "accountNumber",
          "id": "111111-8",
          "description": "some description"
        }
      ],
      "bankName": "name of bank"
    },
    "procurementMethodType": "appraisal.insider",
    "date": "2018-12-07T19:32:46.278565+02:00",
    "lotIdentifier": "Q24421K222",
    "minimalStep": {
      "currency": "UAH",
      "amount": 0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Земля для військовослужбовців",
        "classification": {
          "scheme": "CPV",
          "description": "Земельні ділянки",
          "id": "51413000-0"
        },
        "address": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "6c318ef0d2954b0480d3310fe83d9266",
        "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.5/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "next_page": {
    "path": "/api/2.5/auctions?offset=2018-12-07T19%3A32%3A45.972957%2B02%3A00",
    "uri": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions?offset=2018-12-07T19%3A32%3A45.972957%2B02%3A00",
    "offset": "2018-12-07T19:32:45.972957+02:00"
  },
  "data": [
    {
      "id": "d62349239bd540f8adcf5571207b2fa4",
      "dateModified": "2018-12-07T19:32:45.972957+02:00"
    }
  ]
}

We do see the auction’s internal id and its dateModified datestamp.

Let’s try creating auction with more data:

POST /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 2343
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "bankAccount": {
      "accountIdentification": [
        {
          "scheme": "accountNumber",
          "id": "111111-8",
          "description": "some description"
        }
      ],
      "bankName": "name of bank"
    },
    "lotIdentifier": "Q24421K222",
    "documents": [
      {
        "format": "application/msword",
        "title": "укр.doc",
        "accessDetails": "access details",
        "documentType": "x_dgfAssetFamiliarization"
      }
    ],
    "title": "футляри до державних нагород",
    "auctionPeriod": {
      "startDate": "2018-12-21"
    },
    "tenderAttempts": 1,
    "procurementMethodType": "appraisal.insider",
    "value": {
      "currency": "UAH",
      "amount": 100
    },
    "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": "м. Київ"
      }
    },
    "title_ru": "футляры к государственным наградам",
    "items": [
      {
        "classification": {
          "scheme": "CPV",
          "id": "45255120-6",
          "description": "Земельні ділянки"
        },
        "description": "Земля для військовослужбовців",
        "id": "971975dbd9384856b693ec7e8cc39982",
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "quantity": 5
      }
    ],
    "auctionParameters": {
      "type": "insider",
      "dutchSteps": 88
    },
    "title_en": "Cases with state awards",
    "registrationFee": {
      "currency": "UAH",
      "amount": 700.87
    }
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/8cce67fe5acc42edaf36089bbb186c4d
X-Content-Type-Options: nosniff
{
  "access": {
    "transfer": "5f418678a3224f49a63ba07cb3da66d6",
    "token": "73becd61bea04e399ec266b165b60754"
  },
  "data": {
    "procurementMethod": "open",
    "auctionID": "UA-EA-2018-12-07-000003",
    "enquiryPeriod": {
      "startDate": "2018-12-07T19:32:46.350295+02:00",
      "endDate": "2018-12-20T20:00:00+02:00"
    },
    "registrationFee": {
      "currency": "UAH",
      "amount": 700.87
    },
    "submissionMethod": "electronicAuction",
    "awardCriteria": "highestCost",
    "owner": "broker",
    "id": "8cce67fe5acc42edaf36089bbb186c4d",
    "title": "футляри до державних нагород",
    "tenderAttempts": 1,
    "auctionParameters": {
      "type": "insider",
      "dutchSteps": 88
    },
    "dateModified": "2018-12-07T19:32:46.373307+02:00",
    "status": "draft",
    "tenderPeriod": {
      "startDate": "2018-12-07T19:32:46.350295+02:00",
      "endDate": "2018-12-21T16:15:00+02:00"
    },
    "title_en": "Cases with state awards",
    "bankAccount": {
      "accountIdentification": [
        {
          "scheme": "accountNumber",
          "id": "111111-8",
          "description": "some description"
        }
      ],
      "bankName": "name of bank"
    },
    "procurementMethodType": "appraisal.insider",
    "date": "2018-12-07T19:32:46.350295+02:00",
    "lotIdentifier": "Q24421K222",
    "minimalStep": {
      "currency": "UAH",
      "amount": 0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "unit": {
          "code": "44617100-9",
          "name": "item"
        },
        "description": "Земля для військовослужбовців",
        "id": "971975dbd9384856b693ec7e8cc39982",
        "classification": {
          "scheme": "CPV",
          "description": "Земельні ділянки",
          "id": "45255120-6"
        },
        "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.5/auctions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "next_page": {
    "path": "/api/2.5/auctions?offset=2018-12-07T19%3A32%3A46.278565%2B02%3A00",
    "uri": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions?offset=2018-12-07T19%3A32%3A46.278565%2B02%3A00",
    "offset": "2018-12-07T19:32:46.278565+02:00"
  },
  "data": [
    {
      "id": "d62349239bd540f8adcf5571207b2fa4",
      "dateModified": "2018-12-07T19:32:45.972957+02:00"
    },
    {
      "id": "0a3e5825752c49199ced43de14247e09",
      "dateModified": "2018-12-07T19:32:46.278565+02:00"
    }
  ]
}

And indeed we have 2 procedures now.

Modifying auction

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

PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 75
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "tenderPeriod": {
      "endDate": "2018-12-22T19:32:56.488261+02:00"
    }
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "procurementMethod": "open",
    "auctionID": "UA-EA-2018-12-07-000002",
    "enquiryPeriod": {
      "startDate": "2018-12-07T19:32:46.197484+02:00",
      "endDate": "2018-12-20T20:00:00+02:00"
    },
    "registrationFee": {
      "currency": "UAH",
      "amount": 700.87
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2018-12-20T20:00:00+02:00",
    "awardCriteria": "highestCost",
    "owner": "broker",
    "id": "0a3e5825752c49199ced43de14247e09",
    "title": "футляри до державних нагород",
    "tenderAttempts": 1,
    "auctionParameters": {
      "type": "insider",
      "dutchSteps": 88
    },
    "dateModified": "2018-12-07T19:32:46.526750+02:00",
    "status": "active.tendering",
    "tenderPeriod": {
      "startDate": "2018-12-07T19:32:46.197484+02:00",
      "endDate": "2018-12-22T19:32:56.488261+02:00"
    },
    "auctionPeriod": {
      "shouldStartAfter": "2018-12-21T00:00:00+02:00"
    },
    "bankAccount": {
      "accountIdentification": [
        {
          "scheme": "accountNumber",
          "id": "111111-8",
          "description": "some description"
        }
      ],
      "bankName": "name of bank"
    },
    "procurementMethodType": "appraisal.insider",
    "date": "2018-12-07T19:32:46.278565+02:00",
    "lotIdentifier": "Q24421K222",
    "minimalStep": {
      "currency": "UAH",
      "amount": 0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Земля для військовослужбовців",
        "classification": {
          "scheme": "CPV",
          "description": "Земельні ділянки",
          "id": "51413000-0"
        },
        "address": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "6c318ef0d2954b0480d3310fe83d9266",
        "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 properties have merged with existing data. Additionally, the dateModified property was updated to reflect the last modification datestamp.

Checking the listing again reflects the new modification date:

GET /api/2.5/auctions?opt_pretty=1 HTTP/1.0
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "next_page": {
    "path": "/api/2.5/auctions?offset=2018-12-07T19%3A32%3A46.278565%2B02%3A00",
    "uri": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions?offset=2018-12-07T19%3A32%3A46.278565%2B02%3A00",
    "offset": "2018-12-07T19:32:46.278565+02:00"
  },
  "data": [
    {
      "id": "d62349239bd540f8adcf5571207b2fa4",
      "dateModified": "2018-12-07T19:32:45.972957+02:00"
    },
    {
      "id": "0a3e5825752c49199ced43de14247e09",
      "dateModified": "2018-12-07T19:32:46.278565+02:00"
    }
  ]
}

Uploading documentation

Organizer can upload PDF files into the created auction. Uploading should follow the Documents Uploading rules.

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 413
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "document description",
    "title": "Notice.pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=DzMn92M8VTpMmHmbZWkMWaZvMrtXA85WcUnK%2B8VVkdR4DBGETSC%2FOcMnWYpHaUyzZe5UVqRDHc11shf3TQ%2FFDg%3D%3D",
    "format": "application/pdf",
    "documentType": "technicalSpecifications"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/83124e21000e4fcbb2459ebdeed9d813
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "document description",
    "format": "application/pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
    "title": "Notice.pdf",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:46.577230+02:00",
    "documentType": "technicalSpecifications",
    "dateModified": "2018-12-07T19:32:46.577251+02:00",
    "id": "83124e21000e4fcbb2459ebdeed9d813"
  }
}

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

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/83124e21000e4fcbb2459ebdeed9d813 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "document description",
    "format": "application/pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
    "title": "Notice.pdf",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:46.577230+02:00",
    "previousVersions": [],
    "documentType": "technicalSpecifications",
    "dateModified": "2018-12-07T19:32:46.577251+02:00",
    "id": "83124e21000e4fcbb2459ebdeed9d813"
  }
}

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

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 342
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/281d783c1b6346e780f9f9dab1dcf430?KeyID=172d32c8&Signature=eUyolpt2C0L%2BX1Ua00xdjC4SjmqBmfeR%2Fy2TCDkMTl9xVePFxNxK%2BsuDhMYo7dVMYXTkwfUqwrIot%2B2%2F28aoBQ%3D%3D",
    "title": "AwardCriteria.pdf",
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/aeb0731d9d994d4e889efb74564aa0e1
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/281d783c1b6346e780f9f9dab1dcf430?KeyID=172d32c8&Signature=KFMZBRs5MRqjPYqfG4PJdpRFN4%2FQ8Al4M4vhs0Ao2hiezyi%2FHw3%2Fg3A8tic4SFhOdiwBAT2z%252BE6cOTeh4uiaCw%253D%253D",
    "title": "AwardCriteria.pdf",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:46.631127+02:00",
    "dateModified": "2018-12-07T19:32:46.631149+02:00",
    "id": "aeb0731d9d994d4e889efb74564aa0e1"
  }
}

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

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "description": "document description",
      "format": "application/pdf",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
      "title": "Notice.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.577230+02:00",
      "documentType": "technicalSpecifications",
      "dateModified": "2018-12-07T19:32:46.577251+02:00",
      "id": "83124e21000e4fcbb2459ebdeed9d813"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "format": "application/pdf",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/281d783c1b6346e780f9f9dab1dcf430?KeyID=172d32c8&Signature=KFMZBRs5MRqjPYqfG4PJdpRFN4%2FQ8Al4M4vhs0Ao2hiezyi%2FHw3%2Fg3A8tic4SFhOdiwBAT2z%252BE6cOTeh4uiaCw%253D%253D",
      "title": "AwardCriteria.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.631127+02:00",
      "dateModified": "2018-12-07T19:32:46.631149+02:00",
      "id": "aeb0731d9d994d4e889efb74564aa0e1"
    }
  ]
}

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

PUT /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/aeb0731d9d994d4e889efb74564aa0e1?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 336
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/25fbbbe7a6e5459eb51b8f46cbd2b4bd?KeyID=172d32c8&Signature=JUH6oxyz3zM%2BNsKdzEjnYY6J33ADlNQdr2MhesW0zxjSOPDzAyPojbRLXa8zxmXnQ1pCTcOXlBQ3jkGbSi9rBw%3D%3D",
    "title": "AwardCriteria-2.pdf",
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/25fbbbe7a6e5459eb51b8f46cbd2b4bd?KeyID=172d32c8&Signature=O%252Bl5pUX65yElbq4o5A2E1gTpXBN4EihOth%252Bb3XseESkl57q9YkZQuovXwz27N5L0sWNB70TIaNeQUD0pa19zBg%253D%253D",
    "title": "AwardCriteria-2.pdf",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:46.631127+02:00",
    "dateModified": "2018-12-07T19:32:46.690425+02:00",
    "id": "aeb0731d9d994d4e889efb74564aa0e1"
  }
}

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

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "description": "document description",
      "format": "application/pdf",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
      "title": "Notice.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.577230+02:00",
      "documentType": "technicalSpecifications",
      "dateModified": "2018-12-07T19:32:46.577251+02:00",
      "id": "83124e21000e4fcbb2459ebdeed9d813"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "format": "application/pdf",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/25fbbbe7a6e5459eb51b8f46cbd2b4bd?KeyID=172d32c8&Signature=O%252Bl5pUX65yElbq4o5A2E1gTpXBN4EihOth%252Bb3XseESkl57q9YkZQuovXwz27N5L0sWNB70TIaNeQUD0pa19zBg%253D%253D",
      "title": "AwardCriteria-2.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.631127+02:00",
      "dateModified": "2018-12-07T19:32:46.690425+02:00",
      "id": "aeb0731d9d994d4e889efb74564aa0e1"
    }
  ]
}

Uploading illustration

Organizer can upload illustration files into the created auction. Uploading should follow the Documents Uploading rules.

In order to specify illustration display order, index field can be used (for details see Document). Since this illustration should be displayed first, it has "index": 1.

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 432
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "index": 1,
    "hash": "md5:00000000000000000000000000000000",
    "description": "First illustration description",
    "title": "first_illustration.jpeg",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/86a31bfc90b146daada8bcaaea249fae?KeyID=172d32c8&Signature=6C63x1c0TlarTcNKiKD2gP2wpnBA1UKRBjMZyNhL%2F%2B3IUuXLZfayfuijSRsDT0Y2UaThUjOuf0%2BIpL7ilSbPDQ%3D%3D",
    "format": "image/jpeg",
    "documentType": "illustration"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/9fb85bc93fca46a2aa1249dcc332f91f
X-Content-Type-Options: nosniff
{
  "data": {
    "index": 1,
    "hash": "md5:00000000000000000000000000000000",
    "description": "First illustration description",
    "format": "image/jpeg",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/86a31bfc90b146daada8bcaaea249fae?KeyID=172d32c8&Signature=v9rr8%2F2XvR3seMAi4OUguDPt7nvVwsuDxhtsyamgVhxbiCwR6q%2FsqwRqG8uoGzXgEQRJW%2Fx0%2FoLlJsIpJt0QBQ%253D%253D",
    "title": "first_illustration.jpeg",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:46.749631+02:00",
    "documentType": "illustration",
    "dateModified": "2018-12-07T19:32:46.749652+02:00",
    "id": "9fb85bc93fca46a2aa1249dcc332f91f"
  }
}

We can check whether illustration is uploaded.

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "description": "document description",
      "format": "application/pdf",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
      "title": "Notice.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.577230+02:00",
      "documentType": "technicalSpecifications",
      "dateModified": "2018-12-07T19:32:46.577251+02:00",
      "id": "83124e21000e4fcbb2459ebdeed9d813"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "format": "application/pdf",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/25fbbbe7a6e5459eb51b8f46cbd2b4bd?KeyID=172d32c8&Signature=O%252Bl5pUX65yElbq4o5A2E1gTpXBN4EihOth%252Bb3XseESkl57q9YkZQuovXwz27N5L0sWNB70TIaNeQUD0pa19zBg%253D%253D",
      "title": "AwardCriteria-2.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.631127+02:00",
      "dateModified": "2018-12-07T19:32:46.690425+02:00",
      "id": "aeb0731d9d994d4e889efb74564aa0e1"
    },
    {
      "index": 1,
      "hash": "md5:00000000000000000000000000000000",
      "description": "First illustration description",
      "format": "image/jpeg",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/86a31bfc90b146daada8bcaaea249fae?KeyID=172d32c8&Signature=v9rr8%2F2XvR3seMAi4OUguDPt7nvVwsuDxhtsyamgVhxbiCwR6q%2FsqwRqG8uoGzXgEQRJW%2Fx0%2FoLlJsIpJt0QBQ%253D%253D",
      "title": "first_illustration.jpeg",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.749631+02:00",
      "documentType": "illustration",
      "dateModified": "2018-12-07T19:32:46.749652+02:00",
      "id": "9fb85bc93fca46a2aa1249dcc332f91f"
    }
  ]
}

Organizer can upload second illustration. This illustration should be displayed second, so it has "index": 2.

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 430
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "index": 2,
    "hash": "md5:00000000000000000000000000000000",
    "description": "Second illustration description",
    "title": "second_illustration.jpeg",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/717b626eca294ca683983c7357f8ac38?KeyID=172d32c8&Signature=tdc33dMEwZvfYuMpUTjTSFZWPYjDPbz3Iz0KMrhyT5p%2B2EOwOC37AQZFJWix4BZP4RFfMBhPkLqc0cwOuURiCA%3D%3D",
    "format": "image/jpeg",
    "documentType": "illustration"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/daf3e8d92dfa45dfb53b9e1642e7d536
X-Content-Type-Options: nosniff
{
  "data": {
    "index": 2,
    "hash": "md5:00000000000000000000000000000000",
    "description": "Second illustration description",
    "format": "image/jpeg",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/717b626eca294ca683983c7357f8ac38?KeyID=172d32c8&Signature=rwjpcybLuSvPSPIBB%252Bzvu9BHKaaPDA7T1ztY55ZQSbDIJ9LJogTRYDJn%252B0VZ0EtS4PM482htRZzrOhiD4KheCg%253D%253D",
    "title": "second_illustration.jpeg",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:46.823785+02:00",
    "documentType": "illustration",
    "dateModified": "2018-12-07T19:32:46.823805+02:00",
    "id": "daf3e8d92dfa45dfb53b9e1642e7d536"
  }
}

Add third illustration:

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 432
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "index": 2,
    "hash": "md5:00000000000000000000000000000000",
    "description": "Third illustration description",
    "title": "third_illustration.jpeg",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/170853d3f13f4886832435402282bc23?KeyID=172d32c8&Signature=S1lxKMG6%2BD19HcK70BSh8t57ybi2PX95ZnBAetDylIEoW1nCDniKp2p7ZMeJk%2BV8uPgRuqePekS3e%2FXXYdfrBg%3D%3D",
    "format": "image/jpeg",
    "documentType": "illustration"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/77f73be3f482443ba8bb5b7e8912fd09
X-Content-Type-Options: nosniff
{
  "data": {
    "index": 2,
    "hash": "md5:00000000000000000000000000000000",
    "description": "Third illustration description",
    "format": "image/jpeg",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/170853d3f13f4886832435402282bc23?KeyID=172d32c8&Signature=uC3%252BL3KgN9A42hXxQBrhPlLYT%252BdYey2%252BF4BNKFlbWaowXGlgodrRDkyG1ZQYDroD8Xc85Ybj0nhDqVHvw1QfBQ%253D%253D",
    "title": "third_illustration.jpeg",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:46.884752+02:00",
    "documentType": "illustration",
    "dateModified": "2018-12-07T19:32:46.884775+02:00",
    "id": "77f73be3f482443ba8bb5b7e8912fd09"
  }
}

Note that index of the third illustration is the same as for the second illustration: "index": 2. In such cases firstly will be displayed illustration that was uploaded earlier.

We can check that there are three uploaded illustrations.

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "description": "document description",
      "format": "application/pdf",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
      "title": "Notice.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.577230+02:00",
      "documentType": "technicalSpecifications",
      "dateModified": "2018-12-07T19:32:46.577251+02:00",
      "id": "83124e21000e4fcbb2459ebdeed9d813"
    },
    {
      "hash": "md5:00000000000000000000000000000000",
      "format": "application/pdf",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/25fbbbe7a6e5459eb51b8f46cbd2b4bd?KeyID=172d32c8&Signature=O%252Bl5pUX65yElbq4o5A2E1gTpXBN4EihOth%252Bb3XseESkl57q9YkZQuovXwz27N5L0sWNB70TIaNeQUD0pa19zBg%253D%253D",
      "title": "AwardCriteria-2.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.631127+02:00",
      "dateModified": "2018-12-07T19:32:46.690425+02:00",
      "id": "aeb0731d9d994d4e889efb74564aa0e1"
    },
    {
      "index": 1,
      "hash": "md5:00000000000000000000000000000000",
      "description": "First illustration description",
      "format": "image/jpeg",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/86a31bfc90b146daada8bcaaea249fae?KeyID=172d32c8&Signature=v9rr8%2F2XvR3seMAi4OUguDPt7nvVwsuDxhtsyamgVhxbiCwR6q%2FsqwRqG8uoGzXgEQRJW%2Fx0%2FoLlJsIpJt0QBQ%253D%253D",
      "title": "first_illustration.jpeg",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.749631+02:00",
      "documentType": "illustration",
      "dateModified": "2018-12-07T19:32:46.749652+02:00",
      "id": "9fb85bc93fca46a2aa1249dcc332f91f"
    },
    {
      "index": 2,
      "hash": "md5:00000000000000000000000000000000",
      "description": "Second illustration description",
      "format": "image/jpeg",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/717b626eca294ca683983c7357f8ac38?KeyID=172d32c8&Signature=rwjpcybLuSvPSPIBB%252Bzvu9BHKaaPDA7T1ztY55ZQSbDIJ9LJogTRYDJn%252B0VZ0EtS4PM482htRZzrOhiD4KheCg%253D%253D",
      "title": "second_illustration.jpeg",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.823785+02:00",
      "documentType": "illustration",
      "dateModified": "2018-12-07T19:32:46.823805+02:00",
      "id": "daf3e8d92dfa45dfb53b9e1642e7d536"
    },
    {
      "index": 2,
      "hash": "md5:00000000000000000000000000000000",
      "description": "Third illustration description",
      "format": "image/jpeg",
      "url": "http://public.docs-sandbox.ea.openprocurement.org/get/170853d3f13f4886832435402282bc23?KeyID=172d32c8&Signature=uC3%252BL3KgN9A42hXxQBrhPlLYT%252BdYey2%252BF4BNKFlbWaowXGlgodrRDkyG1ZQYDroD8Xc85Ybj0nhDqVHvw1QfBQ%253D%253D",
      "title": "third_illustration.jpeg",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:46.884752+02:00",
      "documentType": "illustration",
      "dateModified": "2018-12-07T19:32:46.884775+02:00",
      "id": "77f73be3f482443ba8bb5b7e8912fd09"
    }
  ]
}

Enquiries

When a procedure is in active.tendering status, interested parties can ask questions:

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

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/questions/1bbe17842ab4463cacb3386646914f1c
X-Content-Type-Options: nosniff
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "author": {
      "contactPoint": {
        "email": "soleksuk@gmail.com",
        "telephone": "+380 (432) 21-69-30",
        "name": "Сергій Олексюк"
      },
      "identifier": {
        "scheme": "UA-EDR",
        "legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
        "uri": "http://sch10.edu.vn.ua/",
        "id": "00137226"
      },
      "name": "ДКП «Школяр»",
      "address": {
        "postalCode": "21100",
        "countryName": "Україна",
        "streetAddress": "вул. Островського, 33",
        "region": "м. Вінниця",
        "locality": "м. Вінниця"
      }
    },
    "title": "Калорійність",
    "date": "2018-12-07T19:32:47.052175+02:00",
    "id": "1bbe17842ab4463cacb3386646914f1c",
    "questionOf": "tender"
  }
}

Organizer can answer them:

PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/questions/1bbe17842ab4463cacb3386646914f1c?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 162
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\""
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "title": "Калорійність",
    "date": "2018-12-07T19:32:47.052175+02:00",
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
    "id": "1bbe17842ab4463cacb3386646914f1c",
    "questionOf": "tender"
  }
}

And one can retrieve the questions list:

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": [
    {
      "description": "Просимо додати таблицю потрібної калорійності харчування",
      "title": "Калорійність",
      "date": "2018-12-07T19:32:47.052175+02:00",
      "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
      "id": "1bbe17842ab4463cacb3386646914f1c",
      "questionOf": "tender"
    }
  ]
}

Or an individual answer:

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/questions/1bbe17842ab4463cacb3386646914f1c HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "description": "Просимо додати таблицю потрібної калорійності харчування",
    "title": "Калорійність",
    "date": "2018-12-07T19:32:47.052175+02:00",
    "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
    "id": "1bbe17842ab4463cacb3386646914f1c",
    "questionOf": "tender"
  }
}

Registering bid

Bidder can register a bid in draft status:

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 768
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "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
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95
X-Content-Type-Options: nosniff
{
  "access": {
    "token": "72db756788834611b45a27690fa30121"
  },
  "data": {
    "status": "draft",
    "eligible": true,
    "date": "2018-12-07T19:32:47.242401+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": "16331e49f073425798ea4f18f3590c95"
  }
}

And activate a bid:

PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95?acc_token=72db756788834611b45a27690fa30121 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "status": "active"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "status": "active",
    "eligible": true,
    "date": "2018-12-07T19:32:47.242401+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": "16331e49f073425798ea4f18f3590c95",
    "participationUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/0a3e5825752c49199ced43de14247e09/login?bidder_id=16331e49f073425798ea4f18f3590c95&signature=vatRL%2BMAjtLyjJNv34jZn8wZZmLAlJlPJSUuDCIbdqvUOXLssSZW9j9upKHRTRyV68YLF%2BX5YSbjijINhvoeBg%3D%3D"
  }
}

And upload proposal document:

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95/documents?acc_token=72db756788834611b45a27690fa30121 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 331
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/4b1b201c1f8a4730b47cc51339ed73b6?KeyID=172d32c8&Signature=HW3OdjLdv9Q7ub16%2BpW1U5D6G655uiOSixlZQBivzK2%2BbDxUMKjCEvaC9dfo8WiDaq73XYI4f8ZkpNHMmcPtDA%3D%3D",
    "title": "Proposal.pdf",
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95/documents/0201da15b7944eae82633d7ea11c02e8
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf",
    "url": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95/documents/0201da15b7944eae82633d7ea11c02e8?download=4b1b201c1f8a4730b47cc51339ed73b6",
    "title": "Proposal.pdf",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:47.381415+02:00",
    "dateModified": "2018-12-07T19:32:47.381436+02:00",
    "id": "0201da15b7944eae82633d7ea11c02e8"
  }
}

It is possible to check the uploaded documents:

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95/documents?acc_token=72db756788834611b45a27690fa30121 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": [
    {
      "hash": "md5:00000000000000000000000000000000",
      "format": "application/pdf",
      "url": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95/documents/0201da15b7944eae82633d7ea11c02e8?download=4b1b201c1f8a4730b47cc51339ed73b6",
      "title": "Proposal.pdf",
      "documentOf": "tender",
      "datePublished": "2018-12-07T19:32:47.381415+02:00",
      "dateModified": "2018-12-07T19:32:47.381436+02:00",
      "id": "0201da15b7944eae82633d7ea11c02e8"
    }
  ]
}

For the best effect (biggest economy) auction should have multiple bidders registered:

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 741
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "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
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/917fb2cdbacd4536ba64aeca993f8f53
X-Content-Type-Options: nosniff
{
  "access": {
    "token": "6cd7aafceb2046dda46579f952f05e05"
  },
  "data": {
    "status": "active",
    "eligible": true,
    "date": "2018-12-07T19:32:47.484789+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": "917fb2cdbacd4536ba64aeca993f8f53",
    "participationUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/0a3e5825752c49199ced43de14247e09/login?bidder_id=917fb2cdbacd4536ba64aeca993f8f53&signature=lQISzeVILsdmVNRm6MFnnGrtLs5PHc7O5oM%2BWsTwrAsPQ5cm2DyDNE7YcBdzorEJebMMUG/oe4stFKSYj9xNAw%3D%3D"
  }
}

Auction

The auction can be reached at Auction.auctionUrl:

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "procurementMethod": "open",
    "auctionID": "UA-EA-2018-12-07-000002",
    "auctionUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/0a3e5825752c49199ced43de14247e09",
    "enquiryPeriod": {
      "startDate": "2018-11-17T19:32:42.120568+02:00",
      "endDate": "2018-12-07T19:32:42.120568+02:00"
    },
    "registrationFee": {
      "currency": "UAH",
      "amount": 700.87
    },
    "submissionMethod": "electronicAuction",
    "next_check": "2018-12-08T02:48:32.120568+02:00",
    "awardCriteria": "highestCost",
    "questions": [
      {
        "description": "Просимо додати таблицю потрібної калорійності харчування",
        "title": "Калорійність",
        "date": "2018-12-07T19:32:47.052175+02:00",
        "answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
        "id": "1bbe17842ab4463cacb3386646914f1c",
        "questionOf": "tender"
      }
    ],
    "owner": "broker",
    "id": "0a3e5825752c49199ced43de14247e09",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "document description",
        "format": "application/pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
        "title": "Notice.pdf",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.577230+02:00",
        "documentType": "technicalSpecifications",
        "dateModified": "2018-12-07T19:32:46.577251+02:00",
        "id": "83124e21000e4fcbb2459ebdeed9d813"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/281d783c1b6346e780f9f9dab1dcf430?KeyID=172d32c8&Signature=KFMZBRs5MRqjPYqfG4PJdpRFN4%2FQ8Al4M4vhs0Ao2hiezyi%2FHw3%2Fg3A8tic4SFhOdiwBAT2z%252BE6cOTeh4uiaCw%253D%253D",
        "title": "AwardCriteria.pdf",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.631127+02:00",
        "dateModified": "2018-12-07T19:32:46.631149+02:00",
        "id": "aeb0731d9d994d4e889efb74564aa0e1"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/25fbbbe7a6e5459eb51b8f46cbd2b4bd?KeyID=172d32c8&Signature=O%252Bl5pUX65yElbq4o5A2E1gTpXBN4EihOth%252Bb3XseESkl57q9YkZQuovXwz27N5L0sWNB70TIaNeQUD0pa19zBg%253D%253D",
        "title": "AwardCriteria-2.pdf",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.631127+02:00",
        "dateModified": "2018-12-07T19:32:46.690425+02:00",
        "id": "aeb0731d9d994d4e889efb74564aa0e1"
      },
      {
        "index": 1,
        "hash": "md5:00000000000000000000000000000000",
        "description": "First illustration description",
        "format": "image/jpeg",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/86a31bfc90b146daada8bcaaea249fae?KeyID=172d32c8&Signature=v9rr8%2F2XvR3seMAi4OUguDPt7nvVwsuDxhtsyamgVhxbiCwR6q%2FsqwRqG8uoGzXgEQRJW%2Fx0%2FoLlJsIpJt0QBQ%253D%253D",
        "title": "first_illustration.jpeg",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.749631+02:00",
        "documentType": "illustration",
        "dateModified": "2018-12-07T19:32:46.749652+02:00",
        "id": "9fb85bc93fca46a2aa1249dcc332f91f"
      },
      {
        "index": 2,
        "hash": "md5:00000000000000000000000000000000",
        "description": "Second illustration description",
        "format": "image/jpeg",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/717b626eca294ca683983c7357f8ac38?KeyID=172d32c8&Signature=rwjpcybLuSvPSPIBB%252Bzvu9BHKaaPDA7T1ztY55ZQSbDIJ9LJogTRYDJn%252B0VZ0EtS4PM482htRZzrOhiD4KheCg%253D%253D",
        "title": "second_illustration.jpeg",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.823785+02:00",
        "documentType": "illustration",
        "dateModified": "2018-12-07T19:32:46.823805+02:00",
        "id": "daf3e8d92dfa45dfb53b9e1642e7d536"
      },
      {
        "index": 2,
        "hash": "md5:00000000000000000000000000000000",
        "description": "Third illustration description",
        "format": "image/jpeg",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/170853d3f13f4886832435402282bc23?KeyID=172d32c8&Signature=uC3%252BL3KgN9A42hXxQBrhPlLYT%252BdYey2%252BF4BNKFlbWaowXGlgodrRDkyG1ZQYDroD8Xc85Ybj0nhDqVHvw1QfBQ%253D%253D",
        "title": "third_illustration.jpeg",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.884752+02:00",
        "documentType": "illustration",
        "dateModified": "2018-12-07T19:32:46.884775+02:00",
        "id": "77f73be3f482443ba8bb5b7e8912fd09"
      },
      {
        "title": "Familiarization with bank asset",
        "format": "offline/on-site-examination",
        "accessDetails": "Familiar with asset: days, time, address",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.964970+02:00",
        "documentType": "x_dgfAssetFamiliarization",
        "dateModified": "2018-12-07T19:32:46.964991+02:00",
        "id": "8e4619deece5428b8527a40c8de0de52"
      }
    ],
    "title": "футляри до державних нагород",
    "tenderAttempts": 1,
    "auctionParameters": {
      "type": "insider",
      "dutchSteps": 88
    },
    "dateModified": "2018-12-07T19:32:47.692042+02:00",
    "status": "active.auction",
    "tenderPeriod": {
      "startDate": "2018-11-17T19:32:42.120568+02:00",
      "endDate": "2018-12-08T02:17:42.120568+02:00"
    },
    "auctionPeriod": {
      "startDate": "2018-12-07T19:32:42.120568+02:00",
      "shouldStartAfter": "2018-12-08T00:00:00+02:00"
    },
    "bankAccount": {
      "accountIdentification": [
        {
          "scheme": "accountNumber",
          "id": "111111-8",
          "description": "some description"
        }
      ],
      "bankName": "name of bank"
    },
    "procurementMethodType": "appraisal.insider",
    "date": "2018-12-07T19:32:47.692042+02:00",
    "lotIdentifier": "Q24421K222",
    "minimalStep": {
      "currency": "UAH",
      "amount": 0,
      "valueAddedTaxIncluded": true
    },
    "items": [
      {
        "description": "Земля для військовослужбовців",
        "classification": {
          "scheme": "CPV",
          "description": "Земельні ділянки",
          "id": "51413000-0"
        },
        "address": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "6c318ef0d2954b0480d3310fe83d9266",
        "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 their participation URLs via their bids:

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95?acc_token=72db756788834611b45a27690fa30121 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/pdf",
        "url": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/16331e49f073425798ea4f18f3590c95/documents/0201da15b7944eae82633d7ea11c02e8?download=4b1b201c1f8a4730b47cc51339ed73b6",
        "title": "Proposal.pdf",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:47.381415+02:00",
        "dateModified": "2018-12-07T19:32:47.381436+02:00",
        "id": "0201da15b7944eae82633d7ea11c02e8"
      }
    ],
    "eligible": true,
    "date": "2018-12-07T19:32:47.242401+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": "16331e49f073425798ea4f18f3590c95",
    "participationUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/0a3e5825752c49199ced43de14247e09/login?bidder_id=16331e49f073425798ea4f18f3590c95&signature=vatRL%2BMAjtLyjJNv34jZn8wZZmLAlJlPJSUuDCIbdqvUOXLssSZW9j9upKHRTRyV68YLF%2BX5YSbjijINhvoeBg%3D%3D"
  }
}

See the Bid.participationUrl in the response. The links can be also retrieved for other participants:

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/bids/917fb2cdbacd4536ba64aeca993f8f53?acc_token=6cd7aafceb2046dda46579f952f05e05 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "status": "active",
    "eligible": true,
    "date": "2018-12-07T19:32:47.484789+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": "917fb2cdbacd4536ba64aeca993f8f53",
    "participationUrl": "http://auction-sandbox.openprocurement.org/insider-auctions/0a3e5825752c49199ced43de14247e09/login?bidder_id=917fb2cdbacd4536ba64aeca993f8f53&signature=lQISzeVILsdmVNRm6MFnnGrtLs5PHc7O5oM%2BWsTwrAsPQ5cm2DyDNE7YcBdzorEJebMMUG/oe4stFKSYj9xNAw%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 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).

The procedure receives active.qualification status. The process enters the verificationPeriod with the auto-generated duration of 0-10 business days.

GET /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/awards HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": [
    {
      "status": "pending",
      "verificationPeriod": {
        "startDate": "2018-12-07T19:32:47.965330+02:00",
        "endDate": "2018-12-21T18:00:00+02:00"
      },
      "signingPeriod": {
        "startDate": "2018-12-07T19:32:47.965330+02:00",
        "endDate": "2019-01-16T18:00:00+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-12-07T19:32:47.965330+02:00"
      },
      "bid_id": "917fb2cdbacd4536ba64aeca993f8f53",
      "value": {
        "currency": "UAH",
        "amount": 479,
        "valueAddedTaxIncluded": true
      },
      "date": "2018-12-07T19:32:47.965330+02:00",
      "id": "f1dbe0f1df254b698f15398a43d79942"
    },
    {
      "status": "pending.waiting",
      "complaintPeriod": {
        "startDate": "2018-12-07T19:32:47.965330+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": "16331e49f073425798ea4f18f3590c95",
      "value": {
        "currency": "UAH",
        "amount": 469,
        "valueAddedTaxIncluded": true
      },
      "date": "2018-12-07T19:32:47.965330+02:00",
      "id": "6db7e816045d472988cfe99940d2e89f"
    }
  ]
}

Confirming qualification

For the winner to be qualified, the Organizer has to upload auctionProtocol first:

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/awards/f1dbe0f1df254b698f15398a43d79942/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 377
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/78a1d7c337734c71b2942841190a694a?KeyID=172d32c8&Signature=qZbKqPIAGwx6IML0cyQlyGcSoSNF0ttrb5eAmY7lhmFhhbnWuLFZqhemZoT9OVg1QtLxmS1%2F6z1lsVtd5w5FDg%3D%3D",
    "title": "SignedAuctionProtocol.pdf",
    "format": "application/pdf",
    "hash": "md5:00000000000000000000000000000000",
    "documentType": "auctionProtocol"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/awards/f1dbe0f1df254b698f15398a43d79942/documents/d42edd1abf044a16b546fc3558127548
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "auction_owner",
    "title": "SignedAuctionProtocol.pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/78a1d7c337734c71b2942841190a694a?KeyID=172d32c8&Signature=Bwq936Hc3KHQrGs96q%252BrEXvKaCpy91Y4dENE1ZDw%252B5FkoeFWKMrNhqrMJfSpeSL2C8snOu5tuaYkUeDVE9ajAg%253D%253D",
    "format": "application/pdf",
    "documentOf": "auction",
    "datePublished": "2018-12-07T19:32:48.354668+02:00",
    "documentType": "auctionProtocol",
    "dateModified": "2018-12-07T19:32:48.354687+02:00",
    "id": "d42edd1abf044a16b546fc3558127548"
  }
}

The winner can also upload auctionProtocol to award:

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/awards/f1dbe0f1df254b698f15398a43d79942/documents?acc_token=6cd7aafceb2046dda46579f952f05e05 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 379
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/d94678530a8140178253836ae17c8afb?KeyID=172d32c8&Signature=C5IZ%2FEBechgZviAq52HSEBCJwSH8J1s3vRNhRqeaHyiadEZHeNhjcHOkG7fjucrZY%2FVJwfH0e1mGvqR9SwnjDw%3D%3D",
    "title": "SignedAuctionProtocol.pdf",
    "format": "application/pdf",
    "hash": "md5:00000000000000000000000000000000",
    "documentType": "auctionProtocol"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/awards/f1dbe0f1df254b698f15398a43d79942/documents/13322079f72742e7933534f02cd7601d
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "bid_owner",
    "title": "SignedAuctionProtocol.pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/d94678530a8140178253836ae17c8afb?KeyID=172d32c8&Signature=fAOV7UZXfEw8oUGoZSyObb9TMbJK2A1U376Ohz4McIga0d2ufu7mCABtiP6ipU2bFo8RLlOBbWIH%2F4SGD%2F1vCg%253D%253D",
    "format": "application/pdf",
    "documentOf": "auction",
    "datePublished": "2018-12-07T19:32:48.260451+02:00",
    "documentType": "auctionProtocol",
    "dateModified": "2018-12-07T19:32:48.260471+02:00",
    "id": "13322079f72742e7933534f02cd7601d"
  }
}

With the document being uploaded the Organizer has to switch the award to active status:

PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/awards/f1dbe0f1df254b698f15398a43d79942?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "status": "active"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "bid_owner",
        "title": "SignedAuctionProtocol.pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/d94678530a8140178253836ae17c8afb?KeyID=172d32c8&Signature=fAOV7UZXfEw8oUGoZSyObb9TMbJK2A1U376Ohz4McIga0d2ufu7mCABtiP6ipU2bFo8RLlOBbWIH%2F4SGD%2F1vCg%253D%253D",
        "format": "application/pdf",
        "documentOf": "auction",
        "datePublished": "2018-12-07T19:32:48.260451+02:00",
        "documentType": "auctionProtocol",
        "dateModified": "2018-12-07T19:32:48.260471+02:00",
        "id": "13322079f72742e7933534f02cd7601d"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "auction_owner",
        "title": "SignedAuctionProtocol.pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/78a1d7c337734c71b2942841190a694a?KeyID=172d32c8&Signature=Bwq936Hc3KHQrGs96q%252BrEXvKaCpy91Y4dENE1ZDw%252B5FkoeFWKMrNhqrMJfSpeSL2C8snOu5tuaYkUeDVE9ajAg%253D%253D",
        "format": "application/pdf",
        "documentOf": "auction",
        "datePublished": "2018-12-07T19:32:48.354668+02:00",
        "documentType": "auctionProtocol",
        "dateModified": "2018-12-07T19:32:48.354687+02:00",
        "id": "d42edd1abf044a16b546fc3558127548"
      }
    ],
    "verificationPeriod": {
      "startDate": "2018-12-07T19:32:47.965330+02:00",
      "endDate": "2018-12-07T19:32:48.473679+02:00"
    },
    "signingPeriod": {
      "startDate": "2018-12-07T19:32:47.965330+02:00",
      "endDate": "2019-01-16T18:00:00+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-12-07T19:32:47.965330+02:00",
      "endDate": "2018-12-07T19:32:48.473679+02:00"
    },
    "bid_id": "917fb2cdbacd4536ba64aeca993f8f53",
    "value": {
      "currency": "UAH",
      "amount": 479,
      "valueAddedTaxIncluded": true
    },
    "date": "2018-12-07T19:32:48.488046+02:00",
    "id": "f1dbe0f1df254b698f15398a43d79942"
  }
}

Disqualification of a candidate

In case of a manual disqualification, the organizer has to upload file with act or rejectionProtocol document type:

POST /api/2.5/auctions/db1ca318fa4d4408a0d96e29ab6e5142/awards/7fea1585f8ff49e88f750a9f89080ce2/documents?acc_token=ba6a7bfc110748baae5dbc8072efd550 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 377
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/39e65d50ec2347649cbf1f42d42db41c?KeyID=172d32c8&Signature=Vru5m%2F6RthVKzD9dMOtHG2dm2laD9nCF%2FJGGYsQ7jk7euskj8UGQKwp3C1d26Lq8fmAJSDMbnPHKXFdgE3z4CA%3D%3D",
    "title": "RejectionProtocol.pdf",
    "format": "application/pdf",
    "hash": "md5:00000000000000000000000000000000",
    "documentType": "rejectionProtocol"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/db1ca318fa4d4408a0d96e29ab6e5142/awards/7fea1585f8ff49e88f750a9f89080ce2/documents/8ac78d447af448f29e03a884b07ed4c8
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "auction_owner",
    "title": "RejectionProtocol.pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/39e65d50ec2347649cbf1f42d42db41c?KeyID=172d32c8&Signature=MygIKX4t39lh2CMtjQnjvlwE3R38y2tLlyUNrr8i6%2Fd21%2FL1RqQQrBGXr4jvapxsLduun1Cbh4yUSZzjN58xDA%253D%253D",
    "format": "application/pdf",
    "documentOf": "auction",
    "datePublished": "2018-12-07T19:32:45.701583+02:00",
    "documentType": "rejectionProtocol",
    "dateModified": "2018-12-07T19:32:45.701602+02:00",
    "id": "8ac78d447af448f29e03a884b07ed4c8"
  }
}

And disqualify candidate:

PATCH /api/2.5/auctions/db1ca318fa4d4408a0d96e29ab6e5142/awards/7fea1585f8ff49e88f750a9f89080ce2?acc_token=ba6a7bfc110748baae5dbc8072efd550 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 146
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "status": "unsuccessful",
    "description": "Candidate didn’t sign the auction protocol in 3 business days",
    "title": "Disqualified"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "status": "unsuccessful",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "bid_owner",
        "title": "auction_protocol.pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/61f5777fa91e49079818ef3f117c362b?KeyID=172d32c8&Signature=MYxZ8Jxg41Lvt9ePuC18YYkaPrftRN2sdH0UDYrHuMC2jtyYKBLmPtxf%252BapAPgsR6qw9LVndR0yKbO0YpcUlDw%253D%253D",
        "format": "application/pdf",
        "documentOf": "auction",
        "datePublished": "2018-12-07T19:32:45.605096+02:00",
        "documentType": "auctionProtocol",
        "dateModified": "2018-12-07T19:32:45.605115+02:00",
        "id": "60f4968f2e21401c8ec01e3321208d79"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "author": "auction_owner",
        "title": "RejectionProtocol.pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/39e65d50ec2347649cbf1f42d42db41c?KeyID=172d32c8&Signature=MygIKX4t39lh2CMtjQnjvlwE3R38y2tLlyUNrr8i6%2Fd21%2FL1RqQQrBGXr4jvapxsLduun1Cbh4yUSZzjN58xDA%253D%253D",
        "format": "application/pdf",
        "documentOf": "auction",
        "datePublished": "2018-12-07T19:32:45.701583+02:00",
        "documentType": "rejectionProtocol",
        "dateModified": "2018-12-07T19:32:45.701602+02:00",
        "id": "8ac78d447af448f29e03a884b07ed4c8"
      }
    ],
    "verificationPeriod": {
      "startDate": "2018-12-07T19:32:45.485659+02:00",
      "endDate": "2018-12-07T19:32:45.820502+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-12-07T19:32:45.058461+02:00",
      "endDate": "2018-12-07T19:32:45.820502+02:00"
    },
    "bid_id": "1ba70dadeec448d8aecb003eef0acaad",
    "value": {
      "currency": "UAH",
      "amount": 500.0,
      "valueAddedTaxIncluded": true
    },
    "date": "2018-12-07T19:32:45.830042+02:00",
    "id": "7fea1585f8ff49e88f750a9f89080ce2",
    "signingPeriod": {
      "startDate": "2018-12-07T19:32:45.485659+02:00",
      "endDate": "2019-01-16T18:00:00+02:00"
    }
  }
}

Refusal of waiting by another participant

The second candidate (participant that has submitted the second highest valid bid at the auction) can refuse to wait for the disqualification of the first candidate:

PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/awards/6db7e816045d472988cfe99940d2e89f?acc_token=72db756788834611b45a27690fa30121 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 33
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "status": "cancelled"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "status": "cancelled",
    "complaintPeriod": {
      "startDate": "2018-12-07T19:32:47.965330+02:00",
      "endDate": "2018-12-07T19:32:48.134849+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": "16331e49f073425798ea4f18f3590c95",
    "value": {
      "currency": "UAH",
      "amount": 469,
      "valueAddedTaxIncluded": true
    },
    "date": "2018-12-07T19:32:48.142167+02:00",
    "id": "6db7e816045d472988cfe99940d2e89f"
  }
}

Note that the action can be completed till the award has pending.waiting status.

Signing contract

Contract registration

For the contract to be activated, the Organizer has

  1. to upload contractSigned first:
POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/contracts/52c8c00a6cbb4c23b9cba3a049f90bce/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 377
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/308046ba669a40e4b0fb6131821d57db?KeyID=172d32c8&Signature=6SBvK0GhnIPAq6Kd4DKeXIL8ZJBuBMEX80Q%2FCc0vaywmqzZS5KOT%2BtpI%2FrriA4%2FEKTmxvYpSJPYRh%2BCE%2FA0kDg%3D%3D",
    "title": "signDocument.pdf",
    "format": "application/pdf",
    "hash": "md5:00000000000000000000000000000000",
    "documentType": "contractSigned"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/contracts/52c8c00a6cbb4c23b9cba3a049f90bce/documents/5ce1938047f647589624e127c55c4fd7
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "title": "signDocument.pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/308046ba669a40e4b0fb6131821d57db?KeyID=172d32c8&Signature=Tv%2FgWMW%252BUYsqR%252BvJ96EONdrQ81XjEUg0LUd0e0ai756iPQsDUuDoAIqDPz0ihUnk5TiStJL%252B0yLgoJ7LsO3qBA%253D%253D",
    "format": "application/pdf",
    "documentOf": "auction",
    "datePublished": "2018-12-07T19:32:49.173081+02:00",
    "documentType": "contractSigned",
    "dateModified": "2018-12-07T19:32:49.173102+02:00",
    "id": "5ce1938047f647589624e127c55c4fd7"
  }
}
  1. set value for dateSigned and
  2. switch contract status to active:
PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/contracts/52c8c00a6cbb4c23b9cba3a049f90bce?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 80
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "status": "active",
    "dateSigned": "2018-12-07T19:32:49.271660+02:00"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "contract_first_document.doc",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/192d63d4ee8c4e5783ba864437e16811?KeyID=172d32c8&Signature=AfFKO8OjjV6cc148At93UUUsnQON3Qkn5uU%252B1EFiNiaRDy2662PdFJIR%252BLxLK4ksoTtYMdDeJcoHNL2HNWxXCg%253D%253D",
        "format": "application/msword",
        "documentOf": "auction",
        "datePublished": "2018-12-07T19:32:48.821086+02:00",
        "dateModified": "2018-12-07T19:32:48.821108+02:00",
        "id": "0fa184d9b85c48afa58dd0b158137147"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "contract_second_document.doc",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/150e1cac670847978a63679ad5035b51?KeyID=172d32c8&Signature=l0XwRwi2%2FWbI%252BBJeHWOU2vYG91iN0xIn1tM6dVi91rMTmbyX8ieqgyKJVXVZIr5BWXSkP4Wtv8pYmYNEgcQLCQ%253D%253D",
        "format": "application/msword",
        "documentOf": "auction",
        "datePublished": "2018-12-07T19:32:48.991511+02:00",
        "dateModified": "2018-12-07T19:32:48.991535+02:00",
        "id": "f15c60c6f2924ff4938390632fb9170f"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "title": "signDocument.pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/308046ba669a40e4b0fb6131821d57db?KeyID=172d32c8&Signature=Tv%2FgWMW%252BUYsqR%252BvJ96EONdrQ81XjEUg0LUd0e0ai756iPQsDUuDoAIqDPz0ihUnk5TiStJL%252B0yLgoJ7LsO3qBA%253D%253D",
        "format": "application/pdf",
        "documentOf": "auction",
        "datePublished": "2018-12-07T19:32:49.173081+02:00",
        "documentType": "contractSigned",
        "dateModified": "2018-12-07T19:32:49.173102+02:00",
        "id": "5ce1938047f647589624e127c55c4fd7"
      }
    ],
    "signingPeriod": {
      "startDate": "2018-12-07T19:32:47.965330+02:00",
      "endDate": "2019-01-16T18:00:00+02:00"
    },
    "items": [
      {
        "description": "Земля для військовослужбовців",
        "classification": {
          "scheme": "CPV",
          "description": "Земельні ділянки",
          "id": "51413000-0"
        },
        "address": {
          "postalCode": "79000",
          "countryName": "Україна",
          "streetAddress": "вул. Банкова 1",
          "region": "м. Київ",
          "locality": "м. Київ"
        },
        "id": "6c318ef0d2954b0480d3310fe83d9266",
        "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-12-07T19:32:42.122912+02:00",
      "endDate": "2019-12-07T19:32:42.122912+02:00"
    },
    "dateSigned": "2018-12-07T19:32:49.271660+02:00",
    "value": {
      "currency": "UAH",
      "amount": 479,
      "valueAddedTaxIncluded": true
    },
    "date": "2018-12-07T19:32:49.354423+02:00",
    "awardID": "f1dbe0f1df254b698f15398a43d79942",
    "id": "52c8c00a6cbb4c23b9cba3a049f90bce",
    "contractID": "UA-EA-2018-12-07-000002-1"
  }
}

As soon as the contracts receives active status, the procedure becomes complete.

Cancelling auction

Organizer can cancel auction anytime (except when auction has terminal status e.g. unsuccesfull, canceled, complete).

The following steps should be applied:

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

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

See Cancellation data structure for details.

Preparing the cancellation request

You should pass reason, status defaults to pending. id is autogenerated and passed in the Location header of response.

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/cancellations?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 43
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "reason": "cancellation reason"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/cancellations/045327e6186f45c1bc77c967d8a04d9b
X-Content-Type-Options: nosniff
{
  "data": {
    "date": "2018-12-07T19:32:49.550603+02:00",
    "status": "pending",
    "reason": "cancellation reason",
    "cancellationOf": "tender",
    "id": "045327e6186f45c1bc77c967d8a04d9b"
  }
}

Filling cancellation with protocol and supplementary documentation

Upload the file contents:

POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/cancellations/045327e6186f45c1bc77c967d8a04d9b/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 331
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/29ed257df09c43da9f60446d681fdb83?KeyID=172d32c8&Signature=8Uv7sSZ7Pt3aks66iY15Q36QGCL2g3eX6uVwB%2BpJgFRQ%2BYeT51TvZSFFh%2BhSQyP9cicvZ0HR3v8lUfHgUSllBA%3D%3D",
    "title": "Notice.pdf",
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/cancellations/045327e6186f45c1bc77c967d8a04d9b/documents/893c8f3d3bb548b19abc14b88c0c67a2
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/29ed257df09c43da9f60446d681fdb83?KeyID=172d32c8&Signature=ZdvbrrpDG9ZGED8hHvT5aUeYaX21Ay7khgD%252BZYZrTkpxNaDRfz7D%252BeOjd2Husj6vJzVO%2F756L51qzfmnqr9qCg%253D%253D",
    "title": "Notice.pdf",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:49.678291+02:00",
    "dateModified": "2018-12-07T19:32:49.678314+02:00",
    "id": "893c8f3d3bb548b19abc14b88c0c67a2"
  }
}

Change the document description and other properties:

PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/cancellations/045327e6186f45c1bc77c967d8a04d9b/documents/893c8f3d3bb548b19abc14b88c0c67a2?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 48
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "description": "Changed description"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "Changed description",
    "format": "application/pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/29ed257df09c43da9f60446d681fdb83?KeyID=172d32c8&Signature=ZdvbrrpDG9ZGED8hHvT5aUeYaX21Ay7khgD%252BZYZrTkpxNaDRfz7D%252BeOjd2Husj6vJzVO%2F756L51qzfmnqr9qCg%253D%253D",
    "title": "Notice.pdf",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:49.678291+02:00",
    "dateModified": "2018-12-07T19:32:49.678314+02:00",
    "id": "893c8f3d3bb548b19abc14b88c0c67a2"
  }
}

Upload new version of the document:

PUT /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/cancellations/045327e6186f45c1bc77c967d8a04d9b/documents/893c8f3d3bb548b19abc14b88c0c67a2?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 337
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/7163b262d208405c86553c860ba620de?KeyID=172d32c8&Signature=SvAPL3XdBZa8AIctjx7Ea40T3TWrpz%2FPJfGGZ5fYSZkYQqv%2FENpo8%2F4GiM0GoY%2BpQGeYEAFsUYjF%2Fzx9DqOUDQ%3D%3D",
    "title": "Notice-2.pdf",
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pdf"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "description": "Changed description",
    "format": "application/pdf",
    "url": "http://public.docs-sandbox.ea.openprocurement.org/get/7163b262d208405c86553c860ba620de?KeyID=172d32c8&Signature=Zrpkgil66ulLhPShf9%252BhuAD%2FySKQAvBJGTJVLYwufoV8E1bJseMIRy8MO2FziVnL2c%252BOquJbdx%2FUqLrASYs0Bw%253D%253D",
    "title": "Notice-2.pdf",
    "documentOf": "tender",
    "datePublished": "2018-12-07T19:32:49.678291+02:00",
    "dateModified": "2018-12-07T19:32:49.953951+02:00",
    "id": "893c8f3d3bb548b19abc14b88c0c67a2"
  }
}

Activating the request and cancelling auction

PATCH /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/cancellations/045327e6186f45c1bc77c967d8a04d9b?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
  "data": {
    "status": "active"
  }
}

Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
  "data": {
    "status": "active",
    "documents": [
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "format": "application/pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/29ed257df09c43da9f60446d681fdb83?KeyID=172d32c8&Signature=ZdvbrrpDG9ZGED8hHvT5aUeYaX21Ay7khgD%252BZYZrTkpxNaDRfz7D%252BeOjd2Husj6vJzVO%2F756L51qzfmnqr9qCg%253D%253D",
        "title": "Notice.pdf",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:49.678291+02:00",
        "dateModified": "2018-12-07T19:32:49.678314+02:00",
        "id": "893c8f3d3bb548b19abc14b88c0c67a2"
      },
      {
        "hash": "md5:00000000000000000000000000000000",
        "description": "Changed description",
        "format": "application/pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/7163b262d208405c86553c860ba620de?KeyID=172d32c8&Signature=Zrpkgil66ulLhPShf9%252BhuAD%2FySKQAvBJGTJVLYwufoV8E1bJseMIRy8MO2FziVnL2c%252BOquJbdx%2FUqLrASYs0Bw%253D%253D",
        "title": "Notice-2.pdf",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:49.678291+02:00",
        "dateModified": "2018-12-07T19:32:49.953951+02:00",
        "id": "893c8f3d3bb548b19abc14b88c0c67a2"
      }
    ],
    "reason": "cancellation reason",
    "date": "2018-12-07T19:32:50.101285+02:00",
    "cancellationOf": "tender",
    "id": "045327e6186f45c1bc77c967d8a04d9b"
  }
}

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.

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

  1. Register document upload in document service.

  2. Add document in API:

    POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
    Authorization: Basic YnJva2VyOg==
    Content-Length: 413
    Content-Type: application/json
    Host: lb.api-sandbox.registry.ea.openprocurement.net
    DATA:
    {
      "data": {
        "hash": "md5:00000000000000000000000000000000",
        "description": "document description",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=DzMn92M8VTpMmHmbZWkMWaZvMrtXA85WcUnK%2B8VVkdR4DBGETSC%2FOcMnWYpHaUyzZe5UVqRDHc11shf3TQ%2FFDg%3D%3D",
        "format": "application/pdf",
        "documentType": "technicalSpecifications"
      }
    }
    
    Response: 201 Created
    Content-Type: application/json
    Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/83124e21000e4fcbb2459ebdeed9d813
    X-Content-Type-Options: nosniff
    {
      "data": {
        "hash": "md5:00000000000000000000000000000000",
        "description": "document description",
        "format": "application/pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
        "title": "Notice.pdf",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.577230+02:00",
        "documentType": "technicalSpecifications",
        "dateModified": "2018-12-07T19:32:46.577251+02:00",
        "id": "83124e21000e4fcbb2459ebdeed9d813"
      }
    }
    
  3. Upload document in document service.

Upload document without registration

  1. Upload document without registration.

  2. Add document in API:

    POST /api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents?acc_token=2ae288c6a1204108bc3013241ac553eb HTTP/1.0
    Authorization: Basic YnJva2VyOg==
    Content-Length: 413
    Content-Type: application/json
    Host: lb.api-sandbox.registry.ea.openprocurement.net
    DATA:
    {
      "data": {
        "hash": "md5:00000000000000000000000000000000",
        "description": "document description",
        "title": "Notice.pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=DzMn92M8VTpMmHmbZWkMWaZvMrtXA85WcUnK%2B8VVkdR4DBGETSC%2FOcMnWYpHaUyzZe5UVqRDHc11shf3TQ%2FFDg%3D%3D",
        "format": "application/pdf",
        "documentType": "technicalSpecifications"
      }
    }
    
    Response: 201 Created
    Content-Type: application/json
    Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/auctions/0a3e5825752c49199ced43de14247e09/documents/83124e21000e4fcbb2459ebdeed9d813
    X-Content-Type-Options: nosniff
    {
      "data": {
        "hash": "md5:00000000000000000000000000000000",
        "description": "document description",
        "format": "application/pdf",
        "url": "http://public.docs-sandbox.ea.openprocurement.org/get/cec2473dcf334f84a6eda4dd4f223b54?KeyID=172d32c8&Signature=vXiuThpgZnfDuei34UPauCckBdIIvbgf1PQwN3%2Fhtku0QtnmYZE%252BEDhG0dF5qWNTjbOL06QJBJxbimPxh2XSDg%253D%253D",
        "title": "Notice.pdf",
        "documentOf": "tender",
        "datePublished": "2018-12-07T19:32:46.577230+02:00",
        "documentType": "technicalSpecifications",
        "dateModified": "2018-12-07T19:32:46.577251+02:00",
        "id": "83124e21000e4fcbb2459ebdeed9d813"
      }
    }