Skip to content

pacx customapi add response

github-actions[bot] edited this page Jun 16, 2026 · 1 revision

Adds a response property to an existing Dataverse Custom API.

Usage

Add an Integer response property to an existing Custom API:

pacx customapi add-response -a nn_GregSum -r Result:Integer

Add an EntityReference response with a description:

pacx customapi add-response -a nn_GregCase -r ResolvedCase:EntityReference --description "The case resolved by this action"

Supported types: Boolean, DateTime, Decimal, Entity, EntityCollection, EntityReference, Float, Integer, Money, Picklist, String, StringArray, Guid.

Arguments

Long Name Short Name Required? Description Default value Valid values
api a Y Unique name of the target Custom API (e.g. nn_GregSum). - String
response r Y Response property spec as Name:Type. Name must not include publisher prefix — the name is built as {api}-out-{name}. - String
display-name d N Display name. Defaults to the property name without prefix, split on camel-case. - String
description desc N Description of the response property. String

Command list

Clone this wiki locally