PUT api/competitionvotes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
competitionvote| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| memeId | integer |
None. |
|
| competitionId | integer |
None. |
|
| userId | string |
None. |
|
| votingPower | integer |
None. |
|
| tStamp | date |
None. |
|
| voteTypeId | byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"memeId": 1,
"competitionId": 1,
"userId": "sample string 2",
"votingPower": 1,
"tStamp": "2025-12-18T07:22:16.574803+02:00",
"voteTypeId": 64
}
application/xml, text/xml
Sample:
<competitionvote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/waytoodankapi.Models"> <competitionId>1</competitionId> <id>1</id> <memeId>1</memeId> <tStamp>2025-12-18T07:22:16.574803+02:00</tStamp> <userId>sample string 2</userId> <voteTypeId>64</voteTypeId> <votingPower>1</votingPower> </competitionvote>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.