PUT v1/Subscriber/{subscriberId}/Products/Categories
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subscriberId | string |
None. |
Body Parameters
Collection of Mindbody.Contracts.Products.Models.SubscriberReferences.SubscriberRevCategoryName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
Required Max length: 35 |
|
IsPrimary | boolean |
None. |
|
IsSecondary | boolean |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 1", "IsPrimary": true, "IsSecondary": true, "IsActive": true }, { "Id": 1, "Name": "sample string 1", "IsPrimary": true, "IsSecondary": true, "IsActive": true } ]
application/xml, text/xml
Sample:
<ArrayOfRevenueCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Mindbody.Contracts.Products"> <RevenueCategory> <Delete>true</Delete> <EnterpriseLocked>true</EnterpriseLocked> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 1</Name> <ReferenceType>Color</ReferenceType> <Description>sample string 2</Description> <IsPrimary>true</IsPrimary> <IsSecondary>true</IsSecondary> <Service>true</Service> </RevenueCategory> <RevenueCategory> <Delete>true</Delete> <EnterpriseLocked>true</EnterpriseLocked> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 1</Name> <ReferenceType>Color</ReferenceType> <Description>sample string 2</Description> <IsPrimary>true</IsPrimary> <IsSecondary>true</IsSecondary> <Service>true</Service> </RevenueCategory> </ArrayOfRevenueCategory>
multipart/form-data
Sample:
<ArrayOfRevenueCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Mindbody.Contracts.Products"><RevenueCategory><Delete>true</Delete><EnterpriseLocked>true</EnterpriseLocked><Id>1</Id><IsActive>true</IsActive><Name>sample string 1</Name><ReferenceType>Color</ReferenceType><Description>sample string 2</Description><IsPrimary>true</IsPrimary><IsSecondary>true</IsSecondary><Service>true</Service></RevenueCategory><RevenueCategory><Delete>true</Delete><EnterpriseLocked>true</EnterpriseLocked><Id>1</Id><IsActive>true</IsActive><Name>sample string 1</Name><ReferenceType>Color</ReferenceType><Description>sample string 2</Description><IsPrimary>true</IsPrimary><IsSecondary>true</IsSecondary><Service>true</Service></RevenueCategory></ArrayOfRevenueCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Mindbody.Contracts.Products.Models.SubscriberReferences.SubscriberRevCategoryName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
Required Max length: 35 |
|
IsPrimary | boolean |
None. |
|
IsSecondary | boolean |
None. |
|
IsActive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 1", "IsPrimary": true, "IsSecondary": true, "IsActive": true }, { "Id": 1, "Name": "sample string 1", "IsPrimary": true, "IsSecondary": true, "IsActive": true } ]
application/xml, text/xml
Sample:
<ArrayOfRevenueCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Mindbody.Contracts.Products"> <RevenueCategory> <Delete>true</Delete> <EnterpriseLocked>true</EnterpriseLocked> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 1</Name> <ReferenceType>Color</ReferenceType> <Description>sample string 2</Description> <IsPrimary>true</IsPrimary> <IsSecondary>true</IsSecondary> <Service>true</Service> </RevenueCategory> <RevenueCategory> <Delete>true</Delete> <EnterpriseLocked>true</EnterpriseLocked> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 1</Name> <ReferenceType>Color</ReferenceType> <Description>sample string 2</Description> <IsPrimary>true</IsPrimary> <IsSecondary>true</IsSecondary> <Service>true</Service> </RevenueCategory> </ArrayOfRevenueCategory>
multipart/form-data
Sample:
<ArrayOfRevenueCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="Mindbody.Contracts.Products"><RevenueCategory><Delete>true</Delete><EnterpriseLocked>true</EnterpriseLocked><Id>1</Id><IsActive>true</IsActive><Name>sample string 1</Name><ReferenceType>Color</ReferenceType><Description>sample string 2</Description><IsPrimary>true</IsPrimary><IsSecondary>true</IsSecondary><Service>true</Service></RevenueCategory><RevenueCategory><Delete>true</Delete><EnterpriseLocked>true</EnterpriseLocked><Id>1</Id><IsActive>true</IsActive><Name>sample string 1</Name><ReferenceType>Color</ReferenceType><Description>sample string 2</Description><IsPrimary>true</IsPrimary><IsSecondary>true</IsSecondary><Service>true</Service></RevenueCategory></ArrayOfRevenueCategory>