otrs 시스템에서 티켓을 만들려고하지만 여전히 301 : Moved Permanetly를 반환합니다. OTRS 5 무료를 사용하고 있습니다.일반 인터페이스를 통해 otrs 티켓을 만들 수 없습니다.
내 요청 URI : https://some.domain.com/nph-genericinterface.pl/Webservice/GenericTicketREST/Ticket
그리고 메시지 본문 :
{
"UserLogin": "mbar",
"Password": "*****",
"Ticket" :
{
"Title": "raz dwa trzy",
"Queue": "Raw",
"Lock": "unlock",
"Type": "Unclassified",
"State": "new",
"Priority": "3 normal",
"Owner": "mbar",
"CustomerUser": "mbar"
},
"Article":
{
"Subject" : "jakiś temat",
"Body" : "test test tes test",
"ContentType": "text/plain; charset=utf8"
}
}
이 내 서비스 설정입니다 :
이---
Debugger:
DebugThreshold: debug
TestMode: '0'
Description: Ticket Connector REST Sample
FrameworkVersion: 4.x git
Provider:
Operation:
SessionCreate:
Description: Creates a Session
MappingInbound: {}
MappingOutbound: {}
Type: Session::SessionCreate
TicketCreate:
Description: Creates a Ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketCreate
TicketGet:
Description: Retrieves Ticket data
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketGet
TicketSearch:
Description: Search for Tickets
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketSearch
TicketUpdate:
Description: Updates a Ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketUpdate
Transport:
Config:
KeepAlive: ''
MaxLength: '100000000'
RouteOperationMapping:
SessionCreate:
RequestMethod:
- POST
Route: /Session
TicketCreate:
RequestMethod:
- POST
Route: /Ticket
TicketGet:
RequestMethod:
- GET
Route: /Ticket/:TicketID
TicketSearch:
RequestMethod:
- GET
Route: /Ticket
TicketUpdate:
RequestMethod:
- PATCH
Route: /Ticket/:TicketID
Type: HTTP::REST
RemoteSystem: ''
Requester:
Transport:
Type: ''
당신이 날이 문제를 해결하는 데 도움이 수 있습니까?