How can I add an Article via WebService?
I am using OTRS 5.0.17.
We set WebService with json so that we can add new tickets and close them.
However, I do not know how to add Article.
Can anyone tell me?
My settings is below.
WebServiceAPI001.yml
Code: Select all
---
Debugger:
DebugThreshold: debug
TestMode: 0
Description: ウェブサービスAPI 001
FrameworkVersion: 5.0.17
Provider:
Operation:
RemoteTicketCreate:
Description: 作成
MappingInbound:
Type: Simple
MappingOutbound:
Type: Simple
Type: Ticket::TicketCreate
RemoteTicketUpdate:
Description: update
MappingInbound:
Type: Simple
MappingOutbound:
Type: Simple
Type: Ticket::TicketUpdate
Transport:
Config:
KeepAlive: ''
MaxLength: '1000000'
RouteOperationMapping:
RemoteTicketCreate:
RequestMethod:
- POST
Route: /RemoteTicketCreate
RemoteTicketUpdate:
RequestMethod:
- PATCH
Route: /RemoteTicketUpdate/:TicketID
Type: HTTP::REST
RemoteSystem: Zabbix or something
Requester:
Transport:
Type: ''
Regards,