Tutorial¶
Exploring basic rules¶
Let’s try exploring the /lots endpoint:
GET /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/lots?offset=",
"uri": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots?offset=",
"offset": ""
},
"data": []
}
Just invoking it reveals empty set.
Now let’s attempt creating a lot:
POST /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 4
Content-Type: application/x-www-form-urlencoded
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 415 Unsupported Media Type
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"status": "error",
"errors": [
{
"description": "Content-Type header should be one of ['application/json']",
"location": "header",
"name": "Content-Type"
}
]
}
Error states that the only accepted Content-Type is application/json.
Let’s satisfy the Content-type requirement:
POST /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 4
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 422 Unprocessable Entity
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"status": "error",
"errors": [
{
"description": "Expecting value: line 1 column 1 (char 0)",
"location": "body",
"name": "data"
}
]
}
Error states that no data has been found in JSON body.
Creating lot¶
You can create lot with relatedProcesses at once. It`s called a batch mode.
POST /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 415
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID"
}
],
"lotType": "loki",
"relatedProcesses": [
{
"type": "asset",
"relatedProcessID": "72540e20491643c2a51141f419324344"
}
],
"description": "Щось там тестове",
"title": "Тестовий лот"
}
}
Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots/75d059c9f53e4454b9b4f592b30ff566
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "003c8dea9ada4b869786f7bd09d81387",
"token": "95d8faca662844a48591e490390ef831"
},
"data": {
"status": "draft",
"lotID": "UA-LR-DGF-2019-03-19-000001",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "f09354784c6848aaaffbd6ff38c87ef8"
}
],
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "8a3dde028de144789c7f928df0cc32d2",
"decisionOf": "lot"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:06.291288+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.281066+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.281086+02:00",
"id": "f71092daf0f841d0a683a123e2456e21"
}
],
"auctions": [
{
"status": "scheduled",
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "a3aabb7301d64fef85a118762a7e7a26"
},
{
"status": "scheduled",
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "ebd89717fe8c4856b2d4f322326b53af"
},
{
"status": "scheduled",
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "ed2964cad53246e6a5ffeb3609015607"
}
],
"date": "2019-03-19T15:23:06.289301+02:00",
"relatedProcesses": [
{
"type": "asset",
"id": "2a94e1ee21fd45ef9188529643c9ca23",
"relatedProcessID": "72540e20491643c2a51141f419324344"
}
],
"id": "75d059c9f53e4454b9b4f592b30ff566"
}
}
Let’s create lot with the minimal data set:
POST /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 318
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"lotType": "loki",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID"
}
],
"description": "Щось там тестове",
"title": "Тестовий лот"
}
}
Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "3ee8b7f4bb8647c684cf8a318332650c",
"token": "53ce42a01cb745819303b64031afbb2b"
},
"data": {
"status": "draft",
"lotID": "UA-LR-DGF-2019-03-19-000002",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "eb92ac079d3945c9ae2d6a8c31877c3f"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:06.324966+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.314674+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.314696+02:00",
"id": "b5506c8a9353481f8e6fcc964242ea79"
}
],
"auctions": [
{
"status": "scheduled",
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "cb14fea47f324446b083099e026b1de4"
},
{
"status": "scheduled",
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "5bbdebcd2d9748aa89220f01f17a18f3"
},
{
"status": "scheduled",
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "b2998f0368c340609fa56fa0a12fdcfa"
}
],
"date": "2019-03-19T15:23:06.323072+02:00",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "88efebe2abf542319f0a79b3645f5d9e",
"decisionOf": "lot"
}
],
"id": "9c54261550f74c99b25b7a8ab16aa97a"
}
}
The object you’re trying to add initially receives draft status. You should manually switch this object from draft to composing (2 Phase Commit mechanism) so that to add the auction conditions (value.amount, minimalStep.amount, etc.):
PATCH /api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a?acc_token=53ce42a01cb745819303b64031afbb2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 33
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"status": "composing"
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "composing",
"lotID": "UA-LR-DGF-2019-03-19-000002",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "eb92ac079d3945c9ae2d6a8c31877c3f"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:06.393441+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.314674+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.314696+02:00",
"id": "b5506c8a9353481f8e6fcc964242ea79"
}
],
"auctions": [
{
"status": "scheduled",
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "cb14fea47f324446b083099e026b1de4"
},
{
"status": "scheduled",
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "5bbdebcd2d9748aa89220f01f17a18f3"
},
{
"status": "scheduled",
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "b2998f0368c340609fa56fa0a12fdcfa"
}
],
"date": "2019-03-19T15:23:06.393270+02:00",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "88efebe2abf542319f0a79b3645f5d9e",
"decisionOf": "lot"
}
],
"id": "9c54261550f74c99b25b7a8ab16aa97a"
}
}
You see that lot.auctions structure has been added with the set of auto-generated data.
Now let’s add extra auction conditions. Note that the information is being added to each of three auctions one by one:
PATCH /api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a/auctions/cb14fea47f324446b083099e026b1de4 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 449
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
X-Access-Token: 53ce42a01cb745819303b64031afbb2b
DATA:
{
"data": {
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"guarantee": {
"currency": "UAH",
"amount": 700.87
},
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
}
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "cb14fea47f324446b083099e026b1de4",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
}
}
PATCH /api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a/auctions/5bbdebcd2d9748aa89220f01f17a18f3 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 43
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
X-Access-Token: 53ce42a01cb745819303b64031afbb2b
DATA:
{
"data": {
"tenderingDuration": "P25DT12H"
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "5bbdebcd2d9748aa89220f01f17a18f3",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
}
Now let’s add relatedProcesses:
POST /api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a/related_processes HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 83
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
X-Access-Token: 53ce42a01cb745819303b64031afbb2b
DATA:
{
"data": {
"type": "asset",
"relatedProcessID": "9f99bebd24b54939ae1cbe4a81c1afa4"
}
}
Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a/related_processes/1c1943ff7c4d42ee983ec84afd486313
X-Content-Type-Options: nosniff
{
"data": {
"type": "asset",
"id": "1c1943ff7c4d42ee983ec84afd486313",
"relatedProcessID": "9f99bebd24b54939ae1cbe4a81c1afa4"
}
}
To enable further manipulations with the lot, its status should be manually switched to verification.
PATCH /api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a?acc_token=53ce42a01cb745819303b64031afbb2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 36
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"status": "verification"
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "verification",
"lotID": "UA-LR-DGF-2019-03-19-000002",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "eb92ac079d3945c9ae2d6a8c31877c3f"
}
],
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "88efebe2abf542319f0a79b3645f5d9e",
"decisionOf": "lot"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:06.588340+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.314674+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.314696+02:00",
"id": "b5506c8a9353481f8e6fcc964242ea79"
}
],
"auctions": [
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "cb14fea47f324446b083099e026b1de4",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "5bbdebcd2d9748aa89220f01f17a18f3",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "b2998f0368c340609fa56fa0a12fdcfa",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:06.588172+02:00",
"relatedProcesses": [
{
"type": "asset",
"id": "1c1943ff7c4d42ee983ec84afd486313",
"relatedProcessID": "9f99bebd24b54939ae1cbe4a81c1afa4"
}
],
"id": "9c54261550f74c99b25b7a8ab16aa97a"
}
}
Success! Now we can see that new object was created. Response code is 201 and Location response header reports the location of the created object. The body of response reveals the information about the created asset: its internal id (that matches the Location segment), its official assetID and dateModified datestamp stating the moment when asset was last modified. Note that lot is created with pending status.
Let’s access the URL of the created object (the Location header of the response):
We can see the same response we got after creating lot.
POST /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 318
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"lotType": "loki",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID"
}
],
"description": "Щось там тестове",
"title": "Тестовий лот"
}
}
Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "3ee8b7f4bb8647c684cf8a318332650c",
"token": "53ce42a01cb745819303b64031afbb2b"
},
"data": {
"status": "draft",
"lotID": "UA-LR-DGF-2019-03-19-000002",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "eb92ac079d3945c9ae2d6a8c31877c3f"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:06.324966+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.314674+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.314696+02:00",
"id": "b5506c8a9353481f8e6fcc964242ea79"
}
],
"auctions": [
{
"status": "scheduled",
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "cb14fea47f324446b083099e026b1de4"
},
{
"status": "scheduled",
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "5bbdebcd2d9748aa89220f01f17a18f3"
},
{
"status": "scheduled",
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "b2998f0368c340609fa56fa0a12fdcfa"
}
],
"date": "2019-03-19T15:23:06.323072+02:00",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "88efebe2abf542319f0a79b3645f5d9e",
"decisionOf": "lot"
}
],
"id": "9c54261550f74c99b25b7a8ab16aa97a"
}
}
Let’s see what listing of lots reveals us:
GET /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/lots?offset=",
"uri": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots?offset=",
"offset": ""
},
"data": []
}
We do see the internal id of the lot (that can be used to construct full URL http://lb.api-sandbox.registry.ea2.openprocurement.net/api/2.4/lots/8286cc7863814271afe23cb2646237ed`) and its dateModified date stamp.
Let’s try creating another lot:
POST /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 318
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"lotType": "loki",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID"
}
],
"description": "Щось там тестове",
"title": "Тестовий лот"
}
}
Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots/2f6e750402f841beb513d413240b60a0
X-Content-Type-Options: nosniff
{
"access": {
"transfer": "c78f6adea1ec45e6951ac1e2891b11fb",
"token": "be16a40e2003457aaac2d58b80cbc527"
},
"data": {
"status": "draft",
"lotID": "UA-LR-DGF-2019-03-19-000003",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "ebe5f45c1bcd40179b96db1f03754c29"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:06.649265+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.639379+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.639405+02:00",
"id": "b6e7ae98101d4a50a6f32ced0c1cf4df"
}
],
"auctions": [
{
"status": "scheduled",
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "50b55e1ba3c34779b26a22527292eb52"
},
{
"status": "scheduled",
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "1f49c1f5f38848cb807c52e191c0cde4"
},
{
"status": "scheduled",
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "c95266b3c5e64a8fa40049302b5bd499"
}
],
"date": "2019-03-19T15:23:06.647458+02:00",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "ec2d6fb65a9241baab975993c550f7dd",
"decisionOf": "lot"
}
],
"id": "2f6e750402f841beb513d413240b60a0"
}
}
And again we have 201 Created response code, Location header and body with extra id, lotID, and dateModified properties.
Switch second lot to ‘composing’ status’:
PATCH /api/2.5/lots/2f6e750402f841beb513d413240b60a0?acc_token=be16a40e2003457aaac2d58b80cbc527 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 33
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"status": "composing"
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "composing",
"lotID": "UA-LR-DGF-2019-03-19-000003",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "ebe5f45c1bcd40179b96db1f03754c29"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:06.701774+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.639379+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.639405+02:00",
"id": "b6e7ae98101d4a50a6f32ced0c1cf4df"
}
],
"auctions": [
{
"status": "scheduled",
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "50b55e1ba3c34779b26a22527292eb52"
},
{
"status": "scheduled",
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "1f49c1f5f38848cb807c52e191c0cde4"
},
{
"status": "scheduled",
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "c95266b3c5e64a8fa40049302b5bd499"
}
],
"date": "2019-03-19T15:23:06.701582+02:00",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "ec2d6fb65a9241baab975993c550f7dd",
"decisionOf": "lot"
}
],
"id": "2f6e750402f841beb513d413240b60a0"
}
}
Let’s check what lot registry contains:
GET /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/lots?offset=2019-03-19T15%3A23%3A06.588340%2B02%3A00",
"uri": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots?offset=2019-03-19T15%3A23%3A06.588340%2B02%3A00",
"offset": "2019-03-19T15:23:06.588340+02:00"
},
"data": [
{
"id": "9c54261550f74c99b25b7a8ab16aa97a",
"dateModified": "2019-03-19T15:23:06.588340+02:00"
}
]
}
And indeed we have 2 lots now.
Modifying Lot¶
Let’s update lot description:
PATCH /api/2.5/lots/2f6e750402f841beb513d413240b60a0?acc_token=be16a40e2003457aaac2d58b80cbc527 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 53
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"description": "Lot description modified"
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "composing",
"lotID": "UA-LR-DGF-2019-03-19-000003",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "ebe5f45c1bcd40179b96db1f03754c29"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:06.701774+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.639379+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.639405+02:00",
"id": "b6e7ae98101d4a50a6f32ced0c1cf4df"
}
],
"auctions": [
{
"status": "scheduled",
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "50b55e1ba3c34779b26a22527292eb52"
},
{
"status": "scheduled",
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"auctionParameters": {
"type": "english"
},
"id": "1f49c1f5f38848cb807c52e191c0cde4"
},
{
"status": "scheduled",
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "c95266b3c5e64a8fa40049302b5bd499"
}
],
"date": "2019-03-19T15:23:06.701582+02:00",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "ec2d6fb65a9241baab975993c550f7dd",
"decisionOf": "lot"
}
],
"id": "2f6e750402f841beb513d413240b60a0"
}
}
We see the added properties have merged with existing lot data. Additionally, the dateModified property was updated to reflect the last modification date stamp.
Note that lot can be modified only within the rectification period (up to rectificationPeriod.endDate).
Checking the listing again reflects the new modification date:
GET /api/2.5/lots?opt_pretty=1 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"next_page": {
"path": "/api/2.5/lots?offset=2019-03-19T15%3A23%3A06.701774%2B02%3A00",
"uri": "http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots?offset=2019-03-19T15%3A23%3A06.701774%2B02%3A00",
"offset": "2019-03-19T15:23:06.701774+02:00"
},
"data": [
{
"id": "9c54261550f74c99b25b7a8ab16aa97a",
"dateModified": "2019-03-19T15:23:06.588340+02:00"
},
{
"id": "2f6e750402f841beb513d413240b60a0",
"dateModified": "2019-03-19T15:23:06.701774+02:00"
}
]
}
Deleting Lot¶
Let’s delete lot:
A document with the documentType: canellationDetails has to be added first:
POST /api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a/documents HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 348
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
X-Access-Token: 53ce42a01cb745819303b64031afbb2b
DATA:
{
"data": {
"url": "http://localhost/get/bc55defdab034421af27f4d9c439a16e?KeyID=172d32c8&Signature=VR7N0kPTzDi3PRIImIg1agVop7Layrc47TX2GzzCWTUJhA6rqhg8ta4CpoO0%2FjKcq1RVFsfsG3bngh9CxLZjDA%3D%3D",
"title": "укр.doc",
"format": "application/msword",
"hash": "md5:00000000000000000000000000000000",
"documentType": "cancellationDetails"
}
}
Response: 201 Created
Content-Type: application/json
Location: http://lb.api-sandbox.registry.ea.openprocurement.net/api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a/documents/b1d4e5b4377349a79aa8e282927a66b5
X-Content-Type-Options: nosniff
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"author": "lot_owner",
"title": "укр.doc",
"url": "http://localhost/get/bc55defdab034421af27f4d9c439a16e?KeyID=172d32c8&Signature=BZJ%2FgnWnyfxmrtm6WSZ8fEmExwbvCpoOgAFOdePF9jd5%252BAakEI%252BoNz%252BHzgbLbMvAiXhcKfcGxHziCeuOLNt%252BDw%253D%253D",
"format": "application/msword",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:07.118610+02:00",
"documentType": "cancellationDetails",
"dateModified": "2019-03-19T15:23:07.118652+02:00",
"id": "b1d4e5b4377349a79aa8e282927a66b5"
}
}
So now lot can be easily deleted:
PATCH /api/2.5/lots/9c54261550f74c99b25b7a8ab16aa97a?acc_token=53ce42a01cb745819303b64031afbb2b HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 39
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"status": "pending.deleted"
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "pending.deleted",
"rectificationPeriod": {
"startDate": "2019-03-19T15:23:07.016906+02:00",
"endDate": "2019-03-21T15:23:07.016906+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000002",
"description": "Нежитлове приміщення для збереження насіння",
"title": "Нежитлове приміщення",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "eb92ac079d3945c9ae2d6a8c31877c3f"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:06.251270+02:00",
"decisionID": "initialDecisionID",
"id": "88efebe2abf542319f0a79b3645f5d9e",
"decisionOf": "lot"
},
{
"relatedItem": "dfb2e73b899b42a389af463caf930d67",
"decisionDate": "2019-03-19T15:23:06.778542+02:00",
"decisionID": "11111-4-5",
"id": "2abb8347a22b4ac2bfea4d8defccf5b6",
"decisionOf": "asset"
}
],
"dateModified": "2019-03-19T15:23:07.240534+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "cb14fea47f324446b083099e026b1de4",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "5bbdebcd2d9748aa89220f01f17a18f3",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "b2998f0368c340609fa56fa0a12fdcfa",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:07.240327+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:06.314674+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:06.314696+02:00",
"id": "b5506c8a9353481f8e6fcc964242ea79"
},
{
"hash": "md5:00000000000000000000000000000000",
"author": "lot_owner",
"title": "укр.doc",
"url": "http://localhost/get/bc55defdab034421af27f4d9c439a16e?KeyID=172d32c8&Signature=BZJ%2FgnWnyfxmrtm6WSZ8fEmExwbvCpoOgAFOdePF9jd5%252BAakEI%252BoNz%252BHzgbLbMvAiXhcKfcGxHziCeuOLNt%252BDw%253D%253D",
"format": "application/msword",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:07.118610+02:00",
"documentType": "cancellationDetails",
"dateModified": "2019-03-19T15:23:07.118652+02:00",
"id": "b1d4e5b4377349a79aa8e282927a66b5"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "1c1943ff7c4d42ee983ec84afd486313",
"relatedProcessID": "9f99bebd24b54939ae1cbe4a81c1afa4"
}
],
"id": "9c54261550f74c99b25b7a8ab16aa97a"
}
}
Integration with assets¶
Concierge operations¶
For lot to be formed, you need to specify id of the asset which is to be included in that lot. If this assets is available, it will be attached to lot and status of a lot itself will be changed to pending. The given lot becomes:
GET /api/2.5/lots/9a2c80c59e5b425795e92e80f7ad1e24 HTTP/1.0
Authorization: Basic Y29uY2llcmdlOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "pending",
"rectificationPeriod": {
"startDate": "2019-03-19T15:23:08.321095+02:00",
"endDate": "2019-03-21T15:23:08.321095+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000002",
"description": "Нежитлове приміщення для збереження насіння",
"title": "Нежитлове приміщення",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "37a7d847bcc14d60b57b1e7fb8b750cb"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:07.792309+02:00",
"decisionID": "initialDecisionID",
"id": "65575976294e4c1988c42127a320ff35",
"decisionOf": "lot"
},
{
"relatedItem": "f54fde9c6c8146cc8bc1520c6429aacf",
"decisionDate": "2019-03-19T15:23:08.111917+02:00",
"decisionID": "11111-4-5",
"id": "b40e68f7f5214475acf850840f18f502",
"decisionOf": "asset"
}
],
"dateModified": "2019-03-19T15:23:08.341359+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"next_check": "2019-03-21T15:23:08.321095+02:00",
"auctions": [
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "9d4ba7a1ceff4accafa24f39cd90592f",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "a4a8871e8960495d903da34e90bf39b6",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "fe12a7f7b2bd419ca413e358c56df4b9",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:08.340830+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:07.798300+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:07.798339+02:00",
"id": "38bbdb5c200043fe98b3cf7d10a98a8e"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "1ba3d1b7fdf744899b26b938faea79b4",
"relatedProcessID": "f0fc1f1d4fd24bce9370f5f3fd9e16a5"
}
],
"id": "9a2c80c59e5b425795e92e80f7ad1e24"
}
}
In case of this assets is unavailable, status of the current lot will turn to invalid The given lot becomes:
GET /api/2.5/lots/c388bd047cb84a448395630ee4474b7a HTTP/1.0
Authorization: Basic Y29uY2llcmdlOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "invalid",
"lotID": "UA-LR-DGF-2019-03-19-000001",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "a9a7c8ecd9d2419db7018de9c4acb6be"
}
],
"decisions": [
{
"decisionDate": "2019-03-19T15:23:07.304009+02:00",
"decisionID": "initialDecisionID",
"id": "eb840f04e0f949548bd88357c68547bf",
"decisionOf": "lot"
},
{
"relatedItem": "11111111111111111111111111111111",
"decisionDate": "2019-03-19T15:23:07.596709+02:00",
"decisionID": "decisionAssetID",
"id": "267cc390b8ef45378f2c38f09569296c",
"decisionOf": "asset"
}
],
"lotType": "loki",
"dateModified": "2019-03-19T15:23:07.742936+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:07.313166+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:07.313199+02:00",
"id": "b75c4c3306b94f6b9e9277612e2a3224"
}
],
"auctions": [
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "a3568f1cef0b463685caa76a28da0ad9",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "a44d3c074c144772b6750d9e930569f0",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "8947ade7f6144d4bb0eabeaf5a742885",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:07.742763+02:00",
"relatedProcesses": [
{
"type": "asset",
"id": "f8e798b3883f43fd803a555f3e677e50",
"relatedProcessID": "548ddf2bfca74136ba83cb6339ad3ca8"
}
],
"id": "c388bd047cb84a448395630ee4474b7a"
}
}
When bot finds that status of lot is pending.deleted, it turns status of the asset being attached to that lot to pending. Status of the lot itself will become deleted. The given lot becomes:
GET /api/2.5/lots/9a2c80c59e5b425795e92e80f7ad1e24 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "deleted",
"rectificationPeriod": {
"startDate": "2019-03-19T15:23:08.321095+02:00",
"endDate": "2019-03-21T15:23:08.321095+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000002",
"description": "Нежитлове приміщення для збереження насіння",
"title": "Нежитлове приміщення",
"contracts": [
{
"status": "cancelled",
"type": "yoke",
"id": "37a7d847bcc14d60b57b1e7fb8b750cb"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:07.792309+02:00",
"decisionID": "initialDecisionID",
"id": "65575976294e4c1988c42127a320ff35",
"decisionOf": "lot"
},
{
"relatedItem": "f54fde9c6c8146cc8bc1520c6429aacf",
"decisionDate": "2019-03-19T15:23:08.111917+02:00",
"decisionID": "11111-4-5",
"id": "b40e68f7f5214475acf850840f18f502",
"decisionOf": "asset"
}
],
"dateModified": "2019-03-19T15:23:08.804705+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "9d4ba7a1ceff4accafa24f39cd90592f",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "a4a8871e8960495d903da34e90bf39b6",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "fe12a7f7b2bd419ca413e358c56df4b9",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:08.804288+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:07.798300+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:07.798339+02:00",
"id": "38bbdb5c200043fe98b3cf7d10a98a8e"
},
{
"hash": "md5:00000000000000000000000000000000",
"author": "lot_owner",
"title": "укр.doc",
"url": "http://localhost/get/3288a31a007f468889d1eb1ac163a58b?KeyID=172d32c8&Signature=tkD1JNZhzfpuSZPBgZjoxZoY6LNiNX5ZCWKTAh7M2ly1repQUO133K9NoaRr3dzMxmsdTzgz0akEm9XhOdobDQ%253D%253D",
"format": "application/msword",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:08.444246+02:00",
"documentType": "cancellationDetails",
"dateModified": "2019-03-19T15:23:08.444269+02:00",
"id": "57fbd13a43124bc88ab185786ecbb52e"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "1ba3d1b7fdf744899b26b938faea79b4",
"relatedProcessID": "f0fc1f1d4fd24bce9370f5f3fd9e16a5"
}
],
"id": "9a2c80c59e5b425795e92e80f7ad1e24"
}
}
When bot finds that status of lot is pending.dissolution, it turns status of the asset being attached to that lot to pending. Status of the lot itself will become dissolved. The given lot becomes:
GET /api/2.5/lots/1970fefc39a3425a9c892a22ce346a8e HTTP/1.0
Authorization: Basic Y29uY2llcmdlOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "dissolved",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:09.482898+02:00",
"endDate": "2019-03-17T15:23:09.482898+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000003",
"description": "Нежитлове приміщення для збереження насіння",
"title": "title",
"contracts": [
{
"status": "cancelled",
"type": "yoke",
"id": "2371f3d858834f95a5b9b2fb90be0e29"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:09.500637+02:00",
"decisionID": "decisionAssetID",
"id": "649144da1b6542afa428e94748af612d",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:09.500667+02:00",
"decisionID": "decisionAssetID",
"id": "ba5bad0413dc4d57ada80ea763e7ac14",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:10.233010+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "e897b7f2f35846e58887d74373181f4d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "694f7073643247a69b6eea04ba246802",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "ae20e7f4b061435197a9338fe057202c",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:10.232827+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:08.911837+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:08.911857+02:00",
"id": "c836938c84224f9e92453837c80d238c"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "9041e14bec364ea0883346927b67cc1f",
"relatedProcessID": "a299abda28e64088bd6d37ee5594c213"
}
],
"id": "1970fefc39a3425a9c892a22ce346a8e"
}
}
When bot finds that status of lot is pending.sold, it turns status of the asset being attached to that lot to complete. Status of the lot itself turns to sold. The given lot becomes:
GET /api/2.5/lots/78847efb7a4544b288a101c50282b32f HTTP/1.0
Authorization: Basic Y29uY2llcmdlOg==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "sold",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:10.808388+02:00",
"endDate": "2019-03-17T15:23:10.808388+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000004",
"title": "title",
"contracts": [
{
"status": "complete",
"type": "yoke",
"id": "eb7f4846ce0649eb80f7ddc9b409c159"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:10.834866+02:00",
"decisionID": "decisionAssetID",
"id": "cc73e0efa39e442194fe22b933aa49ff",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:10.834916+02:00",
"decisionID": "decisionAssetID",
"id": "ae5f51ffd3524b5783acaa8825d91977",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:11.384119+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:10.301240+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:10.301269+02:00",
"id": "919434ff06d240f5b93621bb95943198"
}
],
"auctions": [
{
"status": "complete",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "a301bd1cc7f44a8db01d91b52d718e1d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "8bb8705d77544107be729fc9fceb69b8",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "edf5fa678a554a6093474574bedec1e0",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:11.383758+02:00",
"relatedProcesses": [
{
"type": "asset",
"id": "581fa2649b454b40b9f81c9bb39cb7d7",
"relatedProcessID": "93cc092b92fb4f30898ffe69ca617e17"
}
],
"id": "78847efb7a4544b288a101c50282b32f"
}
}
Convoy operations¶
The procedure will be formed automatically after rectificationPeriod.endDate. For this to be done, lot status automatically receives active.salable at first:
GET /api/2.5/lots/1970fefc39a3425a9c892a22ce346a8e HTTP/1.0
Authorization: Basic Y2hyb25vZ3JhcGg6
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active.salable",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:09.482898+02:00",
"endDate": "2019-03-17T15:23:09.482898+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000003",
"description": "Нежитлове приміщення для збереження насіння",
"title": "title",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "2371f3d858834f95a5b9b2fb90be0e29"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:09.500637+02:00",
"decisionID": "decisionAssetID",
"id": "649144da1b6542afa428e94748af612d",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:09.500667+02:00",
"decisionID": "decisionAssetID",
"id": "ba5bad0413dc4d57ada80ea763e7ac14",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:09.658889+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "e897b7f2f35846e58887d74373181f4d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "694f7073643247a69b6eea04ba246802",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "ae20e7f4b061435197a9338fe057202c",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:09.658703+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:08.911837+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:08.911857+02:00",
"id": "c836938c84224f9e92453837c80d238c"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "9041e14bec364ea0883346927b67cc1f",
"relatedProcessID": "a299abda28e64088bd6d37ee5594c213"
}
],
"id": "1970fefc39a3425a9c892a22ce346a8e"
}
}
When the procedure is successfully created, lot status changes to active.auction:
PATCH /api/2.5/lots/1970fefc39a3425a9c892a22ce346a8e HTTP/1.0
Authorization: Basic Y29uY2llcmdlOg==
Content-Length: 38
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"status": "active.auction"
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active.auction",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:09.482898+02:00",
"endDate": "2019-03-17T15:23:09.482898+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000003",
"description": "Нежитлове приміщення для збереження насіння",
"title": "title",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "2371f3d858834f95a5b9b2fb90be0e29"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:09.500637+02:00",
"decisionID": "decisionAssetID",
"id": "649144da1b6542afa428e94748af612d",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:09.500667+02:00",
"decisionID": "decisionAssetID",
"id": "ba5bad0413dc4d57ada80ea763e7ac14",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:09.838147+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "e897b7f2f35846e58887d74373181f4d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "694f7073643247a69b6eea04ba246802",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "ae20e7f4b061435197a9338fe057202c",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:09.837931+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:08.911837+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:08.911857+02:00",
"id": "c836938c84224f9e92453837c80d238c"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "9041e14bec364ea0883346927b67cc1f",
"relatedProcessID": "a299abda28e64088bd6d37ee5594c213"
}
],
"id": "1970fefc39a3425a9c892a22ce346a8e"
}
}
If the procedure (procurementMethodType: sellout.english) becomes unsuccessful, lot status turns to active.salable:
GET /api/2.5/lots/1970fefc39a3425a9c892a22ce346a8e HTTP/1.0
Authorization: Basic Y2hyb25vZ3JhcGg6
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active.salable",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:09.482898+02:00",
"endDate": "2019-03-17T15:23:09.482898+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000003",
"description": "Нежитлове приміщення для збереження насіння",
"title": "title",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "2371f3d858834f95a5b9b2fb90be0e29"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:09.500637+02:00",
"decisionID": "decisionAssetID",
"id": "649144da1b6542afa428e94748af612d",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:09.500667+02:00",
"decisionID": "decisionAssetID",
"id": "ba5bad0413dc4d57ada80ea763e7ac14",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:09.658889+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "e897b7f2f35846e58887d74373181f4d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "694f7073643247a69b6eea04ba246802",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "ae20e7f4b061435197a9338fe057202c",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:09.658703+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:08.911837+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:08.911857+02:00",
"id": "c836938c84224f9e92453837c80d238c"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "9041e14bec364ea0883346927b67cc1f",
"relatedProcessID": "a299abda28e64088bd6d37ee5594c213"
}
],
"id": "1970fefc39a3425a9c892a22ce346a8e"
}
}
As long as a new procedure is being automatically created, the lot will be given active.auction status:
PATCH /api/2.5/lots/1970fefc39a3425a9c892a22ce346a8e HTTP/1.0
Authorization: Basic Y29uY2llcmdlOg==
Content-Length: 38
Content-Type: application/json
Host: lb.api-sandbox.registry.ea.openprocurement.net
DATA:
{
"data": {
"status": "active.auction"
}
}
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active.auction",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:09.482898+02:00",
"endDate": "2019-03-17T15:23:09.482898+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000003",
"description": "Нежитлове приміщення для збереження насіння",
"title": "title",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "2371f3d858834f95a5b9b2fb90be0e29"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:09.500637+02:00",
"decisionID": "decisionAssetID",
"id": "649144da1b6542afa428e94748af612d",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:09.500667+02:00",
"decisionID": "decisionAssetID",
"id": "ba5bad0413dc4d57ada80ea763e7ac14",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:09.838147+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "e897b7f2f35846e58887d74373181f4d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "694f7073643247a69b6eea04ba246802",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "scheduled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "ae20e7f4b061435197a9338fe057202c",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:09.837931+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:08.911837+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:08.911857+02:00",
"id": "c836938c84224f9e92453837c80d238c"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "9041e14bec364ea0883346927b67cc1f",
"relatedProcessID": "a299abda28e64088bd6d37ee5594c213"
}
],
"id": "1970fefc39a3425a9c892a22ce346a8e"
}
}
In case of that lot has not been sold (either contract has become unsuccessful or a procedure has received cancelled status or third procedure (procurementMethodType: sellout.insider) has turned to unsuccessful) , its status becomes pending.dissolution. This happens if all three auctions are in unsuccessful status or one has been given cancelled. The given lot becomes:
GET /api/2.5/lots/1970fefc39a3425a9c892a22ce346a8e HTTP/1.0
Authorization: Basic Y29udm95Og==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "pending.dissolution",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:09.482898+02:00",
"endDate": "2019-03-17T15:23:09.482898+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000003",
"description": "Нежитлове приміщення для збереження насіння",
"title": "title",
"contracts": [
{
"status": "cancelled",
"type": "yoke",
"id": "2371f3d858834f95a5b9b2fb90be0e29"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:09.500637+02:00",
"decisionID": "decisionAssetID",
"id": "649144da1b6542afa428e94748af612d",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:09.500667+02:00",
"decisionID": "decisionAssetID",
"id": "ba5bad0413dc4d57ada80ea763e7ac14",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:10.055313+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "e897b7f2f35846e58887d74373181f4d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "694f7073643247a69b6eea04ba246802",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "ae20e7f4b061435197a9338fe057202c",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:10.055005+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:08.911837+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:08.911857+02:00",
"id": "c836938c84224f9e92453837c80d238c"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "9041e14bec364ea0883346927b67cc1f",
"relatedProcessID": "a299abda28e64088bd6d37ee5594c213"
}
],
"id": "1970fefc39a3425a9c892a22ce346a8e"
}
}
When contract has been successfully created within the Module of Contracting, lot’s status turns to active.contracting, after what lot becomes complete:
GET /api/2.5/lots/1970fefc39a3425a9c892a22ce346a8e HTTP/1.0
Authorization: Basic Y29udm95Og==
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "active.contracting",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:09.482898+02:00",
"endDate": "2019-03-17T15:23:09.482898+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000003",
"description": "Нежитлове приміщення для збереження насіння",
"title": "title",
"contracts": [
{
"status": "scheduled",
"type": "yoke",
"id": "2371f3d858834f95a5b9b2fb90be0e29"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"lotHolder": {
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Власник лоту"
},
"decisions": [
{
"decisionDate": "2019-03-19T15:23:09.500637+02:00",
"decisionID": "decisionAssetID",
"id": "649144da1b6542afa428e94748af612d",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:09.500667+02:00",
"decisionID": "decisionAssetID",
"id": "ba5bad0413dc4d57ada80ea763e7ac14",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:09.921218+02:00",
"owner": "broker",
"lotCustodian": {
"contactPoint": {
"name": "Сергій",
"email": "segiy@mail.com"
},
"identifier": {
"scheme": "AE-ADCD",
"id": "11111-4"
},
"name": "Зберігач лоту",
"address": {
"countryName": "Україна"
}
},
"auctions": [
{
"status": "complete",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "e897b7f2f35846e58887d74373181f4d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "694f7073643247a69b6eea04ba246802",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "ae20e7f4b061435197a9338fe057202c",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:09.920531+02:00",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:08.911837+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:08.911857+02:00",
"id": "c836938c84224f9e92453837c80d238c"
}
],
"relatedProcesses": [
{
"identifier": "UA-AR-P-2018-08-17-000002-1",
"type": "asset",
"id": "9041e14bec364ea0883346927b67cc1f",
"relatedProcessID": "a299abda28e64088bd6d37ee5594c213"
}
],
"id": "1970fefc39a3425a9c892a22ce346a8e"
}
}
When contract reaches terminated status, lot automatically becomes pending.sold, after what lot becomes complete:
GET /api/2.5/lots/78847efb7a4544b288a101c50282b32f HTTP/1.0
Authorization: Basic Y2FyYXZhbjo=
Host: lb.api-sandbox.registry.ea.openprocurement.net
Response: 200 OK
Content-Type: application/json
X-Content-Type-Options: nosniff
{
"data": {
"status": "pending.sold",
"rectificationPeriod": {
"startDate": "2019-03-16T15:23:10.808388+02:00",
"endDate": "2019-03-17T15:23:10.808388+02:00"
},
"lotID": "UA-LR-DGF-2019-03-19-000004",
"title": "title",
"contracts": [
{
"status": "complete",
"type": "yoke",
"id": "eb7f4846ce0649eb80f7ddc9b409c159"
}
],
"items": [
{
"registrationDetails": {
"status": "unknown"
},
"description": "футляри до державних нагород",
"classification": {
"scheme": "CPV",
"description": "Description",
"id": "73110000-6"
},
"additionalClassifications": [
{
"scheme": "UA-EDR",
"description": "папір і картон гофровані, паперова й картонна тара",
"id": "111111-4"
}
],
"address": {
"countryName": "Ukraine"
},
"id": "0",
"unit": {
"code": "code"
},
"quantity": 5.0001
}
],
"lotType": "loki",
"decisions": [
{
"decisionDate": "2019-03-19T15:23:10.834866+02:00",
"decisionID": "decisionAssetID",
"id": "cc73e0efa39e442194fe22b933aa49ff",
"decisionOf": "lot"
},
{
"decisionDate": "2019-03-19T15:23:10.834916+02:00",
"decisionID": "decisionAssetID",
"id": "ae5f51ffd3524b5783acaa8825d91977",
"decisionOf": "lot"
}
],
"dateModified": "2019-03-19T15:23:11.249673+02:00",
"owner": "broker",
"documents": [
{
"description": "Перелік та реквізити авторизованих електронних майданчиків (найменування установи банку, її адреса та номери рахунків, відкритих для внесення гарантійного внеску, реєстраційного внеску)",
"title": "Перелік та реквізити авторизованих електронних майданчиків",
"url": "https://prozorro.sale/info/elektronni-majdanchiki-ets-prozorroprodazhi-cbd2",
"documentOf": "lot",
"datePublished": "2019-03-19T15:23:10.301240+02:00",
"documentType": "x_PlatformLegalDetails",
"dateModified": "2019-03-19T15:23:10.301269+02:00",
"id": "919434ff06d240f5b93621bb95943198"
}
],
"auctions": [
{
"status": "complete",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 300.87,
"valueAddedTaxIncluded": true
},
"auctionPeriod": {
"startDate": "2019-03-25T15:28:05.257425+02:00"
},
"tenderAttempts": 1,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 3000.87,
"valueAddedTaxIncluded": true
},
"auctionParameters": {
"type": "english"
},
"id": "a301bd1cc7f44a8db01d91b52d718e1d",
"guarantee": {
"currency": "UAH",
"amount": 700.87
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 150.44,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 2,
"procurementMethodType": "sellout.english",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "english"
},
"id": "8bb8705d77544107be729fc9fceb69b8",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
},
{
"status": "cancelled",
"bankAccount": {
"accountIdentification": [
{
"scheme": "accountNumber",
"id": "111111-8",
"description": "some description"
}
],
"bankName": "name of bank"
},
"minimalStep": {
"currency": "UAH",
"amount": 0,
"valueAddedTaxIncluded": true
},
"tenderAttempts": 3,
"procurementMethodType": "sellout.insider",
"value": {
"currency": "UAH",
"amount": 1500.44,
"valueAddedTaxIncluded": true
},
"tenderingDuration": "P25DT12H",
"auctionParameters": {
"type": "insider",
"dutchSteps": 99
},
"id": "edf5fa678a554a6093474574bedec1e0",
"guarantee": {
"currency": "UAH",
"amount": 350.44
}
}
],
"date": "2019-03-19T15:23:11.249411+02:00",
"relatedProcesses": [
{
"type": "asset",
"id": "581fa2649b454b40b9f81c9bb39cb7d7",
"relatedProcessID": "93cc092b92fb4f30898ffe69ca617e17"
}
],
"id": "78847efb7a4544b288a101c50282b32f"
}
}