View Plans
Select
SaaS
Customer Managed
This operation returns a list of plans.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
plans object[]
description stringrestrictions integertype integerplanStatusFlag integernumDevices integersubtype integernumUsers integerpermissions object[]
permissionId integerplanOwner object
_type_ integeruserName stringuserId integerplan object
planSubtype integer_type_ integerplanType integerplanName stringplanId integer
{
"plans": [
{
"description": "string",
"restrictions": 0,
"type": 0,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 0,
"numUsers": 0,
"permissions": [
{
"permissionId": 0
}
],
"planOwner": {
"_type_": 0,
"userName": "string",
"userId": 0
},
"plan": {
"planSubtype": 0,
"_type_": 0,
"planType": 0,
"planName": "string",
"planId": 0
}
}
]
}
{
"plans": [
{
"description": "Laptop plan",
"restrictions": 0,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554439,
"numUsers": 1,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554439,
"_type_": 158,
"planType": 2,
"planName": "Laptop plan",
"planId": 1
}
},
{
"description": "Server plan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "4e7caf14-70ac-446c-8114-4c05c175674a",
"planId": 8
}
},
{
"description": "Server plan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "4f00c47b-4eb9-4230-9bbc-4f4e04662250",
"planId": 9
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "NewServerPlan",
"planId": 12
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "4f9c986b-c034-439c-94bb-7fa485e81807-Updated2",
"planId": 13
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "4304759e-ac1f-4d82-8879-abe6cadfb732",
"planId": 14
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "Updated Plan Name",
"planId": 16
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "Updated Plan Name5",
"planId": 17
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "b3e42681-1f05-47d8-8a19-UpdatedName",
"planId": 18
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "896fe6d6-999a-45b0-ac50-f8e706368219",
"planId": 19
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 0,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "43e93fc9-a4d8-4fe7-be04-e11dd10449fb",
"planId": 20
}
},
{
"description": "NewServerPlan",
"restrictions": 1,
"type": 2,
"planStatusFlag": 0,
"numDevices": 1,
"subtype": 33554437,
"numUsers": 0,
"permissions": [
{
"permissionId": 31
},
{
"permissionId": 157
},
{
"permissionId": 158
},
{
"permissionId": 159
}
],
"planOwner": {
"_type_": 13,
"userName": "Administrator",
"userId": 1
},
"plan": {
"planSubtype": 33554437,
"_type_": 158,
"planType": 2,
"planName": "074e2d56-67f0-403e-893c-4a691eaa3cd6",
"planId": 21
}
}
]
}
Loading...