Operations Management/Tenant Management (Plus)/Ticket Operations
POSTTicket OperationsSince 3.0.0SynchronousAuth Required
AddIAM2TicketFlow
AddIAM2TicketFlow
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
approverUuidStringRequired审批人UUID。
approverTitleStringOptional.
nameStringOptional. The resource name.
descriptionStringOptional. The detailed description of the resource.
collectionUuidStringRequired采集UUID。
parentFlowUuidStringOptional.
resourceUuidStringOptional.
systemTagsListOptional.
userTagsListOptional.
Responses
Endpoint
POST/zstack/v1/tickets/flow
/zstack/v1/tickets/flow
Request Example
curl -X POST 'http://{host}/zstack/v1/tickets/flow' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"approverUuid":"<approverUuid>","approverTitle":"<approverTitle>","name":"<name>","description":"<description>","collectionUuid":"<collectionUuid>","parentFlowUuid":"<parentFlowUuid>","resourceUuid":"<resourceUuid>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "f9b5298fc4d2429294513ffe340215c8", "name": "flow1", "description": "flow description", "parentFlowUuid": "4ca39493ec06407cb50fa92880f9bcbc", "flowContextType": "{\"approverUuid\":\"99a8ba4f86564f0787ab2c8b11bfadb0\"}", "createDate": "Dec 28, 2018 6:38:25 PM", "lastOpDate": "Dec 28, 2018 6:38:25 PM", "collectionUuid": "5d32a7a22ea645409dd7b12b5223f723" } }Change History
This API has no change history records yet.
