POST promotion/renewal_membership
Request Information
URI Parameters
None.
Body Parameters
RenewalMembershipViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| card_id | integer |
None. |
|
| client_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"card_id": 1,
"client_id": 2
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DataResponseOfMembershipOrderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
|
| data | MembershipOrderViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"success": true,
"data": {
"note": "sample string 1",
"topup_id": 2,
"topup_type_id": 3,
"amount": 4.0
}
}