POST api/elections/{uuid}/Results
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
uuid | string |
Required |
Body Parameters
ElectionResultName | Description | Type | Additional information |
---|---|---|---|
ElectionId | globally unique identifier |
None. |
|
Results | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ElectionId": "024ba7dc-4fd3-4e3d-9c83-751a648b0630", "Results": "sample string 2" }
application/xml, text/xml
Sample:
<ElectionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UniteHere.ElectionApp.Entities"> <ElectionId>024ba7dc-4fd3-4e3d-9c83-751a648b0630</ElectionId> <Results>sample string 2</Results> </ElectionResult>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.