Skip to content

Commit

Permalink
Update tutorials files
Browse files Browse the repository at this point in the history
  • Loading branch information
ktarasz committed Mar 16, 2016
1 parent f25e7fc commit 7242b5a
Show file tree
Hide file tree
Showing 44 changed files with 368 additions and 341 deletions.
23 changes: 12 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/0.12/tenders/2bdc6bcbe3c24333a4a70ac77158a1c5/cancellations/e7d1fb2bc8984affb8ac7eb5f5bf6ea6?acc_token=bfe0379f14c74dde85987bd075df7bcb HTTP/1.0
PATCH /api/2.0/tenders/7f6e7b1b66c043b4bf34a9c0a067beb4/cancellations/4e94b08ebc964a2ba226d26887b07631?acc_token=88d696fc99b94f9fa6cb4d279c0366ac HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 30
Content-Type: application/json
Expand All @@ -19,28 +19,29 @@ Content-Type: application/json; charset=UTF-8
{
"description": "Changed description",
"title": "Notice.pdf",
"url": "http://api-sandbox.openprocurement.org/api/0.12/tenders/2bdc6bcbe3c24333a4a70ac77158a1c5/cancellations/e7d1fb2bc8984affb8ac7eb5f5bf6ea6/documents/427081d8422b4de38c5d569f8ec6059c?download=68dc2a529f7f4ed68ee654e4e955cec6",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/7f6e7b1b66c043b4bf34a9c0a067beb4/cancellations/4e94b08ebc964a2ba226d26887b07631/documents/aca555352d51444d8ae522a0fd107387?download=d873992fd5f148979acad67a02ea2eb7",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-03-08T16:10:19.597957+02:00",
"id": "427081d8422b4de38c5d569f8ec6059c",
"dateModified": "2016-03-08T16:10:19.597995+02:00"
"datePublished": "2016-03-16T17:33:31.431525+02:00",
"id": "aca555352d51444d8ae522a0fd107387",
"dateModified": "2016-03-16T17:33:31.431564+02:00"
},
{
"description": "Changed description",
"title": "Notice-2.pdf",
"url": "http://api-sandbox.openprocurement.org/api/0.12/tenders/2bdc6bcbe3c24333a4a70ac77158a1c5/cancellations/e7d1fb2bc8984affb8ac7eb5f5bf6ea6/documents/427081d8422b4de38c5d569f8ec6059c?download=f2472bf77ddd4a3990bd984faacad73c",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/7f6e7b1b66c043b4bf34a9c0a067beb4/cancellations/4e94b08ebc964a2ba226d26887b07631/documents/aca555352d51444d8ae522a0fd107387?download=9c9d398ddebd4ae88f29a21a58c13816",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-03-08T16:10:19.597957+02:00",
"id": "427081d8422b4de38c5d569f8ec6059c",
"dateModified": "2016-03-08T16:10:19.928262+02:00"
"datePublished": "2016-03-16T17:33:31.431525+02:00",
"id": "aca555352d51444d8ae522a0fd107387",
"dateModified": "2016-03-16T17:33:31.744432+02:00"
}
],
"reason": "cancellation reason",
"date": "2016-03-08T16:10:19.455978+02:00",
"reasonType": "unsuccessful",
"date": "2016-03-16T17:33:31.165493+02:00",
"cancellationOf": "tender",
"id": "e7d1fb2bc8984affb8ac7eb5f5bf6ea6"
"id": "4e94b08ebc964a2ba226d26887b07631"
}
}

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/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326 HTTP/1.0
PATCH /api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2 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/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326/documents/815f1027d6e742e89b4aaccd650a814a?download=3b77cba936d243058add35fbb1413343",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2/documents/c9837a88dd944125a7cb3b0c47186287?download=1a5b6e62bfd64f60907f77bf93fe5982",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-03-08T16:10:26.483418+02:00",
"id": "815f1027d6e742e89b4aaccd650a814a",
"dateModified": "2016-03-08T16:10:26.483456+02:00"
"datePublished": "2016-03-16T17:33:37.647867+02:00",
"id": "c9837a88dd944125a7cb3b0c47186287",
"dateModified": "2016-03-16T17:33:37.647920+02:00"
}
],
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
Expand All @@ -50,13 +50,13 @@ Content-Type: application/json; charset=UTF-8
"locality": "м. Вінниця"
}
},
"dateAccepted": "2016-03-08T16:10:27.317851+02:00",
"dateSubmitted": "2016-03-08T16:10:26.616497+02:00",
"complaintID": "UA-2016-03-08-000001.1",
"date": "2016-03-08T16:10:26.347094+02:00",
"dateAccepted": "2016-03-16T17:33:38.455545+02:00",
"dateSubmitted": "2016-03-16T17:33:37.839857+02:00",
"complaintID": "UA-2016-03-16-000001.1",
"date": "2016-03-16T17:33:37.515318+02:00",
"acceptance": true,
"type": "complaint",
"id": "1505ad1399aa4011a53e7083f167b326"
"id": "413dc414a4864db9a445ac0ebf9879f2"
}
}

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/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/66a564831efe4d679798b90749bc2db3?acc_token=9e661ec0228c439b90ead1079bab00d9 HTTP/1.0
PATCH /api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/0e808b170a574b66b39299255ec9bcc0?acc_token=357ac4e1f0c64acfba290d66219757b6 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-03-08T16:10:28.685309+02:00",
"dateSubmitted": "2016-03-08T16:10:28.476197+02:00",
"complaintID": "UA-2016-03-08-000001.4",
"date": "2016-03-08T16:10:28.474775+02:00",
"dateCanceled": "2016-03-16T17:33:39.599914+02:00",
"dateSubmitted": "2016-03-16T17:33:39.429872+02:00",
"complaintID": "UA-2016-03-16-000001.4",
"date": "2016-03-16T17:33:39.428382+02:00",
"type": "complaint",
"id": "66a564831efe4d679798b90749bc2db3"
"id": "0e808b170a574b66b39299255ec9bcc0"
}
}

18 changes: 9 additions & 9 deletions docs/source/tutorial/award-complaint-complaint.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326?acc_token=53cc1a2c66c24bc48b12e23b170ebf97 HTTP/1.0
PATCH /api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2?acc_token=d6ad1384c8ab41b684c3fe8ef117cc72 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 31
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/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326/documents/815f1027d6e742e89b4aaccd650a814a?download=3b77cba936d243058add35fbb1413343",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2/documents/c9837a88dd944125a7cb3b0c47186287?download=1a5b6e62bfd64f60907f77bf93fe5982",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-03-08T16:10:26.483418+02:00",
"id": "815f1027d6e742e89b4aaccd650a814a",
"dateModified": "2016-03-08T16:10:26.483456+02:00"
"datePublished": "2016-03-16T17:33:37.647867+02:00",
"id": "c9837a88dd944125a7cb3b0c47186287",
"dateModified": "2016-03-16T17:33:37.647920+02:00"
}
],
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
Expand All @@ -50,11 +50,11 @@ Content-Type: application/json; charset=UTF-8
"locality": "м. Вінниця"
}
},
"dateSubmitted": "2016-03-08T16:10:26.616497+02:00",
"complaintID": "UA-2016-03-08-000001.1",
"date": "2016-03-08T16:10:26.347094+02:00",
"dateSubmitted": "2016-03-16T17:33:37.839857+02:00",
"complaintID": "UA-2016-03-16-000001.1",
"date": "2016-03-16T17:33:37.515318+02:00",
"type": "complaint",
"id": "1505ad1399aa4011a53e7083f167b326"
"id": "413dc414a4864db9a445ac0ebf9879f2"
}
}

14 changes: 7 additions & 7 deletions docs/source/tutorial/award-complaint-decline.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/157570afe93b46edba6b9dbf9b14c411 HTTP/1.0
PATCH /api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/0630a15f82b840bcb6c5ed0fa4b6b6a2 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Expand All @@ -15,7 +15,7 @@ Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "declined",
"dateDecision": "2016-03-08T16:10:28.079759+02:00",
"dateDecision": "2016-03-16T17:33:39.100290+02:00",
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
"author": {
"contactPoint": {
Expand All @@ -39,13 +39,13 @@ Content-Type: application/json; charset=UTF-8
}
},
"acceptance": true,
"dateAccepted": "2016-03-08T16:10:27.485195+02:00",
"dateSubmitted": "2016-03-08T16:10:26.956350+02:00",
"complaintID": "UA-2016-03-08-000001.3",
"date": "2016-03-08T16:10:26.954497+02:00",
"dateAccepted": "2016-03-16T17:33:38.599506+02:00",
"dateSubmitted": "2016-03-16T17:33:38.129455+02:00",
"complaintID": "UA-2016-03-16-000001.3",
"date": "2016-03-16T17:33:38.127998+02:00",
"title": "Недостатньо інформації",
"type": "complaint",
"id": "157570afe93b46edba6b9dbf9b14c411"
"id": "0630a15f82b840bcb6c5ed0fa4b6b6a2"
}
}

12 changes: 6 additions & 6 deletions docs/source/tutorial/award-complaint-reject.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/6a5d36b4dc7343fc9c79e88135058cbc HTTP/1.0
PATCH /api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/fd058b336c2b4d3aa49145b68626f98b HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 31
Content-Type: application/json
Expand All @@ -15,7 +15,7 @@ Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "invalid",
"dateDecision": "2016-03-08T16:10:27.122345+02:00",
"dateDecision": "2016-03-16T17:33:38.310024+02:00",
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
"author": {
"contactPoint": {
Expand All @@ -39,12 +39,12 @@ Content-Type: application/json; charset=UTF-8
}
},
"acceptance": false,
"dateSubmitted": "2016-03-08T16:10:26.778098+02:00",
"complaintID": "UA-2016-03-08-000001.2",
"date": "2016-03-08T16:10:26.776694+02:00",
"dateSubmitted": "2016-03-16T17:33:37.958429+02:00",
"complaintID": "UA-2016-03-16-000001.2",
"date": "2016-03-16T17:33:37.956872+02:00",
"title": "Недостатньо інформації",
"type": "complaint",
"id": "6a5d36b4dc7343fc9c79e88135058cbc"
"id": "fd058b336c2b4d3aa49145b68626f98b"
}
}

14 changes: 7 additions & 7 deletions docs/source/tutorial/award-complaint-resolution-upload.http
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
POST /api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326/documents HTTP/1.0
POST /api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2/documents HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 199
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy368483927505$
Content-Type: multipart/form-data; boundary=----------a_BoUnDaRy755870575597$
Host: api-sandbox.openprocurement.org

Response: 201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326/documents/7f04f26494684dd596bb0b28ebf0abc2
Location: http://api-sandbox.openprocurement.org/api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2/documents/e5510bab0eca49bc9262b9c00f52aa69
{
"data": {
"author": "aboveThresholdReviewers",
"title": "ComplaintResolution.pdf",
"url": "http://api-sandbox.openprocurement.org/api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326/documents/7f04f26494684dd596bb0b28ebf0abc2?download=a6f2c47a98ee4f2a9434e15d2f6cce91",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2/documents/e5510bab0eca49bc9262b9c00f52aa69?download=2ee4ce9be0104aff9ec790bbbdd5d571",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-03-08T16:10:27.682551+02:00",
"id": "7f04f26494684dd596bb0b28ebf0abc2",
"dateModified": "2016-03-08T16:10:27.682644+02:00"
"datePublished": "2016-03-16T17:33:38.774661+02:00",
"id": "e5510bab0eca49bc9262b9c00f52aa69",
"dateModified": "2016-03-16T17:33:38.774711+02:00"
}
}

30 changes: 15 additions & 15 deletions docs/source/tutorial/award-complaint-resolve.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATCH /api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326 HTTP/1.0
PATCH /api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 33
Content-Type: application/json
Expand All @@ -15,27 +15,27 @@ Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "satisfied",
"dateDecision": "2016-03-08T16:10:27.858699+02:00",
"dateDecision": "2016-03-16T17:33:38.943137+02:00",
"documents": [
{
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://api-sandbox.openprocurement.org/api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326/documents/815f1027d6e742e89b4aaccd650a814a?download=3b77cba936d243058add35fbb1413343",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2/documents/c9837a88dd944125a7cb3b0c47186287?download=1a5b6e62bfd64f60907f77bf93fe5982",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-03-08T16:10:26.483418+02:00",
"id": "815f1027d6e742e89b4aaccd650a814a",
"dateModified": "2016-03-08T16:10:26.483456+02:00"
"datePublished": "2016-03-16T17:33:37.647867+02:00",
"id": "c9837a88dd944125a7cb3b0c47186287",
"dateModified": "2016-03-16T17:33:37.647920+02:00"
},
{
"author": "aboveThresholdReviewers",
"title": "ComplaintResolution.pdf",
"url": "http://api-sandbox.openprocurement.org/api/0.12/tenders/52cecb4a3c634af0bb778e46c2544bd8/awards/b0a2f109011941c2b2866468fdcfcd96/complaints/1505ad1399aa4011a53e7083f167b326/documents/7f04f26494684dd596bb0b28ebf0abc2?download=a6f2c47a98ee4f2a9434e15d2f6cce91",
"url": "http://api-sandbox.openprocurement.org/api/2.0/tenders/525da6c01ed84ee380c26372b98ac98c/awards/8eb31cfbd8f24dc39192e3cf9619afee/complaints/413dc414a4864db9a445ac0ebf9879f2/documents/e5510bab0eca49bc9262b9c00f52aa69?download=2ee4ce9be0104aff9ec790bbbdd5d571",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-03-08T16:10:27.682551+02:00",
"id": "7f04f26494684dd596bb0b28ebf0abc2",
"dateModified": "2016-03-08T16:10:27.682644+02:00"
"datePublished": "2016-03-16T17:33:38.774661+02:00",
"id": "e5510bab0eca49bc9262b9c00f52aa69",
"dateModified": "2016-03-16T17:33:38.774711+02:00"
}
],
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
Expand All @@ -61,13 +61,13 @@ Content-Type: application/json; charset=UTF-8
"locality": "м. Вінниця"
}
},
"dateAccepted": "2016-03-08T16:10:27.317851+02:00",
"dateSubmitted": "2016-03-08T16:10:26.616497+02:00",
"complaintID": "UA-2016-03-08-000001.1",
"date": "2016-03-08T16:10:26.347094+02:00",
"dateAccepted": "2016-03-16T17:33:38.455545+02:00",
"dateSubmitted": "2016-03-16T17:33:37.839857+02:00",
"complaintID": "UA-2016-03-16-000001.1",
"date": "2016-03-16T17:33:37.515318+02:00",
"acceptance": true,
"type": "complaint",
"id": "1505ad1399aa4011a53e7083f167b326"
"id": "413dc414a4864db9a445ac0ebf9879f2"
}
}

0 comments on commit 7242b5a

Please sign in to comment.