POST api/Account/LiveCoupon/{cartId}/{alreadyAppliedDiscount}?isFractionalPrice={isFractionalPrice}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cartId | string |
Required |
|
| alreadyAppliedDiscount | decimal number |
Required |
|
| isFractionalPrice | integer |
Default value is 0 |
Body Parameters
AccountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsAccountCreated | boolean |
None. |
|
| IsAccountCharged | boolean |
None. |
|
| IsBadCoupon | boolean |
None. |
|
| TransactionID | string |
None. |
|
| PurchaseTransactionID | integer |
None. |
|
| BulletItems | Collection of string |
None. |
|
| Identifier | globally unique identifier |
None. |
|
| DeviceID | string |
None. |
|
| string |
None. |
||
| EmailAddress | string |
None. |
|
| MemberIdentifier | globally unique identifier |
None. |
|
| Password | string |
None. |
|
| ConfirmPassword | string |
None. |
|
| IsParalegal | boolean |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Bars | Collection of ShallowBarModel |
None. |
|
| ReferringMemberID | integer |
None. |
|
| Member | ShallowMemberModel |
None. |
|
| ProductType | PRODUCT_TYPES |
None. |
|
| StateIDs | Collection of integer |
None. |
|
| PurchasedCredits | decimal number |
None. |
|
| PurchasedLiveCredits | decimal number |
None. |
|
| BundleID | integer |
None. |
|
| RetailPrice | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| Description | string |
None. |
|
| CourseID | integer |
None. |
|
| CouponCode | string |
None. |
|
| CampaignID | integer |
None. |
|
| CreditCard | string |
None. |
|
| PostalCode | integer |
None. |
|
| ExpirationMonth | integer |
None. |
|
| ExpirationYear | integer |
None. |
|
| TeamInformation | Collection of Team |
None. |
|
| TeamID | integer |
None. |
|
| TeamInviteIdentifier | string |
None. |
|
| TeamAccess | boolean |
None. |
|
| Role | string |
None. |
|
| IsTeamCreate | boolean |
None. |
|
| IsTeamAdminOnly | boolean |
None. |
|
| StartedCourseID | integer |
None. |
|
| StartedCourseURL | string |
None. |
|
| IsSuccessful | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| StackTrace | string |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
Response Information
Resource Description
Collection of LiveProductWithDiscountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LiveProductID | integer |
None. |
|
| CartID | globally unique identifier |
None. |
|
| LiveEventsID | integer |
None. |
|
| Price | decimal number |
None. |
|
| CourseLength | string |
None. |
|
| CourseTitleAndDate | string |
None. |
|
| IsSuccessful | boolean |
None. |
|
| RetailPrice | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| DiscountedPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LiveProductID": 1,
"CartID": "34b9bcbf-e048-4c8c-8a1d-79bab1a794f4",
"LiveEventsID": 3,
"Price": 4.0,
"CourseLength": "sample string 5",
"CourseTitleAndDate": "sample string 6",
"IsSuccessful": true,
"RetailPrice": 8.0,
"DiscountAmount": 9.0,
"DiscountedPrice": 10.0
},
{
"LiveProductID": 1,
"CartID": "34b9bcbf-e048-4c8c-8a1d-79bab1a794f4",
"LiveEventsID": 3,
"Price": 4.0,
"CourseLength": "sample string 5",
"CourseTitleAndDate": "sample string 6",
"IsSuccessful": true,
"RetailPrice": 8.0,
"DiscountAmount": 9.0,
"DiscountedPrice": 10.0
}
]