Skip to content
CPQ DevKit™ for Infor
CPQ DevKit™ for Infor

VS Code で Infor CPQ API を実行

ION API で接続し、Workbench / Enterprise Quoting / Configurator を操作。秘密情報は VS Code に保存します。

macOS • Windows • Linux

CPQ DevKit™ for Infor helps you connect to an Infor ION API gateway and run CPQ Workbench, Enterprise Quoting (CPQEQ), and Enterprise Configurator operations from the Command Palette.

Quick Start

  1. Install the extension from the Visual Studio Marketplace
  2. Open a folder and run CPQ DevKit™ for Infor: Import .ionapi Credentials
  3. Select the .ionapi file downloaded from Infor OS → API Gateway → Authorized Apps. The client secret stays in VS Code secret storage
  4. Run Probe ION Gateway Token to confirm the connection
  5. Run List Infor CPQ API Operations and Run Infor CPQ Operation (Interactive)

How to use it

Connect

Import .ionapi Credentials (or Configure Infor ION API Connection) saves the gateway URL, token URL, tenant, and client id in .cpqdevkit/infor/infor-config.json. Secrets are not written to that file.

Use Probe ION Gateway Token any time you want to confirm the tenant can issue an OAuth token.

Supported grants:

  • Client credentialsci + cs (machine-to-machine)
  • Resource owner passwordci + cs plus service account saak / sask

Catalogs

The bundled operations follow the three Infor developer-portal catalogs:

CatalogTypical ION prefixSource
CPQ Workbench/CPQWB/...CPQ Workbench
Enterprise Quoting/CPQEQ/RuntimeApi/EnterpriseQuoting/...Enterprise Quoting (CPQEQ)
Enterprise Configurator/CPQ/api/v4/...Infor CPQ Enterprise Configurator

Your tenant's ION suite prefixes can differ. Drop the official swagger from ION API Gateway into the workspace and set icpq.specPath, or narrow the picker with icpq.activeCatalog.

Run API operations

  • List Infor CPQ API Operations — browse available operations
  • Show Infor CPQ Operation Details — inspect one operation
  • Run Infor CPQ Operation (Interactive) — pick an operation and fill in parameters
  • Create Infor CPQ Request Template — start a request JSON in the editor
  • Run Infor CPQ Request (Active JSON) — run the request you have open
  • Create Infor CPQ Request in Workspace — save a reusable .infor-http.json file (default folder infor/requests)
  • Run Infor CPQ Request File — run a saved request file

Saved request files are safe to commit if they do not include secrets.

Commands

All commands are in the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) under CPQ DevKit™ for Infor.

CommandDescription
Configure Infor ION API ConnectionImport .ionapi or enter gateway values
Import .ionapi CredentialsLoad an Infor OS credentials file
Probe ION Gateway TokenConfirm the connected tenant
List Infor CPQ API OperationsBrowse available API operations
Show Infor CPQ Operation DetailsInspect one operation
Run Infor CPQ Operation (Interactive)Run an operation with prompts
Create Infor CPQ Request TemplateCreate a request JSON in the editor
Run Infor CPQ Request (Active JSON)Run the open request
Create Infor CPQ Request in WorkspaceSave a reusable request file
Run Infor CPQ Request FileRun a saved request file
Convert to JSON / XML / CSVConvert the current data file
Install Chat SkillsAdd Infor guidance for chat

Settings

Configure the extension under icpq.* in VS Code Settings.

SettingDefaultDescription
icpq.requestsDirinfor/requestsFolder for saved request files
icpq.requestTimeout30000Timeout in ms for ION requests
icpq.activeCatalogallall, workbench, quoting, or configurator
icpq.specPath(bundled catalogs)Optional path to a custom OpenAPI file

Requirements

  • VS Code 1.109 or later
  • An Infor OS tenant with ION API Gateway
  • An Authorized App .ionapi file (or the equivalent iu / pu+ot / ci / cs values)

Security & Privacy

  • Client secrets and service-account secrets are stored in VS Code secret storage, not in infor-config.json
  • Chat tools report the connection without secrets
  • Keep secrets out of saved request files if you commit them

Support

License

See LICENSE.md for details.

Frequently Asked Questions

What is CPQ DevKit™ for Infor?

A VS Code extension for Infor CPQ: connect through ION API and run Workbench, Enterprise Quoting, and Enterprise Configurator operations from the editor.

How do I connect?

Download a .ionapi file from Infor OS API Gateway, then run Import .ionapi Credentials. Use Probe ION Gateway Token to confirm.

Which operating systems are supported?

macOS, Windows, and Linux.

Trademarks

Infor, ION, and related marks are trademarks of their respective owners. This extension is not affiliated with or endorsed by Infor.