Configuration API

Update kba

Updates a kba. The included (optional) kb and/or icon will fill the kba processKb and/or icon field and the kbaname in the query path will fill the kba name automatically.

PUT/kbas/kbaId
 Query parameters None
 Header auth-token: token from authentication
 Header/Parameter  tenant
 Body
  • kba: multipart with kba model in json
  • kb(optional): multipart with the mplx file
  • icon(optional): multipart with the icon file
Returns {"result":"ok"}
Required role ADMIN
Managed errors 401: insufficient privileges

Example request

curl 'http://localhost:8080/mwp/rest/kbas/12be7381-4e6b-44a6-aa32-ddc8a7fb0251' -H 'auth-token: 7e3fe4c3-d18e-48d4-9c73-a2112c8902a2.local' -H 'tenant:default' -F 'kba={"id":"","name":"ApiTest","categories":[],"feedback":{},"visibility":"PUBLIC","summaryChecklistType":"NONE","xmlImportStrategy":"PREFILL","processKb":"a982ab8d-016b-470e-96d7-66f3594cef4c","extensionConfiguration":{"MatchBackendExtension":{"name":"Match Database Extension","version":1,"disabled":false,"applicationConfigurationItem":[],"serverConfigurationItem":[]}}}' -X PUT

Example response

{  
   "result":"ok"
}

Feedback