我正在尋找一些關於如何從activti-app的給定組中檢索用戶的建議。閱讀過我試圖通過發佈包含用戶任務過濾器ID數組的JSON主體來訪問與用戶及其組相關的端點的文檔。獲取給定組的用戶Activiti Rest API
在Postman中測試此錯誤會返回500個內部服務器錯誤「異常」:「請求方法」不支持「POST」。顯然這是因爲我應該發出一個GET請求,但是我不能在這種情況下附加一個JSON體。
上述例子端點:本地主機:8080/Activiti的應用內/ API /企業/組/ {GROUP_ID} /用戶
上述文檔: https://docs.alfresco.com/activiti/docs/dev-guide/1.5.0/#_user_and_group_lists
具體地說本節Screencap of activti docs
任何建議將不勝感激!
謝謝!
從快速查看文檔,你應該把你的過濾選項作爲'filter'的url參數不發佈JSON正文 - JSON僅用於結果 – Gagravarr
@Gagravarr感謝您的建議!我嘗試將查詢參數直接附加到URL中,例如http:// localhost:8080/activiti-app/api/enterprise/admin/users?email =「[email protected]」並且還沒有運氣。我將對API文檔進行更多的調查,看看有關URL參數的功能。 –