OTRS ignores the body of the POST/PUT request while working with REST. Requests without body (GET, DELETE) work properly.
Error:
{"Error":{"ErrorCode":"TicketCreate.MissingParameter","ErrorMessage":"TicketCreate: Ticket parameter is missing or not valid!"}}
REST Config:
---
Code: Select all
Debugger:
DebugThreshold: debug
TestMode: '0'
Description: ''
FrameworkVersion: 4.0.6
Provider:
Operation:
Create:
Description: ''
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketCreate
Find:
Description: ''
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketSearch
Read:
Description: ''
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketGet
Transport:
Config:
KeepAlive: ''
MaxLength: '100000000'
RouteOperationMapping:
Create:
RequestMethod:
- POST
Route: /Ticket
Find:
RequestMethod:
- GET
Route: /Ticket
Read:
RequestMethod:
- GET
Route: /Ticket/:TicketID
Type: HTTP::REST
RemoteSystem: ''
Requester:
Transport:
Type: ''