PATCH
/
api
/
v1
/
vote_collections
/
{id}
/
clone
{
  "@context": "<string>",
  "@id": "<string>",
  "@type": "<string>",
  "id": 123,
  "name": "<string>",
  "description": "<string>",
  "owner": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "fullName": "<string>"
  },
  "votes": [
    {
      "@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>"
    }
  ],
  "timezone": "<string>",
  "dateCreated": "2023-11-07T05:31:56Z",
  "dateStart": "2023-11-07T05:31:56Z",
  "dateEnd": "2023-11-07T05:31:56Z",
  "dateModified": "2023-11-07T05:31:56Z",
  "isActive": true,
  "hasPreliminaryResults": true,
  "isPoll": true,
  "isGeneral": true,
  "isLocked": true,
  "unit": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123,
    "name": "<string>"
  },
  "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
    }
  },
  "totalVoted": 123,
  "totalEligible": 123,
  "isOpen": "<any>",
  "isFuture": "<any>",
  "isEditable": true,
  "hasVoted": true,
  "isVoteEligible": true,
  "status": "<string>",
  "hasAvailableResults": "<any>",
  "participationPercentage": "<any>",
  "isDraft": true
}

Path Parameters

id
string
required

VoteCollection identifier

Body

application/merge-patch+json

The updated VoteCollection resource

Response

200
application/ld+json

VoteCollection resource updated