-
Notifications
You must be signed in to change notification settings - Fork 16
pacx customapi run
github-actions[bot] edited this page Jun 16, 2026
·
1 revision
Executes a Dataverse Custom API, passing input parameters from a JSON string or file and printing the response.
Execute a Custom API passing parameters as an inline JSON string:
pacx customapi run -n nn_GregSum -i "{\"Addend1\":5,\"Addend2\":3}"Execute using a JSON file for the input:
pacx customapi run -n nn_GregSum --input-file .\params.jsonExecute a Custom API that requires no input parameters:
pacx customapi run -n nn_PingJSON keys are the short parameter names (without publisher prefix and without the -in- segment). Supported scalar types: Boolean, DateTime, Decimal, Float, Guid, Integer, Money, Picklist, String, StringArray. For EntityReference use {"logicalname":"account","id":""}.
| Long Name | Short Name | Required? | Description | Default value | Valid values |
|---|---|---|---|---|---|
unique-name |
n |
Y | Unique name of the Custom API to execute (e.g. nn_GregSum). | - | String |
input |
i |
N | Input parameters as an inline JSON object, e.g. {"Addend1":5,"Addend2":3}. Mutually exclusive with --input-file. | - | String |
input-file |
f |
N | Path to a JSON file containing input parameters. Mutually exclusive with --input. | - | String |
- pacx auth
- pacx column
- pacx customapi
- pacx data
- pacx forms
- pacx history
- pacx key
- pacx optionset
- pacx org
- pacx plugin
- pacx project
- pacx publish
- pacx rel
- pacx ribbon
- pacx script
- pacx settings
- pacx solution
- pacx table
- pacx tool
- pacx unifiedrouting
- pacx usersettings
- pacx view
- pacx webresources
- pacx workflow