feat: Filter/Sorter条件をGet方式のみに適用、Export方式からは除外
exportCSVDataのBuildViewFromSheet呼び出しを削除。Export方式は常に全件取得、Get方式のみ基本情報シートのFilter表・Sorter表を反映する。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
a423b5fd6f
commit
460b540997
@ -126,13 +126,6 @@ Function exportCSVData(tableId As String) As Variant
|
|||||||
apiBody.Add "ApiKey", apiKey
|
apiBody.Add "ApiKey", apiKey
|
||||||
apiBody.Add "ExportId", "1"
|
apiBody.Add "ExportId", "1"
|
||||||
|
|
||||||
'Filter・Sorter条件(基本情報シートのFilter表・Sorter表から組み立てる)
|
|
||||||
Dim viewObj As Object
|
|
||||||
Set viewObj = BuildViewFromSheet()
|
|
||||||
If Not viewObj Is Nothing Then
|
|
||||||
apiBody.Add "View", viewObj
|
|
||||||
End If
|
|
||||||
|
|
||||||
'HTTPリクエスト送信メソッド呼び出し
|
'HTTPリクエスト送信メソッド呼び出し
|
||||||
Dim res As Object
|
Dim res As Object
|
||||||
Set res = callRestApi("POST", apiUrl, apiUrlParam, apiHeaders, apiBody)
|
Set res = callRestApi("POST", apiUrl, apiUrlParam, apiHeaders, apiBody)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user