Interface ApiCallInstruction

All Known Implementing Classes:
ApiCallAdapter

public interface ApiCallInstruction
API 呼叫指令介面。

提供 custom step 開發者執行 HTTP API 請求的能力。

  • Method Details

    • invokeWithActor

      void invokeWithActor(String summary, String token, List<Map<String,String>> dataTable) throws Exception
      以指定身份執行 API 呼叫。
      Parameters:
      summary - API operation summary
      token - 身份驗證 token
      dataTable - 請求參數(欄位名稱 → 值)
      Throws:
      Exception
    • invokeWithoutActor

      void invokeWithoutActor(String summary, List<Map<String,String>> dataTable) throws Exception
      以無身份執行 API 呼叫。
      Parameters:
      summary - API operation summary
      dataTable - 請求參數(欄位名稱 → 值)
      Throws:
      Exception