GET api/MembershipLevels?SessionKey={SessionKey}

Returns a list of membership levels from the local config file.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionKey

Currently optional. If provided it must be an authenticated session for the call to return any data.

string

Body Parameters

None.

Response Information

Resource Description

IEnumerable of MembershipLevel objects

ApiSuccessOfIEnumerableOfMembershipLevel
NameDescriptionTypeAdditional information
Success

boolean
Data

Collection of MembershipLevel

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": [
    {
      "Id": "sample string 1",
      "Description": "sample string 2",
      "FundId": 3,
      "StartAmount": 4.0,
      "EndAmount": 5.0,
      "TessituraCategoryId": 6,
      "JoinAmount": 7.0,
      "RenewAmount": 8.0,
      "GiftAmountNonMember": 9.0,
      "GiftAmountActiveMember": 10.0,
      "AccountId": 11,
      "Notes": "sample string 12",
      "CanPurchase": true,
      "CanRenew": true,
      "LevelMOS": 15,
      "RenewRedirectLevel": "sample string 16",
      "AddOns": [
        "sample string 1",
        "sample string 2"
      ],
      "JoinDiscountedAmount": 17.0,
      "RenewDiscountedAmount": 18.0,
      "DiscountKeys": [
        "sample string 1",
        "sample string 2"
      ],
      "DisplayComemberName": true,
      "ChangeJoinLevelTarget": "sample string 20",
      "ChangeRenewLevelTarget": "sample string 21"
    },
    {
      "Id": "sample string 1",
      "Description": "sample string 2",
      "FundId": 3,
      "StartAmount": 4.0,
      "EndAmount": 5.0,
      "TessituraCategoryId": 6,
      "JoinAmount": 7.0,
      "RenewAmount": 8.0,
      "GiftAmountNonMember": 9.0,
      "GiftAmountActiveMember": 10.0,
      "AccountId": 11,
      "Notes": "sample string 12",
      "CanPurchase": true,
      "CanRenew": true,
      "LevelMOS": 15,
      "RenewRedirectLevel": "sample string 16",
      "AddOns": [
        "sample string 1",
        "sample string 2"
      ],
      "JoinDiscountedAmount": 17.0,
      "RenewDiscountedAmount": 18.0,
      "DiscountKeys": [
        "sample string 1",
        "sample string 2"
      ],
      "DisplayComemberName": true,
      "ChangeJoinLevelTarget": "sample string 20",
      "ChangeRenewLevelTarget": "sample string 21"
    }
  ]
}

application/xml, text/xml

Sample:
<ApiSuccessOfArrayOfMembershipLevelyx5QZ_PAX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Contribution">
    <d2p1:MembershipLevel>
      <d2p1:AccountId>11</d2p1:AccountId>
      <d2p1:AddOns xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:AddOns>
      <d2p1:CanPurchase>true</d2p1:CanPurchase>
      <d2p1:CanRenew>true</d2p1:CanRenew>
      <d2p1:ChangeJoinLevelTarget>sample string 20</d2p1:ChangeJoinLevelTarget>
      <d2p1:ChangeRenewLevelTarget>sample string 21</d2p1:ChangeRenewLevelTarget>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:DiscountKeys xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:DiscountKeys>
      <d2p1:DisplayComemberName>true</d2p1:DisplayComemberName>
      <d2p1:EndAmount>5</d2p1:EndAmount>
      <d2p1:FundId>3</d2p1:FundId>
      <d2p1:GiftAmountActiveMember>10</d2p1:GiftAmountActiveMember>
      <d2p1:GiftAmountNonMember>9</d2p1:GiftAmountNonMember>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:JoinAmount>7</d2p1:JoinAmount>
      <d2p1:JoinDiscountedAmount>17</d2p1:JoinDiscountedAmount>
      <d2p1:LevelMOS>15</d2p1:LevelMOS>
      <d2p1:Notes>sample string 12</d2p1:Notes>
      <d2p1:RenewAmount>8</d2p1:RenewAmount>
      <d2p1:RenewDiscountedAmount>18</d2p1:RenewDiscountedAmount>
      <d2p1:RenewRedirectLevel>sample string 16</d2p1:RenewRedirectLevel>
      <d2p1:StartAmount>4</d2p1:StartAmount>
      <d2p1:TessituraCategoryId>6</d2p1:TessituraCategoryId>
    </d2p1:MembershipLevel>
    <d2p1:MembershipLevel>
      <d2p1:AccountId>11</d2p1:AccountId>
      <d2p1:AddOns xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:AddOns>
      <d2p1:CanPurchase>true</d2p1:CanPurchase>
      <d2p1:CanRenew>true</d2p1:CanRenew>
      <d2p1:ChangeJoinLevelTarget>sample string 20</d2p1:ChangeJoinLevelTarget>
      <d2p1:ChangeRenewLevelTarget>sample string 21</d2p1:ChangeRenewLevelTarget>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:DiscountKeys xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:DiscountKeys>
      <d2p1:DisplayComemberName>true</d2p1:DisplayComemberName>
      <d2p1:EndAmount>5</d2p1:EndAmount>
      <d2p1:FundId>3</d2p1:FundId>
      <d2p1:GiftAmountActiveMember>10</d2p1:GiftAmountActiveMember>
      <d2p1:GiftAmountNonMember>9</d2p1:GiftAmountNonMember>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:JoinAmount>7</d2p1:JoinAmount>
      <d2p1:JoinDiscountedAmount>17</d2p1:JoinDiscountedAmount>
      <d2p1:LevelMOS>15</d2p1:LevelMOS>
      <d2p1:Notes>sample string 12</d2p1:Notes>
      <d2p1:RenewAmount>8</d2p1:RenewAmount>
      <d2p1:RenewDiscountedAmount>18</d2p1:RenewDiscountedAmount>
      <d2p1:RenewRedirectLevel>sample string 16</d2p1:RenewRedirectLevel>
      <d2p1:StartAmount>4</d2p1:StartAmount>
      <d2p1:TessituraCategoryId>6</d2p1:TessituraCategoryId>
    </d2p1:MembershipLevel>
  </Data>
</ApiSuccessOfArrayOfMembershipLevelyx5QZ_PAX>