PUT Subscriber/{subscriberId}/MarketplaceMembership/Locations/Configurations

update all the Marketplace membership configuration with location, service category and classes.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

integer

Required

Body Parameters

UpdateMarketplaceMembershipConfigurationRequest
NameDescriptionTypeAdditional information
Configurations

StudioMembershipConfigurations

None.

IpAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Configurations": {
    "LocationConfigurations": [
      {
        "LocationId": 1,
        "OptOut": true,
        "ServiceCategoryConfigurations": [
          {
            "ServiceCategoryId": 1,
            "OptOut": true,
            "ClassDescriptionConfigurations": [
              {
                "ClassDescriptionId": 1,
                "OptOut": true
              },
              {
                "ClassDescriptionId": 1,
                "OptOut": true
              }
            ]
          },
          {
            "ServiceCategoryId": 1,
            "OptOut": true,
            "ClassDescriptionConfigurations": [
              {
                "ClassDescriptionId": 1,
                "OptOut": true
              },
              {
                "ClassDescriptionId": 1,
                "OptOut": true
              }
            ]
          }
        ]
      },
      {
        "LocationId": 1,
        "OptOut": true,
        "ServiceCategoryConfigurations": [
          {
            "ServiceCategoryId": 1,
            "OptOut": true,
            "ClassDescriptionConfigurations": [
              {
                "ClassDescriptionId": 1,
                "OptOut": true
              },
              {
                "ClassDescriptionId": 1,
                "OptOut": true
              }
            ]
          },
          {
            "ServiceCategoryId": 1,
            "OptOut": true,
            "ClassDescriptionConfigurations": [
              {
                "ClassDescriptionId": 1,
                "OptOut": true
              },
              {
                "ClassDescriptionId": 1,
                "OptOut": true
              }
            ]
          }
        ]
      }
    ],
    "Id": "sample string 1",
    "BusinessId": 2,
    "OptOut": true,
    "UpdatedDatetimeUTC": "2024-11-23T02:02:09.3505512-08:00",
    "UpdatedBy": "sample string 4",
    "CreatedDatetimeUTC": "2024-11-23T02:02:09.3507389-08:00",
    "CreatedBy": "sample string 5",
    "CreatedByLoginName": "sample string 6",
    "UpdatedByLoginName": "sample string 7",
    "FirstName": "sample string 8",
    "LastName": "sample string 9",
    "IpAddress": "sample string 10"
  },
  "IpAddress": "sample string 1"
}

application/xml, text/xml

Sample:
<UpdateMarketplaceMembershipConfigurationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.MarketplaceMembership">
  <Configurations>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">sample string 5</CreatedBy>
    <CreatedByLoginName xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">sample string 6</CreatedByLoginName>
    <CreatedDatetimeUTC xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">2024-11-23T02:02:09.3507389-08:00</CreatedDatetimeUTC>
    <FirstName xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">sample string 8</FirstName>
    <IpAddress xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">sample string 10</IpAddress>
    <LastName xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">sample string 9</LastName>
    <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">sample string 4</UpdatedBy>
    <UpdatedByLoginName xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">sample string 7</UpdatedByLoginName>
    <UpdatedDatetimeUTC xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Subscriber.Models.Common">2024-11-23T02:02:09.3505512-08:00</UpdatedDatetimeUTC>
    <BusinessId>2</BusinessId>
    <Id>sample string 1</Id>
    <OptOut>true</OptOut>
    <LocationConfigurations>
      <LocationConfiguration>
        <LocationId>1</LocationId>
        <OptOut>true</OptOut>
        <ServiceCategoryConfigurations>
          <ServiceCategoryConfiguration>
            <ClassDescriptionConfigurations>
              <ClassDescriptionConfiguration>
                <ClassDescriptionId>1</ClassDescriptionId>
                <OptOut>true</OptOut>
              </ClassDescriptionConfiguration>
              <ClassDescriptionConfiguration>
                <ClassDescriptionId>1</ClassDescriptionId>
                <OptOut>true</OptOut>
              </ClassDescriptionConfiguration>
            </ClassDescriptionConfigurations>
            <OptOut>true</OptOut>
            <ServiceCategoryId>1</ServiceCategoryId>
          </ServiceCategoryConfiguration>
          <ServiceCategoryConfiguration>
            <ClassDescriptionConfigurations>
              <ClassDescriptionConfiguration>
                <ClassDescriptionId>1</ClassDescriptionId>
                <OptOut>true</OptOut>
              </ClassDescriptionConfiguration>
              <ClassDescriptionConfiguration>
                <ClassDescriptionId>1</ClassDescriptionId>
                <OptOut>true</OptOut>
              </ClassDescriptionConfiguration>
            </ClassDescriptionConfigurations>
            <OptOut>true</OptOut>
            <ServiceCategoryId>1</ServiceCategoryId>
          </ServiceCategoryConfiguration>
        </ServiceCategoryConfigurations>
      </LocationConfiguration>
      <LocationConfiguration>
        <LocationId>1</LocationId>
        <OptOut>true</OptOut>
        <ServiceCategoryConfigurations>
          <ServiceCategoryConfiguration>
            <ClassDescriptionConfigurations>
              <ClassDescriptionConfiguration>
                <ClassDescriptionId>1</ClassDescriptionId>
                <OptOut>true</OptOut>
              </ClassDescriptionConfiguration>
              <ClassDescriptionConfiguration>
                <ClassDescriptionId>1</ClassDescriptionId>
                <OptOut>true</OptOut>
              </ClassDescriptionConfiguration>
            </ClassDescriptionConfigurations>
            <OptOut>true</OptOut>
            <ServiceCategoryId>1</ServiceCategoryId>
          </ServiceCategoryConfiguration>
          <ServiceCategoryConfiguration>
            <ClassDescriptionConfigurations>
              <ClassDescriptionConfiguration>
                <ClassDescriptionId>1</ClassDescriptionId>
                <OptOut>true</OptOut>
              </ClassDescriptionConfiguration>
              <ClassDescriptionConfiguration>
                <ClassDescriptionId>1</ClassDescriptionId>
                <OptOut>true</OptOut>
              </ClassDescriptionConfiguration>
            </ClassDescriptionConfigurations>
            <OptOut>true</OptOut>
            <ServiceCategoryId>1</ServiceCategoryId>
          </ServiceCategoryConfiguration>
        </ServiceCategoryConfigurations>
      </LocationConfiguration>
    </LocationConfigurations>
  </Configurations>
  <IpAddress>sample string 1</IpAddress>
</UpdateMarketplaceMembershipConfigurationRequest>

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.