-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create tranfer for qualifications complaint Get used contract transfer
- Loading branch information
Andrew Leitsius
committed
Nov 1, 2016
1 parent
822be24
commit 7abcd72
Showing
9 changed files
with
76 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,5 @@ eggs = httpie | |
|
||
[versions] | ||
sphinx-intl = 0.9.5 | ||
Pygments = 2.1.3 | ||
requests = 2.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
docs/source/tutorial/create-qualification-complaint-transfer.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
POST /api/2.3/transfers HTTP/1.0 | ||
Authorization: Basic YnJva2VyNDo= | ||
Content-Length: 12 | ||
Content-Type: application/json | ||
Host: api-sandbox.openprocurement.org | ||
DATA: | ||
{ | ||
"data": {} | ||
} | ||
|
||
Response: 201 Created | ||
Content-Type: application/json; charset=UTF-8 | ||
{ | ||
"access": { | ||
"transfer": "76539baec6414b02a2d7cf2bec55870d", | ||
"token": "e91eb2c19fc244b5a78e7b6c5bdfa81c" | ||
}, | ||
"data": { | ||
"date": "2016-11-01T11:01:23.877124+02:00", | ||
"id": "413ef5e46cf4d07822bb1bb7ae0690d7" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
GET /api/2.3/transfers/413ef5e46cf4d07822bb1bb7ae06bd38 HTTP/1.0 | ||
Authorization: Basic YnJva2VyMzo= | ||
Host: api-sandbox.openprocurement.org | ||
|
||
Response: 200 OK | ||
Content-Type: application/json; charset=UTF-8 | ||
{ | ||
"data": { | ||
"date": "2016-11-01T11:01:31.707899+02:00", | ||
"id": "413ef5e46cf4d07822bb1bb7ae06bd38", | ||
"usedFor": "/contracts/4dedddab60c44e2aaff6da444cb81e03" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters