Оприлюднення висновку

Примітка

Секція містить опис можливих дій для наступний учасників моніторингу:
yes Власник моніторингу
no Власник тендеру

Висновок містить інформацію про порушення що були знайдені під час моніторингу. У випадку відсутності порушень висновок має буди заповнений наступним чином:

PATCH /api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491 HTTP/1.0
Authorization: Basic dGVzdF9zYXM6dGVzdF9zYXNfdG9rZW4=
Content-Length: 106
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "conclusion": {
      "violationOccurred": false,
      "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
    }
  }
}

Response: 200 OK
Content-Type: application/json
{
  "data": {
    "tender_id": "f71067ac30733261df884de0391debf6",
    "monitoring_id": "UA-M-2018-01-01-000001",
    "status": "active",
    "reasons": [
      "public",
      "fiscal"
    ],
    "procuringStages": [
      "awarding",
      "contracting"
    ],
    "monitoringPeriod": {
      "startDate": "2018-01-02T03:15:00+02:00",
      "endDate": "2018-01-25T00:00:00+02:00"
    },
    "posts": [
      {
        "id": "b5ccc45a3c5943ab9bf9e95b631f98e4",
        "title": "Lorem ipsum",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "f8069abe43c547a8a87074b1ff983da4",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2cd40a17af5841bba79a442e11f795ce?Signature=OZIGjb5iadULQ8WLskGvxx95vKWAZlty2qiwy4KtaRAXTWx%2F3lUo6FjwLwZ4juaEjnyRq3y953ReosiUYw6ODA%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-03T02:05:00+02:00",
            "dateModified": "2018-01-03T02:05:00+02:00",
            "author": "monitoring_owner"
          },
          {
            "id": "8319cc43396a4368b281fcf0fa4679ce",
            "hash": "md5:00000000000000000000000000000000",
            "title": "dolor.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/e3e475499f57496f9eaa0c4208ea09fa?Signature=ALKprZk49GxoDAKeh6uMrNr4typhugl4A%252BuGNe6o8k4hExglSDziU6nSHNFdD6rL4yxABp3zCFkTjcTs9c3EAQ%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-03T02:10:00+02:00",
            "dateModified": "2018-01-03T02:10:00+02:00",
            "author": "monitoring_owner"
          }
        ],
        "author": "monitoring_owner",
        "postOf": "decision",
        "datePublished": "2018-01-03T02:05:00+02:00",
        "dateOverdue": "2018-01-10T00:00:00+02:00",
        "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
      },
      {
        "id": "ecca8fc4c85a4b78aa2c97e9703784c6",
        "title": "Sit amet",
        "description": "Dolor sit amet",
        "documents": [
          {
            "id": "787c847df60b4bed80ec1aac479c354f",
            "hash": "md5:00000000000000000000000000000000",
            "title": "dolor.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/83faf0d5f4004f01b2e562679199c1b8?Signature=59snop57nhF26jElfWMW%2FCauRC0ehCgb0Dn6uheF7CTVZuTT9NQjcUwf%252BLgahIQvq3fA8mej78djaJviZjf9Bg%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T02:10:00+02:00",
            "dateModified": "2018-01-04T02:10:00+02:00",
            "author": "tender_owner"
          }
        ],
        "author": "tender_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T02:05:00+02:00",
        "relatedPost": "b5ccc45a3c5943ab9bf9e95b631f98e4"
      },
      {
        "id": "85dc0473a2b34b38ab545ed39b23f863",
        "title": "Dolor sit amet",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "53f815fd73264997a0ba6644672276a6",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/4d9dfc2c426b456286be167a967fbd6a?Signature=wE5QGkk2ZlD%252BDfZp29sUm45hXL%2FPd3%252B11xiGtqLeecvKhDCRbLPmSE%2FoIfxbVsDWzX2VyI5PiXtzJdpqZoggDQ%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T03:05:00+02:00",
            "dateModified": "2018-01-04T03:05:00+02:00",
            "author": "tender_owner"
          }
        ],
        "author": "tender_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T03:05:00+02:00"
      },
      {
        "id": "6050f6e782d4453f924e03bb3dd5efb5",
        "title": "Lorem ipsum",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "f95956b52bb14543861507e6b4ea1951",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/36416c318acb45dbba01c97799721ede?Signature=TUXCWgdzOCex4VH1d%252Bbo0VpteFDidQoRb0E2wi3q3N1I1Ro1Jx711%252Bm1ekCRDK39VwH3qUQO3ABIL0NhojNVBA%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T03:15:00+02:00",
            "dateModified": "2018-01-04T03:15:00+02:00",
            "author": "monitoring_owner"
          }
        ],
        "author": "monitoring_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T03:15:00+02:00",
        "relatedPost": "85dc0473a2b34b38ab545ed39b23f863",
        "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
      }
    ],
    "parties": [
      {
        "id": "4b95d1d6a43c4693b88a144765befaba",
        "name": "The State Audit Service of Ukraine",
        "datePublished": "2018-01-01T02:00:00+02:00",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "40165856",
          "uri": "http://www.dkrs.gov.ua"
        },
        "address": {
          "streetAddress": "Petra Sahaidachnoho St, 4",
          "locality": "Kyiv",
          "region": "Kyiv",
          "postalCode": "04070",
          "countryName": "Ukraine"
        },
        "contactPoint": {
          "telephone": "0440000000",
          "name": "Oleksii Kovalenko"
        },
        "roles": [
          "sas"
        ]
      }
    ],
    "dateModified": "2018-01-05T02:00:00+02:00",
    "endDate": "2018-01-25T00:00:00+02:00",
    "dateCreated": "2018-01-01T02:00:00+02:00",
    "tender_owner": "broker",
    "id": "3c06b16c6bb747449e2e60158453c491",
    "decision": {
      "description": "text",
      "documents": [
        {
          "id": "326df5cf6b1e4aaea1200275919a3730",
          "hash": "md5:00000000000000000000000000000000",
          "title": "lorem.doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/7e583b38af244dd6a004ebcd88004caf?Signature=oYbDaU7J2132KqM%252BG5mEpVMdEQlMlc28ZCuTCvI17LE8G7ikN0ZgDT50VTIU6vBkMrUYSSO%252BgHVIbQO3Xr79CQ%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-02T03:05:00+02:00",
          "dateModified": "2018-01-02T03:05:00+02:00",
          "author": "monitoring_owner"
        },
        {
          "id": "fb9d923f614c41c68444007cb3c64e37",
          "hash": "md5:00000000000000000000000000000000",
          "title": "dolor.doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/b6e25be2b0b24fe7a614a8a8f7bc7120?Signature=4rxzAuYPqxTCts%252BkCZMPkm3P15TXJStZ6KdUNc9y%2FCxX8Jc4DAC4nq3bCk7mIaHE7piVcD%2FlxVcCVTXPkEqRBg%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-02T03:10:00+02:00",
          "dateModified": "2018-01-02T03:10:00+02:00",
          "author": "monitoring_owner"
        }
      ],
      "dateCreated": "2018-01-02T03:05:00+02:00",
      "datePublished": "2018-01-02T03:15:00+02:00",
      "date": "2018-01-02T01:05:00+02:00",
      "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
    },
    "conclusion": {
      "dateCreated": "2018-01-05T02:00:00+02:00",
      "violationOccurred": false,
      "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
    }
  }
}

Інакше маємо надати більше деталей про порушення:

PATCH /api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491 HTTP/1.0
Authorization: Basic dGVzdF9zYXM6dGVzdF9zYXNfdG9rZW4=
Content-Length: 53
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "conclusion": {
      "violationOccurred": true
    }
  }
}

Response: 422 Unprocessable Entity
Content-Type: application/json
{
  "status": "error",
  "errors": [
    {
      "location": "body",
      "name": "conclusion",
      "description": {
        "violationType": [
          "This field is required."
        ]
      }
    }
  ]
}

Надамо усі обов’язкові поля:

PATCH /api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491 HTTP/1.0
Authorization: Basic dGVzdF9zYXM6dGVzdF9zYXNfdG9rZW4=
Content-Length: 586
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "conclusion": {
      "violationOccurred": true,
      "violationType": [
        "documentsForm",
        "corruptionAwarded"
      ],
      "auditFinding": "Ring around the rosies",
      "stringsAttached": "Pocket full of posies",
      "description": "Ashes, ashes, we all fall down",
      "documents": [
        {
          "title": "New document(2).doc",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/f0f6cafa273240ffba4925159f39d3a1?Signature=XLoLSN9Zi%2FxK73BF0bm%2FGFZfIPiG3QlafCI3nJrHyzyutkkJdr6qNVG5k90qsiJXgAx3b650QZBLvk7cE9PtDA%3D%3D&KeyID=a8968c46",
          "hash": "md5:00000000000000000000000000000000",
          "format": "application/msword"
        }
      ]
    }
  }
}

Response: 200 OK
Content-Type: application/json
{
  "data": {
    "tender_id": "f71067ac30733261df884de0391debf6",
    "monitoring_id": "UA-M-2018-01-01-000001",
    "status": "active",
    "reasons": [
      "public",
      "fiscal"
    ],
    "procuringStages": [
      "awarding",
      "contracting"
    ],
    "monitoringPeriod": {
      "startDate": "2018-01-02T03:15:00+02:00",
      "endDate": "2018-01-25T00:00:00+02:00"
    },
    "posts": [
      {
        "id": "b5ccc45a3c5943ab9bf9e95b631f98e4",
        "title": "Lorem ipsum",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "f8069abe43c547a8a87074b1ff983da4",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2cd40a17af5841bba79a442e11f795ce?Signature=OZIGjb5iadULQ8WLskGvxx95vKWAZlty2qiwy4KtaRAXTWx%2F3lUo6FjwLwZ4juaEjnyRq3y953ReosiUYw6ODA%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-03T02:05:00+02:00",
            "dateModified": "2018-01-03T02:05:00+02:00",
            "author": "monitoring_owner"
          },
          {
            "id": "8319cc43396a4368b281fcf0fa4679ce",
            "hash": "md5:00000000000000000000000000000000",
            "title": "dolor.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/e3e475499f57496f9eaa0c4208ea09fa?Signature=ALKprZk49GxoDAKeh6uMrNr4typhugl4A%252BuGNe6o8k4hExglSDziU6nSHNFdD6rL4yxABp3zCFkTjcTs9c3EAQ%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-03T02:10:00+02:00",
            "dateModified": "2018-01-03T02:10:00+02:00",
            "author": "monitoring_owner"
          }
        ],
        "author": "monitoring_owner",
        "postOf": "decision",
        "datePublished": "2018-01-03T02:05:00+02:00",
        "dateOverdue": "2018-01-10T00:00:00+02:00",
        "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
      },
      {
        "id": "ecca8fc4c85a4b78aa2c97e9703784c6",
        "title": "Sit amet",
        "description": "Dolor sit amet",
        "documents": [
          {
            "id": "787c847df60b4bed80ec1aac479c354f",
            "hash": "md5:00000000000000000000000000000000",
            "title": "dolor.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/83faf0d5f4004f01b2e562679199c1b8?Signature=59snop57nhF26jElfWMW%2FCauRC0ehCgb0Dn6uheF7CTVZuTT9NQjcUwf%252BLgahIQvq3fA8mej78djaJviZjf9Bg%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T02:10:00+02:00",
            "dateModified": "2018-01-04T02:10:00+02:00",
            "author": "tender_owner"
          }
        ],
        "author": "tender_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T02:05:00+02:00",
        "relatedPost": "b5ccc45a3c5943ab9bf9e95b631f98e4"
      },
      {
        "id": "85dc0473a2b34b38ab545ed39b23f863",
        "title": "Dolor sit amet",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "53f815fd73264997a0ba6644672276a6",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/4d9dfc2c426b456286be167a967fbd6a?Signature=wE5QGkk2ZlD%252BDfZp29sUm45hXL%2FPd3%252B11xiGtqLeecvKhDCRbLPmSE%2FoIfxbVsDWzX2VyI5PiXtzJdpqZoggDQ%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T03:05:00+02:00",
            "dateModified": "2018-01-04T03:05:00+02:00",
            "author": "tender_owner"
          }
        ],
        "author": "tender_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T03:05:00+02:00"
      },
      {
        "id": "6050f6e782d4453f924e03bb3dd5efb5",
        "title": "Lorem ipsum",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "f95956b52bb14543861507e6b4ea1951",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/36416c318acb45dbba01c97799721ede?Signature=TUXCWgdzOCex4VH1d%252Bbo0VpteFDidQoRb0E2wi3q3N1I1Ro1Jx711%252Bm1ekCRDK39VwH3qUQO3ABIL0NhojNVBA%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T03:15:00+02:00",
            "dateModified": "2018-01-04T03:15:00+02:00",
            "author": "monitoring_owner"
          }
        ],
        "author": "monitoring_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T03:15:00+02:00",
        "relatedPost": "85dc0473a2b34b38ab545ed39b23f863",
        "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
      }
    ],
    "parties": [
      {
        "id": "4b95d1d6a43c4693b88a144765befaba",
        "name": "The State Audit Service of Ukraine",
        "datePublished": "2018-01-01T02:00:00+02:00",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "40165856",
          "uri": "http://www.dkrs.gov.ua"
        },
        "address": {
          "streetAddress": "Petra Sahaidachnoho St, 4",
          "locality": "Kyiv",
          "region": "Kyiv",
          "postalCode": "04070",
          "countryName": "Ukraine"
        },
        "contactPoint": {
          "telephone": "0440000000",
          "name": "Oleksii Kovalenko"
        },
        "roles": [
          "sas"
        ]
      }
    ],
    "dateModified": "2018-01-05T02:15:00+02:00",
    "endDate": "2018-01-25T00:00:00+02:00",
    "dateCreated": "2018-01-01T02:00:00+02:00",
    "tender_owner": "broker",
    "id": "3c06b16c6bb747449e2e60158453c491",
    "decision": {
      "description": "text",
      "documents": [
        {
          "id": "326df5cf6b1e4aaea1200275919a3730",
          "hash": "md5:00000000000000000000000000000000",
          "title": "lorem.doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/7e583b38af244dd6a004ebcd88004caf?Signature=oYbDaU7J2132KqM%252BG5mEpVMdEQlMlc28ZCuTCvI17LE8G7ikN0ZgDT50VTIU6vBkMrUYSSO%252BgHVIbQO3Xr79CQ%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-02T03:05:00+02:00",
          "dateModified": "2018-01-02T03:05:00+02:00",
          "author": "monitoring_owner"
        },
        {
          "id": "fb9d923f614c41c68444007cb3c64e37",
          "hash": "md5:00000000000000000000000000000000",
          "title": "dolor.doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/b6e25be2b0b24fe7a614a8a8f7bc7120?Signature=4rxzAuYPqxTCts%252BkCZMPkm3P15TXJStZ6KdUNc9y%2FCxX8Jc4DAC4nq3bCk7mIaHE7piVcD%2FlxVcCVTXPkEqRBg%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-02T03:10:00+02:00",
          "dateModified": "2018-01-02T03:10:00+02:00",
          "author": "monitoring_owner"
        }
      ],
      "dateCreated": "2018-01-02T03:05:00+02:00",
      "datePublished": "2018-01-02T03:15:00+02:00",
      "date": "2018-01-02T01:05:00+02:00",
      "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
    },
    "conclusion": {
      "documents": [
        {
          "id": "20709160fbe4418da6706dfed7958881",
          "hash": "md5:00000000000000000000000000000000",
          "title": "New document(2).doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/f0f6cafa273240ffba4925159f39d3a1?Signature=UGwAMNb8IRhNB7DCRnmiaZtcuKtrWYoylBN%252Bdd3rear%252BRZyus7XFAAP3MKlqN30Lt9jCXtZyTtxULH4gVwejDw%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-05T02:15:00+02:00",
          "dateModified": "2018-01-05T02:15:00+02:00"
        }
      ],
      "dateCreated": "2018-01-05T02:00:00+02:00",
      "violationOccurred": true,
      "violationType": [
        "documentsForm",
        "corruptionAwarded"
      ],
      "auditFinding": "Ring around the rosies",
      "stringsAttached": "Pocket full of posies",
      "description": "Ashes, ashes, we all fall down",
      "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
    }
  }
}

При потребі додати порушення що відсутнє у списку у нас є можливість додати other у список. У цьому випадку маємо надати деталі порушення:

PATCH /api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491 HTTP/1.0
Authorization: Basic dGVzdF9zYXM6dGVzdF9zYXNfdG9rZW4=
Content-Length: 92
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "conclusion": {
      "violationType": [
        "documentsForm",
        "corruptionAwarded",
        "other"
      ]
    }
  }
}

Response: 422 Unprocessable Entity
Content-Type: application/json
{
  "status": "error",
  "errors": [
    {
      "location": "body",
      "name": "conclusion",
      "description": {
        "otherViolationType": [
          "This field is required."
        ]
      }
    }
  ]
}

Також ми можемо додати документ окремо. Завантаження повинно відбуватись згідно правил.

POST /api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491/conclusion/documents HTTP/1.0
Authorization: Basic dGVzdF9zYXM6dGVzdF9zYXNfdG9rZW4=
Content-Length: 332
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "title": "sign.p7s",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/22c38d4f6dab44b1bfab5d9255524d81?Signature=vU3qfvBM3dNFvt9AVUeYfAKai%2FuUPpfYf642WbVy4VZrNiJP%2F3MfpI5sgbcD9WW1XaA1NXF9cCFEnTBx4EBfAw%3D%3D&KeyID=a8968c46",
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/pkcs7-signature"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://audit-api-sandbox.prozorro.gov.ua/api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491/conclusion/documents/c6676892ba0c466cbe5c50842dc78ef6
{
  "data": {
    "id": "c6676892ba0c466cbe5c50842dc78ef6",
    "hash": "md5:00000000000000000000000000000000",
    "title": "sign.p7s",
    "format": "application/pkcs7-signature",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/22c38d4f6dab44b1bfab5d9255524d81?Signature=xdYx0wKZ7i%252BaC%2Fp4wGnxXQfUqLk0jIkeVF4Z%252BUMor1QJNZRmDe9JKrnuK8K7Kbfo%252BfStECq2gETkaCWepo7dAw%253D%253D&KeyID=a8968c46",
    "datePublished": "2018-01-05T02:20:00+02:00",
    "dateModified": "2018-01-05T02:20:00+02:00",
    "author": "monitoring_owner"
  }
}

Для оприлюднення висновку маємо змінити статус на addressed (Порушення виявлені) у випадку якщо було виявлено порушення або declined (Порушення не виявлені) якщо порушень виявлено не було:

PATCH /api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491 HTTP/1.0
Authorization: Basic dGVzdF9zYXM6dGVzdF9zYXNfdG9rZW4=
Content-Length: 33
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "status": "addressed"
  }
}

Response: 200 OK
Content-Type: application/json
{
  "data": {
    "tender_id": "f71067ac30733261df884de0391debf6",
    "monitoring_id": "UA-M-2018-01-01-000001",
    "status": "addressed",
    "reasons": [
      "public",
      "fiscal"
    ],
    "procuringStages": [
      "awarding",
      "contracting"
    ],
    "monitoringPeriod": {
      "startDate": "2018-01-02T03:15:00+02:00",
      "endDate": "2018-01-25T00:00:00+02:00"
    },
    "eliminationPeriod": {
      "startDate": "2018-01-05T02:25:00+02:00",
      "endDate": "2018-01-23T00:00:00+02:00"
    },
    "posts": [
      {
        "id": "b5ccc45a3c5943ab9bf9e95b631f98e4",
        "title": "Lorem ipsum",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "f8069abe43c547a8a87074b1ff983da4",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/2cd40a17af5841bba79a442e11f795ce?Signature=OZIGjb5iadULQ8WLskGvxx95vKWAZlty2qiwy4KtaRAXTWx%2F3lUo6FjwLwZ4juaEjnyRq3y953ReosiUYw6ODA%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-03T02:05:00+02:00",
            "dateModified": "2018-01-03T02:05:00+02:00",
            "author": "monitoring_owner"
          },
          {
            "id": "8319cc43396a4368b281fcf0fa4679ce",
            "hash": "md5:00000000000000000000000000000000",
            "title": "dolor.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/e3e475499f57496f9eaa0c4208ea09fa?Signature=ALKprZk49GxoDAKeh6uMrNr4typhugl4A%252BuGNe6o8k4hExglSDziU6nSHNFdD6rL4yxABp3zCFkTjcTs9c3EAQ%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-03T02:10:00+02:00",
            "dateModified": "2018-01-03T02:10:00+02:00",
            "author": "monitoring_owner"
          }
        ],
        "author": "monitoring_owner",
        "postOf": "decision",
        "datePublished": "2018-01-03T02:05:00+02:00",
        "dateOverdue": "2018-01-10T00:00:00+02:00",
        "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
      },
      {
        "id": "ecca8fc4c85a4b78aa2c97e9703784c6",
        "title": "Sit amet",
        "description": "Dolor sit amet",
        "documents": [
          {
            "id": "787c847df60b4bed80ec1aac479c354f",
            "hash": "md5:00000000000000000000000000000000",
            "title": "dolor.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/83faf0d5f4004f01b2e562679199c1b8?Signature=59snop57nhF26jElfWMW%2FCauRC0ehCgb0Dn6uheF7CTVZuTT9NQjcUwf%252BLgahIQvq3fA8mej78djaJviZjf9Bg%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T02:10:00+02:00",
            "dateModified": "2018-01-04T02:10:00+02:00",
            "author": "tender_owner"
          }
        ],
        "author": "tender_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T02:05:00+02:00",
        "relatedPost": "b5ccc45a3c5943ab9bf9e95b631f98e4"
      },
      {
        "id": "85dc0473a2b34b38ab545ed39b23f863",
        "title": "Dolor sit amet",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "53f815fd73264997a0ba6644672276a6",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/4d9dfc2c426b456286be167a967fbd6a?Signature=wE5QGkk2ZlD%252BDfZp29sUm45hXL%2FPd3%252B11xiGtqLeecvKhDCRbLPmSE%2FoIfxbVsDWzX2VyI5PiXtzJdpqZoggDQ%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T03:05:00+02:00",
            "dateModified": "2018-01-04T03:05:00+02:00",
            "author": "tender_owner"
          }
        ],
        "author": "tender_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T03:05:00+02:00"
      },
      {
        "id": "6050f6e782d4453f924e03bb3dd5efb5",
        "title": "Lorem ipsum",
        "description": "Lorem ipsum dolor sit amet.",
        "documents": [
          {
            "id": "f95956b52bb14543861507e6b4ea1951",
            "hash": "md5:00000000000000000000000000000000",
            "title": "ipsum.doc",
            "format": "application/msword",
            "url": "http://public-docs-sandbox.prozorro.gov.ua/get/36416c318acb45dbba01c97799721ede?Signature=TUXCWgdzOCex4VH1d%252Bbo0VpteFDidQoRb0E2wi3q3N1I1Ro1Jx711%252Bm1ekCRDK39VwH3qUQO3ABIL0NhojNVBA%253D%253D&KeyID=a8968c46",
            "datePublished": "2018-01-04T03:15:00+02:00",
            "dateModified": "2018-01-04T03:15:00+02:00",
            "author": "monitoring_owner"
          }
        ],
        "author": "monitoring_owner",
        "postOf": "decision",
        "datePublished": "2018-01-04T03:15:00+02:00",
        "relatedPost": "85dc0473a2b34b38ab545ed39b23f863",
        "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
      }
    ],
    "parties": [
      {
        "id": "4b95d1d6a43c4693b88a144765befaba",
        "name": "The State Audit Service of Ukraine",
        "datePublished": "2018-01-01T02:00:00+02:00",
        "identifier": {
          "scheme": "UA-EDR",
          "id": "40165856",
          "uri": "http://www.dkrs.gov.ua"
        },
        "address": {
          "streetAddress": "Petra Sahaidachnoho St, 4",
          "locality": "Kyiv",
          "region": "Kyiv",
          "postalCode": "04070",
          "countryName": "Ukraine"
        },
        "contactPoint": {
          "telephone": "0440000000",
          "name": "Oleksii Kovalenko"
        },
        "roles": [
          "sas"
        ]
      }
    ],
    "dateModified": "2018-01-05T02:25:00+02:00",
    "endDate": "2018-01-25T00:00:00+02:00",
    "dateCreated": "2018-01-01T02:00:00+02:00",
    "tender_owner": "broker",
    "id": "3c06b16c6bb747449e2e60158453c491",
    "decision": {
      "description": "text",
      "documents": [
        {
          "id": "326df5cf6b1e4aaea1200275919a3730",
          "hash": "md5:00000000000000000000000000000000",
          "title": "lorem.doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/7e583b38af244dd6a004ebcd88004caf?Signature=oYbDaU7J2132KqM%252BG5mEpVMdEQlMlc28ZCuTCvI17LE8G7ikN0ZgDT50VTIU6vBkMrUYSSO%252BgHVIbQO3Xr79CQ%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-02T03:05:00+02:00",
          "dateModified": "2018-01-02T03:05:00+02:00",
          "author": "monitoring_owner"
        },
        {
          "id": "fb9d923f614c41c68444007cb3c64e37",
          "hash": "md5:00000000000000000000000000000000",
          "title": "dolor.doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/b6e25be2b0b24fe7a614a8a8f7bc7120?Signature=4rxzAuYPqxTCts%252BkCZMPkm3P15TXJStZ6KdUNc9y%2FCxX8Jc4DAC4nq3bCk7mIaHE7piVcD%2FlxVcCVTXPkEqRBg%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-02T03:10:00+02:00",
          "dateModified": "2018-01-02T03:10:00+02:00",
          "author": "monitoring_owner"
        }
      ],
      "dateCreated": "2018-01-02T03:05:00+02:00",
      "datePublished": "2018-01-02T03:15:00+02:00",
      "date": "2018-01-02T01:05:00+02:00",
      "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
    },
    "conclusion": {
      "documents": [
        {
          "id": "20709160fbe4418da6706dfed7958881",
          "hash": "md5:00000000000000000000000000000000",
          "title": "New document(2).doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/f0f6cafa273240ffba4925159f39d3a1?Signature=UGwAMNb8IRhNB7DCRnmiaZtcuKtrWYoylBN%252Bdd3rear%252BRZyus7XFAAP3MKlqN30Lt9jCXtZyTtxULH4gVwejDw%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-05T02:15:00+02:00",
          "dateModified": "2018-01-05T02:15:00+02:00",
          "author": "monitoring_owner"
        },
        {
          "id": "c6676892ba0c466cbe5c50842dc78ef6",
          "hash": "md5:00000000000000000000000000000000",
          "title": "sign.p7s",
          "format": "application/pkcs7-signature",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/22c38d4f6dab44b1bfab5d9255524d81?Signature=xdYx0wKZ7i%252BaC%2Fp4wGnxXQfUqLk0jIkeVF4Z%252BUMor1QJNZRmDe9JKrnuK8K7Kbfo%252BfStECq2gETkaCWepo7dAw%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-05T02:20:00+02:00",
          "dateModified": "2018-01-05T02:20:00+02:00",
          "author": "monitoring_owner"
        }
      ],
      "dateCreated": "2018-01-05T02:00:00+02:00",
      "datePublished": "2018-01-05T02:25:00+02:00",
      "violationOccurred": true,
      "violationType": [
        "documentsForm",
        "corruptionAwarded"
      ],
      "auditFinding": "Ring around the rosies",
      "stringsAttached": "Pocket full of posies",
      "description": "Ashes, ashes, we all fall down",
      "relatedParty": "4b95d1d6a43c4693b88a144765befaba"
    }
  }
}

Власник тендеру може звернутись (одноразово) за роз’ясненням щодо висновку:

POST /api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491/posts?acc_token=0ebba00a48cf49c28c856e1c900d1c7b HTTP/1.0
Authorization: Basic YnJva2VyOmJyb2tlcg==
Content-Length: 410
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "title": "Sit amet",
    "description": "Sit amet lorem ipsum dolor.",
    "documents": [
      {
        "title": "dolor.doc",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c0fb6531fc8548bf8e7b9085fc18e7d5?Signature=4G%2F5tdESbFqqiB7%2FVeyiz33WKNqKEtwUoqrR2K3GK%2FNpUCmLS5N9kTILwAk2vUNtzMiVKMja99V65lptQpZPBA%3D%3D&KeyID=a8968c46",
        "hash": "md5:00000000000000000000000000000000",
        "format": "application/msword"
      }
    ]
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://audit-api-sandbox.prozorro.gov.ua/api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491/posts/9acee33b9ba94f548e6b60234c8caf5e
{
  "data": {
    "id": "9acee33b9ba94f548e6b60234c8caf5e",
    "title": "Sit amet",
    "description": "Sit amet lorem ipsum dolor.",
    "documents": [
      {
        "id": "43270da8a7d94557840ecf49b9edc340",
        "hash": "md5:00000000000000000000000000000000",
        "title": "dolor.doc",
        "format": "application/msword",
        "url": "http://public-docs-sandbox.prozorro.gov.ua/get/c0fb6531fc8548bf8e7b9085fc18e7d5?Signature=UXmKY48jGgIqQ%2Fh%252BpyZJDAM8Y4eHwY2TSVruWKxQne4pKL2XTajI1rjiWvNuB8PQqIn%252BaMp6a5LiOZ0TImYZAQ%253D%253D&KeyID=a8968c46",
        "datePublished": "2018-01-06T02:00:00+02:00",
        "dateModified": "2018-01-06T02:00:00+02:00",
        "author": "tender_owner"
      }
    ],
    "author": "tender_owner",
    "postOf": "conclusion",
    "datePublished": "2018-01-06T02:00:00+02:00"
  }
}

Додамо ще один документ до запиту:

POST /api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491/posts/9acee33b9ba94f548e6b60234c8caf5e/documents?acc_token=0ebba00a48cf49c28c856e1c900d1c7b HTTP/1.0
Authorization: Basic YnJva2VyOmJyb2tlcg==
Content-Length: 328
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "title": "dolor.doc",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/b6da38c8e8cc4cc894a2882cfe482fcc?Signature=eNB2%2BR7G0sqG%2FDcJHZrL6WAxgjwtam494MhbaSFmos%2FmIqiGE2OBk3P%2FRR7P4QyUcxiNygIcltzH0SLX9GxtBA%3D%3D&KeyID=a8968c46",
    "hash": "md5:00000000000000000000000000000000",
    "format": "application/msword"
  }
}

Response: 201 Created
Content-Type: application/json
Location: http://audit-api-sandbox.prozorro.gov.ua/api/2.5/monitorings/3c06b16c6bb747449e2e60158453c491/posts/9acee33b9ba94f548e6b60234c8caf5e/documents/893b0c2491ed45e289b8995333179840
{
  "data": {
    "id": "893b0c2491ed45e289b8995333179840",
    "hash": "md5:00000000000000000000000000000000",
    "title": "dolor.doc",
    "format": "application/msword",
    "url": "http://public-docs-sandbox.prozorro.gov.ua/get/b6da38c8e8cc4cc894a2882cfe482fcc?Signature=jd7PVESBiLjYpiL8judBOsXYvIEaIcLxJK5DrppDMeyyZHxSttu78J9dc6zKHw5fLSiyYUHYGS%252B9J3%252B6TUmUBg%253D%253D&KeyID=a8968c46",
    "datePublished": "2018-01-03T02:10:00+02:00",
    "dateModified": "2018-01-03T02:10:00+02:00",
    "author": "tender_owner"
  }
}