Schlagwörter: api
-
AutorBeiträge
-
-
6. Februar 2023 um 21:16 Uhr - Views: 754 #14660
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 requestsurl = "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
-
7. Februar 2023 um 12:16 Uhr #14665
solved … was wrong setting for routing
everything is ok
-
-
AutorBeiträge
- Das Thema „ Web Services – Ticket::TicketSearch – 500 error no return data – bitte hilfe“ ist für neue Antworten geschlossen.
