POST promotion/sign_in

Request Information

URI Parameters

None.

Body Parameters

SignInAddViewModel
NameDescriptionTypeAdditional information
client_id

integer

None.

point_type_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "client_id": 1,
  "point_type_id": 2
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SignInAddViewModel'.

Response Information

Resource Description

DataResponseOfSignInViewModel
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

success

boolean

None.

data

SignInViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "success": true,
  "data": {
    "points": 1,
    "days": 2
  }
}