Call GetOrderBaseInfo to obtain the basic information of a ticket.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes GetOrderBaseInfo

The operation that you want to perform. Set the value to GetOrderBaseInfo.

OrderId Long Yes 12345

The ID of the ticket.

Tid Long Yes -1

The ID of the tenant.

Note The tenant ID is taken from the avatar in the upper-right corner of the system. For more information, see Tenant ID and Tenant .
RegionId String No cn-hangzhou

Region-based API request parameters.

Response parameters

Parameter Type Example Description
ErrorCode String UnknownError

The error code.

ErrorMessage String UnknownError

The error message.

OrderBaseInfo Struct

The basic information about the ticket.

Comment String test

The description of the cluster.

Committer String xxx

The submitter.

CommitterId Long 1

The ID of the submitter. Note that it is not the Alibaba Cloud UID of the submitter.

CreateTime String 2019-10-10 00:00:00

The time when the ticket was created.

LastModifyTime String 2019-10-10 00:00:00

The time when the ticket was last modified.

OrderId Long 12345

The ticket ID.

PluginType String DC_COMMON

The type of the ticket. For the valid values and descriptions, see the corresponding parameter description of the CreateOrder operation.

RelatedUserList List 1,2,3

The list of industrial single-phase account IDs.

RelatedUserNickList List a,b,c

The nickname list of the worker single-phase account.

StatusCode String success

The ticket status code. The values and descriptions are as follows:

  • new: new
  • toaudit: under approval
  • approved: The application has been approved.
  • reject: approval denied
  • processing: being executed
  • success: execution successful
  • closed: closed
StatusDesc String success

The status description.

WorkflowInstanceId Long 1

The ID of the approval flow.

WorkflowStatusDesc String approved

The approval description.

RequestId String 7133DF67-5B25-460F-8285-C4CC93472C2F

The ID of the request.

Success Boolean true

Indicates whether the request is successful.

Examples

Sample requests


     http(s)://[Endpoint]/? Action=GetOrderBaseInfo &OrderId=12345 &Tid=-1 &<common request parameters> 
   

Sample success responses

XML format


     <OrderBaseInfo> <Comment>test</Comment> <CreateTime>2019-10-10 00:00:00</CreateTime> <LastModifyTime>2019-10-10 00:00:00</LastModifyTime> <OrderId>12345</OrderId> <CommitterId>1</CommitterId> <PluginType>DC_COMMON</PluginType> <StatusCode>success</StatusCode> <RelatedUserNickList> <UserNicks>a,b,c</UserNicks> </RelatedUserNickList> <StatusDesc>success</StatusDesc> <WorkflowStatusDesc>approved</WorkflowStatusDesc> <WorkflowInstanceId>1</WorkflowInstanceId> <Committer>xxx</Committer> <RelatedUserList> <UserIds>1,2,3</UserIds> </RelatedUserList> </OrderBaseInfo> <RequestId>7133DF67-5B25-460F-8285-C4CC93472C2F</RequestId> <ErrorCode>UnknownError</ErrorCode> <ErrorMessage>UnknownError</ErrorMessage> <Success>true</Success> 
   

JSON Format


     {"OrderBaseInfo":{"Comment":"test","CreateTime":"2019-10-10 00:00:00","LastModifyTime":"2019-10-10 00:00:00","OrderId":"12345","CommitterId":"1","PluginType":"DC_COMMON","StatusCode":"success","RelatedUserNickList":{"UserNicks":"a,b,c"},"StatusDesc":"success","WorkflowStatusDesc":"approved","WorkflowInstanceId":"1","Committer":"xxx","RelatedUserList":{"UserIds":"1,2,3"}},"RequestId":"7133DF67-5B25-460F-8285-C4CC93472C2F","ErrorCode":"UnknownError","ErrorMessage":"UnknownError","Success":"true"} 
   

Error codes

Go to the Error Center For more information, see error codes.