Querying Tenant Capacity Notification Settings
Function
Query tenant capacity notification settings.
Calling Method
For details, see Calling APIs.
URI
GET /devreposerver/v5/capacity-notice/settings
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
status |
String |
Definition: Request status. Value range: success: The request is successful. error: The request fails. |
trace_id |
String |
Definition: Request ID, which uniquely identifies the current request. Value range: A string of digits and hyphens (-). |
result |
CapacitySettingVO object |
Definition: Information settings. Value range: N/A |
Parameter |
Type |
Description |
---|---|---|
capacity_threshold |
Integer |
Definition: Capacity threshold. Value range: N/A |
message_type |
Integer |
Definition: Message type. Value range: N/A |
is_mail_enabled |
Integer |
Definition: Email enabled or not. Value range: N/A |
is_sms_enabled |
Integer |
Definition: SMS messages enabled or not. Value range: N/A |
Example Requests
Query tenant capacity notification settings.
https://{URL}/devreposerver/v5/capacity-notice/settings
Example Responses
Status code: 200
OK
{ "status" : "success", "trace_id" : "4c1c7456e0f94b999dbe2e218081f317", "result" : { "capacity_threshold" : 100, "message_type" : 1, "is_mail_enabled" : 1, "is_sms_enabled" : 0 } }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot