Skip to content

Commit e670125

Browse files
committed
Merge branch 'master' of github.com:openprocurement/openprocurement.api
2 parents 86d4a5a + 81ff4ba commit e670125

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

docs/source/tutorial.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,11 @@ Qualification comission registers its decision via following call:
197197
.. include:: tutorial/confirm-qualification.http
198198
:code:
199199

200+
Canceling tender
201+
----------------
202+
203+
Tender creator can cancel tender anytime:
204+
205+
.. include:: tutorial/cancel-tender.http
206+
:code:
207+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
$ http -j PATCH https://api-sandbox.openprocurement.org/api/0/tenders/bd02634d93eb4c13923283adedc8a168 data:={"status":"cancelled"}
2+
PATCH /api/0/tenders/bd02634d93eb4c13923283adedc8a168 HTTP/1.1
3+
Content-Type: application/json; charset=utf-8
4+
5+
{
6+
"data": {
7+
"status": "cancelled"
8+
}
9+
}
10+
11+
HTTP/1.1 200 OK
12+
Content-Type: application/json; charset=UTF-8
13+
14+
{
15+
"data": {
16+
"dateModified": "2014-12-01T15:59:41.185408+02:00",
17+
"enquiryPeriod": {
18+
"startDate": "2014-12-01T15:59:30.491291+02:00"
19+
},
20+
"id": "bd02634d93eb4c13923283adedc8a168",
21+
"status": "cancelled",
22+
"tenderID": "UA-bd02634d93eb4c13923283adedc8a168"
23+
}
24+
}

0 commit comments

Comments
 (0)