Ansicht von 1 Antwort-Thema
Ansicht von 1 Antwort-Thema
- Das Thema „ Web Services – Ticket::TicketSearch – 500 error no return data – bitte hilfe“ ist für neue Antworten geschlossen.
Schlagwörter: api
Hallo zusammen,
sorry my Deutsche sprache grosse problem.
My admin create operation TicketGet and I wrote Python script – everything is ok. Success!
I use this code:
import requests
url = "https://our_server/otobo/nph-genericinterface.pl/Webservice/getotrs/TicketGet/2163024"
payload = {
"UserLogin": "username",
"Password": "mypass",
"AllArticles": "1",
"Attachments": "1",
}
response = requests.get(url, params=payload, verify=False)
perfecto, numero uno! Server return information…
My admin created new operation with name TicketSearch and I use this code
url = "https://our_server/otobo/nph-genericinterface.pl/Webservice/getotrs/TicketSearch"
payload = {
"UserLogin": "username",
"Password": "mypass",
"Data": { "TicketNumber": "2163024" }
}
response = requests.get(url, params=payload, verify=False)
But i get error 500: HTTP::REST Error while determine Operation for request URI ‚/TicketSearch‘.
Please, bitte, can you help me?
I am not able change setting, but my admin is good Boy. But he is very busy.
Is it something special in setting, or I have error in my code?
Thank you for your help
Ivo
solved … was wrong setting for routing
everything is ok
OTOBO | Empower Service Excellence to Make People Smile.
Die Source Code Owner und Maintainer hinter OTOBO.
Service Management-Plattform
OTOBO Demo
OTOBO Download
OTOBO Dokumentation
Security-Problem melden:
security@otobo.org