Management API
Product
Retrieve Product
1min
Retrieve a single product if requesting manager has access permissions to it.
URL: /api/v1/products/{id}/
Method: GET
Code: 200 OK
Content Examples:
JSON
1{
2 "id": 1584723961091234,
3 "upgrade_from": [],
4 "product_features": [
5 {
6 "id": 171,
7 "created_at": "2020-08-26T05:36:46Z",
8 "updated_at": "2020-08-26T05:36:46Z",
9 "name": "Feature 1",
10 "code": "f1",
11 "is_deleted": false,
12 "feature_type": "activation",
13 "max_consumption": 0,
14 "allow_overages": false,
15 "max_overages": 0,
16 "reset_consumption": false,
17 "consumption_period": null,
18 "metadata": {},
19 },
20 {
21 "id": 172,
22 "created_at": "2020-08-26T05:37:14Z",
23 "updated_at": "2020-08-26T05:37:14Z",
24 "name": "Feature 2",
25 "code": "f2",
26 "is_deleted": false,
27 "feature_type": "consumption",
28 "max_consumption": 20,
29 "allow_overages": false,
30 "max_overages": 0,
31 "reset_consumption": false,
32 "consumption_period": null,
33 "metadata": {},
34 }
35 ],
36 "custom_fields": [
37 {
38 "id": 51,
39 "name": "Some key",
40 "data_type": null,
41 "default_value": "1234",
42 "description": null
43 },
44 {
45 "id": 60,
46 "name": "test_name",
47 "data_type": null,
48 "default_value": "123",
49 "description": null
50 },
51 {
52 "id": 61,
53 "name": "Key with space",
54 "data_type": null,
55 "default_value": "123",
56 "description": null
57 }
58 ],
59 "installation_files": [
60 {
61 "id": 733282,
62 "created_at": "2020-10-13T09:15:22Z",
63 "updated_at": "2020-10-13T09:15:22Z",
64 "version": "0.1",
65 "full_link": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
66 "filename": "dummy.pdf",
67 "release_date": "2020-10-09",
68 "enabled": true,
69 "hash_md5": "",
70 "environment": "linux"
71 },
72 {
73 "id": 733283,
74 "created_at": "2020-10-13T09:15:52Z",
75 "updated_at": "2020-10-13T09:15:52Z",
76 "version": "0.2",
77 "full_link": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
78 "filename": "dummy.pdf",
79 "release_date": "2020-10-10",
80 "enabled": true,
81 "hash_md5": "sonotahash",
82 "environment": "linux"
83 }
84 ],
85 "created_at": "2020-07-03T13:05:25Z",
86 "updated_at": "2020-07-07T12:35:05Z",
87 "product_name": "mch",
88 "short_code": "mch",
89 "active": true,
90 "valid_duration": "",
91 "allow_trial": false,
92 "trial_days": 0,
93 "max_activations": 1,
94 "hardware_id_required": false,
95 "is_upgrade": false,
96 "subscription_duration": "",
97 "enable_maintenance_period": false,
98 "maintenance_duration": "",
99 "is_floating": true,
100 "is_floating_cloud": false,
101 "floating_users": 12,
102 "floating_timeout": 120,
103 "default_license_type": "perpetual",
104 "is_user_locked": false,
105 "is_node_locked": true,
106 "max_consumptions": 1,
107 "authorization_method": "user",
108 "prevent_vm": false,
109 "allow_overages": false,
110 "max_overages": 0,
111 "reset_consumption": false,
112 "consumption_period": null,
113 "is_archived": false,
114 "metadata": {},
115 "company": 277
116}
Updated 05 Sep 2023
Did this page help you?