Chilkat Examples

ChilkatHOME.NET Core C#Android™AutoItCC#C++Chilkat2-PythonCkPythonClassic ASPDataFlexDelphi ActiveXDelphi DLLGoJavaLianjaMono C#Node.jsObjective-CPHP ActiveXPHP ExtensionPerlPowerBuilderPowerShellPureBasicRubySQL ServerSwift 2Swift 3,4,5...TclUnicode CUnicode C++VB.NETVBScriptVisual Basic 6.0Visual FoxProXojo Plugin

PowerBuilder Web API Examples

Primary Categories

ABN AMRO
AWS Secrets Manager
AWS Security Token Service
AWS Translate
Activix CRM
Adyen
Alibaba Cloud OSS
Amazon Cognito
Amazon DynamoDB
Amazon MWS
Amazon Pay
Amazon Rekognition
Amazon SP-API
Amazon Voice ID
Aruba Fatturazione
Azure Maps
Azure Monitor
Azure OAuth2
Azure Storage Accounts
Backblaze S3
Banco Inter
Belgian eHealth Platform
Bitfinex v2 REST
Bluzone
BrickLink
Bunny CDN
CallRail
CardConnect
Cerved
ClickBank
Clickatell
Cloudfare
Constant Contact
DocuSign
Duo Auth MFA
ETrade
Ecwid
Egypt ITIDA
Egypt eReceipt
Etsy
Facebook
Faire
Frame.io
GeoOp
GetHarvest
Global Payments
Google People
Google Search Console
Google Translate
Google Vision
Hungary NAV Invoicing
IBM Text to Speech
Ibanity
IntakeQ
JCC Cyprus
Jira
Lightspeed
MYOB
Magento
Mailgun
Malaysia MyInvois

Mastercard
MedTunnel
MercadoLibre
MessageMedia
Microsoft Calendar
Microsoft Group
Microsoft Tasks and Plans
Microsoft Teams
Moody's
Okta OAuth/OIDC
OneLogin OIDC
OneNote
OpenAI ChatGPT
PRODA
PayPal
Paynow.pl
Peoplevox
Populi
QuickBooks
Rabobank
Refinitiv
Royal Mail OBA
SCiS Schools Catalogue
SII Chile
SMSAPI
SOAP finkok.com
Salesforce
SendGrid
Shippo
Shopify
Shopware
Shopware 6
SimpleTexting
Square
Stripe
SugarCRM
TicketBAI
TikTok Shop
Trello
Twilio
Twitter API v2
Twitter v1
UPS
UniPin
VoiceBase
Vonage
WaTrend
Walmart v3
Wasabi
WhatsApp
WiX
WooCommerce
WordPress
Xero
Yahoo Mail
Yapily
Yousign
ZATCA
Zendesk
Zoom
_Miscellaneous_
eBay
effectconnect
hacienda.go.cr

 

 

 

(PowerBuilder) Frame.io - Get Team ID

Get your team ID.

For more information, see https://docs.frame.io/docs/root-asset-ids

Chilkat ActiveX Downloads

ActiveX for 32-bit and 64-bit Windows

integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
string ls_Image_64
integer li_Project_count
string ls_Default_color
string ls_Deleted_at
string ls_Image_256
string ls_Background_color
string ls_Font_color
string ls_Email_branding_type
string ls_Email_brandingAccent_color
string ls_Email_brandingBackground_color
string ls_Email_brandingDefault_accent_color
string ls_Email_brandingDefault_background_color
string ls_Email_brandingId
string ls_Email_brandingImage
string ls_Email_brandingUpload_url
string ls_Bio
string ls_Updated_at
string ls_Link
string ls_Default_font_color
string ls_Image_128
integer li_Dark_theme
integer li_Disable_sbwm_internally
string ls_Account_id
string ls_Name
string ls_Location
integer li_Solo
string ls_Watermark
integer li_File_count
integer li_Duration
string ls_Image_32
string ls_Team_image
string ls_Default_background_color
string ls_Resource_id
string ls_Color
integer li_Frames
integer li_Storage
integer li_Collaborator_count
string ls_Creator_id
string ls_Default_session_watermark_template_id
integer li_Archived_storage
string ls_Slack_webhook
string ls_Upload_url
integer li_Member_count
string ls_V_type
string ls_Asset_lifecycle_policy
string ls_Member_limit
string ls_Id
string ls_Storage_limit
string ls_Access
string ls_Inserted_at
integer li_Folder_count

// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

loo_Http = create oleobject
// Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
    destroy loo_Http
    MessageBox("Error","Connecting to COM object failed")
    return
end if

// Implements the following CURL command:

// curl \
//     -H "Authorization: Bearer <FRAME_IO_DEV_TOKEN>" \
//     https://api.frame.io/v2/accounts/<ACCOUNT_ID>/teams

// Use the following online tool to generate HTTP code from a CURL command
// Convert a cURL Command to HTTP Source Code

// Adds the "Authorization: Bearer <FRAME_IO_DEV_TOKEN>" header.
loo_Http.AuthToken = "<FRAME_IO_DEV_TOKEN>"

loo_Http.SetUrlVar("account_id","b1cd046b-a3bf-4ef8-81a6-0afd74ecc455")

loo_SbResponseBody = create oleobject
// Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat.StringBuilder")

li_Success = loo_Http.QuickGetSb("https://api.frame.io/v2/accounts/{$account_id}/teams",loo_SbResponseBody)
if li_Success = 0 then
    Write-Debug loo_Http.LastErrorText
    destroy loo_Http
    destroy loo_SbResponseBody
    return
end if

loo_JResp = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JResp.ConnectToNewObject("Chilkat.JsonObject")

loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0

Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()

li_RespStatusCode = loo_Http.LastStatus
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
    Write-Debug "Response Header:"
    Write-Debug loo_Http.LastHeader
    Write-Debug "Failed."
    destroy loo_Http
    destroy loo_SbResponseBody
    destroy loo_JResp
    return
end if

// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)

// {
//   "image_64": null,
//   "project_count": 1,
//   "default_color": "5B53FF",
//   "deleted_at": null,
//   "image_256": null,
//   "background_color": null,
//   "session_watermark_templates": [
//   ],
//   "font_color": null,
//   "email_branding": {
//     "_type": "email_branding",
//     "accent_color": null,
//     "background_color": null,
//     "default_accent_color": "5B53FF",
//     "default_background_color": "F7F8FA",
//     "id": "71cddf30-cdd6-4db9-9f1f-f119c3a6c36d",
//     "image": null,
//     "upload_url": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/email_branding/71c...508199e26038"
//   },
//   "bio": null,
//   "updated_at": "2020-08-18T02:20:14.432078Z",
//   "link": null,
//   "default_font_color": "20222B",
//   "image_128": null,
//   "dark_theme": false,
//   "disable_sbwm_internally": false,
//   "account_id": "b1cd046b-a3bf-4ef8-81a6-0afd74ecc455",
//   "name": "Chilkat's Team",
//   "location": null,
//   "solo": false,
//   "watermark": null,
//   "file_count": 0,
//   "duration": 0,
//   "image_32": null,
//   "team_image": null,
//   "default_background_color": "FFFFFF",
//   "resource_id": "8e32b1ae-86db-4164-83b1-81b37b2e7499",
//   "color": null,
//   "frames": 0,
//   "storage": 0,
//   "collaborator_count": 1,
//   "creator_id": "34b4f98a-7cc9-4159-8f46-c7c3d837fc6f",
//   "default_session_watermark_template_id": null,
//   "archived_storage": 0,
//   "slack_webhook": null,
//   "upload_url": "https://frameio-uploads-production.s3-accelerate.amazonaws.com/teams/95a5fb..a86b2663",
//   "member_count": 1,
//   "_type": "team",
//   "asset_lifecycle_policy": null,
//   "member_limit": null,
//   "id": "95a5fbad-688d-46fc-aef1-2f011dd76c10",
//   "storage_limit": null,
//   "access": "private",
//   "inserted_at": "2020-08-18T02:20:13.171582Z",
//   "folder_count": 0
// }

// Sample code for parsing the JSON response...
// Use the following online tool to generate parsing code from sample JSON:
// Generate Parsing Code from JSON

ls_Image_64 = loo_JResp.StringOf("image_64")
li_Project_count = loo_JResp.IntOf("project_count")
ls_Default_color = loo_JResp.StringOf("default_color")
ls_Deleted_at = loo_JResp.StringOf("deleted_at")
ls_Image_256 = loo_JResp.StringOf("image_256")
ls_Background_color = loo_JResp.StringOf("background_color")
ls_Font_color = loo_JResp.StringOf("font_color")
ls_Email_branding_type = loo_JResp.StringOf("email_branding._type")
ls_Email_brandingAccent_color = loo_JResp.StringOf("email_branding.accent_color")
ls_Email_brandingBackground_color = loo_JResp.StringOf("email_branding.background_color")
ls_Email_brandingDefault_accent_color = loo_JResp.StringOf("email_branding.default_accent_color")
ls_Email_brandingDefault_background_color = loo_JResp.StringOf("email_branding.default_background_color")
ls_Email_brandingId = loo_JResp.StringOf("email_branding.id")
ls_Email_brandingImage = loo_JResp.StringOf("email_branding.image")
ls_Email_brandingUpload_url = loo_JResp.StringOf("email_branding.upload_url")
ls_Bio = loo_JResp.StringOf("bio")
ls_Updated_at = loo_JResp.StringOf("updated_at")
ls_Link = loo_JResp.StringOf("link")
ls_Default_font_color = loo_JResp.StringOf("default_font_color")
ls_Image_128 = loo_JResp.StringOf("image_128")
li_Dark_theme = loo_JResp.BoolOf("dark_theme")
li_Disable_sbwm_internally = loo_JResp.BoolOf("disable_sbwm_internally")
ls_Account_id = loo_JResp.StringOf("account_id")
ls_Name = loo_JResp.StringOf("name")
ls_Location = loo_JResp.StringOf("location")
li_Solo = loo_JResp.BoolOf("solo")
ls_Watermark = loo_JResp.StringOf("watermark")
li_File_count = loo_JResp.IntOf("file_count")
li_Duration = loo_JResp.IntOf("duration")
ls_Image_32 = loo_JResp.StringOf("image_32")
ls_Team_image = loo_JResp.StringOf("team_image")
ls_Default_background_color = loo_JResp.StringOf("default_background_color")
ls_Resource_id = loo_JResp.StringOf("resource_id")
ls_Color = loo_JResp.StringOf("color")
li_Frames = loo_JResp.IntOf("frames")
li_Storage = loo_JResp.IntOf("storage")
li_Collaborator_count = loo_JResp.IntOf("collaborator_count")
ls_Creator_id = loo_JResp.StringOf("creator_id")
ls_Default_session_watermark_template_id = loo_JResp.StringOf("default_session_watermark_template_id")
li_Archived_storage = loo_JResp.IntOf("archived_storage")
ls_Slack_webhook = loo_JResp.StringOf("slack_webhook")
ls_Upload_url = loo_JResp.StringOf("upload_url")
li_Member_count = loo_JResp.IntOf("member_count")
ls_V_type = loo_JResp.StringOf("_type")
ls_Asset_lifecycle_policy = loo_JResp.StringOf("asset_lifecycle_policy")
ls_Member_limit = loo_JResp.StringOf("member_limit")
ls_Id = loo_JResp.StringOf("id")
ls_Storage_limit = loo_JResp.StringOf("storage_limit")
ls_Access = loo_JResp.StringOf("access")
ls_Inserted_at = loo_JResp.StringOf("inserted_at")
li_Folder_count = loo_JResp.IntOf("folder_count")


destroy loo_Http
destroy loo_SbResponseBody
destroy loo_JResp

 

© 2000-2024 Chilkat Software, Inc. All Rights Reserved.