Documentation generated
at 04.02.2023 23:29:05

Client Tickets

List support tickets
GET client/tickets
read

Returns a list of support ticket requests

Response-Params

Feld Datentyp Beschreibung
id The ticket ID
subject The ticket subject
generic_cat The ticket category
status The internal ticket status label
pending-support-reply boolean Whether the ticket is in awaiting support reply
pending-customer-reply boolean Whether the ticket is in awaiting customer reply
active boolean Whether the ticket is active
urgency The tickets urgency. Can be low, normal or high.
message The tickets message
last_reply object[] The tickets last reply date time
last_reply[].supporter Name of the supporter or client replying
last_reply[].client boolean Whether this reply was made by the client
last_reply[].message The reply message
last_reply[].date The reply date and time
replies The total number of replies on this ticket
last_reply_diff_for_humans Last reply date in human readable format
curl -X GET \
-G 'https://api.pph.sh/client/tickets' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": [
        {
            "id": 56491,
            "date": "2022-10-11T17:02:29.000000Z",
            "subject": "12345678978978945645613",
            "client_name": "Dennis Ziolkowski",
            "generic_cat": "Allgemein",
            "status": "Beantwortet",
            "pending-support-reply": false,
            "pending-customer-reply": true,
            "active": true,
            "urgency": "Low",
            "message": "                    DB::connection("whmcs")->table('tbltickets')->where('tid', $response['result']->tid)->update(['service' => $service]);\r\n\nJa, ich erlaube der Henrik Kramer e. K. (Prepaid-Hoster) auf meinen Server zuzugreifen [...]\n",
            "last_reply": "2022-11-20T00:49:57.000000Z",
            "replies": 5,
            "latest_reply": {
                "supporter": "Nathalie v. d. Forst",
                "client": false,
                "message": "Moin Dennis Ziolkowski,\r\nvielen Dank f\u00fcr Ihre Anfrage.\r\n\r\nTest 12309\u00df327 1\u00df0 4372189 43798102 31\r\n\r\nMit freundlichen Gr\u00fc\u00dfen\r\n\r\nNathalie von der Forst\r\nSupport\r\n\r\nHenrik Kramer e. K.\r\nKurpromenade 48\r\n23743 Gr\u00f6mitz",
                "date": "2022-11-20T00:49:57.000000Z"
            },
            "last_reply_diff_for_humans": "vor 14 Stunden"
        }
    ]
}
client/tickets/feedback
GET client/tickets/feedback
read
curl -X GET \
-G 'https://api.pph.sh/client/tickets/feedback' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
client/tickets/feedback/{ticket_id}
POST client/tickets/feedback/:ticket_id
curl -X POST \
-G 'https://api.pph.sh/client/tickets/feedback/<ticket_id>' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq