post

Create a new support ticket

This endpoint creates a new support ticket

networkstring

required

The network associated with the ticket

Min Length
1
Max Length
50
subjectstring

required

The subject of the ticket

Min Length
1
descriptionstring

required

The description of the ticket

Min Length
1
teamstring

required

Team to whom the ticket is assigned

Default
"CUSTOMER_SUPPORT"
Enum
  • CUSTOMER_SUPPORT
typestring

required

Type of the ticket

Default
"DRIVER_ASSISTANCE"
Enum
  • DRIVER_ASSISTANCE
  • FEATURE_REQUEST
  • INTEROPERABILITY_TESTING
  • ISSUE
  • STATION_COMMISSIONING
  • RATE_CHANGE_REQUEST
customerobject

required

Customer information for the ticket

emailstring

required

Format
email
Min Length
1
Max Length
100
firstNamestring
Min Length
1
Max Length
100
lastNamestring
Min Length
1
Max Length
100
phonestring
Format
phone
metadataobject

required

Additional metadata related to the ticket

serialNumberstring

required

Min Length
1

Responses

Request examples

{
  "network": "string",
  "subject": "string",
  "description": "string",
  "team": "CUSTOMER_SUPPORT",
  "type": "DRIVER_ASSISTANCE",
  "customer": {
    "email": "alice@example.com",
    "firstName": "string",
    "lastName": "string",
    "phone": "string"
  },
  "metadata": {
    "serialNumber": "string"
  }
}

Response examples

A new ticket has been created.

{
  "data": {
    "id": "string",
    "network": "string",
    "enrolled": true,
    "status": "open",
    "subject": "string",
    "description": "string",
    "team": "string",
    "type": "DRIVER_ASSISTANCE",
    "customer": {
      "email": "string",
      "firstName": "string",
      "lastName": "string",
      "phone": "string"
    },
    "metadata": {
      "serialNumber": "string"
    },
    "createdAt": "2023-06-07T17:32:28Z",
    "updatedAt": "2023-06-07T17:32:28Z"
  }
}

Was this page helpful?