BizKitHub
DokumentáciaPrieskumník APISupport/api/v1/support/my-reported-issue-list
getSupportVerejné 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

Parametre

7 v query

Parametre v query

· 7
apiKeystringPovinné

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

PríkladPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE
identityIdstringVoliteľné

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

PríkladZ9CPkS2o3UV163VQn5OUv0T8BQi8Fvdg
statusCategoryCodestring | string[]Voliteľné

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

Príkladnew,progress
closedSinceDaysstring | integerVoliteľné

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

Rozsah: 0–365Predvolené: 90
Príklad90
pagestring | integerVoliteľné
Rozsah: 1–∞Predvolené: 1
Príklad1
limitstring | integerVoliteľné
Rozsah: 1–100Predvolené: 50
Príklad50
localestringVoliteľné

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

Dĺžka: 0–5
Príkladcs

Schéma odpovede

1 zdokumentovaný stavový kód

200Úspech
success"true"Povinné
itemCountnumberPovinné
itemsobject[]Povinné
Každá položka poľa:
externalIdstringPovinné
PríkladQr0MZ0vYnp8xMYgs
issueKeystringPovinné
PríkladGYMRO-844
subjectstringPovinné
previewstringPovinné

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

statusCategoryCode"new" | "progress" | "waiting" | "done"Povinné
statusLabelstringPovinné
PríkladNový
branchSlugstring | nullPovinné
Príkladplzen-skvrnany
reporterDisplayNamestringPovinné
PríkladJana Nováková
assignedToMebooleanPovinné

Accessible through rule A (assigned to the caller).

waitsForReplybooleanPovinné

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

lastCommentIdstring | nullPovinné

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

PríkladGYMRO-844_c1267
insertedDatestringPovinné

ISO timestamp.

lastActivityDatestringPovinné

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

Ukážka odpovede

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"
    }
  ]
}

Ukážka požiadavky

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"

Potrebujete API kľúč?

Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.

Získať API kľúč