POST api/winner/create
Registra un nuevo ganador
Request Information
URI Parameters
None.
Body Parameters
Objeto que contiene la información a guardar
SaveWinner| Name | Description | Type | Additional information |
|---|---|---|---|
| WinnerID | integer |
None. |
|
| WinnerName | string |
None. |
|
| Month | integer |
None. |
|
| Year | integer |
None. |
|
| UserID | integer |
None. |
|
| Status | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"WinnerID": 1,
"WinnerName": "sample string 2",
"Month": 3,
"Year": 4,
"UserID": 5,
"Status": "sample string 6"
}
application/xml, text/xml
Sample:
<SaveWinner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loymark.Backend.Admin.Resources"> <Month>3</Month> <Status>sample string 6</Status> <UserID>5</UserID> <WinnerID>1</WinnerID> <WinnerName>sample string 2</WinnerName> <Year>4</Year> </SaveWinner>
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.