AlphaAlpha Docs
API ReferencePortal tickets

Create ticket from portal

POST
/portal/tickets
AuthorizationBearer <token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/portal/tickets" \  -F data="{    \"description\": \"string\",    \"subject\": \"string\"  }"
{
  "attachments": [
    {
      "blobId": "string",
      "created": "2019-08-24T14:15:22Z",
      "extension": "string",
      "fileSize": 0,
      "name": "string",
      "type": "IMAGE"
    }
  ],
  "category": "string",
  "created": "2019-08-24T14:15:22Z",
  "description": "string",
  "elapsedMinutes": 0,
  "id": "string",
  "messages": [
    {
      "attachments": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "content": "string",
      "createdAt": "2019-08-24T14:15:22Z",
      "emailReadAt": "2019-08-24T14:15:22Z",
      "emailTrackingId": "string",
      "id": "string",
      "internal": true,
      "senderId": "string",
      "senderName": "string",
      "senderType": "CLIENT"
    }
  ],
  "priority": "LOW",
  "status": "string",
  "subject": "string",
  "ticketNumber": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}