• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

"userplan" MDO List

Some tooltip text!
• 1 minute to read
 • 1 minute to read

List provider for the UserPlan in the module license table. Returns all user plans except the one specified by additional-info "exclude_id"

Implemented by the UserPlanProvider class. The name of the MDO list is 'userplan'.

Additional Attributes

Description Name Example Value
Exclude the given user-plan by id exclude_id 1234

Sample Request

GET /api/v1/MDOList/userplan
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: *

Sample Code

var listProvider = SuperOffice.CRM.Lists.SoListProviderFactory.Create("userplan", forceFlatList: true);
foreach (var item in listProvider.RootItems) {
    Console.WriteLine("{0} {1} {2} {3}", 
         item.Id, ResourceManager.ParseInlineResources(item.Name), item.StyleHint, item.ExtraInfo);
}

Sample Output

Id Name StyleHint ExtraInfo
79 (No Selection) superlicense-no-selection
124 Sales Premium ten-sales
129 Service Premium ten-service
131 Marketing Premium ten-marketing
132 SalesPremiumServicePremiumMarketingPremium ten-salesservicemarketing

Related MDO Lists

  • "userplanheadings"
  • "userplanheadingswithallitem"
  • "userplanheadingswithallitemwithnoselection"
  • "userplanheadingswithnoselection"
  • "userplanwithallitem"
  • "userplanwithallitemwithnoselection"
  • "userplanwithnoselection"
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top