Skip to content

Commit

Permalink
Updated tutorial.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Manko authored and VDigitall committed Jul 13, 2020
1 parent 18e3b3a commit 1f99a64
Show file tree
Hide file tree
Showing 28 changed files with 689 additions and 181 deletions.
28 changes: 14 additions & 14 deletions docs/source/tendering/http/tutorial/active-cancellation.http
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATCH /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/cancellations/d4d0fafa7fbf40b8b171adc3651ed356?acc_token=e6bb69a4c5474e4987130585951b6f3e HTTP/1.0
Authorization: Bearer broker
Content-Length: 30
Content-Type: application/json
PATCH /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/cancellations/d4d0fafa7fbf40b8b171adc3651ed356?acc_token=e6bb69a4c5474e4987130585951b6f3e HTTP/1.0
Authorization: Bearer broker
Content-Length: 30
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
Expand All @@ -19,24 +19,24 @@ Content-Type: application/json; charset=UTF-8
{
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"title": "Notice.pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/888a378eb7764d1693a1fec763cb806f?KeyID=a8968c46&Signature=66iYlHWRzl%252BEJRqmPqx781kVoy2WJlTVVKmZsNxrbNcxI0ib35aJ507wHARZ0lNebq9cfxuwi161lXFPn2NEAw%253D%253D",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/888a378eb7764d1693a1fec763cb806f?KeyID=a8968c46&Signature=66iYlHWRzl%252BEJRqmPqx781kVoy2WJlTVVKmZsNxrbNcxI0ib35aJ507wHARZ0lNebq9cfxuwi161lXFPn2NEAw%253D%253D",
"title": "Notice.pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:03+03:00",
"id": "2c95fa8b548444c08d8575bfc95f0bea",
"dateModified": "2020-05-15T01:00:03+03:00"
"datePublished": "2020-05-01T01:00:03+03:00",
"dateModified": "2020-05-01T01:00:03+03:00",
"id": "2c95fa8b548444c08d8575bfc95f0bea"
},
{
"hash": "md5:00000000000000000000000000000000",
"description": "Changed description",
"title": "Notice-2.pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/c9f250e2f74e4e8e95a882add5b4401a?KeyID=a8968c46&Signature=zr1a4Vd8WIGqoGAskp1DDf5%252BQzA6WJ5nV1uzXJIgIc3nK%2FJFCw%252BGK4aIT7vCv8qv8WTHWJ4%252BN%2Fb5gGIWIzYKAQ%253D%253D",
"format": "application/pdf",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/c9f250e2f74e4e8e95a882add5b4401a?KeyID=a8968c46&Signature=zr1a4Vd8WIGqoGAskp1DDf5%252BQzA6WJ5nV1uzXJIgIc3nK%2FJFCw%252BGK4aIT7vCv8qv8WTHWJ4%252BN%2Fb5gGIWIzYKAQ%253D%253D",
"title": "Notice-2.pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:03+03:00",
"id": "2c95fa8b548444c08d8575bfc95f0bea",
"dateModified": "2020-05-15T01:00:03+03:00"
"datePublished": "2020-05-01T01:00:03+03:00",
"dateModified": "2020-05-01T01:00:03+03:00",
"id": "2c95fa8b548444c08d8575bfc95f0bea"
}
],
"reason": "cancellation reason",
Expand Down
24 changes: 12 additions & 12 deletions docs/source/tendering/http/tutorial/auction-url.http
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GET /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680 HTTP/1.0
Authorization: Bearer broker
GET /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Expand Down Expand Up @@ -81,15 +81,15 @@ Content-Type: application/json; charset=UTF-8
{
"hash": "md5:00000000000000000000000000000000",
"description": "document description modified",
"title": "Notice.pdf",
"author": "tender_owner",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/4d52879c11df4aa7ae80d3b6c4a274ce?KeyID=a8968c46&Signature=BiR23Y26fUFdAaBBqxSqN2Lv29UkW8VjpoZA0NLoVj2cgKeSq3J%2FiuGzva%252Bl0R6wpgLbA2zfat9mNkErf3HjAg%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:01+03:00",
"author": "tender_owner",
"datePublished": "2020-05-01T01:00:01+03:00",
"documentType": "technicalSpecifications",
"id": "8a3d30101dc94ca58f768bec6a1f45dd",
"dateModified": "2020-05-15T01:00:01+03:00"
"title": "Notice.pdf",
"dateModified": "2020-05-01T01:00:01+03:00"
},
{
"hash": "md5:00000000000000000000000000000000",
Expand All @@ -98,9 +98,9 @@ Content-Type: application/json; charset=UTF-8
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/55286412717f4997b35cde1cdc8ca4a3?KeyID=a8968c46&Signature=SLJwlJyNeYyhfqlj5fjfDUM5HpgwZKwSFTALjLjeIuv5mzql8Jjjua0WO8iNogqE6c0DA0%252BkyD8utzz3zI27BA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:01+03:00",
"id": "90a4fef3a0f545f4807445bbd4017f29",
"dateModified": "2020-05-15T01:00:01+03:00"
"datePublished": "2020-05-01T01:00:01+03:00",
"dateModified": "2020-05-01T01:00:01+03:00",
"id": "90a4fef3a0f545f4807445bbd4017f29"
},
{
"hash": "md5:00000000000000000000000000000000",
Expand All @@ -109,9 +109,9 @@ Content-Type: application/json; charset=UTF-8
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/5d1c2cddad3f45a3aac16cb29b81f97f?KeyID=a8968c46&Signature=E3RouA49wKUWYJ7BPlrzsmaNUW69ZPMHhlKAAOoUy3gSRyJaA98YqWOvmbQ30Z0oCAQ44WCDW4wlwGZV0RXjCA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:01+03:00",
"id": "90a4fef3a0f545f4807445bbd4017f29",
"dateModified": "2020-05-15T01:00:01+03:00"
"datePublished": "2020-05-01T01:00:01+03:00",
"dateModified": "2020-05-01T01:00:01+03:00",
"id": "90a4fef3a0f545f4807445bbd4017f29"
}
],
"title": "футляри до державних нагород",
Expand Down
10 changes: 5 additions & 5 deletions docs/source/tendering/http/tutorial/bidder-documents.http
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GET /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/b31ec66637a141c7bb03446a0f22f5dc/documents?acc_token=7a7e299c46ba4430a2a63af9bf91af30 HTTP/1.0
Authorization: Bearer broker
GET /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/b31ec66637a141c7bb03446a0f22f5dc/documents?acc_token=7a7e299c46ba4430a2a63af9bf91af30 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Expand All @@ -12,9 +12,9 @@ Content-Type: application/json; charset=UTF-8
"url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/b31ec66637a141c7bb03446a0f22f5dc/documents/86cd9a1b304d4530852984610d67c933?download=748412273ae54b27a3606febdfe1bc93",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:01+03:00",
"id": "86cd9a1b304d4530852984610d67c933",
"dateModified": "2020-05-15T01:00:01+03:00"
"datePublished": "2020-05-01T01:00:01+03:00",
"dateModified": "2020-05-01T01:00:01+03:00",
"id": "86cd9a1b304d4530852984610d67c933"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GET /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/b31ec66637a141c7bb03446a0f22f5dc?acc_token=7a7e299c46ba4430a2a63af9bf91af30 HTTP/1.0
Authorization: Bearer broker
GET /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/b31ec66637a141c7bb03446a0f22f5dc?acc_token=7a7e299c46ba4430a2a63af9bf91af30 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Expand All @@ -14,9 +14,9 @@ Content-Type: application/json; charset=UTF-8
"url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/b31ec66637a141c7bb03446a0f22f5dc/documents/86cd9a1b304d4530852984610d67c933?download=748412273ae54b27a3606febdfe1bc93",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:01+03:00",
"id": "86cd9a1b304d4530852984610d67c933",
"dateModified": "2020-05-15T01:00:01+03:00"
"datePublished": "2020-05-01T01:00:01+03:00",
"dateModified": "2020-05-01T01:00:01+03:00",
"id": "86cd9a1b304d4530852984610d67c933"
}
],
"value": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GET /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/694f980947ff4d0b870d9a18384f23fe?acc_token=cfa7d625bdd049c79e3dfa84d8835a53 HTTP/1.0
Authorization: Bearer broker
GET /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/694f980947ff4d0b870d9a18384f23fe?acc_token=cfa7d625bdd049c79e3dfa84d8835a53 HTTP/1.0
Authorization: Bearer broker
Host: lb-api-sandbox.prozorro.gov.ua

Response: 200 OK
Expand All @@ -14,19 +14,19 @@ Content-Type: application/json; charset=UTF-8
"url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/694f980947ff4d0b870d9a18384f23fe/documents/ce114f673cf14b039c1ee9705b07c00b?download=9152e77768004ab1ba6b843902ac3f12",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:01+03:00",
"id": "ce114f673cf14b039c1ee9705b07c00b",
"dateModified": "2020-05-15T01:00:01+03:00"
"datePublished": "2020-05-01T01:00:01+03:00",
"dateModified": "2020-05-01T01:00:01+03:00",
"id": "ce114f673cf14b039c1ee9705b07c00b"
},
{
"hash": "md5:00000000000000000000000000000000",
"title": "Proposal_part2.pdf",
"url": "http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/bids/694f980947ff4d0b870d9a18384f23fe/documents/8baccb56ed4a44a18ef4c13ef8a4094b?download=99993315a2cd472f9387941fe22ee6d5",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2020-05-15T01:00:01+03:00",
"id": "8baccb56ed4a44a18ef4c13ef8a4094b",
"dateModified": "2020-05-15T01:00:01+03:00"
"datePublished": "2020-05-01T01:00:01+03:00",
"dateModified": "2020-05-01T01:00:01+03:00",
"id": "8baccb56ed4a44a18ef4c13ef8a4094b"
}
],
"value": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
PATCH /api/2.5/tenders/bc3a9016b29d4fed894cc62d3ff59680/contracts/4f7b2b4c16f24c66897d0d18d57c05f3?acc_token=cfa7d625bdd049c79e3dfa84d8835a53 HTTP/1.0
Authorization: Bearer broker
Content-Length: 31
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
DATA:
{
"data": {
"status": "pending"
}
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "pending",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"author": "tender_owner",
"title": "contract_first_document.doc",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/b97562e3f33c493297fd14dd6d8c50f0?KeyID=a8968c46&Signature=dQMvA4OqNyUhOiqC5GLb4uSEt49HDaSNcEbdsglo9C4Wq8XJDos68B7pBOwMEiRZWStfSwxaG5Hf8DZduhr9DA%253D%253D",
"format": "application/msword",
"documentOf": "tender",
"datePublished": "2020-05-01T01:00:03+03:00",
"dateModified": "2020-05-01T01:00:03+03:00",
"id": "9f3ff556fde24588bb8d43242b4fe977"
},
{
"hash": "md5:00000000000000000000000000000000",
"author": "tender_owner",
"title": "contract_second_document.doc",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/a2aa5b35517c445ca3778b7b25560cc9?KeyID=a8968c46&Signature=VkkdjRhMvrxZzXFjmULpNVxzcq52P09KEEXjD2Fe%252BBMNBH9FUupk0ZN6hHIwAFGr5lYmPcm2HzuX83tijpfOBw%253D%253D",
"format": "application/msword",
"documentOf": "tender",
"datePublished": "2020-05-01T01:00:03+03:00",
"dateModified": "2020-05-01T01:00:03+03:00",
"id": "d0c4000793a24e009a3057b4434ae119"
},
{
"dateModified": "2020-05-01T01:00:03+03:00",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pkcs7-signature",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/4f1b9f5a45364f0cbb725e846b662238?KeyID=a8968c46&Signature=CVe5P9Wl2XZzgeb%2F2VXizVGxoyZ5PZmcSZPdZzb58LZXQ48PfznXpmJcGAzC65u3BgNoBfLxlwaAsU5oNDG%252BBg%253D%253D",
"author": "contract_supplier",
"documentOf": "document",
"relatedItem": "9f3ff556fde24588bb8d43242b4fe977",
"title": "supplier_first_document_sign.pkcs7",
"datePublished": "2020-05-01T01:00:03+03:00",
"id": "6433ef9dfe0443279db2f43f2a226561"
}
],
"items": [
{
"description": "футляри до державних нагород",
"classification": {
"scheme": "ДК021",
"description": "Cartons",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
],
"deliveryAddress": {
"postalCode": "79000",
"countryName": "Україна",
"streetAddress": "вул. Банкова 1",
"region": "м. Київ",
"locality": "м. Київ"
},
"deliveryDate": {
"startDate": "2020-05-03T01:00:00+03:00",
"endDate": "2020-05-06T01:00:00+03:00"
},
"id": "22efe85457d041aab3bc5a64aae6be0f",
"unit": {
"code": "44617100-9",
"name": "item"
},
"quantity": 5.0
}
],
"suppliers": [
{
"contactPoint": {
"email": "[email protected]",
"telephone": "+380 (322) 91-69-30",
"name": "Андрій Олексюк"
},
"scale": "sme",
"name": "ДКП «Книга»",
"identifier": {
"scheme": "UA-EDR",
"id": "00137226",
"uri": "http://www.sc.gov.ua/"
},
"address": {
"postalCode": "79013",
"countryName": "Україна",
"streetAddress": "вул. Островського, 34",
"region": "Львівська область",
"locality": "м. Львів"
}
}
],
"contractNumber": "contract #13111",
"period": {
"startDate": "2020-05-01T01:00:03+03:00",
"endDate": "2021-05-01T01:00:03+03:00"
},
"dateSigned": "2020-05-01T01:00:03+03:00",
"value": {
"currency": "UAH",
"amount": 238.0,
"amountNet": 237.0,
"valueAddedTaxIncluded": true
},
"date": "2020-05-01T01:00:03+03:00",
"awardID": "85136c93a6b043469633be6f0e09aa8b",
"id": "4f7b2b4c16f24c66897d0d18d57c05f3",
"contractID": "UA-2020-05-01-000001-1"
}
}

Loading

0 comments on commit 1f99a64

Please sign in to comment.