GET Subscriber/{subscriberId}/Catalog/Browse/ServiceCategories?locationId={locationId}&catalogItemsAvailable={catalogItemsAvailable}
Gets service categories
Request Information
URI Parameters
Name | Description | Type | Additional 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 BrowseServiceCategoryName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Type | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "Type": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "Type": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfBrowseServiceCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.Marketplace.Models.Catalog.Browse"> <BrowseServiceCategory> <Id>1</Id> <Name>sample string 2</Name> <Type>sample string 3</Type> </BrowseServiceCategory> <BrowseServiceCategory> <Id>1</Id> <Name>sample string 2</Name> <Type>sample string 3</Type> </BrowseServiceCategory> </ArrayOfBrowseServiceCategory>