POST promotion/join_lottery
Request Information
URI Parameters
None.
Body Parameters
JoinLotteryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| join_id | integer |
None. |
|
| lottery_id | integer |
None. |
|
| joiner_id | integer |
None. |
|
| is_captain | boolean |
None. |
|
| is_official_fan | boolean |
None. |
|
| join_group_id | integer |
None. |
|
| share_user_id | integer |
None. |
|
| wx_share_image_path | string |
None. |
|
| client_id | integer |
None. |
|
| shop_id | integer |
None. |
|
| joiner_mobile | string |
None. |
|
| joiner_name | string |
None. |
|
| joiner_head_image_path | string |
None. |
|
| date_created | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"join_id": 1,
"lottery_id": 2,
"joiner_id": 3,
"is_captain": true,
"is_official_fan": true,
"join_group_id": 6,
"share_user_id": 7,
"wx_share_image_path": "sample string 8",
"client_id": 9,
"shop_id": 10,
"joiner_mobile": "sample string 11",
"joiner_name": "sample string 12",
"joiner_head_image_path": "sample string 13",
"date_created": "sample string 14"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DataResponseOfLotteryViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
|
| data | LotteryViewModel |
None. |
Response Formats
application/json
Sample:
text/json
Sample: