POST api/LotteryCodes/UpdateLotteryCode
Request Information
URI Parameters
None.
Body Parameters
LotteryCodes| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| LotteryCode | string |
None. |
|
| PhoneNumber | string |
None. |
|
| FirstName | string |
None. |
|
| FatherName | string |
None. |
|
| LastName | string |
None. |
|
| Branch | string |
None. |
|
| Grade | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"LotteryCode": "sample string 2",
"PhoneNumber": "sample string 3",
"FirstName": "sample string 4",
"FatherName": "sample string 5",
"LastName": "sample string 6",
"Branch": "sample string 7",
"Grade": "sample string 8"
}
application/xml, text/xml
Sample:
<LotteryCodes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/appliedline.gssman2016.models"> <Branch>sample string 7</Branch> <FatherName>sample string 5</FatherName> <FirstName>sample string 4</FirstName> <Grade>sample string 8</Grade> <LastName>sample string 6</LastName> <LotteryCode>sample string 2</LotteryCode> <PhoneNumber>sample string 3</PhoneNumber> <id>1</id> </LotteryCodes>
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.