Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Apr 25, 2016
1 parent be6670c commit 765f3fa
Show file tree
Hide file tree
Showing 82 changed files with 797 additions and 798 deletions.
22 changes: 11 additions & 11 deletions docs/source/tutorial/active-cancellation.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/2.0/tenders/056822c2e05240c3b8324958a852baa6/cancellations/4ab5962a85164c3b814836928fdb4639?acc_token=3c34b595f20b4578afd1f88581fd5663 HTTP/1.0
PATCH /api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/cancellations/de0380a2c83e49a5a6fb829c1301279b?acc_token=d2d5e9957a024ac2a7edb7cfddef84d3 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Expand All @@ -19,29 +19,29 @@ Content-Type: application/json; charset=UTF-8
{
"description": "Changed description",
"title": "Notice.pdf",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/056822c2e05240c3b8324958a852baa6/cancellations/4ab5962a85164c3b814836928fdb4639/documents/9409af11e75b473cb7f905b24dd3ec66?download=e1e60ce707b94b9b8d24e848844180f8",
"url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/cancellations/de0380a2c83e49a5a6fb829c1301279b/documents/9cfc64571a8948178ebfbf371e43d1cf?download=6f43e76c14db4806ba4986f562ca3bfb",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-04-15T12:29:11.353064+03:00",
"id": "9409af11e75b473cb7f905b24dd3ec66",
"dateModified": "2016-04-15T12:29:11.353109+03:00"
"datePublished": "2016-04-25T14:47:05.591231+03:00",
"id": "9cfc64571a8948178ebfbf371e43d1cf",
"dateModified": "2016-04-25T14:47:05.591276+03:00"
},
{
"description": "Changed description",
"title": "Notice-2.pdf",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/056822c2e05240c3b8324958a852baa6/cancellations/4ab5962a85164c3b814836928fdb4639/documents/9409af11e75b473cb7f905b24dd3ec66?download=c54eabf000fe427e993c9fda7d297d5d",
"url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/cancellations/de0380a2c83e49a5a6fb829c1301279b/documents/9cfc64571a8948178ebfbf371e43d1cf?download=c1b07443a51d4b4fa75caf1a2f1bf32a",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-04-15T12:29:11.353064+03:00",
"id": "9409af11e75b473cb7f905b24dd3ec66",
"dateModified": "2016-04-15T12:29:12.196348+03:00"
"datePublished": "2016-04-25T14:47:05.591231+03:00",
"id": "9cfc64571a8948178ebfbf371e43d1cf",
"dateModified": "2016-04-25T14:47:06.063047+03:00"
}
],
"reason": "cancellation reason",
"reasonType": "unsuccessful",
"date": "2016-04-15T12:29:10.567702+03:00",
"date": "2016-04-25T14:47:05.206374+03:00",
"cancellationOf": "tender",
"id": "4ab5962a85164c3b814836928fdb4639"
"id": "de0380a2c83e49a5a6fb829c1301279b"
}
}

6 changes: 3 additions & 3 deletions docs/source/tutorial/answer-question.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/2.0/tenders/056822c2e05240c3b8324958a852baa6/questions/c8a27570c1b24abba0436d346ed30cad?acc_token=3c34b595f20b4578afd1f88581fd5663 HTTP/1.0
PATCH /api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/questions/82ee4fb0f71c43dcb503dd38a55335de?acc_token=d2d5e9957a024ac2a7edb7cfddef84d3 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 162
Content-Type: application/json
Expand All @@ -16,9 +16,9 @@ Content-Type: application/json; charset=UTF-8
"data": {
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2016-04-15T12:29:05.116213+03:00",
"date": "2016-04-25T14:47:00.936780+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "c8a27570c1b24abba0436d346ed30cad",
"id": "82ee4fb0f71c43dcb503dd38a55335de",
"questionOf": "tender"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
POST /api/2.0/tenders/056822c2e05240c3b8324958a852baa6/questions HTTP/1.0
POST /api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1506
Content-Type: application/json
Expand Down
8 changes: 4 additions & 4 deletions docs/source/tutorial/ask-question.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
POST /api/2.0/tenders/056822c2e05240c3b8324958a852baa6/questions HTTP/1.0
POST /api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/questions HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 1506
Content-Type: application/json
Expand Down Expand Up @@ -34,7 +34,7 @@ DATA:

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.0/tenders/056822c2e05240c3b8324958a852baa6/questions/c8a27570c1b24abba0436d346ed30cad
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/questions/82ee4fb0f71c43dcb503dd38a55335de
{
"data": {
"description": "Просимо додати таблицю потрібної калорійності харчування",
Expand All @@ -60,8 +60,8 @@ Location: http://api-sandbox.openprocurement.org/api/2.0/tenders/056822c2e05240c
}
},
"title": "Калорійність",
"date": "2016-04-15T12:29:05.116213+03:00",
"id": "c8a27570c1b24abba0436d346ed30cad",
"date": "2016-04-25T14:47:00.936780+03:00",
"id": "82ee4fb0f71c43dcb503dd38a55335de",
"questionOf": "tender"
}
}
Expand Down
65 changes: 33 additions & 32 deletions docs/source/tutorial/auction-url.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GET /api/2.0/tenders/056822c2e05240c3b8324958a852baa6 HTTP/1.0
GET /api/2.3/tenders/ecc90314cd2e42198d4effc825696a97 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: api-sandbox.openprocurement.org

Expand All @@ -8,17 +8,18 @@ Content-Type: application/json; charset=UTF-8
"data": {
"procurementMethod": "open",
"complaintPeriod": {
"startDate": "2016-03-30T12:28:37.516573+03:00",
"endDate": "2016-04-11T12:28:37.516573+03:00"
"startDate": "2016-04-09T14:46:44.063881+03:00",
"endDate": "2016-04-21T14:46:44.063881+03:00"
},
"auctionUrl": "http://auction-sandbox.openprocurement.org/tenders/056822c2e05240c3b8324958a852baa6",
"auctionUrl": "http://auction-sandbox.openprocurement.org/tenders/ecc90314cd2e42198d4effc825696a97",
"enquiryPeriod": {
"startDate": "2016-03-30T12:28:37.516573+03:00",
"clarificationsUntil": "2016-04-08T12:28:37.516573+03:00",
"endDate": "2016-04-05T12:28:37.516573+03:00"
"startDate": "2016-04-09T14:46:44.063881+03:00",
"clarificationsUntil": "2016-04-20T14:46:44.063881+03:00",
"endDate": "2016-04-15T14:46:44.063881+03:00",
"invalidationDate": "2016-04-25T14:47:02.237434+03:00"
},
"submissionMethod": "electronicAuction",
"next_check": "2016-04-15T13:04:37.516573+03:00",
"next_check": "2016-04-25T15:22:44.063881+03:00",
"procuringEntity": {
"contactPoint": {
"url": "http://sch10.edu.vn.ua/",
Expand All @@ -44,58 +45,58 @@ Content-Type: application/json; charset=UTF-8
{
"description": "Просимо додати таблицю потрібної калорійності харчування",
"title": "Калорійність",
"date": "2016-04-15T12:29:05.116213+03:00",
"date": "2016-04-25T14:47:00.936780+03:00",
"answer": "Таблицю додано в файлі \"Kalorijnist.xslx\"",
"id": "c8a27570c1b24abba0436d346ed30cad",
"id": "82ee4fb0f71c43dcb503dd38a55335de",
"questionOf": "tender"
}
],
"owner": "broker",
"id": "056822c2e05240c3b8324958a852baa6",
"id": "ecc90314cd2e42198d4effc825696a97",
"guarantee": {
"currency": "USD",
"amount": 8.0
},
"documents": [
{
"title": "Notice.pdf",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/056822c2e05240c3b8324958a852baa6/documents/32733049cc6c48429d096aca6fa22187?download=c7fe2ab607a644c88259157b0085bab8",
"url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/documents/1efdd6c781634e22a8c561703bf815fc?download=41173225a7224e028bae9210bfe3fbb9",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-04-15T12:29:04.489046+03:00",
"id": "32733049cc6c48429d096aca6fa22187",
"dateModified": "2016-04-15T12:29:04.490183+03:00"
"datePublished": "2016-04-25T14:47:00.410570+03:00",
"id": "1efdd6c781634e22a8c561703bf815fc",
"dateModified": "2016-04-25T14:47:00.410613+03:00"
},
{
"title": "AwardCriteria.pdf",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/056822c2e05240c3b8324958a852baa6/documents/aec9fb6acee84615a26703bd128c79f9?download=30f28c4275914d89b2f607d277638c5f",
"url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/documents/a0d6c53b95744260acc6dab57d74f6ae?download=6f644415b14e4f9b9cb8d1243c53821e",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-04-15T12:29:04.745854+03:00",
"id": "aec9fb6acee84615a26703bd128c79f9",
"dateModified": "2016-04-15T12:29:04.745902+03:00"
"datePublished": "2016-04-25T14:47:00.541552+03:00",
"id": "a0d6c53b95744260acc6dab57d74f6ae",
"dateModified": "2016-04-25T14:47:00.541600+03:00"
},
{
"title": "AwardCriteria-2.pdf",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/056822c2e05240c3b8324958a852baa6/documents/aec9fb6acee84615a26703bd128c79f9?download=e6a0a0c6da5642fd82f6646f7e9db534",
"url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/ecc90314cd2e42198d4effc825696a97/documents/a0d6c53b95744260acc6dab57d74f6ae?download=f27312e2649e4e7a87f72974c7d3de84",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-04-15T12:29:04.745854+03:00",
"id": "aec9fb6acee84615a26703bd128c79f9",
"dateModified": "2016-04-15T12:29:04.905593+03:00"
"datePublished": "2016-04-25T14:47:00.541552+03:00",
"id": "a0d6c53b95744260acc6dab57d74f6ae",
"dateModified": "2016-04-25T14:47:00.777672+03:00"
}
],
"title": "футляри до державних нагород",
"tenderID": "UA-2016-04-15-000001",
"dateModified": "2016-04-15T12:29:07.281279+03:00",
"tenderID": "UA-2016-04-25-000001",
"dateModified": "2016-04-25T14:47:03.075096+03:00",
"status": "active.auction",
"tenderPeriod": {
"startDate": "2016-03-30T12:28:37.516573+03:00",
"endDate": "2016-04-15T12:28:37.516573+03:00"
"startDate": "2016-04-09T14:46:44.063881+03:00",
"endDate": "2016-04-25T14:46:44.063881+03:00"
},
"auctionPeriod": {
"startDate": "2016-04-15T12:28:37.516573+03:00",
"shouldStartAfter": "2016-04-15T12:28:37.516573+03:00"
"startDate": "2016-04-25T14:46:44.063881+03:00",
"shouldStartAfter": "2016-04-25T14:46:44.063881+03:00"
},
"procurementMethodType": "aboveThresholdUA",
"minimalStep": {
Expand Down Expand Up @@ -126,10 +127,10 @@ Content-Type: application/json; charset=UTF-8
"locality": "м. Київ"
},
"deliveryDate": {
"startDate": "2016-05-05T12:28:37.518087+03:00",
"endDate": "2016-06-04T12:28:37.518144+03:00"
"startDate": "2016-05-15T14:46:44.085637+03:00",
"endDate": "2016-06-14T14:46:44.085681+03:00"
},
"id": "2725b978679343039b197df4f98011e6",
"id": "da79cf99a20c4d7887973ede2711e6f7",
"unit": {
"code": "44617100-9",
"name": "item"
Expand Down
20 changes: 10 additions & 10 deletions docs/source/tutorial/award-complaint-accept.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/2.0/tenders/31a7ad6371424d82b4a46d715bd588e1/awards/fd0b70422c21456f9a932e808ddd2474/complaints/8b62953da4bb4cc5a88203f0982072f6 HTTP/1.0
PATCH /api/2.3/tenders/69d7bfc4f2764d528025eb51b18e4ea2/awards/1b7920063c5843118839b3f455bebf79/complaints/0790ec3c70b94b6fa63dbf2f0b0a485b HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Expand All @@ -19,12 +19,12 @@ Content-Type: application/json; charset=UTF-8
{
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/31a7ad6371424d82b4a46d715bd588e1/awards/fd0b70422c21456f9a932e808ddd2474/complaints/8b62953da4bb4cc5a88203f0982072f6/documents/1fb7cbb4360b4f6ab695142793eef700?download=cfc8e0b964994929b4daafb05219e100",
"url": "http://api-sandbox.openprocurement.org/api/2.3/tenders/69d7bfc4f2764d528025eb51b18e4ea2/awards/1b7920063c5843118839b3f455bebf79/complaints/0790ec3c70b94b6fa63dbf2f0b0a485b/documents/ea3ad032acc949c5b69314f991ec4e67?download=a44eaf741ee04bc1b5763af466262d5e",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-04-15T12:28:42.538987+03:00",
"id": "1fb7cbb4360b4f6ab695142793eef700",
"dateModified": "2016-04-15T12:28:42.539034+03:00"
"datePublished": "2016-04-25T14:46:47.016143+03:00",
"id": "ea3ad032acc949c5b69314f991ec4e67",
"dateModified": "2016-04-25T14:46:47.016182+03:00"
}
],
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
Expand All @@ -50,13 +50,13 @@ Content-Type: application/json; charset=UTF-8
"locality": "м. Вінниця"
}
},
"dateAccepted": "2016-04-15T12:28:45.477215+03:00",
"dateSubmitted": "2016-04-15T12:28:42.889972+03:00",
"complaintID": "UA-2016-04-15-000001.1",
"date": "2016-04-15T12:28:41.563359+03:00",
"dateAccepted": "2016-04-25T14:46:48.479064+03:00",
"dateSubmitted": "2016-04-25T14:46:47.200019+03:00",
"complaintID": "UA-2016-04-25-000001.1",
"date": "2016-04-25T14:46:46.656214+03:00",
"acceptance": true,
"type": "complaint",
"id": "8b62953da4bb4cc5a88203f0982072f6"
"id": "0790ec3c70b94b6fa63dbf2f0b0a485b"
}
}

16 changes: 8 additions & 8 deletions docs/source/tutorial/award-complaint-accepted-stopped.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/2.0/tenders/31a7ad6371424d82b4a46d715bd588e1/awards/fd0b70422c21456f9a932e808ddd2474/complaints/64c71bb5352c4ce69f2dd7904b83da3d HTTP/1.0
PATCH /api/2.3/tenders/69d7bfc4f2764d528025eb51b18e4ea2/awards/1b7920063c5843118839b3f455bebf79/complaints/8122b2bf59994a2892f593b0c5e2c816 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 217
Content-Type: application/json
Expand All @@ -16,13 +16,13 @@ Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "stopped",
"dateDecision": "2016-04-15T12:28:48.276330+03:00",
"dateDecision": "2016-04-25T14:46:50.134864+03:00",
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
"title": "Недостатньо інформації",
"decision": "Тендер скасовується замовником",
"acceptance": true,
"dateCanceled": "2016-04-15T12:28:48.276369+03:00",
"dateAccepted": "2016-04-15T12:28:46.931547+03:00",
"dateCanceled": "2016-04-25T14:46:50.134892+03:00",
"dateAccepted": "2016-04-25T14:46:49.129676+03:00",
"author": {
"contactPoint": {
"email": "soleksuk@gmail.com",
Expand All @@ -44,11 +44,11 @@ Content-Type: application/json; charset=UTF-8
"locality": "м. Вінниця"
}
},
"dateSubmitted": "2016-04-15T12:28:44.504622+03:00",
"complaintID": "UA-2016-04-15-000001.5",
"date": "2016-04-15T12:28:44.499567+03:00",
"dateSubmitted": "2016-04-25T14:46:48.008130+03:00",
"complaintID": "UA-2016-04-25-000001.5",
"date": "2016-04-25T14:46:48.006651+03:00",
"type": "complaint",
"id": "64c71bb5352c4ce69f2dd7904b83da3d"
"id": "8122b2bf59994a2892f593b0c5e2c816"
}
}

14 changes: 7 additions & 7 deletions docs/source/tutorial/award-complaint-accepted-stopping.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/2.0/tenders/31a7ad6371424d82b4a46d715bd588e1/awards/fd0b70422c21456f9a932e808ddd2474/complaints/ff48602ca3fc4edc8d7f314f02ea4929?acc_token=aeaeaf0bf28744a3ab930e874e8084ba HTTP/1.0
PATCH /api/2.3/tenders/69d7bfc4f2764d528025eb51b18e4ea2/awards/1b7920063c5843118839b3f455bebf79/complaints/e964ed5cff314647853f5415b78fb60b?acc_token=6f2b302a338f4a77ac03dbda25d9f034 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 228
Content-Type: application/json
Expand Down Expand Up @@ -40,14 +40,14 @@ Content-Type: application/json; charset=UTF-8
},
"acceptance": true,
"cancellationReason": "Тендер скасовується замовником",
"dateCanceled": "2016-04-15T12:28:49.537171+03:00",
"dateAccepted": "2016-04-15T12:28:46.432342+03:00",
"dateSubmitted": "2016-04-15T12:28:44.067572+03:00",
"complaintID": "UA-2016-04-15-000001.4",
"date": "2016-04-15T12:28:44.065615+03:00",
"dateCanceled": "2016-04-25T14:46:51.213824+03:00",
"dateAccepted": "2016-04-25T14:46:48.908554+03:00",
"dateSubmitted": "2016-04-25T14:46:47.790139+03:00",
"complaintID": "UA-2016-04-25-000001.4",
"date": "2016-04-25T14:46:47.788011+03:00",
"title": "Недостатньо інформації",
"type": "complaint",
"id": "ff48602ca3fc4edc8d7f314f02ea4929"
"id": "e964ed5cff314647853f5415b78fb60b"
}
}

12 changes: 6 additions & 6 deletions docs/source/tutorial/award-complaint-cancel.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/2.0/tenders/31a7ad6371424d82b4a46d715bd588e1/awards/e8e5cba63a5c4abeb2c6f6bde324ebc8/complaints/3e84a2c2aca6416c87e5bed295ca6e56?acc_token=6faa1f1069b24d24ac6374887cb9bb0c HTTP/1.0
PATCH /api/2.3/tenders/69d7bfc4f2764d528025eb51b18e4ea2/awards/db852b66be8f42008dc9778f9a067e60/complaints/3ed1fef53be04b16a8f79aec8bdaf7a3?acc_token=33734bf924094f43869bdb800a180f3e HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 150
Content-Type: application/json
Expand Down Expand Up @@ -40,12 +40,12 @@ Content-Type: application/json; charset=UTF-8
},
"title": "Недостатньо інформації",
"cancellationReason": "Умови виправлено",
"dateCanceled": "2016-04-15T12:28:50.990437+03:00",
"dateSubmitted": "2016-04-15T12:28:50.631773+03:00",
"complaintID": "UA-2016-04-15-000001.6",
"date": "2016-04-15T12:28:50.629991+03:00",
"dateCanceled": "2016-04-25T14:46:52.367634+03:00",
"dateSubmitted": "2016-04-25T14:46:52.076581+03:00",
"complaintID": "UA-2016-04-25-000001.6",
"date": "2016-04-25T14:46:52.074941+03:00",
"type": "complaint",
"id": "3e84a2c2aca6416c87e5bed295ca6e56"
"id": "3ed1fef53be04b16a8f79aec8bdaf7a3"
}
}

0 comments on commit 765f3fa

Please sign in to comment.