Updated on 2022-10-13 GMT+08:00
Creating a Service Ticket

Creating a Service Ticket

Function Description

Users can submit a service ticket when encountering problems or in need of help during use of HUAWEI CLOUD products.

URI

POST /v1.0/servicerequest/case

Request

Request Parameters

Table 1 describes the request parameters.
Table 1 Parameter description

Parameter

Mandatory

Type

Value Range

Description

subTypeId

No

String

64

ID of the product related to the problem.

Refer to Querying Service Ticket Related Product to obtain the ID of the product related to the problem.

productCategoryId

No

String

64

Product type ID.

Refer to Querying Service Ticket Related Product to obtain the product type ID.

businessTypeId

Yes

String

64

Service ticket problem type ID.

Refer to Querying Service Ticket Problem Type to obtain the service ticket problem type ID.

regionId

No

String

64

Region ID.

Refer to Querying Regions to obtain the region ID.

simpleDescribe

No

String

1200

Description of the problem regarding the service ticket.

sourceId

Yes

String

32

Service ticket source ID.

The default value is 83aeb0f2834c4df49826c781d32a963e.

isAuthorized

No

Integer

-

Whether it is authorized or not

0: Not authorized

1: Authorized

authorizationContent

No

String

400

Authorization information.

For example, passwords of the console account and the ECS account.

remindMobile

No

String

32

Mobile phone number to which the service ticket handling progress notification is sent.

remindMail

No

String

128

Email address to which the service ticket handling progress notification is sent.

accessoryIds

No

List<String>

-

Attachment ID list. A maximum of one ID is allowed.

For details, see Uploading an Attachment.

Request Example
{
    "subTypeId": "0",
    "productCategory": "69af625c1be54800b58ac4bae4870c90",
    "businessTypeId": "5efc9f47ace944bfafd054161409f15b",
    "regionId": "cn-north-1",
    "simpleDescribe": "test",
    "sourceId": "83aeb0f2834c4df49826c781d32a963e",
    "isAuthorized": 0,
    "authorizationContent": "test",  
    "remindMobile": "",
    "remindMail": "",
    "accessoryIds": []
}

Response Message

None

Status Code

For details about status codes, see Status Codes.

Error Code

For details about error codes, see Historical Error Codes.