PATCH
/
api
/
v1
/
votes
/
{id}
{
  "@context": "<string>",
  "@id": "<string>",
  "@type": "<string>",
  "id": 123,
  "title": "<string>",
  "owner": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "fullName": "<string>"
  },
  "unit": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "name": "<string>"
  },
  "dateStart": "2023-11-07T05:31:56Z",
  "dateEnd": "2023-11-07T05:31:56Z",
  "isPoll": true,
  "isVoteEligible": true,
  "hasVoted": true,
  "hasAvailableResults": "<any>",
  "participationPercentage": "<any>",
  "isFuture": "<any>",
  "status": "<string>",
  "isOpen": "<any>",
  "results": [
    "<string>"
  ],
  "voteOptions": [
    {
      "@context": "<string>",
      "@id": "<string>",
      "@type": "<string>",
      "id": 123,
      "title": "<string>",
      "total": 123
    }
  ],
  "hasPreliminaryResults": true,
  "isGeneral": true,
  "isLocked": true,
  "isEditable": true,
  "totalVoted": 123,
  "totalEligible": 123,
  "event": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "uuid": "<string>",
    "name": "<string>",
    "isOnline": true,
    "settings": {
      "tenantLogo": true,
      "showTitle": true,
      "colorSelection": null,
      "colorButton": null,
      "disableSubscribe": false,
      "disableRegister": true,
      "lightThemeOnly": false,
      "isThankYouSingular": false,
      "fieldName": true,
      "fieldEmail": true,
      "fieldPhone": false,
      "fieldOrganisation": false,
      "fieldRole": false,
      "fieldTown": false,
      "fieldLinkedin": false,
      "fieldX": false,
      "fieldInstagram": false
    }
  },
  "isDraft": true,
  "timezone": "<string>"
}

Path Parameters

id
string
required

Vote identifier

Body

application/merge-patch+json

The updated Vote resource

Response

200
application/ld+json

Vote resource updated