Stop Monitoring

Note

This section contains available actions for next roles:
yes Monitoring owner
no Tender owner

As soon as the monitoring in active status, SAS-employee can terminate monitoring with stopped status with providing the description in cancellation report

PATCH /api/2.5/monitorings/2e4a0c0dfd304f5b8ea922ecddec77e0 HTTP/1.0
Authorization: Basic dGVzdF9zYXM6dGVzdF9zYXNfdG9rZW4=
Content-Length: 141
Content-Type: application/json
Host: audit-api-sandbox.prozorro.gov.ua
DATA:
{
  "data": {
    "cancellation": {
      "description": "Complaint was created",
      "relatedParty": "19eef73084634b7fa5e72a836ceeb9c5"
    },
    "status": "stopped"
  }
}

Response: 200 OK
Content-Type: application/json
Set-Cookie: SESSION=eyJvcGVyYXRpb25fdGltZSI6IHsiJHRpbWVzdGFtcCI6IHsidCI6IDE3NjIyNTM5ODYsICJpIjogMjV9fSwgImNsdXN0ZXJfdGltZSI6IHsiY2x1c3RlclRpbWUiOiB7IiR0aW1lc3RhbXAiOiB7InQiOiAxNzYyMjUzOTg2LCAiaSI6IDI1fX0sICJzaWduYXR1cmUiOiB7Imhhc2giOiB7IiRiaW5hcnkiOiB7ImJhc2U2NCI6ICJWaDliVG5xZWFBdHVyTGt4NlBYQlZNend3WU09IiwgInN1YlR5cGUiOiAiMDAifX0sICJrZXlJZCI6IDc1NjY2Mjk2Njg0Njg1NTU3ODN9fX0=; Path=/
X-Content-Type-Options: nosniff
{
  "data": {
    "tender_id": "f6d126a0317a55050a99a36bb690533d",
    "monitoring_id": "UA-M-2018-01-01-000001",
    "status": "stopped",
    "reasons": [
      "public",
      "fiscal"
    ],
    "procuringStages": [
      "awarding",
      "contracting"
    ],
    "monitoringPeriod": {
      "startDate": "2018-01-02T02:00:00+02:00",
      "endDate": "2018-01-25T00:00:00+02:00"
    },
    "parties": [
      {
        "id": "19eef73084634b7fa5e72a836ceeb9c5",
        "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",
    "owner": "test_sas",
    "restricted": false,
    "id": "2e4a0c0dfd304f5b8ea922ecddec77e0",
    "decision": {
      "description": "text",
      "documents": [
        {
          "id": "783b0e027614495c8a7090117a872953",
          "hash": "md5:00000000000000000000000000000000",
          "title": "lorem.doc",
          "format": "application/msword",
          "url": "http://public-docs-sandbox.prozorro.gov.ua/get/3ee2ad08082c40bba3acc6be2af94687?Signature=mYBMvt9c9oVvPow6xEIQ8u2TbKOTzTcv%2FcH7Ju%2FHyF3ssJ9p0qb71%252BHNuawnu6mdQOWjizOsmKGLsDcNTOEmCQ%253D%253D&KeyID=a8968c46",
          "datePublished": "2018-01-02T02:00:00+02:00",
          "dateModified": "2018-01-02T02:00:00+02:00",
          "author": "monitoring_owner"
        }
      ],
      "dateCreated": "2018-01-02T02:00:00+02:00",
      "datePublished": "2018-01-02T02:00:00+02:00",
      "date": "2018-01-02T00:00:00+02:00",
      "relatedParty": "19eef73084634b7fa5e72a836ceeb9c5"
    },
    "cancellation": {
      "description": "Complaint was created",
      "dateCreated": "2018-01-03T02:00:00+02:00",
      "datePublished": "2018-01-03T02:00:00+02:00",
      "relatedParty": "19eef73084634b7fa5e72a836ceeb9c5"
    }
  }
}