File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,9 @@ Procuring Entity can change the Tender properties with following request. Data t
6767
6868Changing existing documents
6969~~~~~~~~~~~~~~~~~~~~~~~~~~~
70- Procuring Entity can upload new versions of the tender documentation.
70+
71+ Procuring Entity can upload new versions of the tender documentation. You
72+ can see supported request types in Documents Uploading section.
7173
7274.. sourcecode :: http
7375
@@ -77,6 +79,11 @@ Procuring Entity can upload new versions of the tender documentation.
7779
7880 HTTP/1.1 200 OK
7981
82+ Example request:
83+
84+ .. include :: tutorial/update-award-criteria.http
85+ :code:
86+
8087Uploading additional documents
8188~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8289The same as :ref: `procuring-uploading-docs `.
Original file line number Diff line number Diff line change 1+ $ http --form PUT http://api-sandbox.openprocurement.org/api/0/tenders/f6882fa63d5141bcabec54a4766eec61/documents/d276284e3e4a414a8ad2a0cd6e898925 file@./AwardCriteria-v2.pdf
2+ PUT /api/0/tenders/f6882fa63d5141bcabec54a4766eec61/documents/d276284e3e4a414a8ad2a0cd6e898925 HTTP/1.1
3+ Content-Type: multipart/form-data; boundary=41251fdd469c4d2f8ac8aa1d13d522ae
4+
5+
6+
7+ +-----------------------------------------+
8+ | NOTE: binary data not shown in terminal |
9+ +-----------------------------------------+
10+
11+ HTTP/1.1 200 OK
12+ Content-Type: application/json; charset=UTF-8
13+
14+ {
15+ "data" : {
16+ "datePublished" : " 2014-11-07T18:10:27.098545" ,
17+ "format" : " text/plain" ,
18+ "id" : " d276284e3e4a414a8ad2a0cd6e898925" ,
19+ "modified" : " 2014-11-07T18:10:30.474252" ,
20+ "title" : " AwardCriteria-v2.pdf" ,
21+ "url" : " http://api-sandbox.openprocurement.org/api/0/tenders/f6882fa63d5141bcabec54a4766eec61/documents/d276284e3e4a414a8ad2a0cd6e898925?download=9e391070d3d2476a97e6aecc09e73eae"
22+ }
23+ }
You can’t perform that action at this time.
0 commit comments