Claim/Complaint Retrieval¶
Tender Conditions Claim/Complaint Retrieval¶
You can list all Tender Conditions Claims/Complaints:
GET /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints HTTP/1.0
Host: api-sandbox.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": [
{
"status": "claim",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://public.docs-sandbox.openprocurement.org/get/3f75b25d2b8e4c68b5538a208c512165?KeyID=c33983f9&Signature=bOHNDSQJzO76PtMgP0pCb3wTPlH%2FpLVKWCLxSb95J8aP1WlMiQdBNsI%2FweFh2JQUGHQjF4UdYIb%252BXML6G46SDA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2017-06-12T14:11:37.788907+03:00",
"id": "c1e980e5a7f74b62a92249db0305f9c7",
"dateModified": "2017-06-12T14:11:37.788937+03:00"
}
],
"description": "complaint description",
"title": "complaint title",
"dateSubmitted": "2017-06-12T14:11:37.872686+03:00",
"complaintID": "UA-2017-06-12-000001.1",
"date": "2017-06-12T14:11:37.876722+03:00",
"type": "claim",
"id": "bf84da3259c9445eaf62143a09f94b5f"
},
{
"status": "claim",
"description": "complaint description",
"title": "complaint title",
"dateSubmitted": "2017-06-12T14:11:37.950253+03:00",
"complaintID": "UA-2017-06-12-000001.2",
"date": "2017-06-12T14:11:37.950230+03:00",
"type": "claim",
"id": "897faaa642d74561b7af1eae01d7a904"
}
]
}
And check individual complaint or claim:
GET /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/bf84da3259c9445eaf62143a09f94b5f HTTP/1.0
Host: api-sandbox.openprocurement.org
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "claim",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://public.docs-sandbox.openprocurement.org/get/3f75b25d2b8e4c68b5538a208c512165?KeyID=c33983f9&Signature=bOHNDSQJzO76PtMgP0pCb3wTPlH%2FpLVKWCLxSb95J8aP1WlMiQdBNsI%2FweFh2JQUGHQjF4UdYIb%252BXML6G46SDA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2017-06-12T14:11:37.788907+03:00",
"id": "c1e980e5a7f74b62a92249db0305f9c7",
"dateModified": "2017-06-12T14:11:37.788937+03:00"
}
],
"description": "complaint description",
"title": "complaint title",
"dateSubmitted": "2017-06-12T14:11:37.872686+03:00",
"complaintID": "UA-2017-06-12-000001.1",
"date": "2017-06-12T14:11:37.876722+03:00",
"type": "claim",
"id": "bf84da3259c9445eaf62143a09f94b5f"
}
}
Claim Submission¶
If tender conditions are favoriting particular supplier, or in any other viable case, any registered user can submit Tender Conditions Claim.
Tender Conditions Claim Submission (with documents)¶
At first create a claim:
POST /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 775
Content-Type: application/json
Host: api-sandbox.openprocurement.org
{
"data": {
"title": "complaint title",
"description": "complaint description",
"author": {
"contactPoint": {
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"countryName": "Україна",
"postalCode": "21100",
"region": "м. Вінниця",
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця"
}
}
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/bf84da3259c9445eaf62143a09f94b5f
{
"access": {
"token": "3b0f1403e2934009b9144171dff7adb5"
},
"data": {
"status": "draft",
"description": "complaint description",
"title": "complaint title",
"author": {
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"postalCode": "21100",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
}
},
"complaintID": "UA-2017-06-12-000001.1",
"date": "2017-06-12T14:11:37.721422+03:00",
"type": "claim",
"id": "bf84da3259c9445eaf62143a09f94b5f"
}
}
Then upload necessary documents:
POST /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/bf84da3259c9445eaf62143a09f94b5f/documents?acc_token=3b0f1403e2934009b9144171dff7adb5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 341
Content-Type: application/json
Host: api-sandbox.openprocurement.org
{
"data": {
"url": "http://public.docs-sandbox.openprocurement.org/get/3f75b25d2b8e4c68b5538a208c512165?KeyID=c33983f9&Signature=%2Brzv4MKAlj1qgyQtVedHRKKRyMocDPJvPxLigIwsYJwVna64YibV4MVouGu%2F6hKs9JjzkilZdptFLXwTpZVEAQ%3D%3D",
"title": "Complaint_Attachement.pdf",
"hash": "md5:00000000000000000000000000000000",
"format": "application/pdf"
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/bf84da3259c9445eaf62143a09f94b5f/documents/c1e980e5a7f74b62a92249db0305f9c7
{
"data": {
"hash": "md5:00000000000000000000000000000000",
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://public.docs-sandbox.openprocurement.org/get/3f75b25d2b8e4c68b5538a208c512165?KeyID=c33983f9&Signature=bOHNDSQJzO76PtMgP0pCb3wTPlH%2FpLVKWCLxSb95J8aP1WlMiQdBNsI%2FweFh2JQUGHQjF4UdYIb%252BXML6G46SDA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2017-06-12T14:11:37.788907+03:00",
"id": "c1e980e5a7f74b62a92249db0305f9c7",
"dateModified": "2017-06-12T14:11:37.788937+03:00"
}
}
Submit tender conditions claim:
PATCH /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/bf84da3259c9445eaf62143a09f94b5f?acc_token=3b0f1403e2934009b9144171dff7adb5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 29
Content-Type: application/json
Host: api-sandbox.openprocurement.org
{
"data": {
"status": "claim"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "claim",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://public.docs-sandbox.openprocurement.org/get/3f75b25d2b8e4c68b5538a208c512165?KeyID=c33983f9&Signature=bOHNDSQJzO76PtMgP0pCb3wTPlH%2FpLVKWCLxSb95J8aP1WlMiQdBNsI%2FweFh2JQUGHQjF4UdYIb%252BXML6G46SDA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2017-06-12T14:11:37.788907+03:00",
"id": "c1e980e5a7f74b62a92249db0305f9c7",
"dateModified": "2017-06-12T14:11:37.788937+03:00"
}
],
"description": "complaint description",
"title": "complaint title",
"dateSubmitted": "2017-06-12T14:11:37.872686+03:00",
"complaintID": "UA-2017-06-12-000001.1",
"date": "2017-06-12T14:11:37.876722+03:00",
"type": "claim",
"id": "bf84da3259c9445eaf62143a09f94b5f"
}
}
Tender Conditions Claim Submission (without documents)¶
Create claim that does not need additional documents:
POST /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 794
Content-Type: application/json
Host: api-sandbox.openprocurement.org
{
"data": {
"status": "claim",
"title": "complaint title",
"description": "complaint description",
"author": {
"contactPoint": {
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк",
"email": "soleksuk@gmail.com"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"countryName": "Україна",
"postalCode": "21100",
"region": "м. Вінниця",
"streetAddress": "вул. Островського, 33",
"locality": "м. Вінниця"
}
}
}
}
201 Created
Content-Type: application/json; charset=UTF-8
Location: http://api-sandbox.openprocurement.org/api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/897faaa642d74561b7af1eae01d7a904
{
"access": {
"token": "636cc5dd0e484e1b81204bacf6cd098e"
},
"data": {
"status": "claim",
"description": "complaint description",
"title": "complaint title",
"author": {
"contactPoint": {
"email": "soleksuk@gmail.com",
"telephone": "+380 (432) 21-69-30",
"name": "Сергій Олексюк"
},
"identifier": {
"scheme": "UA-EDR",
"id": "00137256",
"uri": "http://www.sc.gov.ua/"
},
"name": "ДКП «Школяр»",
"address": {
"postalCode": "21100",
"countryName": "Україна",
"streetAddress": "вул. Островського, 33",
"region": "м. Вінниця",
"locality": "м. Вінниця"
}
},
"dateSubmitted": "2017-06-12T14:11:37.950253+03:00",
"complaintID": "UA-2017-06-12-000001.2",
"date": "2017-06-12T14:11:37.950230+03:00",
"type": "claim",
"id": "897faaa642d74561b7af1eae01d7a904"
}
}
Claim’s Answer¶
Answer to resolved claim¶
PATCH /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/bf84da3259c9445eaf62143a09f94b5f?acc_token=010d1e7aa80d4e099f2040d2c96a606a HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 442
Content-Type: application/json
Host: api-sandbox.openprocurement.org
{
"data": {
"status": "answered",
"resolutionType": "resolved",
"tendererAction": "Виправлено неконкурентні умови",
"resolution": "Виправлено неконкурентні умови"
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "answered",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://public.docs-sandbox.openprocurement.org/get/3f75b25d2b8e4c68b5538a208c512165?KeyID=c33983f9&Signature=bOHNDSQJzO76PtMgP0pCb3wTPlH%2FpLVKWCLxSb95J8aP1WlMiQdBNsI%2FweFh2JQUGHQjF4UdYIb%252BXML6G46SDA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2017-06-12T14:11:37.788907+03:00",
"id": "c1e980e5a7f74b62a92249db0305f9c7",
"dateModified": "2017-06-12T14:11:37.788937+03:00"
}
],
"description": "complaint description",
"title": "complaint title",
"resolutionType": "resolved",
"type": "claim",
"tendererAction": "Виправлено неконкурентні умови",
"dateAnswered": "2017-06-12T14:11:38.096292+03:00",
"tendererActionDate": "2017-06-12T14:11:38.096316+03:00",
"dateSubmitted": "2017-06-12T14:11:37.872686+03:00",
"complaintID": "UA-2017-06-12-000001.1",
"date": "2017-06-12T14:11:38.100759+03:00",
"resolution": "Виправлено неконкурентні умови",
"id": "bf84da3259c9445eaf62143a09f94b5f"
}
}
Satisfied Claim¶
Satisfying resolution¶
PATCH /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/bf84da3259c9445eaf62143a09f94b5f?acc_token=3b0f1403e2934009b9144171dff7adb5 HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 51
Content-Type: application/json
Host: api-sandbox.openprocurement.org
{
"data": {
"status": "resolved",
"satisfied": true
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "resolved",
"documents": [
{
"hash": "md5:00000000000000000000000000000000",
"author": "complaint_owner",
"title": "Complaint_Attachement.pdf",
"url": "http://public.docs-sandbox.openprocurement.org/get/3f75b25d2b8e4c68b5538a208c512165?KeyID=c33983f9&Signature=bOHNDSQJzO76PtMgP0pCb3wTPlH%2FpLVKWCLxSb95J8aP1WlMiQdBNsI%2FweFh2JQUGHQjF4UdYIb%252BXML6G46SDA%253D%253D",
"format": "application/pdf",
"documentOf": "tender",
"datePublished": "2017-06-12T14:11:37.788907+03:00",
"id": "c1e980e5a7f74b62a92249db0305f9c7",
"dateModified": "2017-06-12T14:11:37.788937+03:00"
}
],
"description": "complaint description",
"title": "complaint title",
"resolutionType": "resolved",
"type": "claim",
"satisfied": true,
"tendererAction": "Виправлено неконкурентні умови",
"dateAnswered": "2017-06-12T14:11:38.096292+03:00",
"tendererActionDate": "2017-06-12T14:11:38.096316+03:00",
"dateSubmitted": "2017-06-12T14:11:37.872686+03:00",
"complaintID": "UA-2017-06-12-000001.1",
"date": "2017-06-12T14:11:38.193472+03:00",
"resolution": "Виправлено неконкурентні умови",
"id": "bf84da3259c9445eaf62143a09f94b5f"
}
}
Disagreement with decision¶
PATCH /api/2.3/tenders/03461a7a11b24926a1882f544f5b19d7/complaints/897faaa642d74561b7af1eae01d7a904?acc_token=636cc5dd0e484e1b81204bacf6cd098e HTTP/1.0
Authorization: Basic YnJva2VyOg==
Content-Length: 52
Content-Type: application/json
Host: api-sandbox.openprocurement.org
{
"data": {
"status": "resolved",
"satisfied": false
}
}
200 OK
Content-Type: application/json; charset=UTF-8
{
"data": {
"status": "resolved",
"description": "complaint description",
"title": "complaint title",
"resolutionType": "resolved",
"type": "claim",
"satisfied": false,
"dateAnswered": "2017-06-12T14:11:38.278232+03:00",
"dateSubmitted": "2017-06-12T14:11:37.950253+03:00",
"complaintID": "UA-2017-06-12-000001.2",
"date": "2017-06-12T14:11:38.371503+03:00",
"resolution": "Виправлено неконкурентні умови",
"id": "897faaa642d74561b7af1eae01d7a904"
}
}