Field Definitions
addCustomObjectFieldToRequest
Add a Custom Object relationship field to Requests.
Creates a RELATIONSHIP field on Requests that links to a specific custom object type. For example, add a "Contract" field to requests so agents can link requests to contracts.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
workspaceId | integer | Yes | The workspace ID where the field should be added. |
entity_type | string | No | Entity type (ASSET, REQUEST, CUSTOM_OBJECT). Set automatically based on endpoint. |
type | string (enum, 18 values) | Yes | The field type. Valid values: SHORT_TEXT, LONG_TEXT, RICH_TEXT, NUMBER, DECIMAL, |
