Endpoint Parameters

  • Request parameters

    Name Type Origin Description
    Accounts Account [] Body Accounts on which elections are to be made
    EventId String Body Event on which election is to be made
    Options BulkOptionInstruction [] Body Instruction per option for bulk election
  • Response Parameters

    View Response Codes
    Name Type Description
    __count Number The total count of items in the feed.
    __next String The link for the next page of items in the feed.
    Data BulkElectionResponse [] The collection of entities for this feed.
    MaxRows Number The maximum number of rows that can be returned (if applicable).
  • Request Example

    Request URL
    PUT /ca/v2/elections/bulk
    Request Body
    {
      "Accounts": [
        {
          "AccountKey": "2y0tX0m9ZH7MH8HK38qM9g=="
        }
      ],
      "EventId": "9652429",
      "Options": [
        {
          "AmountPct": 75,
          "OptionId": "1"
        }
      ]
    }
    
  • Response Example

    Response body
    {
      "Data": [
        {
          "AccountId": "845935",
          "Status": "Accepted"
        }
      ]
    }