GET Subscriber/{subscriberId}/ApplicableFeeRates

Retrieves all applicable fee rates for a subscriber.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetApplicableRatesForSubscriberResponse
NameDescriptionTypeAdditional information
Rates

Collection of ApplicableFeeRate

None.

Response Formats

application/json, text/json

Sample:
{
  "Rates": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "SubscriberId": 3,
      "CountryCode": "sample string 4",
      "RateClassType": "Default",
      "RateType": "Flat",
      "Rate": 5.0,
      "CategoryTypes": [
        "Any",
        "Any"
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "SubscriberId": 3,
      "CountryCode": "sample string 4",
      "RateClassType": "Default",
      "RateType": "Flat",
      "Rate": 5.0,
      "CategoryTypes": [
        "Any",
        "Any"
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<GetApplicableRatesForSubscriberResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.FeeRates.Responses">
  <Rates xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.FeeRates.Models">
    <d2p1:ApplicableFeeRate>
      <d2p1:CategoryTypes>
        <d2p1:FeeRateCategoryType>Any</d2p1:FeeRateCategoryType>
        <d2p1:FeeRateCategoryType>Any</d2p1:FeeRateCategoryType>
      </d2p1:CategoryTypes>
      <d2p1:CountryCode>sample string 4</d2p1:CountryCode>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Rate>5</d2p1:Rate>
      <d2p1:RateClassType>Default</d2p1:RateClassType>
      <d2p1:RateType>Flat</d2p1:RateType>
      <d2p1:SubscriberId>3</d2p1:SubscriberId>
    </d2p1:ApplicableFeeRate>
    <d2p1:ApplicableFeeRate>
      <d2p1:CategoryTypes>
        <d2p1:FeeRateCategoryType>Any</d2p1:FeeRateCategoryType>
        <d2p1:FeeRateCategoryType>Any</d2p1:FeeRateCategoryType>
      </d2p1:CategoryTypes>
      <d2p1:CountryCode>sample string 4</d2p1:CountryCode>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Rate>5</d2p1:Rate>
      <d2p1:RateClassType>Default</d2p1:RateClassType>
      <d2p1:RateType>Flat</d2p1:RateType>
      <d2p1:SubscriberId>3</d2p1:SubscriberId>
    </d2p1:ApplicableFeeRate>
  </Rates>
</GetApplicableRatesForSubscriberResponse>