Claim/Complaint Retrieval

Tender Conditions Claim/Complaint Retrieval

You can list all Tender Conditions Claims/Complaints:

GET /api/2.3/tenders/9347ba8701344744bba03bd4d268c55b/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/518c4a7c748f4db7a2c5ebf29028cd27?KeyID=2469e056&Signature=o5jOde9ivJIjiX9aVkyc47s5CVZqUT9lAnpVgn6YVlUQJ6CZ8psI5hY5qVMsniY4ESnw27wLDENAxZJ0CTxjAQ%253D%253D",
          "format": "application/pdf",
          "documentOf": "tender",
          "datePublished": "2017-06-17T15:33:03.748672+03:00",
          "id": "bd7efb01e43a44a98c4dc527c644f1b9",
          "dateModified": "2017-06-17T15:33:03.748705+03:00"
        }
      ],
      "description": "complaint description",
      "title": "complaint title",
      "dateSubmitted": "2017-06-17T15:33:03.841144+03:00",
      "complaintID": "UA-2017-06-17-000001.1",
      "date": "2017-06-17T15:33:03.845384+03:00",
      "type": "claim",
      "id": "15f11c4dc59a47c0beb1eb514a26a86c"
    },
    {
      "status": "claim",
      "description": "complaint description",
      "title": "complaint title",
      "dateSubmitted": "2017-06-17T15:33:03.931262+03:00",
      "complaintID": "UA-2017-06-17-000001.2",
      "date": "2017-06-17T15:33:03.931235+03:00",
      "type": "claim",
      "id": "42155f4ca7cd4c70ae9002cac191ec63"
    }
  ]
}

And check individual complaint or claim:

GET /api/2.3/tenders/9347ba8701344744bba03bd4d268c55b/complaints/15f11c4dc59a47c0beb1eb514a26a86c 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/518c4a7c748f4db7a2c5ebf29028cd27?KeyID=2469e056&Signature=o5jOde9ivJIjiX9aVkyc47s5CVZqUT9lAnpVgn6YVlUQJ6CZ8psI5hY5qVMsniY4ESnw27wLDENAxZJ0CTxjAQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-17T15:33:03.748672+03:00",
        "id": "bd7efb01e43a44a98c4dc527c644f1b9",
        "dateModified": "2017-06-17T15:33:03.748705+03:00"
      }
    ],
    "description": "complaint description",
    "title": "complaint title",
    "dateSubmitted": "2017-06-17T15:33:03.841144+03:00",
    "complaintID": "UA-2017-06-17-000001.1",
    "date": "2017-06-17T15:33:03.845384+03:00",
    "type": "claim",
    "id": "15f11c4dc59a47c0beb1eb514a26a86c"
  }
}

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/9347ba8701344744bba03bd4d268c55b/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/9347ba8701344744bba03bd4d268c55b/complaints/15f11c4dc59a47c0beb1eb514a26a86c

{
  "access": {
    "token": "731b70525b7940e58531ffa77d2e62b0"
  },
  "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-17-000001.1",
    "date": "2017-06-17T15:33:03.670851+03:00",
    "type": "claim",
    "id": "15f11c4dc59a47c0beb1eb514a26a86c"
  }
}

Then upload necessary documents:

POST /api/2.3/tenders/9347ba8701344744bba03bd4d268c55b/complaints/15f11c4dc59a47c0beb1eb514a26a86c/documents?acc_token=731b70525b7940e58531ffa77d2e62b0 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/518c4a7c748f4db7a2c5ebf29028cd27?KeyID=2469e056&Signature=Y%2Ban%2FW30hgkPAWi8lIWBwMRQWTvzkaCyknAgucep9PJWlWwUKSIXBbMqsNpXmN3US4CXXXPWpcDIcJ2opvqLBg%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/9347ba8701344744bba03bd4d268c55b/complaints/15f11c4dc59a47c0beb1eb514a26a86c/documents/bd7efb01e43a44a98c4dc527c644f1b9

{
  "data": {
    "hash": "md5:00000000000000000000000000000000",
    "author": "complaint_owner",
    "title": "Complaint_Attachement.pdf",
    "url": "http://public.docs-sandbox.openprocurement.org/get/518c4a7c748f4db7a2c5ebf29028cd27?KeyID=2469e056&Signature=o5jOde9ivJIjiX9aVkyc47s5CVZqUT9lAnpVgn6YVlUQJ6CZ8psI5hY5qVMsniY4ESnw27wLDENAxZJ0CTxjAQ%253D%253D",
    "format": "application/pdf",
    "documentOf": "tender",
    "datePublished": "2017-06-17T15:33:03.748672+03:00",
    "id": "bd7efb01e43a44a98c4dc527c644f1b9",
    "dateModified": "2017-06-17T15:33:03.748705+03:00"
  }
}

Submit tender conditions claim:

PATCH /api/2.3/tenders/9347ba8701344744bba03bd4d268c55b/complaints/15f11c4dc59a47c0beb1eb514a26a86c?acc_token=731b70525b7940e58531ffa77d2e62b0 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/518c4a7c748f4db7a2c5ebf29028cd27?KeyID=2469e056&Signature=o5jOde9ivJIjiX9aVkyc47s5CVZqUT9lAnpVgn6YVlUQJ6CZ8psI5hY5qVMsniY4ESnw27wLDENAxZJ0CTxjAQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-17T15:33:03.748672+03:00",
        "id": "bd7efb01e43a44a98c4dc527c644f1b9",
        "dateModified": "2017-06-17T15:33:03.748705+03:00"
      }
    ],
    "description": "complaint description",
    "title": "complaint title",
    "dateSubmitted": "2017-06-17T15:33:03.841144+03:00",
    "complaintID": "UA-2017-06-17-000001.1",
    "date": "2017-06-17T15:33:03.845384+03:00",
    "type": "claim",
    "id": "15f11c4dc59a47c0beb1eb514a26a86c"
  }
}

Tender Conditions Claim Submission (without documents)

Create claim that does not need additional documents:

POST /api/2.3/tenders/9347ba8701344744bba03bd4d268c55b/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/9347ba8701344744bba03bd4d268c55b/complaints/42155f4ca7cd4c70ae9002cac191ec63

{
  "access": {
    "token": "56841b6cd0f54949b8f7e74399cb74a5"
  },
  "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-17T15:33:03.931262+03:00",
    "complaintID": "UA-2017-06-17-000001.2",
    "date": "2017-06-17T15:33:03.931235+03:00",
    "type": "claim",
    "id": "42155f4ca7cd4c70ae9002cac191ec63"
  }
}

Claim’s Answer

Answer to resolved claim

PATCH /api/2.3/tenders/9347ba8701344744bba03bd4d268c55b/complaints/15f11c4dc59a47c0beb1eb514a26a86c?acc_token=44d1f72ba3de4e3e8cc052f614b3dbd9 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/518c4a7c748f4db7a2c5ebf29028cd27?KeyID=2469e056&Signature=o5jOde9ivJIjiX9aVkyc47s5CVZqUT9lAnpVgn6YVlUQJ6CZ8psI5hY5qVMsniY4ESnw27wLDENAxZJ0CTxjAQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-17T15:33:03.748672+03:00",
        "id": "bd7efb01e43a44a98c4dc527c644f1b9",
        "dateModified": "2017-06-17T15:33:03.748705+03:00"
      }
    ],
    "description": "complaint description",
    "title": "complaint title",
    "resolutionType": "resolved",
    "type": "claim",
    "tendererAction": "Виправлено неконкурентні умови",
    "dateAnswered": "2017-06-17T15:33:04.094035+03:00",
    "tendererActionDate": "2017-06-17T15:33:04.094062+03:00",
    "dateSubmitted": "2017-06-17T15:33:03.841144+03:00",
    "complaintID": "UA-2017-06-17-000001.1",
    "date": "2017-06-17T15:33:04.099064+03:00",
    "resolution": "Виправлено неконкурентні умови",
    "id": "15f11c4dc59a47c0beb1eb514a26a86c"
  }
}

Satisfied Claim

Satisfying resolution

PATCH /api/2.3/tenders/9347ba8701344744bba03bd4d268c55b/complaints/15f11c4dc59a47c0beb1eb514a26a86c?acc_token=731b70525b7940e58531ffa77d2e62b0 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/518c4a7c748f4db7a2c5ebf29028cd27?KeyID=2469e056&Signature=o5jOde9ivJIjiX9aVkyc47s5CVZqUT9lAnpVgn6YVlUQJ6CZ8psI5hY5qVMsniY4ESnw27wLDENAxZJ0CTxjAQ%253D%253D",
        "format": "application/pdf",
        "documentOf": "tender",
        "datePublished": "2017-06-17T15:33:03.748672+03:00",
        "id": "bd7efb01e43a44a98c4dc527c644f1b9",
        "dateModified": "2017-06-17T15:33:03.748705+03:00"
      }
    ],
    "description": "complaint description",
    "title": "complaint title",
    "resolutionType": "resolved",
    "type": "claim",
    "satisfied": true,
    "tendererAction": "Виправлено неконкурентні умови",
    "dateAnswered": "2017-06-17T15:33:04.094035+03:00",
    "tendererActionDate": "2017-06-17T15:33:04.094062+03:00",
    "dateSubmitted": "2017-06-17T15:33:03.841144+03:00",
    "complaintID": "UA-2017-06-17-000001.1",
    "date": "2017-06-17T15:33:04.203329+03:00",
    "resolution": "Виправлено неконкурентні умови",
    "id": "15f11c4dc59a47c0beb1eb514a26a86c"
  }
}

Disagreement with decision

PATCH /api/2.3/tenders/9347ba8701344744bba03bd4d268c55b/complaints/42155f4ca7cd4c70ae9002cac191ec63?acc_token=56841b6cd0f54949b8f7e74399cb74a5 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-17T15:33:04.301128+03:00",
    "dateSubmitted": "2017-06-17T15:33:03.931262+03:00",
    "complaintID": "UA-2017-06-17-000001.2",
    "date": "2017-06-17T15:33:04.415484+03:00",
    "resolution": "Виправлено неконкурентні умови",
    "id": "42155f4ca7cd4c70ae9002cac191ec63"
  }
}