How right include TransitionAction::TicketArticleCreate in configuration file. Thanks
Code: Select all
---
Debugger:
DebugThreshold: debug
TestMode: '0'
Description: Ticket Connector REST Sample
FrameworkVersion: 3.4.x git
Provider:
Operation:
TicketGet:
Description: Retrieves Ticket data
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketGet
TicketSearch:
Description: Search for Tickets
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketSearch
Transport:
Config:
KeepAlive: ''
MaxLength: '100000000'
RouteOperationMapping:
// add routing
TicketArticleCreate:
RequestMethod:
- POST
Route: /TicketArticleCreate
TicketGet:
RequestMethod:
- GET
Route: /Ticket/:TicketID
TicketSearch:
RequestMethod:
- GET
Route: /Ticket
Type: HTTP::REST
RemoteSystem: ''
// this I add new method
System:
ProcessManagement:
TransitionAction:
TicketArticleCreate:
Description: Search for Tickets
MappingInbound: {}
MappingOutbound: {}
Type: TransitionAction::TicketArticleCreate
Requester:
Transport:
Type: ''