Skip to content

Commit

Permalink
Added default GenericTicketConnector REST configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaldung authored and jepf committed Aug 28, 2024
1 parent 87f2125 commit f3822b4
Showing 1 changed file with 98 additions and 0 deletions.
98 changes: 98 additions & 0 deletions var/webservices/examples/GenericTicketConnectorREST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
---
Debugger:
DebugThreshold: error
TestMode: '0'
Description: Ticket Connector REST
FrameworkVersion: 6.5
Provider:
Operation:
SessionCreate:
Description: Create a Session
MappingInbound: {}
MappingOutbound: {}
Type: Session::SessionCreate
SessionDelete:
Description: Delete a Session
IncludeTicketData: '0'
Type: Session::SessionRemove
SessionGet:
Description: Retreive Session data
MappingInbound: {}
MappingOutbound: {}
Type: Session::SessionGet
TicketCreate:
Description: Create a Ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketCreate
TicketGet:
Description: Retrieve Ticket data
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketGet
TicketHistoryGet:
Description: Retrieve Ticket history data
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketHistoryGet
TicketSearch:
Description: Search for Tickets
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketSearch
TicketUpdate:
Description: Update a Ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketUpdate
Transport:
Config:
AdditionalHeaders: ~
KeepAlive: '1'
MaxLength: '100000000'
RouteOperationMapping:
SessionCreate:
ParserBackend: JSON
RequestMethod:
- POST
Route: /Session
SessionDelete:
ParserBackend: JSON
RequestMethod:
- DELETE
Route: /Session/:SessionID
SessionGet:
ParserBackend: JSON
RequestMethod:
- GET
Route: /Session/:SessionID
TicketCreate:
ParserBackend: JSON
RequestMethod:
- POST
Route: /Ticket
TicketGet:
ParserBackend: JSON
RequestMethod:
- GET
Route: /Ticket/:TicketID
TicketHistoryGet:
ParserBackend: JSON
RequestMethod:
- GET
Route: /Ticket/History/:TicketID
TicketSearch:
ParserBackend: JSON
RequestMethod:
- POST
Route: /Ticket/Search
TicketUpdate:
ParserBackend: JSON
RequestMethod:
- PATCH
Route: /Ticket/:TicketID
Type: HTTP::REST
RemoteSystem: ''
Requester:
Transport:
Type: ''

0 comments on commit f3822b4

Please sign in to comment.