English
English
简体中文
Contact Us
Register
Log In

Query Service Ticket Status

Last Updated on : 2022-04-07 05:43:36

Get all the status of service tickets.

API address

GET: /v1.0/iot-01/ticket/feedbacks/feedback-state

Return parameter

Parameter name Type Description
result List The returned result.

Description of result

Parameter name Type Description
state_name String The status name.
state_code String The status of service tickets. Valid values:
  • Finished: The service ticket is finished.
  • PendingUserFeedback: The user has not submitted a service ticket yet.
  • PendingUserConfirm: The service ticket is to be confirmed by the user.
  • Cancelled: The service ticket is cancelled.
  • Processing: The service ticket is being processed.
  • WaitingForDistribute: The service ticket is to be allocated.
  • Pending: The service ticket is pending for processing.

Request example

GET: /v1.0/iot-01/ticket/feedbacks/feedback-state

Return example

{ "result": [ { "state_name": "Finished", "state_code": "Finished" }, { "state_name": "To be submitted", "state_code": "PendingUserFeedback" }, { "state_name": "To be confirmed", "state_code": "PendingUserConfirm" }, { "state_name": "Cancelled", "state_code": "Cancelled" }, { "state_name": "Processing", "state_code": "Processing" }, { "state_name": "To be allocated", "state_code": "WaitingForDistribute" }, { "state_name": "Pending", "state_code": "Pending" } ], "t": 1638433860431, "success": true }

Error code

For more information, see error code.