Help Center/ Service Tickets/ API Reference/ Historical APIs/ Querying Service Ticket Related Product
Updated on 2022-07-15 GMT+08:00

Querying Service Ticket Related Product

Function Description

When submitting a service ticket, users can select the product type related to their problem.

URI

GET /v1.0/servicerequest/case/subtype

Request

Request Parameters

None

Request Example

None

Response Message

Response Parameters

Table 1 Response parameters

Parameter

Type

Description

totalCount

Integer

Specifies the total number of products related to the service ticket.

subTypeList

List<SubType>

Specifies the list of products related to the service ticket.

For details, see Table 2.

Table 2 subTypeList field data structure

Parameter

Type

Description

subTypeName

String

Specifies the problem related product. The options are service type or commodity type.

subTypeId

Integer

ID of the product related to the problem.

productCategoryList

List<ProductCategory>

Product information list.

For details, see Table 3.

Table 3 productCategoryList field data structure

Parameter

Type

Description

productCategoryId

String

Product type ID, such as the ID corresponding to ECS.

productCategoryName

String

Product type name, for example, ECS.

productCategoryDesc

String

Description of the product type.

  • Example Response
    {
        "totalCount": 13,
        "subTypeList": [
            {
                "subTypeName": "Infrastructure",
                "subTypeId": 1,
                "productCategoryList": [
                    {
                        "productCategoryId": "a51b98a1eb514f7c9c2509c92697ef76",
                        "productCategoryName": "Event",
                        "productCategoryDesc": "Problems related to event rules, event discounts, prize information, and public beta"
                    },
                    {
                        "productCategoryDesc": "f3b1735f70e542019510458583d9b55e",
                        "productCategoryName": "User account",
                        "productCategoryId": "Problems related to account registration, account information query, account modification, and account cancellation"
                    }
                ]
            },
            {
                "subTypeName": "Calculation",
                "subTypeId": 0,
                "productCategoryList": []
            }
        ]
    }

Status Code

For details about status codes, see Status Codes.

Error Code

For details about error codes, see Historical Error Codes.