Chilkat HOME Android™ Classic ASP C C++ C# Mono C# .NET Core C# C# UWP/WinRT DataFlex Delphi ActiveX Delphi DLL Visual FoxPro Java Lianja MFC Objective-C Perl PHP ActiveX PHP Extension PowerBuilder PowerShell PureBasic CkPython Chilkat2-Python Ruby SQL Server Swift 2 Swift 3,4,5... Tcl Unicode C Unicode C++ Visual Basic 6.0 VB.NET VB.NET UWP/WinRT VBScript Xojo Plugin Node.js Excel Go
(Excel) Download Full Intake Form in JSON FormatSee more IntakeQ ExamplesThe full intake form is very similar to intake summary object, except it adds an array of questions. For more information, see https://support.intakeq.com/article/31-intakeq-api#download-intake
' This example assumes the Chilkat API to have been previously unlocked. ' See Global Unlock Sample for sample code. Dim http As Chilkat.Http Set http = Chilkat.NewHttp ' To log the exact HTTP request/response to a session log file: http.SessionLogFilename = "/someDir/sessionLog.txt" http.SetRequestHeader "X-Auth-Key","xxxxxxxxxxxxxxxxxxxxxxxxx" Dim sbJson As Chilkat.StringBuilder Set sbJson = Chilkat.NewStringBuilder success = http.QuickGetSb("https://intakeq.com/api/v1/intakes/[intake-id]",sbJson) If (success = False) Then Debug.Print http.LastErrorText Exit Sub End If If (http.LastStatus <> 200) Then Debug.Print "status code: "; http.LastStatus Debug.Print "response: "; sbJson.GetAsString() Exit Sub End If Debug.Print "raw response: " Debug.Print sbJson.GetAsString() Dim json As Chilkat.JsonObject Set json = Chilkat.NewJsonObject Dim success As Boolean success = json.LoadSb(sbJson) json.EmitCompact = True Debug.Print json.Emit() |
© 2000-2022 Chilkat Software, Inc. All Rights Reserved.