GET v1/admin/company/{id}/MembershipProducts?sort={sort}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| sort |
A comma delimited list of columns to sort by. Field are sorted in ascending order by default. To have a field sort in descending order, preface it with the minus (-) sign. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of GetMembershipProductsOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| webName | string |
None. |
|
| isSubscription | boolean |
None. |
|
| retailPrice | decimal number |
None. |
|
| CurrencySymbol | string |
None. |
|
| hasComplexPricing |
If true, this indicates you must add the product to the cart in order to get an accurate price. |
boolean |
None. |
| defaultPrice | decimal number |
None. |
|
| defaultMemberPrice | decimal number |
None. |
|
| nonMemberPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"webName": "sample string 2",
"isSubscription": true,
"retailPrice": 4.0,
"CurrencySymbol": "sample string 5",
"hasComplexPricing": true,
"defaultPrice": 7.0,
"defaultMemberPrice": 8.0,
"nonMemberPrice": 9.0
},
{
"id": 1,
"webName": "sample string 2",
"isSubscription": true,
"retailPrice": 4.0,
"CurrencySymbol": "sample string 5",
"hasComplexPricing": true,
"defaultPrice": 7.0,
"defaultMemberPrice": 8.0,
"nonMemberPrice": 9.0
}
]
text/html
Sample:
[{"id":1,"webName":"sample string 2","isSubscription":true,"retailPrice":4.0,"CurrencySymbol":"sample string 5","hasComplexPricing":true,"defaultPrice":7.0,"defaultMemberPrice":8.0,"nonMemberPrice":9.0},{"id":1,"webName":"sample string 2","isSubscription":true,"retailPrice":4.0,"CurrencySymbol":"sample string 5","hasComplexPricing":true,"defaultPrice":7.0,"defaultMemberPrice":8.0,"nonMemberPrice":9.0}]
application/xml, text/xml
Sample:
<ArrayOfv1_Admin_CompanyEndpointController.GetMembershipProductsOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Admin_CompanyEndpoint">
<v1_Admin_CompanyEndpointController.GetMembershipProductsOutput>
<CurrencySymbol>sample string 5</CurrencySymbol>
<defaultMemberPrice>8</defaultMemberPrice>
<defaultPrice>7</defaultPrice>
<hasComplexPricing>true</hasComplexPricing>
<id>1</id>
<isSubscription>true</isSubscription>
<nonMemberPrice>9</nonMemberPrice>
<retailPrice>4</retailPrice>
<webName>sample string 2</webName>
</v1_Admin_CompanyEndpointController.GetMembershipProductsOutput>
<v1_Admin_CompanyEndpointController.GetMembershipProductsOutput>
<CurrencySymbol>sample string 5</CurrencySymbol>
<defaultMemberPrice>8</defaultMemberPrice>
<defaultPrice>7</defaultPrice>
<hasComplexPricing>true</hasComplexPricing>
<id>1</id>
<isSubscription>true</isSubscription>
<nonMemberPrice>9</nonMemberPrice>
<retailPrice>4</retailPrice>
<webName>sample string 2</webName>
</v1_Admin_CompanyEndpointController.GetMembershipProductsOutput>
</ArrayOfv1_Admin_CompanyEndpointController.GetMembershipProductsOutput>