BizKitHub
DokumentacjaEksplorator APISupport/api/v1/support/my-reported-issue-list
getSupportPubliczne API v1

/api/v1/support/my-reported-issue-list

Tickets where the caller (contact behind identityId) is the reporter, in the shape of /support/my-issue-list (assignedToMe is always false, branchSlug included). Spam is excluded. Use GET /support/issue/{externalId} for the customer-facing detail. Requires a valid identityId (401 otherwise).

supportgetApiV1SupportMy-reported-issue-list

Parametry

7 w query

Parametry query

· 7
apiKeystringWymagane

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

PrzykładPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
identityIdstringOpcjonalne

Logged user identity (from your frontend cookies). Learn more

PrzykładZ9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg
statusCategoryCodestring | string[]Opcjonalne

Status category filter: new, progress, waiting, done. Repeat the parameter or pass a comma-separated list. Default: all.

Przykładnew,progress
closedSinceDaysstring | integerOpcjonalne

Closed (done) tickets are listed only when their last activity is at most this many days old. 0 = none.

Zakres: 0–365Domyślnie: 90
Przykład90
pagestring | integerOpcjonalne
Zakres: 1–∞Domyślnie: 1
Przykład1
limitstring | integerOpcjonalne
Zakres: 1–100Domyślnie: 50
Przykład50
localestringOpcjonalne

Language of statusLabel. Default: the ticket language, then the organisation language.

Długość: 0–5
Przykładcs

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
success"true"Wymagane
itemCountnumberWymagane
itemsobject[]Wymagane
Każdy element tablicy:
externalIdstringWymagane
PrzykładQr0MZ0vYnp8xMYgs
issueKeystringWymagane
PrzykładGYMRO-844
subjectstringWymagane
previewstringWymagane

First ~220 characters of the description as plain text (no HTML, no markdown).

statusCategoryCode"new" | "progress" | "waiting" | "done"Wymagane
statusLabelstringWymagane
PrzykładNový
branchSlugstring | nullWymagane
Przykładplzen-skvrnany
reporterDisplayNamestringWymagane
PrzykładJana Nováková
assignedToMebooleanWymagane

Accessible through rule A (assigned to the caller).

waitsForReplybooleanWymagane

Not done and the last customer-visible message (description, inbound mail, portal reply) is from the customer.

lastCommentIdstring | nullWymagane

Id of the last customer-visible comment (ISSUEKEY_c<n>), null when there is none. Pass it to /my-issue-reply.

PrzykładGYMRO-844_c1267
insertedDatestringWymagane

ISO timestamp.

lastActivityDatestringWymagane

ISO timestamp of the last update or customer-visible message.

Przykład odpowiedzi

application/json
{
  "success": true,
  "itemCount": 0,
  "items": [
    {
      "externalId": "Qr0MZ0vYnp8xMYgs",
      "issueKey": "GYMRO-844",
      "subject": "example_subject",
      "preview": "example_preview",
      "statusLabel": "Nový",
      "branchSlug": "plzen-skvrnany",
      "reporterDisplayName": "Jana Nováková",
      "assignedToMe": false,
      "waitsForReply": false,
      "lastCommentId": "GYMRO-844_c1267",
      "insertedDate": "example_insertedDate",
      "lastActivityDate": "example_lastActivityDate"
    }
  ]
}

Przykład żądania

GET /api/v1/support/my-reported-issue-list

get
curl -X GET "https://api.bizkithub.com/api/v1/support/my-reported-issue-list?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE&identityId=Z9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg&statusCategoryCode=new%2Cprogress&closedSinceDays=90&page=1&limit=50&locale=cs" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API