Schlagwörter: User
-
AutorBeiträge
-
-
1. August 2024 um 21:29 Uhr - Views: 177 #31791
OTOBO version: 10.1
OTOBO installation type: apache 2I’m using postman to call OTOBO webservices and it responds:
{
„Error“: {
„ErrorCode“: „TicketCreate.AuthFail“,
„ErrorMessage“: „TicketCreate: User could not be authenticated!“
}
}Request :
url : https://tickets.consejocaba.org.ar/otobo/nph-genericinterface.pl/Webservice/ws1/TicketCreate
{
„UserLogin“: „ignecco“,
„Password“: „xxxxx“,
„Ticket“: {
„Title“: „created by Webservice request“,
„QueueID“: 5,
„CustomerUser“: „CustomerUser“,
„State“: „new“,
„PriorityID“: 1
},
„Article“: {
„CommunicationChannel“: „Email“,
„From“: „test@test.de“,
„Subject“: „Webservice Create Example“,
„Body“: „This was created by a Webservice request!“,
„ContentType“: „text/html charset=utf-8“
}
}Is this user to be used a special service user or what user is it?
I used my user with which I access the OTOBO system for front-end use, and that one doesn’t work for me for postman -
2. August 2024 um 10:57 Uhr #31798
Hi Ivan,
here a Postman example:
Post: http://hostname/otobo/nph-genericinterface.pl/Webservice/TicketCreate/TicketCreate
{
„UserLogin“:“webservice“,
„Password“:“webservice“,
„Ticket“:{
„Title“:“Helpdesk my text“,
„QueueID“:“10″,
„LockID“:“1″,
„TypeID“:“4″,
„ServiceID“:““,
„SLAID“:““,
„StateID“:“4″,
„PriorityID“:“3″,
„CustomerUser“:“my_customer_user_email_adress@test.de“
},
„Article“:{
„ArticleTypeID“:“8″,
„SenderTypeID“:“1″,
„From“:“marcel.graf@erf24.de“,
„Subject“:“Helpdesk my text“,
„Body“:“Hallo IT-Support,<br /><br />bitte das Kennwort zurücksetzen.<br /><br /> Danke“,
„ContentType“:““,
„MimeType“:“text/html“,
„Charset“:“UTF8″
}
}Greetings,
Marcel
-
Diese Antwort wurde vor 8 Monaten, 4 Wochen von
marcel-graf geändert.
-
2. August 2024 um 11:47 Uhr #31800
and the Webservice: (i used the Otobo Version 11.0.3)
—
Debugger:
DebugThreshold: debug
TestMode: ‚0‘
Description: “
FrameworkVersion: 11.0.3
Provider:
Operation:
TicketCreate:
Description: “
IncludeTicketData: ‚0‘
MappingInbound:
Type: Simple
MappingOutbound:
Type: Simple
Type: Ticket::TicketCreate
Transport:
Config:
AdditionalHeaders: ~
KeepAlive: “
MaxLength: ‚10000000‘
RouteOperationMapping:
TicketCreate:
RequestMethod:
– POST
Route: /TicketCreate
Type: HTTP::REST
RemoteSystem: “
Requester:
Transport:
Type: “
-
Diese Antwort wurde vor 8 Monaten, 4 Wochen von
-
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.