Завершення моніторингу (Архів)

Примітка

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

Маючи моніторинг у статусі draft (Чорнетка) власник тендеру має можливість зупинити моніторинг змінивши статус на cancelled (Архів) надавши опис (description) у звіті про зупинення``cancellation``:

PATCH /api/2.5/monitorings/d31eb5a7a0a34834bcc0a6c8f7ad88d2 HTTP/1.0
Authorization: Basic dGVzdF9zYXM6dGVzdF9zYXNfdG9rZW4=
Content-Length: 133
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "cancellation": {
      "description": "Some reason",
      "relatedParty": "60f0a7097ea946c6adbde3b3e25459e5"
    },
    "status": "cancelled"
  }
}

Response: 200 OK
Content-Type: application/json
{
  "data": {
    "tender_id": "cf0dc0d3327d1831fc607656c89a6b6e",
    "monitoring_id": "UA-M-2018-01-01-000001",
    "status": "cancelled",
    "reasons": [
      "public",
      "fiscal"
    ],
    "procuringStages": [
      "awarding",
      "contracting"
    ],
    "parties": [
      {
        "id": "60f0a7097ea946c6adbde3b3e25459e5",
        "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-03T02:00:00+02:00",
    "dateCreated": "2018-01-01T02:00:00+02:00",
    "id": "d31eb5a7a0a34834bcc0a6c8f7ad88d2",
    "cancellation": {
      "description": "Some reason",
      "dateCreated": "2018-01-03T02:00:00+02:00",
      "datePublished": "2018-01-03T02:00:00+02:00",
      "relatedParty": "60f0a7097ea946c6adbde3b3e25459e5"
    }
  }
}