POST api/ApplyCartMembershipCredit?shoppingcartid={shoppingcartid}&portalid={portalid}&creditAmount={creditAmount}

ApplyCartMembershipCredit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shoppingcartid

System.String

Required

portalid

System.String

Required

creditAmount

System.Decimal

Required

Body Parameters

None.

Response Information

Resource Description

Altai.Web.Services.Models.ShoppingCartItem
NameDescriptionTypeAdditional information
Id

System.String

None.

ShoppingCartId

System.String

None.

WebProductId

System.String

None.

Name

System.String

None.

AttendeeId

System.String

None.

AttendeeName

System.String

None.

FormStatus

System.String

None.

FormName

System.String

None.

Quantity

System.Int32

None.

Price

System.Decimal

None.

TotalPrice

System.Decimal

None.

ProgramName

System.String

None.

ProgramDescription

System.String

None.

ProgramPrice

System.Decimal

None.

IsDonation

System.Boolean

None.

RecurringBilling

System.Boolean

None.

SessionOption

Altai.Web.Services.Models.SessionOption

None.

Discount

System.Decimal

None.

ParentWebProductId

System.Guid

None.

CouponId

System.String

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "ShoppingCartId": "sample string 2",
  "WebProductId": "sample string 3",
  "Name": "sample string 4",
  "AttendeeId": "sample string 5",
  "AttendeeName": "sample string 6",
  "FormStatus": "sample string 7",
  "FormName": "sample string 8",
  "Quantity": 9,
  "Price": 10.0,
  "TotalPrice": 11.0,
  "ProgramName": "sample string 12",
  "ProgramDescription": "sample string 13",
  "ProgramPrice": 14.0,
  "IsDonation": true,
  "RecurringBilling": true,
  "SessionOption": {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "SessionId": "sample string 3"
  },
  "Discount": 17.0,
  "ParentWebProductId": "82f20f7d-db83-473a-bbd6-158c1142347e",
  "CouponId": "sample string 18"
}

application/xml, text/xml

Sample:
<ShoppingCartItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models">
  <AttendeeId>sample string 5</AttendeeId>
  <AttendeeName>sample string 6</AttendeeName>
  <CouponId>sample string 18</CouponId>
  <Discount>17</Discount>
  <FormName>sample string 8</FormName>
  <FormStatus>sample string 7</FormStatus>
  <Id>sample string 1</Id>
  <IsDonation>true</IsDonation>
  <Name>sample string 4</Name>
  <ParentWebProductId>82f20f7d-db83-473a-bbd6-158c1142347e</ParentWebProductId>
  <Price>10</Price>
  <ProgramDescription>sample string 13</ProgramDescription>
  <ProgramName>sample string 12</ProgramName>
  <ProgramPrice>14</ProgramPrice>
  <Quantity>9</Quantity>
  <RecurringBilling>true</RecurringBilling>
  <SessionOption>
    <Id>sample string 1</Id>
    <Name>sample string 2</Name>
    <SessionId>sample string 3</SessionId>
  </SessionOption>
  <ShoppingCartId>sample string 2</ShoppingCartId>
  <TotalPrice>11</TotalPrice>
  <WebProductId>sample string 3</WebProductId>
</ShoppingCartItem>