|
| 1 | +.. _procuring: |
| 2 | + |
| 3 | +Procuring Entity Operations |
| 4 | +=========================== |
| 5 | + |
| 6 | +Registration of the Tender |
| 7 | +-------------------------- |
| 8 | +Tender registration consist of primary record creation and documentation uploading. |
| 9 | + |
| 10 | +Creating primary Tender record |
| 11 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 12 | +When registering tender in the database, one has provide all primary tender details (except binary documents) in payload of request. |
| 13 | + |
| 14 | +.. sourcecode:: http |
| 15 | + |
| 16 | + POST /tenders HTTP/1.1 |
| 17 | + |
| 18 | +The response produced will have URL of the tender created in Location header of resoponse, and in ``data.id`` of body. |
| 19 | + |
| 20 | +.. sourcecode:: http |
| 21 | + |
| 22 | + HTTP/1.1 201 Created |
| 23 | + Location: /tenders/64e93250be76435397e8c992ed4214d1 |
| 24 | + |
| 25 | +Uploading documentation |
| 26 | +~~~~~~~~~~~~~~~~~~~~~~~ |
| 27 | +All tender documentation should be uploaded following requests one request per document. |
| 28 | + |
| 29 | +.. sourcecode:: http |
| 30 | + |
| 31 | + POST /tenders/64e93250be76435397e8c992ed4214d1/documents HTTP/1.1 |
| 32 | + |
| 33 | +The response produced will have URL of the tender document uploaded in Location header of resoponse, and in ``data.id`` of body. |
| 34 | + |
| 35 | +.. sourcecode:: http |
| 36 | + |
| 37 | + HTTP/1.1 201 Created |
| 38 | + Location: /tenders/64e93250be76435397e8c992ed4214d1/documents/6a7d13bd8ec449e08882aeb92180d938 |
| 39 | + |
| 40 | +Changing the Tender |
| 41 | +------------------- |
| 42 | +Procuring Entity can change both the primary record and associated documentation. |
| 43 | + |
| 44 | +.. If Tenders state does not allow such change the request will fail with Unauthorized response. |
| 45 | +
|
| 46 | +Changing primary Tender Record |
| 47 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 48 | +Procuring Entity can change the Tender properties with following request. Data to change should be in payload of the message. |
| 49 | + |
| 50 | +.. sourcecode:: http |
| 51 | + |
| 52 | + PATCH /tenders/64e93250be76435397e8c992ed4214d1 HTTP/1.1 |
| 53 | + |
| 54 | +.. sourcecode:: http |
| 55 | + |
| 56 | + HTTP/1.1 200 OK |
| 57 | + |
| 58 | +Changing existing documents |
| 59 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 60 | +Procuring Entity can upload new versions of the tender documentation. |
| 61 | + |
| 62 | +.. sourcecode:: http |
| 63 | + |
| 64 | + PUT /tenders/64e93250be76435397e8c992ed4214d1/documents/6a7d13bd8ec449e08882aeb92180d938 HTTP/1.1 |
| 65 | + |
| 66 | +.. sourcecode:: http |
| 67 | + |
| 68 | + HTTP/1.1 200 OK |
| 69 | + |
| 70 | +Uploading additional documents |
| 71 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 72 | +The same as Uploading documentation |
0 commit comments