All Products
Search
Document Center

Ticket System API:CreateTicket

Last Updated:Jul 22, 2024

Creates a ticket.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DescriptionstringYes

The description of the ticket. Only pure text format is supported.

Why ECS backup failed?
SeverityintegerYes

Enumeration value, 1 for general problem, 2 for urgent problem

Enumeration values:

  • 1: regular.
  • 2: emergency.
1
CategoryIdstringYes

The ID of the problem category. You can obtain the returned value from the ListCategories operation by using the CategoryId parameter.

7161
TitlestringNo

The title of the ticket.

Why ECS backup failed?
CreatorIdstringNo

Submit the Alibaba Cloud UID of the account, which is required for the MPK virtual market scene.

1289427240739141
EmailstringNo

sdahkjdshga@qq.com

163@163.com
FileNameListarrayNo

The list of attachment names, GetAttachmentUploadUrl the ObjectKey field returned by the interface.

stringNo

The ObjectKey field returned by the GetAttachmentUploadUrl interface.

cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png
SecretInfoobjectNo

Sensitive information

ContentstringNo

Sensitive information-text content

ID:330102xxxxxx
FileNameListarrayNo

Sensitive Information-Attachment Name List

stringNo

The ObjectKey field returned by the GetAttachmentUploadUrl interface.

cabb80c3-430b-4079-a9f2-d2a0d1c2a587.png

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The return code of the request result.

0
Messagestring

The error message. If success is set to false, the message is returned.

success
Datastring

The return value is the work order number.

0005PYGCW
RequestIdstring

The unique ID of the API request. The requestID is unique for each call.

0254B7DE-7365-57B4-8E38-14FE927E3FEB
Successboolean

Indicates whether the call is successful. A value of true indicates that the call is normal.

True

Examples

Sample success responses

JSONformat

{
  "Code": 0,
  "Message": "success",
  "Data": "0005PYGCW",
  "RequestId": "0254B7DE-7365-57B4-8E38-14FE927E3FEB",
  "Success": true
}

Error codes

HTTP status codeError codeError messageDescription
400param.illegalParams illegal.-
401illegal.authYou are not authorized to perform the operation.You are not authorized to perform this operation.
500System.errorAn error occurred while processing your request.An error occurred while processing your request. Please try again.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history