All Products
Search
Document Center

Managed Security Service:CreateServiceWorkOrder

Last Updated:Sep 09, 2026

Creates a service ticket.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-mss:CreateServiceWorkOrder

create

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

WorkOrderName

string

Yes

The name of the ticket.

安全月报交付任务

WorkOrderType

string

Yes

The type of the ticket.

Valid values:

  • YEAR_MEETING :

    annual meeting.

  • SYSTEM_VULNERABILITY_SCAN :

    scanner vulnerability scan.

  • RISK_BRIEFING :

    risk briefing.

  • SUMMARY_REPORT :

    summary report.

  • DING_TALK_CUSTOMER :

    DingTalk customer consultation.

  • MONTH_REPORT :

    monthly report.

  • YEAR_REPORT :

    annual report.

  • OTHER_REPORTS :

    other reports.

  • PLATFORM_VULNERABILITY_MONITOR :

    vulnerability inspection and monitoring.

  • PROJECT_PLAN :

    project plan.

  • PROJECT_SUMMARY_MEETING :

    project summary meeting.

  • SYSTEM_SECURITY_ACCESS :

    security assessment.

  • PROJECT_QUARTERLY_MEETING :

    project quarterly meeting.

  • LARGE_SCREEN :

    security dashboard.

  • USER_SURVEY :

    user survey.

  • CUSTOMER_VIEW :

    customer follow-up.

  • MANUAL :

    manual operation.

  • RISK_NOTIFY :

    risk notification.

  • QUARTERLY_REPORT :

    quarterly report.

  • YUNDUN_VULNERABILITY_SCAN :

    Security Center vulnerability scan.

  • PROJECT_LAUNCH_MEETING :

    project launch meeting.

MONTH_REPORT

WorkOrderSource

string

Yes

The source of the ticket.

工单迁移

WorkOrderStatus

string

Yes

The status of the ticket.

Valid values:

  • UNPROCESSED :

    pending.

  • PROCESSING :

    processing.

  • BACK :

    returned.

  • PROCESSED :

    completed.

  • INVALID :

    false positive.

  • IGNORED :

    ignored.

UNPROCESSED

CustomerId

string

Yes

The ID of the customer.

1477832102462645

StartTime

integer

Yes

The start time.

1734788109000

Operator

string

Yes

The operator.

426556

OperateType

string

Yes

The type of the operation.

CREATE

OperateRemark

string

Yes

The remarks for the operation.

新建

WorkOrderDetail

string

Yes

The details of the ticket.

{"questionDetail":"测试工单","answerDetail":""}

DurationDay

string

Yes

The duration in days.

5

IsAttachment

string

Yes

The attachment requirement.

Valid values:

  • Y :

    yes.

  • N :

    no.

Y

IsWorkOrderNotify

string

Yes

Specifies whether a reminder notification is required.

Valid values:

  • Y :

    yes.

  • N :

    no.

Y

NotifyDay

string

No

The number of days in advance to send a reminder notification.

5

Creator

string

Yes

The creator of the ticket.

426556

NotifyId

integer

No

The ID of the notification.

10

IsMilestone

string

No

Specifies whether this is a milestone.

Valid values:

  • Y :

    yes.

  • N :

    no.

Y

Priority

integer

No

Response elements

Element

Type

Description

Example

object

The response.

Data

object

The data returned by the operation.

Id

integer

The primary key.

1978941

CreateTime

integer

The creation time.

1734788109000

WorkOrderName

string

The name of the ticket.

安全月报交付任务

WorkOrderType

string

The type of the ticket.

MONTH_REPORT

WorkOrderSource

string

The source of the ticket.

工单迁移

CustomerId

string

The ID of the customer.

1477832102462645

StartTime

integer

The start time.

1734788109000

EndTime

integer

The end time.

1734788109000

CompleteTime

integer

The completion time.

1734788109000

WorkOrderStatus

string

The status of the ticket.

UNPROCESSED

OwnerId

string

The owner.

426556

WorkOrderDetail

string

The details of the ticket.

{"questionDetail":"测试工单","answerDetail":""}

Creator

string

The creator of the ticket.

426556

RequestId

string

The request ID.

7DC44321-7AAE-51CD-8E5F-CEB968569042

Code

string

The status code of the operation.

200

Message

string

The message returned for the result.

successful

HttpStatusCode

integer

The HTTP status code.

200

Success

boolean

Indicates whether the call was successful. Valid values:

  • true: The call was successful.

  • false: The call failed.

true

Examples

Success response

JSON format

{
  "Data": {
    "Id": 1978941,
    "CreateTime": 1734788109000,
    "WorkOrderName": "安全月报交付任务",
    "WorkOrderType": "MONTH_REPORT",
    "WorkOrderSource": "工单迁移",
    "CustomerId": "1477832102462645",
    "StartTime": 1734788109000,
    "EndTime": 1734788109000,
    "CompleteTime": 1734788109000,
    "WorkOrderStatus": "UNPROCESSED",
    "OwnerId": "426556",
    "WorkOrderDetail": "{\"questionDetail\":\"测试工单\",\"answerDetail\":\"\"}\n",
    "Creator": "426556"
  },
  "RequestId": "7DC44321-7AAE-51CD-8E5F-CEB968569042",
  "Code": "200",
  "Message": "successful",
  "HttpStatusCode": 200,
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.