Die Antwort ist
api/journal?objectid={objectId}&start=0&count=0&objectlinktemplate=0&timeoffset=0
Die ObjectId ist die Id der Activity (GUID-Format).
Unklar ist mir noch objectlinktemplate, aber der Value 0 funktioniert. Start und Count sind selbsterklärend.
Search found 7 matches
- 17. Apr 2024, 16:57
- Forum: Hilfe und FAQ
- Topic: API: JournalEntries (GET)
- Replies: 2
- Views: 6370
- 28. Feb 2024, 13:27
- Forum: Hilfe und FAQ
- Topic: API: JournalEntries (GET)
- Replies: 2
- Views: 6370
Re: API: JournalEntries (GET)
Korrektur: noch offen, aber wahrscheinlich habe ich die falsche Route genutzt
- 08. Feb 2024, 17:12
- Forum: Hilfe und FAQ
- Topic: API: JournalEntries (GET)
- Replies: 2
- Views: 6370
API: JournalEntries (GET)
Hallo zusammen, Im Bereich JournalEntries ist mir die Doku etwas unklar: Operation Journal.AddJournalEntry mit Endpoint api/journal/add funktioniert. Operation Journal.GetJournalList mit Endpoint api/journal/null scheint mir deprecated. In den Details wird ein anderer Endpoint genannt (api/journal?o...
- 14. Jul 2023, 14:52
- Forum: Hilfe und FAQ
- Topic: Berechtigungen zum Erstellen von Tickets
- Replies: 2
- Views: 5068
Re: Berechtigungen zum Erstellen von Tickets
Hi Rico, danke für den Tipp! Im Bereich Administration -> Integration -> Web Services -> Endpoint api/ticket mussten wir bei "Show Audience" wurde "Available for Administrators" angezeigt. Hier musste man mit "Set Audience" noch den User hinzufügen, der dem API-Key zuge...
- 12. Jul 2023, 14:47
- Forum: Hilfe und FAQ
- Topic: Berechtigungen zum Erstellen von Tickets
- Replies: 2
- Views: 5068
Berechtigungen zum Erstellen von Tickets
Hallo zusammen, beim Erstellen von Tickets verwende ich folgendes PowerShell: $Json = @{ Creator = ($OwnerM42User.Id); Subject = $Subject; DescriptionHtml = $DescriptionHtml; User = ($UserM42User.Id); Priority = $PriorityValue; Urgency = $UrgencyValue; Impact = $ImpactValue; EntryBy = $EntryByValue;...
- 21. Apr 2023, 13:04
- Forum: General
- Topic: How to get attachments of a ticket by API
- Replies: 1
- Views: 7186
Re: How to get attachments of a ticket by API
It was my own stupidity:
{entity} is indeed the type name like SPSActivityTypeIncident, {objectId} is e.g. the ticket GUID, and {bindAttribute} was not necessary.
My fault was to use invoke-webrequest in PowerShell instead of Invok-RestMethod...
BR
Rolf
{entity} is indeed the type name like SPSActivityTypeIncident, {objectId} is e.g. the ticket GUID, and {bindAttribute} was not necessary.
My fault was to use invoke-webrequest in PowerShell instead of Invok-RestMethod...
BR
Rolf
- 21. Apr 2023, 11:29
- Forum: General
- Topic: How to get attachments of a ticket by API
- Replies: 1
- Views: 7186
How to get attachments of a ticket by API
Hello, I want to get all attachments of a ticket/incident/... Therefore I'm calling api/filestorage/{entity}/{objectid}/{bindattribute}?excludedfileids={excludedfileids} But I'm struggling with the parameters: {entity}: is this the name of the ticket/incident _type_? (e.g. 'SPSActivityTypeIncident')...