无法通过通用接口在OTRS中创建故障单

时间:2019-07-15 05:57:33

标签: otrs

我正在尝试在OTRS上创建票证,但它返回404错误,我免费使用OTRS 7。有什么问题吗?

使用的网址:https://test25June.managed-otrs.com/otrs/nph-genericinterface.pl/Webservice/GenericTicketREST/Ticket

请求:

{
  "UserLogin": "****",

  "Password": "****",

  "Ticket" : 
  {
    "Title": "Testing",
    "Queue": "Raw",
    "Lock": "unlock",
    "Type": "Unclassified",
    "State": "new",
    "Priority": "3 normal",
    "Owner": "admin",
    "CustomerUser": "admin"
  },

  "Article":
  {
    "Subject" : "jakiś temat",
    "Body" : "test test tes test",
    "ContentType": "text/plain; charset=utf8"       

  }
}

响应:

{
    "ErrorCode": 404,
    "Message": "The requested resource is not found.",
    "Request": "/otrs/nph-genericinterface.pl/Webservice/GenericTicketREST/Ticket"
}

0 个答案:

没有答案