Help Center> Service Tickets> API Reference> Historical APIs> Querying Service Ticket Problem Type
Updated on 2022-07-15 GMT+08:00

Querying Service Ticket Problem Type

Function Description

Users can select the problem type when creating a service ticket.

URI

GET /v1.0/servicerequest/case/businesstype

Request

Request Parameters

Parameter

Mandatory

Type

Value Range

Description

productCategoryId

No

String

64

Indicates the product ID.

See Querying Service Ticket Related Product to get the ID.

Request Example

productCategoryId=xxx

Response Message

Response Parameters

Table 1 Response parameters

Parameter

Type

Description

totalCount

Integer

Specifies the total number of problem types.

businessTypeList

List<BusinessType>

Specifies the problem type list.

For details, see Table 2.

Table 2 businessTypeList field data structure

Parameter

Type

Description

businessTypeId

String

Specifies the problem type ID.

businessTypeName

String

Specifies the problem type name.

Example Response

{
    "totalCount": 13,
    "businessTypeList": [
        {
            "businessTypeId": "b6dc3d3bf7ef434fa3f23d79cfc41449",
            "businessTypeName": "Quota adjustment application"
        },
        {
            "businessTypeId": "9b1a349c3a2849a391d58c10f9dc55a1",
            "businessTypeName": "Consulting about renewal"
        },
        ...
    ]
}

Status Code

For details about status codes, see Status Codes.

Error Code

For details about error codes, see Historical Error Codes.