POST api/Membership/RenewMembership

Request Information

URI Parameters

None.

Body Parameters

Renew
NameDescriptionTypeAdditional information
OperationId

string

None.

Payment

Payment

None.

MemberEmail

string

None.

ServiceLevel

string

None.

CustomerBillingType

string

None.

PromoCategory

string

None.

NumberOfMembers

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OperationId": "sample string 1",
  "Payment": {
    "PriorityCode": "sample string 1",
    "SalesRep": "sample string 2",
    "MembershipNumber": "sample string 3",
    "CardHolderName": "sample string 4",
    "CardNumber": "sample string 5",
    "ExpirationDate": "sample string 6",
    "CVV": "sample string 7",
    "CCType": "sample string 8",
    "PaymentAmt": 9.0,
    "AutoRenew": true,
    "BillingAddress": {
      "Address1": "sample string 1",
      "Address2": "sample string 2",
      "City": "sample string 3",
      "State": "sample string 4",
      "Zip": "sample string 5",
      "SameAddress": true,
      "OverrideFlag": true
    },
    "Promotion": {
      "PromoCode": "sample string 1"
    }
  },
  "MemberEmail": "sample string 2",
  "ServiceLevel": "sample string 3",
  "CustomerBillingType": "sample string 4",
  "PromoCategory": "sample string 5",
  "NumberOfMembers": "sample string 6"
}

application/xml, text/xml

Sample:
<Renew xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AAAMembershipAPI.ViewModels">
  <CustomerBillingType>sample string 4</CustomerBillingType>
  <MemberEmail>sample string 2</MemberEmail>
  <NumberOfMembers>sample string 6</NumberOfMembers>
  <OperationId>sample string 1</OperationId>
  <Payment>
    <AutoRenew>true</AutoRenew>
    <BillingAddress>
      <Address1>sample string 1</Address1>
      <Address2>sample string 2</Address2>
      <City>sample string 3</City>
      <OverrideFlag>true</OverrideFlag>
      <SameAddress>true</SameAddress>
      <State>sample string 4</State>
      <Zip>sample string 5</Zip>
    </BillingAddress>
    <CCType>sample string 8</CCType>
    <CVV>sample string 7</CVV>
    <CardHolderName>sample string 4</CardHolderName>
    <CardNumber>sample string 5</CardNumber>
    <ExpirationDate>sample string 6</ExpirationDate>
    <MembershipNumber>sample string 3</MembershipNumber>
    <PaymentAmt>9</PaymentAmt>
    <PriorityCode>sample string 1</PriorityCode>
    <Promotion>
      <PromoCode>sample string 1</PromoCode>
    </Promotion>
    <SalesRep>sample string 2</SalesRep>
  </Payment>
  <PromoCategory>sample string 5</PromoCategory>
  <ServiceLevel>sample string 3</ServiceLevel>
</Renew>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.