Skip to content
campaiDeveloper
campai.com

Misc ยท Assemblies

POST/{organizationId}/{mandateId}/misc/assemblies/{assemblyId}/proxies/set

Set proxy

Records that a voter of a meeting gives their vote to another voter, with the signed document when the statute asks for one. A proxy given before is replaced. Proxies need a basis in the statute, and the limits of the meeting's settings apply.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • assemblyConduct.edit

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • assemblyIdidrequired

Body

Content-Type: application/json

  • principalIdidrequired
  • holderIdidrequired
  • documentobjectnullable
    2 properties
    • fileNamestring

      at most 128 characters

    • resourcestringrequired
  • statementstringnullable

    at most 1000 characters

Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/misc/assemblies/YOUR_ASSEMBLY_ID/proxies/set' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.