GET Subscriber/{subscriberId}/Catalog/Browse/AppointmentTypes?locationId={locationId}&catalogItemsAvailable={catalogItemsAvailable}

Gets retail categories

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

Optional. Needed if is true

integer

None.

catalogItemsAvailable

Filter to only service categories that have at least one service pricing option available for sale

boolean

Default value is False

subscriberId

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of BrowseAppointmentType
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBrowseAppointmentType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Browse">
  <BrowseAppointmentType>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </BrowseAppointmentType>
  <BrowseAppointmentType>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </BrowseAppointmentType>
</ArrayOfBrowseAppointmentType>