POST promotion/receive_lottery
Request Information
URI Parameters
None.
Body Parameters
ReceiveLotteryViewModelName | Description | Type | Additional information |
---|---|---|---|
lottery_id | integer |
None. |
|
winner_name | string |
None. |
|
winner_contact_phone | string |
None. |
|
winner_address | string |
None. |
|
winner_head_image_path | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "lottery_id": 1, "winner_name": "sample string 2", "winner_contact_phone": "sample string 3", "winner_address": "sample string 4", "winner_head_image_path": "sample string 5" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BaseResponseName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "success": true }