id-of-tickets-post
restish dci id-of-tickets-post
Creates a new support request
Request
Content-Type: application/json
Schema
{
"type": "object",
"x-cloudflow-labels": {
"ticket": "Ticket details"
},
"properties": {
"ticket": {
"type": "object",
"required": [
"body",
"platform",
"product",
"severity",
"subject"
],
"properties": {
"body": {
"type": "string",
"description": "The body of the ticket (can include html formatting)",
"x-cloudflow-format": "multiReference"
},
"created": {
"type": "string",
"description": "Ticket create time"
},
"platform": {
"type": "string",
"description": "Platform of the ticket",
"enum": [
"doit",
"google_cloud_platform",
"amazon_web_services",
"microsoft_azure"
]
},
"product": {
"type": "string",
"description": "Ticket product details"
},
"severity": {
"type": "string",
"description": "Ticket severity",
"enum": [
"low",
"normal",
"high",
"urgent"
],
"x-cloudflow-format": "noReference"
},
"subject": {
"type": "string",
"description": "The subject of the ticket."
}
}
}
},
"required": [
"ticket"
]
}
Responses
201 (application/json)
Created - New support request created.
{
"type": "object",
"properties": {
"created": {
"type": "integer",
"description": "ticket created time",
"format": "int64"
},
"id": {
"type": "integer",
"description": "ID",
"format": "int64"
},
"platform": {
"type": "string",
"description": "ticket platform",
"enum": [
"doit",
"google_cloud_platform",
"amazon_web_services",
"microsoft_azure"
]
},
"product": {
"type": "string",
"description": "ticket product"
},
"requester": {
"type": "string",
"description": "ticket platform",
"enum": [
"doit",
"google_cloud_platform",
"amazon_web_services",
"microsoft_azure"
]
},
"severity": {
"type": "string",
"description": "update Severity field",
"enum": [
"low",
"normal",
"high",
"urgent"
]
},
"status": {
"type": "string",
"description": "ticket status"
},
"subject": {
"type": "string",
"description": "ticket subject"
},
"urlUI": {
"type": "string",
"description": "ticket URL"
}
}
}
400 (application/json)
Bad Request - The server cannot process the request, often due to a malformed request.
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
401 (application/json)
Unauthorized - Invalid API key.
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
403 (application/json)
Forbidden - The client is not authorized to perform the request.
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
404 (application/json)
Not Found - The requested resource does not exist.
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
Aliases: id-of-tickets-post, idofticketspost