Skip to content

Commit

Permalink
Updated complaints documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Feb 1, 2016
1 parent 7385ce6 commit f5eb633
Show file tree
Hide file tree
Showing 42 changed files with 2,288 additions and 1,484 deletions.
309 changes: 305 additions & 4 deletions docs.py

Large diffs are not rendered by default.

Binary file modified docs/source/complaint_w.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 19 additions & 59 deletions docs/source/complaints-award.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,6 @@ And check individual complaint or claim:
.. include:: tutorial/award-complaint.http
:code:

Claim Submission
================

If tender conditions are favoriting only one provider, or in any other viable case, one can submit Tender Award Claim.

Tender Award Claim Submission (with documents)
---------------------------------------------------

At first create a claim:

.. include:: tutorial/award-complaint-submission.http
:code:

Then upload necessary documents:

.. include:: tutorial/award-complaint-submission-upload.http
:code:

Submit tender award claim:

.. include:: tutorial/award-complaint-claim.http
:code:

Tender Award Claim Submission (without documents)
------------------------------------------------------

You can submit claim that does not need additional documents:

.. include:: tutorial/award-complaint-submission-claim.http
:code:

Complaint Submission
====================

Expand Down Expand Up @@ -78,33 +47,6 @@ You can submit complaint that does not need additional documents:
.. include:: tutorial/award-complaint-submission-complaint.http
:code:

Claim's Answer
==============

Answer to resolved claim
------------------------

.. include:: tutorial/award-complaint-answer.http
:code:


Satisfied Claim
===============

Satisfying resolution
---------------------

.. include:: tutorial/award-complaint-satisfy.http
:code:


Escalate claim to complaint
---------------------------

.. include:: tutorial/award-complaint-escalate.http
:code:


Complaint Resolution
====================

Expand All @@ -115,6 +57,13 @@ Rejecting Tender Award Complaint
:code:


Accepting Tender Conditions Complaint
-------------------------------------

.. include:: tutorial/award-complaint-accept.http
:code:


Submitting Tender Award Complaint Resolution
-------------------------------------------------

Expand All @@ -132,4 +81,15 @@ Or declines it:

.. include:: tutorial/award-complaint-decline.http
:code:


Submitting Resolution Confirmation
----------------------------------

.. include:: tutorial/award-complaint-resolved.http
:code:

Cancelling Tender Award Complaint
=================================

.. include:: tutorial/award-complaint-cancel.http
:code:
20 changes: 19 additions & 1 deletion docs/source/complaints-tender.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Rejecting Tender Conditions Complaint
:code:


Accepting Tender Conditions Complaint
-------------------------------------

.. include:: tutorial/complaint-accept.http
:code:


Submitting Tender Conditions Complaint Resolution
-------------------------------------------------

Expand All @@ -131,4 +138,15 @@ Or declines it:

.. include:: tutorial/complaint-decline.http
:code:


Submitting Resolution Confirmation
----------------------------------

.. include:: tutorial/complaint-resolved.http
:code:

Cancelling Tender Conditions Complaint
======================================

.. include:: tutorial/complaint-cancel.http
:code:
59 changes: 59 additions & 0 deletions docs/source/tutorial/award-complaint-accept.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
PATCH /api/0.12/tenders/f8fd2ed41203486bb37008eac4f06e41/awards/a85cbc348f524e4aa6bdd93dd448fda2/complaints/fa17d99108524c658940302e3591e2b4 HTTP/1.0
Authorization: Basic cmV2aWV3ZXI6
Content-Length: 32
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
"data": {
"status": "accepted"
}
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "accepted",
"documents": [
{
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://api-sandbox.openprocurement.org/api/0.12/tenders/f8fd2ed41203486bb37008eac4f06e41/awards/a85cbc348f524e4aa6bdd93dd448fda2/complaints/fa17d99108524c658940302e3591e2b4/documents/28cbb7a576a6413495bbbde1679820ef?download=e4308e9037a64cf48068cbfba4d98ca6",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2016-02-01T16:18:59.084081+02:00",
"id": "28cbb7a576a6413495bbbde1679820ef",
"dateModified": "2016-02-01T16:18:59.084119+02:00"
}
],
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
"author": {
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"id": "13313462",
"uri": "http://sch10.edu.vn.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"postalCode": "21100",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
}
},
"title": "Недостатньо інформації",
"dateSubmitted": "2016-02-01T16:18:59.224423+02:00",
"date": "2016-02-01T16:18:58.753880+02:00",
"type": "complaint",
"id": "fa17d99108524c658940302e3591e2b4"
}
}

49 changes: 0 additions & 49 deletions docs/source/tutorial/award-complaint-answer.http

This file was deleted.

50 changes: 50 additions & 0 deletions docs/source/tutorial/award-complaint-cancel.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
PATCH /api/0.12/tenders/f8fd2ed41203486bb37008eac4f06e41/awards/a85cbc348f524e4aa6bdd93dd448fda2/complaints/0a4dd6c7672044ec83b5cc5a5dd686e1?acc_token=681a61fd4cf84ca7bd959182f38839f6 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 150
Content-Type: application/json
Host: api-sandbox.openprocurement.org
DATA:
{
"data": {
"status": "cancelled",
"cancellationReason": "Умови виправлено"
}
}

Response: 200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "cancelled",
"description": "Умови виставлені замовником не містять достатньо інформації, щоб заявка мала сенс.",
"author": {
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"legalName": "Державне комунальне підприємство громадського харчування «Школяр»",
"id": "13313462",
"uri": "http://sch10.edu.vn.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"postalCode": "21100",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
}
},
"title": "Недостатньо інформації",
"cancellationReason": "Умови виправлено",
"dateCanceled": "2016-02-01T16:19:01.019259+02:00",
"dateSubmitted": "2016-02-01T16:19:00.836630+02:00",
"date": "2016-02-01T16:19:00.835172+02:00",
"type": "complaint",
"id": "0a4dd6c7672044ec83b5cc5a5dd686e1"
}
}

44 changes: 0 additions & 44 deletions docs/source/tutorial/award-complaint-claim.http

This file was deleted.

0 comments on commit f5eb633

Please sign in to comment.